Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6024 Acquisition through LabView

I have two PCI-6024E's running under LabView 6.1
I'm currently running a 200ms sample time / sweep time and want to speed that up, ideally by a factor of 10.
If anyone has any code modules that optimise the reading and writing through these cards I would appreciate some input on how I can do this.
Thanks in advance
0 Kudos
Message 1 of 4
(2,864 Views)
When you say you are currently running a 200ms sampleTime/sweepTime, do you mean that every 200ms you are performing a finite acquisition. If so, how many channels are you sampling, how many samples are you acquiring per channel, and at what sampling rate.

To speed up this scenario, you could increase your sampling rate, decrease the number of samples, and try to integrate a start an stop trigger to control the acquisition.
0 Kudos
Message 2 of 4
(2,864 Views)
I was doing a continuous acquisition of every channel on both cards and writing to 3 of the 4 available analogue outputs.
I was acquiring 10 samples per analogue channel.
So that's 16 digital outputs and 16 analogue inputs and 3 analogue outputs.
The quickest I was able to service every input and output was once every 200ms.

Retrospectively I don't think I was using the NI vi's optimally. I've made a few changes and can now do the same operation every 60ms.

This still seems slow to me.

Thanks for the reply.
0 Kudos
Message 3 of 4
(2,864 Views)
Yes, this is slow. More than likely you are not using the DAQ VIs properly. Please take a look at an example that ships with LabVIEW 6.1 This examples shows the code for doing AI and AO simultaneously. You would just have to add your DIO code to this example. The example can be found by going to Help >> Find Examples >> Hardware Input and Output >> DAQ >> Simultaneous Analog IO >> Simul AIAO Buffer (E-Series). Examine how the code was put together and try to do the same with your code.
0 Kudos
Message 4 of 4
(2,864 Views)