LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help: NI Scope Multirecord Acquisition on Trigger?

Hi,

 

 

   I have a PCI-5122, with 256 MB Ram, and would like to acquire 100,000 records of a signal with 1000 samples in each record, at 100MHz.   The problem is that I'm generating my signal with a 40 Hz TTL, so every 25 ms ( on the TTL edge) I would like the card to start start acquiring the new record, and store it in memory.  So the records aren't consecutive in time, but each record is a 1000 sample set, seperated by 25 ms.

 

I came across this example of how to do a multirecord acquisition and store all of the records on the cards memory before fetching them: http://decibel.ni.com/content/docs/DOC-3441 , which is exactly what I need in order to not loose records

 

However its not clear to me how to configure the  card to start the record acquisition only on the rising edge of my TTL.

 

Could someone give me any guidance on this?

 

Thanks,

-Sidney

NI Hardware: PXI-7853R, PCI-5122, PCI-6733, PXI-1036, PCI-MIO-16E-4, PCI-6110
Computer Hardware: Xeon Quad Core - 2.33 Ghz, 8 GB RAM
Software: Labview 2009, Labview FPGA 2009, Vista 64-bit, MAX 4.6, DAQmx 9.0, NI-SCOPE 3.5
0 Kudos
Message 1 of 2
(3,088 Views)

Hi,

 

In the example you found the trigger is an analog trigger. So, as you want to record acquisition on rising edge of your TTL, you need to change the function : niScope Configure Trigger Edge.vi to be Digital Edge Ref Trigger instead of Analog Edge Ref Trigger. You just have to click on the name and select Digital>Edge. As you want it on rising edge you need to choose "positive" as the trigger slope.

 

Hope this will help,

 

0 Kudos
Message 2 of 2
(3,066 Views)