1 / 8

ASiV 高级应用 TM670

ASiV 高级应用 TM670. 综述. VISAPI.

judith
Télécharger la présentation

ASiV 高级应用 TM670

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ASiV 高级应用 TM670

  2. 综述

  3. VISAPI if ready = 0 then        VC_HANDLE = VA_Setup(1,"Compact")        if VC_HANDLE <> 0 then                ready = 1        endif        else            Access_Status = VA_Saccess (1,VC_HANDLE)            if Access_Status = 0 then                    case step of                            action 1:                                    Alarmlen = 80                                    Seperator = 45 ;Hyphen                                    Alarmtype = 1 ;Ersten Alarm auslesen                                    TimeDateForm = 0 ;DD.MM.YY HH.MM.SS                                    wcGetActAL_Status = VA_wcGetActAlarmList                                                       (1,VC_HANDLE,UDINT(ADR(Alarmstring)),UDINT(ADR(Alarmlen)),Alarmtype,Seperator,TimeDateForm)                                    if wcGetActAL_Status = 0 then                                            step = 2                                    endif                            endaction                            action 2:                                     Alarmlen = 80                                     Seperator = 45 ;Hyphen                                     Alarmtype = 2 ;Nächsten Alarm auslesen                                     TimeDateForm = 0 ;DD.MM.YY HH.MM.SS                                      wcGetActAL_Status = VA_wcGetActAlarmList     (1,VC_HANDLE,UDINT(ADR(Alarmstring)),UDINT(ADR(Alarmlen)),Alarmtype,Seperator,TimeDateForm)                                      if wcGetActAL_Status = 240 then                                                step = 1                                     endif                            endaction                    endcase                    VA_Srelease (1,VC_HANDLE)            endifendif text test text test

  4. 输入行为 • 任务循环处理不会受可视化界面影响, 那就是为什么 • 一个键的敲击是在运行时间中的剩余时间(闲置时间)处理,那意味着 • 反映速度取决于可用的资源, 是不确定的. • 然而, 可以用 VA_GetKeyMatrix 功能库调用键影射, 也就是 • 可能再一次实时处理. 在下一页幻灯片中我们会着重阐述这点

  5. Eingabeverhalten ~100ms Real-time

  6. 语言切换

  7. 动态行为 锁定位 设定 不可见的位 设定 状态位 0 0 0 0 0 1 0 1 0 12345 前景 背景 改变颜色

  8. 小结 • 涉及到 VC 编译器的进阶可能和 VISAPI 库的特殊特征和功能. • 每个参与者现在可以按个人要求创建综合的可视化界面.

More Related