LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to continuously do AOAI and buffer the data for later use?

Is there a way to do simultaneous AI and AO and keep the data in the buffer until I am finished with reading, then read the buffer and save the data to disc. I want to acquire 1000 scans on up to 10 chanels at 10 000 Scans/s, while generating one output signal.
I have seen plenty of continuous AIAO examples, but all they do is show the data. I don't mind not viewing the data, all I want is to hold it for later analysis, while avoiding writing to disc as I fear this will slow the process too much. Or would a different approach than simultaneous AIAO be more appropriate?
I am using LabView 6.1 with 6024E DAQ card on a P-IV 1.5GHz.
0 Kudos
Message 1 of 4
(2,900 Views)
I think you can do it by using shift registers on your while loop. You add new data each turn.
When you get out of the loop, you can analyse your data. Of course, you can't do it too long, depending of your quantity of RAM.
0 Kudos
Message 2 of 4
(2,900 Views)
This is definitely an option, thought you're right about the RAM problem. If you're acquiring 10,000 points/sec you could run out of memory fairly quickly. You could also just write the data to file each time through the loop and then read it when the acquisition is over and do your analysis then.
J.R. Allen
0 Kudos
Message 3 of 4
(2,900 Views)
Use this vi MainProg.vi in the llb

i use a same engine to acquire at 2 MS/s and generate at 3 MS/s




"Fil" a ?crit dans le message de news:
506500000008000000C8620000-1031838699000@exchange.ni.com...
> Is there a way to do simultaneous AI and AO and keep the data in the
> buffer until I am finished with reading, then read the buffer and save
> the data to disc. I want to acquire 1000 scans on up to 10 chanels at
> 10 000 Scans/s, while generating one output signal.
> I have seen plenty of continuous AIAO examples, but all they do is
> show the data. I don't mind not viewing the data, all I want is to
> hold it for later analysis, while avoiding writing to disc as I fear
> this will slow the process too much. Or would a different appro
ach
> than simultaneous AIAO be more appropriate?
> I am using LabView 6.1 with 6024E DAQ card on a P-IV 1.5GHz.



[Attachment 4x10KSps to Disk& generate AO.llb, see below]
0 Kudos
Message 4 of 4
(2,900 Views)