|
|
WinDaq Control > Properties > DeviceDriver |
DeviceDriver
Applies to: |
WINDAQ Active X Control |
Description: |
By default, the DeviceDriver will be the one used by the last WinDaq installation. It is the operator’s responsibility to be sure the correct device driver is selected. Open the file Windows\tpdataq.ini to see all Dataq Instruments’ hardware ever installed on your computer. The one marked under the heading [Global] is currently active. Another available option is to use the Dataq Device Driver Wizard. The Device Driver Wizard will not work for serial products. In this program, the active Dataq Instrument’s hardware can be selected. This will define the DeviceDriver automatically, without the need to call these properties in your program (the preferred method). If you do not have the DeviceDriver property correct you cannot eavesdrop on the acquisition software. Note: Be sure to verify the correct DeviceDriver and DeviceID in the Device Drivers table provided in the Reference Materials of these help files. |
Syntax: |
WinDaq1.DeviceDriver=variable |
Variable: |
|
Example: |
Private Sub Form_Load() Label1.Caption = WinDaq1.DeviceDriver End Sub
Private Sub Stop_Click() WinDaq1. Stop End Sub
Private Sub Start_Click() WinDaq1. EventLevel = 10 WinDaq1. Start End Sub
Private Sub WinDaq1_ NewData(ByVal Count As Integer) DQChart1. Chart (WinDaq1. GetDataStream(FormatBinary)) End Sub |