Set/Get Properties
- Updated2025-10-13
- 1 minute(s) read
If you need to change particular parameters within an application, such as the DTO ID, use the following sequence:
- Initialize the Measurement task as stopped. The Initialize function is MC DAQ Initialize.vi in LabVIEW or mcDAQInitialize in C.
- Use Set Property to specify the new value for the DTO ID property. The Set Property function is MC Set Property.vi in LabVIEW or mcSetProperty in C.
- Start the Measurement task with the Start function. The Start function is MC DAQ Start Stop.vi in LabVIEW or mcDAQStartStop in C. You can also start the Measurement task implicitly by issuing DAQ Read.
After the task is started you may need to change properties again. To change properties within the application, use the DAQ Start Stop function to stop the Measurement task, Set Property to change properties, then start the task again.
You also can use the Get Property function to get the value of any property. The Get Property function returns values whether the task is running or not. The Get Property function is MC Get Property.vi in LabVIEW or mcGetProperty in C.