Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with data recording Agilent oscilloscope 54810A

Solved!
Go to solution

I am using an Agilent 54810A oscilloscope with GPIB interface, I am unable to record Voltage (Y-axis) and Time data(x axis) together. I can only record the time data.

 

could you please help, I would like to record the data on a text file.

0 Kudos
Message 1 of 6
(3,990 Views)

Hi Ultrasound,

 

Perhaps you can provide a bit more detail so that the community can help you out.

 

You mention you can't read the y axis data. What have you tried in order to read this data, what did you expect to happen, what actually happened. Do you have any thoughts on why the two outcomes were different?

What method, steps and commands have you used to sucessfully read the x axis data?

 

Pictures speak 1000 words (that's why LabVIEW rocks over text based langauges, haha! Smiley Wink ). To this end, perhaps you can upload screen shots of the problems you are seeing, like shots of error messages.

If you upload all of the code you are using we can all take a look, thus getting a better understanding of what it is you are trying and pick up on any obvious problems. This process is an awful lot more valuable if you have commented your code as you built it up.

 

NI Spy is a fantastic tool which you can use to record traffic across your serial ports. It installs with LabVIEW and can create a report you can then share with us. If you are sending commands but don't appear to be receiving a response this is a very powerful tool.

 

I had a dig through the lab but we don't have a 54810A I'm afraid. As such it will be difficult for me to try out or test anything on your behalf. So I had a look on our examples site, lists of known problems and past questions but there was very little there.

 

Sorry for the barrage of questions. I look forward to helping out!

Rhys
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,972 Views)

Hi Rhys,

 

Thanks for the reply. please see the attachement below for further details. I am trying to read the data on y-axis in the sacope (Voltage/amplitude) but the VI's dont seem to support this. any help and insight to this problem will be much appreciated.

 

Inorder to read the y/x axis data i have wired the write to mnt express vi directly to the w/f output.

 

 

Many thanks

0 Kudos
Message 3 of 6
(3,970 Views)
Solution
Accepted by Ultrasound

I don't know why you say you are only able to save the time data. What you are saving is the Y data. If you want to use the Write to Measurement File, create a waveform data type from the Y data and x increment that you get from the Read Waveform function. You simply use the Build Waveform function to do this (inside the loop).

 

Having a True constant wired to the OR of the inner while loop's termination terminal makes no sense. Might as well have no while loop. With a single iteration, I also don't understand the purpose of the auto-index output to a 2D array.

Message 4 of 6
(3,966 Views)

Hi,

Your suggestion has resolved the problem, many thanks..

0 Kudos
Message 5 of 6
(3,956 Views)

Explanation:

I don't mean to bring an old topic back to life, but i seem to be having a similiar issue. Im relatively new to this and am learning as i go. Dont have any background in electronic engineering.

 

Im using an Agilent Infiniium MSO8104A to record the voltage of the stepper motor control within a CNC milling machine and to record the movements of the x-axis and y-axis movements of the machine. I have circuits set up and probes attached. But i am also using a pre-amplifier circuit with a micro magnetic sensor to read the magnetic field of a PCB while the other axes are being read.

 

I am hoping to take an image of the PCB's magnetic field just for research purposes.

 

Problem:

I have everything set up and the Oscilloscope is reading everything accurately

 

Green = X-Axis

Purple = Y-Axis

Yellow = Magnetic field

 

http://i.imgur.com/8eYEecd.png

 

When i click File->Save->Waveform and save as a .CSV file then opening the file i expected to see 3 or 4 columns. 1 column representing the voltages being detected on each channel and a 4th column for Time. However when i opened it i only had 2 columns of voltage data. Even when i only have 1 channel active taking a reading and save it to the .CSV file it still has 2 columns of data in the fole.

 

I can tell by the slight voltage fluctuations in one of the columns that that must be the magnetic sensor readings as the sensor would not be as accurate as the probes.

 

I have spent the last week trying to figure out why only 2 columns of data (assuming they represent 2 channels) are being recorded and not all 3 channels at the same time. Can anyone lend some advice on what i am doing wrong, as i have played around with the Oscilloscope settings, read through most of the manual and i feel i am wasting far to much time on trying to figure this out. I have talked to a few people that are educated and qualified in electronic engineering and are more than familiar with the use of Oscilloscopes but have only been able to explain to them my issue. The lab i am working in is restricted so i can not bring one in to show them what i am doing and for them to walk me through fixing this issue. They have advised that it is really dependant on how you have your Oscilloscope set up and what it is i am trying to do. This Oscilloscope was set up for me prior to me commencing, so i have assumed it was set up for what i needed to be doing.

0 Kudos
Message 6 of 6
(3,614 Views)