Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform output using a GPIB

Hi all,,
I have captured data of a waveform from my SA , and when I graph it , the y axis in the graph is right , but the xaxis gives me the index of the array of the data , how can I change the value of the x axis to indicate the range of freqnecy , or lets say how can I assign to each value of amplitude its corresponding freqeuncy
thnaks alot
0 Kudos
Message 1 of 11
(4,986 Views)
You can do this with a property node. Right click on the graph and select Create>Property Node. Right click on the property node and select X scale>Offset & Multiplier>All Elements. Right click again and select Change to Write. You should be able to get from the instrument or your program where you set them, the starting frequency (offset) and the increment (multiplier). Bundle them together and wire to the property node. The other way is to create a cluster with x0, dx, and y array and wire that to the graph.
0 Kudos
Message 2 of 11
(4,976 Views)

what is the defintion of the multipler here , if my frequnecy range is from 1.7 GHz to 4.1 GHZ what is the Frequnecy Multipler ?

thnaks alot

0 Kudos
Message 3 of 11
(4,972 Views)
Not having this specific analyzer, I don't know for sure. There should be some query of the instrument that will tell you the start frequency and delta frequency of the trace. The only thing I can recomend is reading the programming manual or contacting Agilent.
0 Kudos
Message 4 of 11
(4,940 Views)
Hi,,,
is there a way to  represent the frequnecy range button the sweep time and the refrence level on my program of the SA , plz verify this for me and help me in it
I am using the HP8569b and I have posted my code
thnaks
0 Kudos
Message 5 of 11
(4,912 Views)

Hi maple:

Where have you posted your code?

Regards,

Emilie S.

0 Kudos
Message 6 of 11
(4,893 Views)

see this link the code is in one of the answers

maple

0 Kudos
Message 7 of 11
(4,883 Views)
0 Kudos
Message 8 of 11
(4,879 Views)

Hi Maple72,

Sorry for the delay in getting back to you about this.  Asl long as the device supports having those parameters set remotely with GPIB, you can duplicate that front panel functionality in LabVIEW.  The easiest way to get started is to use an instrument driver.  We don't have a driver for the HP8569B on our website, but we do have one for the HP8566B.  While there may be some differences in the commands used by the two devices, you can still use the HP8566B instrument driver as a starting point to show the program flow needed, including displaying data and manipulating parameters.  If you know the command set for the HP8569B, then you may be able to just modify the driver for the HP8566B.

https://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E94D5659CE034080020E74...

 

0 Kudos
Message 9 of 11
(4,841 Views)

Hi!!

I'm working with a GPIB board and with Oscilloscope HP54602b and I want to get the graphic in my computer, I'm using the instruction WAVEFORM:DATA to get the data, but i don't know how to build the graphic to display it, i'm using the GPIB read instruction but it gives me one string with all the data in ASCII, and i don't know how to separate it and display the graphic. I hope you can Help me!!!  please 

0 Kudos
Message 10 of 11
(4,782 Views)