Omega OMB-DAQ-54 User Manual page 157

Usb data acquisition modules
Table of Contents

Advertisement

DLL Function
daqIOWriteBit(DaqHandleT handle, daqIODeviceType devType, daqIODevicePort devPort,
DWORD whichDevice, daqIOExpansionPort whichExpPort, DWORD bitNum, BOOL bitValue);
daqIOWriteBit(DaqHandleT handle, DaqIODeviceType devType, DaqIODevicePort devPort,
C
DWORD whichDevice, DaqIOExpansionPort whichExpPort, DWORD bitNum, BOOL bitValue);
Visual BASIC
VBdaqIOWriteBit&(ByVal handle&, ByVal devType&, ByVal devPort&, ByVal whichDevice&,
ByVal whichExpPort&, ByVal bitNum&, ByVal bitValue&)
Delphi
daqIOWriteBit(handle:DaqHandleT; devType:daqIODeviceType; dvPort:daqIODevicePort;
whichDevice:DWORD; whichExpPort:daqIOExpansionPort; bitNum:DWORD;
bitValue:longbool)
handle
Parameters
devType
devPort
whichDevice
whichExpPort
bitNum
bitValue
DerrNoError
Returns
See Also
daqIOWrite, daqIORead, daqIOReadBit
DIGEX1.C, DAQEX.FRM (VB), DAQEX.PAS (Delphi)
Program References
All devices except Personal Daq/54
Used With
Description
daqIOWriteBit allows you to write a specified bit on the selected device and port. The write operation will write the specified bit value to
the bit selected. The selected bit, specified by the bitNum parameter, corresponds to the channel on the port for the IO to be driven. The
bitValue parameter should be set to TRUE to drive the channel to a high state or FALSE indicating a low state.
DLL Function
daqOnline(DaqHandleT handle, PBOOL online);
C
daqOnline(DaqHandleT handle, PBOOL online);
VBdaqOnline&(ByVal handle&, online&)
Visual BASIC
Delphi
daqOnline(handle: DaqHandleT; var online: longbool)
Parameters
handle
online
Returns
DerrNoError
daqOpen, daqClose
See Also
None
Program References
Used With
All devices
Description
daqOnline allows you to determine if a device is online. The device handle must be a valid device handle which has been opened using
the daqOpen function. The online parameter indicates the current online state of the device (TRUE - device online; FALSE - device not
online).
B-24
API Commands
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
daqIOWriteBit
Handle of the device to perform an IO write to
IO device type
IO device port selection
IO device selection
IO device expansion port address
Bit number to write
Bit value to write (TRUE – high, FALSE - low)
No error
daqOnline
Handle of the device to test for online
Boolean indicating whether the device is currently online
No error
Appendix B,
887095
Personal Daq User's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-daq-55Omb-daq-56

Table of Contents