09-26-2007 04:10 PM
09-27-2007 01:46 PM
10-17-2007 11:39 AM
10-17-2007 08:10 PM
10-18-2007 04:22 AM
Hi,
Currently i am using a PID controller vi with analog input for pressure acquisition (Dev1/ai0) and PWM counter output for the feed back pulse generation (Dev1/Ctr0)
and in another vi for the activation of a valve i generate pulse for the relay coil (Dev1/ai1) to activate and getting back the coil current thro another analog input(Dev1/ai1)
When i run the individual vi it works fine but i want to integrate both vi as a single vi and run for my purpose. I have to use the vi in such a way that when my PID controller is stabilized it has to activate the relay coil. I would like to use only one device to do all but it will happen only when the first (PID) releases the resource for the second (Relay coil)
My question is: Is there any other way to do the above function using DAQmx so that when the first vi (PID)is active only i have to start the second(Relay coil) to generate pulse
Over all i need a method to use more than one channel of a same device in a single vi( is there any way to synchronize the sample clock)
Thanks in advance
Chandru
10-18-2007 10:14 AM
10-18-2007 04:55 PM
10-19-2007 09:59 AM