Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I turn on/off a digital output while taking AI samples?

What I'm trying to do is to start taking a specific number of samples from 2 analog inputs, and half a second later turn on a digital output, and again turn it off a user specified amount of time later. What's happening is that the analog sampling prevents any control of the digital outputs while it is sampling. What this is trying to acomplish is this: I want to start recording values, and a short time later I want to send the signal for the actuator that I am measuring to actuate. I am attaching the vi that I am testing with. I have the timing etc. figured out and once I can get this part to work, I can put them together.
0 Kudos
Message 1 of 3
(2,598 Views)
Oh, I forgot to mention. I am using LV 7.1 and a DAQPad 6015.
0 Kudos
Message 2 of 3
(2,594 Views)
Mike,

I found a good example that will help you get started with this.

1. Open LabVIEW
2. Help >> Find Examples
3. Browse >> Hardware Input & Output >> DAQmx >> Synchronization >> MultiFunction
4. Open Multi-Funciton-Synch AI-Read Dig Chan.vi

It's not exactly what you are looking for, but I think it gives you a good starting point for your application.

Regards,
Anuj D.
0 Kudos
Message 3 of 3
(2,576 Views)