03-14-2017 07:58 AM
Hello everyone,
I am using change detection for several digital lines and am trying to create an additional task to read a different digital line periodically. However, when both tasks are started I get the following error message:
Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
Property: DAQmx_SampClk_Src
Property: DAQmx_SampClk_ActiveEdge
Source Device: Dev1
Source Terminal: Change Detection Event
Required Resource in Use by
Source Device: Dev1
Source Terminal: PFI0
Destination Device: Dev1
Destination Terminal: di/SampleClock
Status Code: -89137
I am generating a clock using the card's frequency generator as a sample clock for counters and the digital input I'm trying to acquire. This freqout clock is routed to PFI0. The error message is not very explanatory to me, so I hope that somebody can help me with this error.
Solved! Go to Solution.
03-15-2017 01:48 AM
Hello Alkali,
only one task with timing can be used for the digital inputs so only change detection or continuous input can be used.
How Many Different Tasks Can I Run On My Multifunction DAQ Card?
Why not make change detection for all or acquire all with a fast rate so every change is shown?