DataqSerial Control > Properties > SerialNumber

Previous | Next

SerialNumber

Applies to:

DataqSerial Active X Control

Description:

If you are using a DI-194, this property returns the serial number of the device. If you want to contact DATAQ to purchase the Key to unlock the rest of the channels, you will need to determine your serial number first.

Syntax:

variable=DataqSerial1.SerialNumber

Variable:

String

Example:

Private Sub Start_Click()

DataqSerial1. EventLevel=20

DataqSerial1. Start

'outputs the serial number of your device

Label1.Caption = "The serial number of the device you are using is " & DataqSerial1.SerialNumber & "."

End Sub

 

Private Sub Stop_Click()

DataqSerial1. Stop

End Sub

 

Private Sub DataqSerial1_ NewData (ByVal Count As Integer)

DQChart1. Chart (DataqSerial1. GetData)

End Sub

 

Reference Materials | Top