ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using counter input while using digitial output

Hi there.

 

I am using a USB-6251 and want to measure a frequency using one counter while generating a digital wavefor on Port0.

 

Each task exectutes nicely on it's own, but when I try to run both tasks together, I get the following error message:

NationalInstruments.DAQmx.DaqException

Message: Specified route cannot be satisfied, because it requires resources that are currently in use by another route.

 

Property: NationalInstruments.DAQmx.CIChannel.CounterTimebaseActiveEdge

Source Device: Dev1

Source Terminal: 80MHzTimebase

Destination Device: Dev1

Destination Terminal: Ctr0Source

 

Required Resources in Use by

Task Name: TriggeredPinChange-Output

Source Device: Dev1

Source Terminal: 20MHzTimebase

Destination Device: Dev1

Destination Terminal: do/SampleClock

 

What am I doing wrong?

0 Kudos
Message 1 of 1
(2,952 Views)