LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving Agilent 4395 configuration settings...

Saving Agilent 4395 configuration settings...is there a way to save them thru the gpib?  and while I'm at it... save the tif image as well?
 
Saving them to files is no problem, getting them on & off programaticly is... are there any solutions?
 
tia...
 
 
0 Kudos
Message 1 of 4
(2,927 Views)

Smiley Happy

 

anyone?

0 Kudos
Message 2 of 4
(2,899 Views)

With instruments that use SCPI, there is usually a query associated with each command. For a simple example, if you had a 34401 DMM and the command to set volts DC function was :CONF:VOLT:DC, if you sent the :CONF? query, the instrument would respond with VOLT DC. I have not used the 4395 and I have not looked in the manual to what is there. If the queries are present, you can run them one at a time. Some of the current settings will determine which, if any, other queries you have to do. Using the DMM example again, if you had a 34401 DMM and you got a function of Frequency back, you would not query range or resolution. Another option is to record what you have sent to the instrument with your program.

If there is a high level command that returns all settings with a single query, then you will find it in the programming manual. Have you gone through that to see if any such command exists?

By tif, I'm assuming you want a screen shot. You could save the front panel image of the graph that is displaying the data. Otherwise, you will have to find the command in the manual that does a screen shot and then the command that will transfer that over the GPIB bus. There have been several posts on instrument screen shots that you might look at but every instrument will implement this functionality a bit differently, if it even implements it at all.

0 Kudos
Message 3 of 4
(2,894 Views)

thanks for the input, the command to save the config is there, however it forces you to point to a local file which you cannot off load easily (local memory or floppy, they'd prefer to save to a network drive).  This task came about to help out our engineering staff save off traces during development and one of them asked if I could also save the configuration as well since they are changing them as they use it, with that said there is no programming on my part to set it up for them.  Otherwise it'd be easy.  I was hoping that someone has encountered this problem and developed the code to do it.  A shot in the dark I know but you never know.  I've found more solutions on this forum than I can remember saving me tons of development time.

 

 

0 Kudos
Message 4 of 4
(2,885 Views)