ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multible Channel Pretrigger

Hi all,

 

I am working on a labview daq software with a NI 9220 device  i would like to set triggers with threshold on 8  channels, as soon as a voltage level reach the threshold it  should  trigger and give me pretrigger and post trigger samples. 

Otherwise i would calculate some values with the continuous data (RMS, MinMax) and write it to file.

 

i was looking at this example: 

 

https://forums.ni.com/t5/Example-Code/Archived-Analog-Level-Trigger-with-Pre-Trigger-Samples-in/ta-p...

This looks similar to my wishes, but it only has one physical channel, i was wondering if its possible to look at more than one channel, to get my requirements. 

 

thank you very much 

best 

 

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

Hey Martin,

 

Do you use a cDAQ or cRio chassy.

 

If you work with a cDAQ you can do this programmaticly in LabVIEW but you´ll have a much higher CPU utilization.

 

With a cRio u can work on FPGA level.

This would be the better solution performance like.

 

Possible is it with both options.

 

Cheers, Timo

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

Hi Timo,

 

i will use a cDAQ and allready have one application where i can set the triggers on each channel, it works fine using a simulated signal, i will see if its really work as soon i get my NI hardware.

I will use a 1.8 dual core intel atom for processing the data, i dont need any graph just recording the data.  

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