Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Measuring Current with the NI DAQ 9189 Module and running into sample clock rate issue

Hi everyone, 

I am trying to measure voltage and current with the NI DAQ 9189 module. I have a setup that uses the NI DAQ 9227 for voltage which works but when I try to add current measurement to the program using the 9189 module I get an error that says "Error -201087 occurred" with the possible reasons listed as:

 

"Task contains physical channels on one or more devices that require you to specify the Sample Clock rate. Use the Sample Clock Timing function/VI to specify a Sample Clock rate. You cannot specify a Sample Clock rate if Mode is set to On Demand."

 

I am not sure what the problem is but I suspect it has to do with my common sampling clock which I use for both the voltage and the current DAQs. 

 

Does anyone know how to fix this issue? Thanks

0 Kudos
Message 1 of 2
(156 Views)

You didn't use any sample clock. The software time is not the hardware DAQmx sample clock.

Go to Search DAQmx Examples and refer to Voltage Input - Continuous Acquisition

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 2
(128 Views)