I just bought a USB 5133 with 32 MB/ch of onboard memory. A continuous periodic signal as shown below is being connected to Ch1. The period of the signal is 100 samples, but I want a record to be only the first 25 samples after being triggered by the rising edge of the signal. I want the digitizer to discard the rest of the samples, but keep the subsequent 25 samples as another record when the next trigger is detected. What I am trying to do, is to save some memory, so that the 32 MB/ch of memory can be used to save as many records as possible before all of the records are fetched to the LabVIEW.
I try to follow the example niSCOPE EX Multi Record.vi and made the following vi (also attached):
It runs smoothly when I fetch only 1 record, but when I try to fetch 2 or more records, the following error occurs:
What's wrong with the vi or setting, and what is the more appropriate way of doing this? Thank you~