DAQmxWriteToTEDSFromFile
From NI-DAQmx C Functions
DAQmxWriteToTEDSFromFile
int32 DAQmxWriteToTEDSFromFile (const char physicalChannel[], const char filePath[], int32 basicTEDSOptions);
Purpose
Writes TEDS data from a virtual TEDS file to the sensor connected to the physical channel you specify.
Parameters
| Input | ||||||||||||||
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| physicalChannel | const char [] | The name of the physical channel you want to configure. | ||||||||||||
| filePath | const char [] | Specifies the filename of a virtual TEDS file that contains the bitstream to write. | ||||||||||||
| basicTEDSOptions |
|
Specifies how to handle basic TEDS data in the bitstream.
|
Return Value
| Name | Type | Description |
|---|---|---|
| status | int32 | The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error. |