rtdx_module.bas

来自「TMS320F2812的C++ examples 各个模块的程序」· BAS 代码 · 共 46 行

BAS
46
字号
Attribute VB_Name = "RTDX_module"Option Explicit'Read/Write status codes'########## RTDX(TM) ##########'Global Const ENoDataAvailable = &H8003001EGlobal Const EEndOfLogFile = &H80030002Global Const FAIL = &H80004005Global Const SUCCESS = &H0'########## RTDX(TM) ##########'' Channel attributesPublic Type RTDX_Channel_Attributes    name As String             ' Holds channel name    type As String             ' Holds channel type information    messages As String         ' Holds # messages per channel    members As String          ' Holds # members per channel    integer_size As String     ' Holds the integer type infoEnd Type' Range of columns for each channelPublic Type Column_Break_Points    Start_Point As Integer      ' Column start point    End_Point As Integer        ' Column end pointEnd Type' Member variables for method callsPublic Type RTDX_Method_Attributes    stat As Long                ' Open/Close Method status    CHANNEL_OPEN As Boolean     ' Channel flag    read_status As Long         ' Returned status code from Read    member_counter As Long      ' Member counter for Read    write_status As Long        ' Returned status code from Write    message_counter As Long     ' Message counter for Read    buffer_status As Long       ' Buffer status of Write    Write_Value_I4 As Long      ' Value sent to WriteEnd Type' Event StructurePublic Type RTDX_Event    name As String    id As LongEnd TypeDeclare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) ' Prototype for sleep routine

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?