High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi-record continuous acquisition with PCI-5112

Hallo!
I need to know if it is possible to obtayn a continuous acquisition in multi-record mode.
In "niScope EX Multi Record Fetch Forever.vi" shipping example (LV 5.1), it seems to stop when "loop index" rises to "number of records -1" value.
I've not the avilability of the PCI5112 card at the moment, so I cannot to try on, but I need of a confirm.
If I've well understood, I could modify the loop condition, by erasing the check on loop index, and by wiring "loop index"mod(N), to "fetch record number" attribute (let's define N as "number of records"). So I could continuously fetch the records 0,1,..,N-1, for the first cycle, and again 0,..N-1, for the second cycle, and so on.
OK! I think that the contents of a reco
rd number K (with 0<=K<=N-1) are different if acquired in different cycles! In this way I can obtayn a "for ever" multi record acquisition. Is it right?
Thanks for your answers.
0 Kudos
Message 1 of 2
(6,271 Views)
NatRob,

It sounds like you are on the right track. The only thing keeping this from running continuously is the comparison of "loop iteration + 1" to the "number of records." Other than that, the loop should only stop when an error occurs or hte Stop button is pressed. Just erase the greater than comparison and the boolean used to stop the loop and it should work.

Regards,
Chris Drymalla
NI Applications Engineer
0 Kudos
Message 2 of 2
(6,271 Views)