DataqSdk Control > Properties > InfoSerial

Previous | Next

InfoSerial

Applies to:

DATAQSDK Active X Control

Description:

This property outputs the board's serial 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.InfoSerial

Variable:

String

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 serial number

Label1.Caption = "The serial number of this device is " & DataqSdk1.InfoSerial & "."

End Sub

 

Private Sub Stop_Click()

DataqSdk1. Stop

End Sub

 

Reference Materials | Top