NI Home > Community > NI Discussion Forums
Reply
Member
Aurora_Tiffany-Davis
Posts: 17
0 Kudos

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
Active Participant
Stuart_G
Posts: 205
0 Kudos

Re: Specified property cannot be set while the task is running.

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