Retrieve device information.
More...
|
UlError | ulDevGetInfo (DaqDeviceHandle daqDeviceHandle, DevInfoItem infoItem, unsigned int index, long long *infoValue) |
| Use with DevInfoItem to retrieve information about the device subsystem to determine which subsystem types are supported for the device. More...
|
|
UlError | ulDevSetConfig (DaqDeviceHandle daqDeviceHandle, DevConfigItem configItem, unsigned int index, long long configValue) |
| Use with DevConfigItem to set configuration options at runtime. More...
|
|
UlError | ulDevGetConfig (DaqDeviceHandle daqDeviceHandle, DevConfigItem configItem, unsigned int index, long long *configValue) |
| Use with DevConfigItem to retrieve the current configuration options set for a device. More...
|
|
UlError | ulDevGetConfigStr (DaqDeviceHandle daqDeviceHandle, DevConfigItemStr configItem, unsigned int index, char *configStr, unsigned int *maxConfigLen) |
| Use with DevConfigItemStr to retrieve the current configuration as a null-terminated string. More...
|
|
UlError | ulMemGetInfo (DaqDeviceHandle daqDeviceHandle, MemRegion memRegion, MemDescriptor *memDescriptor) |
| Use with MemDescriptor to retrieve information about the memory region on a DAQ device. More...
|
|
Retrieve device information.
Use with DevConfigItem to retrieve the current configuration options set for a device.
- Parameters
-
daqDeviceHandle | the handle to the DAQ device |
configItem | the configuration item to retrieve from the device |
index | either ignored or an index into the configValue |
configValue | the value to set the specified configuration item to |
- Returns
- The UL error code.
Use with DevConfigItemStr to retrieve the current configuration as a null-terminated string.
- Parameters
-
daqDeviceHandle | the handle to the DAQ device |
configItem | the configuration item to retrieve from the device |
index | specifies the version type to return as an index into configItem (DevVersionType) |
configStr | pointer to the buffer where the configuration string is copied |
maxConfigLen | pointer to the value specifying the size of configStr made available by the user; returns the number of chars written to configStr . |
- Returns
- The UL error code.
Use with DevInfoItem to retrieve information about the device subsystem to determine which subsystem types are supported for the device.
- Parameters
-
daqDeviceHandle | the handle to the DAQ device |
infoItem | the subsystem information to retrieve |
index | ignored |
infoValue | the subsystem information is returned to this variable |
- Returns
- The UL error code.
Use with DevConfigItem to set configuration options at runtime.
- Parameters
-
daqDeviceHandle | the handle to the DAQ device |
configItem | the configuration item to set |
index | either ignored or an index into the configValue |
configValue | the value to set the specified configuration item to |
- Returns
- The UL error code.
Use with MemDescriptor to retrieve information about the memory region on a DAQ device.
- Parameters
-
daqDeviceHandle | the handle to the DAQ device |
memRegion | the memory region |
memDescriptor | a MemDescriptor struct containing fields where information is returned, such as memory type and access |
- Returns
- The UL error code.