|
|
DataqSdk Control > Properties > InfoPGL |
Applies to: |
DATAQSDK Active X Control |
Description: |
This property returns the board's input measurement setting, either PGL or PGH. A returned value of 0 (False) is PGH, a returned value of 1 (True) is PGL. 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.InfoPGL |
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 If DataqSdk1.InfoPGL = True Then Label1.Caption = "The measurement setting for this device is PGL." Else Label1.Caption = "The measurement setting for this device is PGH." End If End Sub
Private Sub Stop_Click() DataqSdk1. Stop End Sub |