LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to you trigger off of multiple channels with pre-trigger delay

Hello,
I would like to trigger an acquisition off of any of several channels (8) and then record data off of all of the channels.  I also need to use a pretrigger delay.  The event I'm trying to capture will occur in just a few milliseconds.  Any suggestions to hardware/software tricks to do this? 
 
Thanks,
Diana 
0 Kudos
Message 1 of 6
(4,095 Views)
What is your budget and what do you want to do with the data?  There are some very nice mixed signal scopes now that can do this kind of thing very easily.  SS


0 Kudos
Message 2 of 6
(4,088 Views)
Budget is around 10k.  I'm looking for a logging system for monitoring events on 16 different channels, where if any one accelerometer channel reaches a certain threshold, all 16 channels take data.  The data would record at a rate of 100ks/sec for .25 sec before and after after triggering.  The program would run for a month or so recording several thousand events. The key is to having a pretrigger delay.  I know that there are other logging products that can do this, but I am wondering what NI has that would work. 
0 Kudos
Message 3 of 6
(4,085 Views)
Hi!
   There're many  NI boards that can do that.  Have you identified a particular family? What is your target system? PC-based? PXI?

   I'll look for suitable boards.....

   Since you're posting on LabView board, I suppose you're going to build yourself the test program in LV....right? Otherwise you can actually turn to a commercial system, but it will be less flexible...

graziano
0 Kudos
Message 4 of 6
(4,082 Views)
Hi,
   if you're building a PCI system, maybe 2 PCI-6143 boards are good for you.  For your task, I think that simultaneous sampling is better.  The only problem is that you need many analog channels (16) , each one at 100 kS/s.  With multifunction board you can loose synchronization between channels, and you have to use sampling clock and board's multiplexer at quite the maximum rate.  Another main issue is: is SE (single ended) channel good for you? do you have to keep signal grounds apart?

   For internal synchronization of the two PCI-6143, you can use RTSI Bus.

   I'm not sure this can be the right solutions, so I hope you provide more details, or ask Ni people...

   Have a nice day!

graziano
0 Kudos
Message 5 of 6
(4,055 Views)
 

Hello Diana and all,

Generally, for accelerometer measurements, we recommend a Dynamic Signal Analyzer (DSA) device for higher resolution measurements. Depending on your measurement requirements (accuracy, resolution, measurement time, etc) you may be able to use a multifunction data acquisition (DAQ) solution like the one graziano mentioned. A few questions you may need to consider in finding the best device would include:

1. What type of measurement are you taking? You mentioned an accelerometer, would these be Integrated Electronic Piezoelectric (IEPE) accelerometers?
2. Through what range of voltages are you expecting to measure? This is important when selecting the device and any signal conditioning options you may need.
3. What accuracy and resolution are you looking for in your measurements?
4. What development environment are you considering? Most of my comments will be directed towards a LabVIEW based solution, but the same concepts could apply to text based environments like C or .NET.
5. Do you want to perform any data processing in your software or purely datalogging?

For the highest resolution and best accuracy, you may want to consider a DSA based solution. Based on the details you provided (100 kS/sec & 16 channels) I would recommend the NI PCI-4472, which you can find online here. This is an 8-channel DSA device which can sample up to 102.4 kS/sec per channel. Since there are only 8 channels, you would probably need to get two devices and then synchronize your devices by sharing signals across the real-time system integration (RTSI) bus. Using RTSI bus cables like these, you can share timing and synchronization signals between multiple devices. 

I recommended the NI PCI-4472 based on the fact that most computers offer PCI slots, so it would be the easiest to use with equipment you likely already have. If you are willing to consider a PXI based solution, you could eliminate the need for synchronization by using the NI PXI-4496, which has 16 channels. However, a PXI solution would require a chassis and controller which would add some additional cost. For more information on PXI, I would recommend you examine this application note and visit the PXI Advisor.

If you are willing to sacrifice some accuracy and resolution for a more cost effective solution, you could consider a DAQ based implementation. In this case, you would probably use one of our S Series simultaneous sampling devices (like the PCI-6143 recommended by garziano) to acquire your data. Comparing the S Series with the DSA, you can see that the DSA has 24 bits of resolution with a 110 dB dynamic range through +/- 10 V while the S Series DAQ device only has 16 bits of resolution and a +/- 5 V signal range. Additionally, the DSA device has built in IEPE conditioning for accelerometers.

So far, I have discussed the hardware for acquiring your data, but I would like to point out that neither the DSA devices nor the S Series devices can trigger off multiple channels. Each of them can only perform hardware triggering on a single channel. However, it would be fairly easy to implement a software algorithm that compared the data from the channels with your trigger level and then only logged the data when your trigger conditions were met. By continuously acquiring data and using software to decide when to log, you can also meet your pre-trigger conditions by keeping a certain number of samples in a buffer and then logging the buffer and current data when the trigger occurs. Hope this information helps, let us know if you have any other questions.

 

Matt Anderson

Hardware Services Marketing Manager
National Instruments
0 Kudos
Message 6 of 6
(4,040 Views)