Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to acquire graph from hp4155b with labview

Hello,
I am trying to acquire graph data from the hp/agilent 4155b with labview 7.1. I am using GPIB, and can see and communicate with the instrument using MAX. I am trying to use the getting started.vi from the driver. I give the instrument descriptor "GPIB1::17::INSTR" as it shows in the VISA interactive control.  I receive the error "HP415x Sys-Error Query.vi: +195,"Cal/Diag failed. Cannot use unit." Any idea what is wrong?
0 Kudos
Message 1 of 7
(5,361 Views)
That's a message from the instrument returned with the SYST:ERR? query. It's possible that the instrument failed it's internal self-test. Power cycle the instrument and run this query in MAX. The instrument should also support the *TST? command. You can also run this. If the SYST:ERR? or the *TST? queries return the same message, you will have to have the instrument calibrated or repaired by Agilent or a third-party.
0 Kudos
Message 2 of 7
(5,358 Views)
Thank you. The getting started.vi is working now. Do you know how to save the graph as image to insert into a Word document? Thank you for your help. 
0 Kudos
Message 3 of 7
(5,355 Views)

Yes I do know. You can create a reference to the graph and use the Get Image method. The image data can be passed to the Write JPEG File function.

Message Edited by Dennis Knutson on 04-10-2007 09:47 AM

Message 4 of 7
(5,348 Views)

Hi I am also trying to capture real time graph or data from HP4155B. I am using Visa resources.

It only updates the graph at the end of test. Is there any way to update the graph along with test sequence.

Thanks

Hark 

0 Kudos
Message 5 of 7
(5,165 Views)
Do you mean that you want to display what is happening during a sweep? If that's so, then probably not. Doing the download trace function would probably interupt the sweep but you can give it a try. The Op-Start-Start function would have to be set to not wait until finished
0 Kudos
Message 6 of 7
(5,159 Views)

Yes Dennis, I want to capture it while sweeping. But i think i have to live with what i have now. As i can't put more delay in sweep to read values.

Thanks for your quick response.

 

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