From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to take oscilloscope voltage data

Hi,

 

I am trying to get the output voltage from my oscilloscope to track when my thruster is pulsing.  I've attached a picture of my vi and I am using a NI USB-6008 and a usb attached from the DAQ to the oscilloscope.  The timing isn't working correctly and when it writes to file the voltages are all the same and it's going hours past the amount of time I've run it.   Does anyone know why this is happening?

 

 

0 Kudos
Message 1 of 50
(3,874 Views)

Your picture doesn't help us help you.  Most of the important stuff is buried in the DAQ assistant, and we can't click on a picture to open that and see how it is configured.

 

You talk about your oscilloscope, but you don't mention any details like its brand name and model number.  And your code doesn't show any attempt in trying to communicate with it.

 

As for running a long time after, your VI is only going to stop running when you press the stop button.  How long it takes to write all of that out to a file depends on those DAQ settings and how many waveforms you've put together in that Waveform VI.

 

The shift register you have serves no purpose because you never use the value coming in from the left side, and the intial data constant going into the left side of it isn't doing anything either.

0 Kudos
Message 2 of 50
(3,865 Views)

@sahurley wrote:

Hi,

 

I am trying to get the output voltage from my oscilloscope to track when my thruster is pulsing.  I've attached a picture of my vi and I am using a NI USB-6008 and a usb attached from the DAQ to the oscilloscope.  The timing isn't working correctly and when it writes to file the voltages are all the same and it's going hours past the amount of time I've run it.   Does anyone know why this is happening?

 

 


I don't understand why you have a DAQ attached to an oscilloscope.

 

If you want to get waveforms and voltage measurements from an oscilloscope you need to communicate directly to the oscilloscope.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 50
(3,854 Views)

I am trying to communicate with the oscilloscope via the DAQ.

The DAQ Assistant I did: acquire signals -> analog ->voltage-> continuous.

The oscilloscope is a Tektronix TDS3014C.

I got the code from a class I took where we were reading voltages.  I did press stop (no need to be rude), but when I opened the spreadsheet it had gone on 3 days when I only ran it for 30 minutes.  The shift register is supposed to connect the timing mechanism and output all of the values taken to a spreadsheet, rather than solely the current cycle.  

0 Kudos
Message 4 of 50
(3,853 Views)

How do you connect the oscilloscope directly?

0 Kudos
Message 5 of 50
(3,849 Views)

@sahurley wrote:

How do you connect the oscilloscope directly?


Download the LabVIEW Instrument driver for your scope

 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=014E9F890ACE6DA0E0440003BA7CCD...

 

Usually examples for basic comunications are included.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 50
(3,843 Views)

A DAQ device acquires data.  An oscilloscope acquires data.  How do you expect a DAQ device to communicate with an oscilloscope?

 

You can probably find LabVIEW drives to communicate withe a Tektronics o-scope.  Look at their website.   Use Google.  Look here.  http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/ssnav:idr/q/Tektronix%20-%20...

0 Kudos
Message 7 of 50
(3,837 Views)

I tried hooking it up directly, but the time is still wrong and the examples won't work - it only runs in NI express.

0 Kudos
Message 8 of 50
(3,769 Views)

What do you mean by "hook up directly" and by "NI Express"?  There are lots of Express VI's in LabVIEW.

 

Try attaching your latest code.

0 Kudos
Message 9 of 50
(3,763 Views)

I don't mean an Express VI, I mean it is only running on NI SignalExpress.  I don't currently have a code because I was trying to use an example, but it doesn't work.  The only way I can get any data is in SignalExpress.  

 

The responses said not to use a DAQ board, but to directly hook up the oscilloscope so that's what I did (square usb in the oscilloscope to usb in the computer). 

0 Kudos
Message 10 of 50
(3,743 Views)