Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

agilent 856x series

Hi All,

I am new to this group. I am using labview to trace the data from 8563EC signal measurement. I am using Query TraceArray.vi to trace the data from the instrument. But it seems like it is tracing the data with respect to 600 data points as shown below. But in the instrument, the graph is always amplitude versus frequency instead of amplitude vs data point. Here as shown in below screenshot, I am getting the amplitude with respect to data points upto 600. But I need to collect the frequency value too from the instrument. It seems, when the program trace the data it only trace amplitude. I want to know if their is any way to get the corresponding frequency value too?

Please help me out ASAP!!

 

8563ec.png

 

 

0 Kudos
Message 1 of 7
(5,453 Views)

If it was me, I would download the programmer's manual for this instrument and see what command is being sent by the VI I am using.

Then I would try to see what command is used to obtain the frequency values.

 

It does no good to run instrument driver VIs, if you don't understand what it does and what the instrument does.

0 Kudos
Message 2 of 7
(5,434 Views)

I have tried that. The programmer has only traced the data from Trace A/Trace B. And directly sending the data to the output by running a loop 600 times. I am not finding any other option that will trace the corresponding frequency value too. You can see below it is tracing the data using TRA/TRB and fetching the data arrat as trace array output. I was trying to impliment the duplicate logic for frequency. But the problem is that it is not using command for amplitude, but for trace A. By default, what data is being fetched from instrument is amplitude which is in y axis. So I am not finding any explicit command to fetch the corresposnding frequency values for each data point. 

 tracedata.png

0 Kudos
Message 3 of 7
(5,428 Views)
Why did you decide not to use the existing driver? Why have you decided to not even look at the code on the existing driver. There is a way to read f0 and df that would be documented in the manual and implemented in the driver.
0 Kudos
Message 4 of 7
(5,423 Views)

Sorry for any stupid mistake. But I am new to labview, and I am working on it without having a good learning session as I am working in a office. I even don't know, how to read the code, all I know is to set block diagram from where we can measure things via front panel. I have not a single clue how to get with learning labview each step by step. Please suggest me some material llearning which I can understand the aspects of labview. Also, I know some quesry vi are their only, where I found queryfrequency.vi which only query specific frequency like centre frequency or start-stop freq, etc. But, I am not able to find out any block, vi or subvi which use to grap each frequency value just like trace data. If I need to look for some code, please let me know how to do it! Also, if possible please let me know if I can find some elaborated material.

Thanks.

0 Kudos
Message 5 of 7
(5,396 Views)
Help>Find Instrument Drivers will get you the pre-written driver.

http://www.ni.com/downloads/instrument-drivers/ has links on what a driver is and how to use one. The functions in the driver are VIs that you can view the block diagrams. Your instrument manual has all off the programming commands.

There are several free tutorials and basic I and II classes are included with new purchases.
Message 6 of 7
(5,388 Views)
0 Kudos
Message 7 of 7
(5,386 Views)