Omega OMB-DAQ-54 User Manual page 152

Usb data acquisition modules
Table of Contents

Advertisement

DLL Function
daqCloseList(DaqHandleT handle);
daqCloseList(DaqHandleT handle);
C
Visual BASIC
VBdaqCloseList&(ByVal handle&)
Delphi
daqCloseList(handle:DaqHandleT)
handle
Parameters
Returns
DerrNoError - No error
See Also
daqOpenList
MULTDEV.C
Program References
Used With
PersonalDaq55/56
Description
daqCloseList is used to close a list of PersonalDaq devices opened with the daqOpenList function. After the specified device list has
been closed, no subsequent communication with the devices can be performed. To re-establish communications with any closed devices,
you must open the devices with daqOpen or daqOpenList.
DLL Function
daqCvtRawDataFormat(PVOID buf, daqAdcCvtAction action, DWORD lastRetCount, DWORD
scanCount, DWORD chanCount);
daqCvtRawDataFormat(PVOID buf, DaqAdcCvtAction action, DWORD lastRetCount, DWORD
C
scanCount, DWORD chanCount);
VBdaqCvtRawDataFormatSingle&(buf!(), ByVal action&, ByVal lastRetCount&, ByVal
Visual BASIC
ScanCount&, ByVal ChanCount&)
Delphi
daqCvtRawDataFormat(buf:PWORD;action:daqAdcCvtAction; lastRetCount:DWORD;
scanCount:DWORD; chanCount: DWORD);
Parameters
buf
action
lastRetCount
scanCount
chanCount
Returns
DerrNoError
See Also
daqAdcSetDataFormat
None
Program References
Used With
All devices
Description
daqCvtRawDataFormat allows the conversion of raw data to a specified format. This function should be called after the raw data has
been acquired. See the transfer data functions (daqAdcTransfer...) for more details on the actual collection of raw data.
The buf parameter specifies the pointer to the data buffer containing the raw data. Prior to calling this function, this user-allocated buffer
should already contain the entire raw data transfer. Upon completion, this data buffer will contain the converted data (the buffer must be
able to contain all the converted data).
The DacaRotate can be used to reformat a circular buffer into a linear buffer.
The scanCount parameter specifies the length of the raw buffer in scans. Since the converted data will overwrite the raw data in the
buffer, make sure the specified buffer is large enough, physically, to contain all of the converted data.
The chanCount parameter specifies the number of channels in each scan.
Personal Daq User's Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
daqCloseList
Handle to the open device list to be closed
daqCvtRawDataFormat
Pointer to the buffer containing the raw data
The type of conversion action to perform on the raw data
The last retCount returned from daqAdcTransferGetStat
The length of the raw data buffer in scans
The number of channels per scan in the raw data buffer
No error
Appendix B,
887095
API Commands
B-19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-daq-55Omb-daq-56

Table of Contents