Start » Filter Reference » Hardware Support » National Instruments » DAQmx_ReadAnalogScalar
Module: | ThirdParty |
---|
Reads a sample from a specified analog task.
Name | Type | Description | |
---|---|---|---|
inDeviceID | String* | Device alias, product name or a serial number | |
inTaskID | DAQmxTaskID | ID of task to read sample from | |
inTimeout | Integer* | Time (in milliseconds) to wait for the function to read sample | |
outValue | Real | Value read from task | |
outTaskID | DAQmxTaskID? | ID of a created task |
Remarks
Device driver software
This filter is intended to cooperate with digital I/O cards using its vendor driver software. To be able to connect to a card it is required to install NI-DAQmx driver software. Currently Aurora Vision Studio requires NI-DAQmx version 23.3.
NI-DAQmx driver software can be downloaded from the following website: https://www.ni.com/pl-pl/support/downloads/drivers/download.ni-daq-mx.html#480879.
Device identification
When there is only one device connected to computer, inDeviceID field can be set to Auto. In this situation first available device will be found and connected.
inDeviceID can be used to pick one of multiple devices connected to computer. Set this field to Device alias (for example "Dev1"), product name or serial number. This parameters should be available in Measurement & Automation Explorer.
User manual
For more informations about using this filters please follow the link: Working with National Instruments devices.
Parallel execution
Complexity Level
This filter is available on Basic Complexity Level.
Disabled in Lite Edition
See Also
- DAQmx_ReadAnalogArray – Reads multiple samples from a specified analog task.
- DAQmx_WriteAnalogScalar – Sets an analog input to a specified value.
- DAQmx_WriteAnalogArray – Writes multiple samples to a specified analog task.