DataqSdk Control > Properties > InfoBoardID

Previous | Next

InfoBoardID

Applies to:

DATAQSDK Active X Control

Description:

This property returns the board’s model number. 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, 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.InfoBoardID

Variable:

Integer

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 model number (for example, a USB 720 would output "720" at Label1.Caption)

Label1.Caption = "The model number of this device is " & DataqSdk1.InfoBoardID & "."

End Sub

 

Private Sub Stop_Click()

DataqSdk1. Stop

End Sub

 

Reference Materials | Top