Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog Input and PWM output problem

Hi all.  I am trying to input an analog signal and also output a PWM on a counter that drives a servo based on the input.  I am using a PCI 6024E.  Currently I have two separate vi files, one that takes the analog input and does some measurements, and one that makes the counter output.  Right now they are not synchronized in anyway.  My problem is that if I run the vi file dealing with the analog input and then stop that and try to run the other vi file i get an error message saying:
"Error -89130 occurred at DAQmx Create Channel (CO-Pulse Generation-Frequency).vi
Possible reason(s):
Device not available for routing.  It is possible that the device needs to be reset or that the device is being reset.
If you are resetting the device, wait for the reset to complete.
For example, if you have used the device through Traditional NI-DAQ, you must reset the device before the requested route can be made."

Then the only way for me to get the PWM vi working is to completely quit labview and then reopen the PWM file.  If there is this much of a problem with two separate and independent files, I assume that I will have a problem when I try to combine them...do you know how to have both an analog input and a pwm output on a counter?

Thanks a lot,
Zack
0 Kudos
Message 1 of 2
(2,999 Views)
Hey, I figured it out....I was using both tradational DAQ and DAQmx, and it was a driver problem...works now.
0 Kudos
Message 2 of 2
(2,997 Views)