I have a problem today with my VI today, the error message I got is as follows:
>Measurements: Specified property cannot be set while the task is running.
>Set the property prior to starting the task, or stop the task prior to setting the property.
>Property: AI.Voltage.Units
>Task Name: _unnamedTask<3E4>
In this VI, I have some AI voltage channels for reading voltages, and two AO voltage channels for
writing voltage, and both AI and AO use the same hardware. By removing 'start task' and 'end task'
for the AO channels, I was able to run my VI without above error message, this seems to suggest
that LabView will get confused if I start two tasks in a single VI. I wonder if this is the case, thanks
for suggestions!