LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Example of capturing waveform

I would like to find an example of capturing a waveform using a NI-9233 with a USB-9162. I need to make a software trigger that captures the data X seconds before and after a spike on the input. The hardware I am using (above) does not have a trigger function so I need to continually monitor the signal until a spike is seen, then I need to capture a variable amount of second before and after the spike to analyze.

0 Kudos
Message 1 of 3
(2,972 Views)

Hi Anthony

here is an example for you. I hope it helps. If you have further questions, don´t hesitate to ask.

Mike



Message Edited by MikeS81 on 02-08-2008 02:10 PM
0 Kudos
Message 2 of 3
(2,951 Views)

Hello,

I would recommend the example titled Cont Acq&Graph Voltage - Analog SW Trigger. This example is a software trigger. I selected this example, because the 9233 is limited to software triggers since it does not have hardware circuitry for triggers. The example is located in the NI Example Finder under the Browse tab folders <Hardware Input and Output> <DAQmx> <Analog Measurement> <Voltage> . The Example Finder is located under the Help menu in LabVIEW.

The example MikeS81 posted is also very helpful for a post processing approach.

Samantha
National Instruments
Applications Engineer
0 Kudos
Message 3 of 3
(2,925 Views)