LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Change detection in combination with additional digital input

Solved!
Go to solution

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.

0 Kudos
Message 1 of 2
(2,582 Views)
Solution
Accepted by topic author Alkali

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?

best regards
Alexander
0 Kudos
Message 2 of 2
(2,553 Views)