High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I acquire data with USB-5133 in LabVIEW?

What VI/function can be used to stream data into LabVIEW from the USB-5133 scope pod?

I see that this can be done with Signal Express but want to do it in LabVIEW so I can perform an FFT on the samples.

 

 

0 Kudos
Message 1 of 5
(7,278 Views)
It depends on what all you want to do, but a good start is any of the examples or you can use the NI-SCOPE Express VI.  Simply configure it to do an aquisition and then hit ok.  You can then right click on that blue VI and say open front panel and it will convert the VI into a normal SubVI.  You can take a look at that code and modify it and add the FFT functionality you want.
0 Kudos
Message 2 of 5
(7,273 Views)
Thanks!
0 Kudos
Message 3 of 5
(7,265 Views)

The Express Scope VI works ok, but I'd like to control the sampling rate and number of samples to take without having to manually open the Express VI and setting these parameters (i.e., I'd like to input them to the Scope VI from external controls on the front panel).

 

 

0 Kudos
Message 4 of 5
(7,242 Views)

I would use the express VI just as a template to do what you want.  So after you have configured the Express VI to a state that is ok, especially the triggering in your case, hit ok.

 

On the diagram you will end up with a blue subVI.  Right click on it and select Open Front Panel.  That will convert it to a normal subVI, which you can then edit etc.  So you could look at the diagram of that new subVI and change the "min sample rate" and "min record length" constants to controls.  Add those to the VIs terminals and you have a subVI that does most of what you want.

0 Kudos
Message 5 of 5
(7,231 Views)