|
|
DataqSdk Control > Properties > InfoRev |
Applies to: |
DATAQSDK Active X Control |
Description: |
This property returns the ASCII hardware revision letter in the low byte and firmware version number times 100 in the high byte of the 16-bit Integer return value. This property is read-only. To select among multiple DI-1100, DI-1110, DI-1120, DI-2008, DI-2108, DI-2108-P, DI-4108, DI-4208,m or DI-4718B devices, before examining this property set the DigitalOutput property to &HC000 + 256 times (number of connected devices with lower serial numbers or listed ahead of it in the DeviceID property). |
Syntax: |
variable=DataqSdk1.InfoRev |
Variable: |
|
Example: |
Private Sub DataqSdk1_ NewData(ByVal Count As Integer) DQChart1. Chart (DataqSdk1. GetData) End Sub
Private Sub Start_Click() DataqSdk1. EventPoint = 20 DataqSdk1. Start 'this outputs the board's firmware revision number Label1.Caption = "Hardware REV letter is " & Chr(DataqSdk1.InfoRev And &HFF) Dim IR As Long IR = DataqSdk1.InfoRev If IR < 0 Then IR = IR + &H10000 Label2.Caption = "Firmware Version is " & (IR \ &H100) / 100 End Sub
Private Sub Stop_Click() DataqSdk1. Stop End Sub |