⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.bas

📁 TMS320F2812的C++ examples 各个模块的程序
💻 BAS
字号:
Attribute VB_Name = "common"Option Explicit'Read/Write status codes'########## RTDX(TM) ##########'Global Const ENoDataAvailable As Long = &H8003001EGlobal Const EEndOfLogFile As Long = &H80030002Global Const FAIL As Long = &H80004005Global Const SUCCESS As Long = &H0'########## RTDX(TM) ##########'' Data Type ID ConstantsGlobal Const TYPE_8BIT_INTEGER As String = "8-Bit Integer"Global Const TYPE_16BIT_INTEGER As String = "16-Bit Integer"Global Const TYPE_32BIT_INTEGER As String = "32-Bit Integer"Global Const TYPE_32BIT_FLOAT As String = "32-Bit Float"Global Const TYPE_64BIT_FLOAT As String = "64-Bit Float"' Channel Type ID ConstantsGlobal Const TYPE_READ_ONLY As String = "R"Global Const TYPE_WRITE_ONLY As String = "W"' 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 Write    Board As String             ' Board that channel is communicating with    Processor As String         ' Processor that channel is communicating withEnd 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -