04-12-2009 09:50 PM
Hello
I need the images of graph in the insrument ,my computer is connected to the instrument by GPIB-USB-HS,can the image file (*.jpg) been obtained by GPIB-USB-HS from instrument.
when writed VISA command "outpdata",instrument sends results in the form of string data,command "outpplot",instrument converts image of its screen to string data and then sends the string data ,how can i recover the imgage?
Solved! Go to Solution.
04-13-2009 02:58 AM
Hi
The easiest way (and fastest) is to draw a plot on your pc and use the data.
Alternatively instruments are able to send a screen as a bitmap display. Most of the time this is slower than just the data and
it gives you no access to the real data for further processing.
Maybe there is an instrumentdriver available on IDnet search on it and most of the time this feature is already available in an example
04-13-2009 06:38 AM
Thanks for your answer !
make a plot using the data is indeed the fast and easiest,but In the teating report it is more objective to use the graph images of sreeen as a third-party.
Maybe virtual printer will be best way.
thanks again!
04-13-2009 09:09 AM
When you print screen, do you specify a particular format (bmp, png, etc). If you do, you can probably just save the string read as a file with the correct extension. A 'virtual printer' only makes sense if you are using a command for the scope to send to a printer.
I would suggest you do a search for 'scope print screen' to review the numerous posts on the same subject.
p.s. When asking a question, it's a good idea to provide the make and model of the instrument. It's important information.
04-13-2009 11:11 PM
I use angilent 8753 VNA without operating system .testing results (data [*.txt]and graph image[*.jpg])can been saved to floppy disk.when written VISA command "outpdata" ,The VNA can output the results data in the form of string data through GPIB,but can't output the image by any method.if we write command "outpplot"or "outpprint",it will output string data converted from image of VNA screen ,the string data is used to send to printer or ploter directly .if we imitate printeror ploter on pc to receive the data,the image can been recovered ,does it make sense?
04-14-2009 10:33 AM
The first thing I would do is ask Agilent is if there is a command to transfer the image data from the floppy over the GPIB.
If you do opt for the virtual printer, you will not end up with a jpg file. You will end up with a file that has been formatted for the printer.