LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Specified property cannot be set while the task is running.

I'm acquiring analog data and using DAQmx Trigger Property Node to pause the data input when one channel is below a certain value. I've set the Trigger's type as "Analog Level" by creating a constant on the block diagram. When I run the program, I get error #200557, "Specified property cannot be set while the task is running." I guess my questions are 1. If the type is set as a constant, why should the trigger try to set it while the task is running, and 2. How can I set this before the task begins as the DAQmx Trigger takes a task as an input.

Thanks for any help on this topic,

Aurora Tiffany-Davis
0 Kudos
Message 1 of 2
(2,903 Views)
Aurora

What the trigger property node actually takes is a task/channel input. Just wire the trigger property node before you call the Start VI and everything will be fine.

StuartG
0 Kudos
Message 2 of 2
(2,886 Views)