Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68906

NI Scope - Using PXI-5142 & PXI-5154 together

$
0
0

I am trying to write a vi that samples all four available channels (two on the 5142 and two on 5154) at the "same time" and stream all the data to a binary file.  I am having an issue setting up the channels properly where they fetch the data at the correct rate.

 

My overall need is to sample each channel at 2MHz - so Im not breaking any speed records.  The 5142 will have a 20V vertical setting while the 5154 has a 5 volt vertical.  The sampleing can go direct to a file, but I would like one file for each channel if possible.  Though if I combined each card to one file or even all four to one then its fine as well - I just dont want to impede the sampling speed due to file write.  The file I have been working with is binary, as I find it fairly fast.  I am open to other options.

 

Triggering is not an issue, as I would use the "start aquisition" method to start everything.  While the four channels dont have to be exactly in sync, they need to be within a few micro seconds in order to keep things together when I go to do some analysis.

 

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 68906

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>