LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image save through GPIB using Labview for yokogawa scope

Hi there.
I'm having trouble importing image capture from the yokogawa scope into my pc local drive through GPIB cable.
I can only save the image into the floppy disk.
Is there anyone who can help me in transfering the image file from GPIB to the PC local drive using Labview ?
I'm using yokogawa digital scope DL7400.
Thank you.
0 Kudos
Message 1 of 10
(4,042 Views)

Hi,

I looked for a instrument driver on the Instrument Driver Network, and it does not appear to be one for this device. From the Instrument Driver Network page, you can request that these drivers be developed. However, we cannot guarantee when or if this instrument driver will be available.

http://www.ni.com/devzone/idnet/

You will have to look in the Yokogawa manual to see if there is a command to transfer the image of the front panel through GPIB. This may or may not be a supported feature. You would send this command to your instrument using a VISA Write in LabVIEW. However, the data will come into LabVIEW as a string from the VISA Read, so you will have to be able to translate this data back to an image.

Regards,

Missy S.
Project Engineer
RoviSys
0 Kudos
Message 2 of 10
(4,030 Views)
I'm always a bit confused about these requests to transfer screen captures from instruments. Since the instrument is under LabVIEW control, the data is already present in the pc or can be by doing a normal transfer of trace data. Then the LabVIEW screen can be printed or saved locally. The transfer of a screen dump, even when it is supported by the instrument, takes additional time and sometime quite a bit of additional time. When this question has come up before, I ask what information on the scope screen is not present on the LabVIEW front panel.
0 Kudos
Message 3 of 10
(4,026 Views)
Sorry that I didn't make it clear.
Presently the digital scope came with floopy disk function and as you know, saving into floppy disk is very time comsuming.
In order to speed up the evaluation time, it would be better to transfer the image file from the scope to the PC local drive through GPIB cable.
I have try many ways to send the image information through the GPIB cable but no data was received from the cable.
0 Kudos
Message 4 of 10
(4,017 Views)

The manual did have the command to save the image but the question is how can these data file been transfer out from the GPIB cable to my PC.

I did even search the driver as what you did, but can't be located.

0 Kudos
Message 5 of 10
(4,016 Views)

Hi Dennis.

Thanks for your viewing in my post.

But now the image was only seen in the scope and on the labview.

So how can we transfer the image file saved into the PC.

Is there a way to transfer the image file to data and then rebuild it to image by using labview?

0 Kudos
Message 6 of 10
(4,016 Views)
If the instrument doesn't have a command to transfer a file over the GPIB, then it can't be done. It's a limitation of the instrument. Unless someone here has done this and knows the command, your best bet is to talk to Yokagawa tech support. Again, I wonder why, if the image of the waveform is visible in your LabVIEW program, why don't you save the LabVIEW image? It seems to me that the only reason that instrument manufacturers provide a waveform save to floppy is for those users that don't have remote control.
0 Kudos
Message 7 of 10
(4,005 Views)

I know this is over a year old but someone might still find this useful.

With some yokogawa scopes ( I dont know about dl7400) there is a command  "image:send?" which will return a string to labview with the image data in it. There is an 8 byte header and 1 byte at the end that need to be cut off but the rest of the data should be the image data. I used Write to Text File in the File I/O palette and included ".bmp" to the end of the file name. This method only worked when the scope was set to use BMP image format.  I had a problem when the image color was set to off (B&W) but the other color modes on the scope worked fine.   When i tried JPEG and PNG the file would have some errors in it when viewing on my PC.

0 Kudos
Message 8 of 10
(3,665 Views)

Hi,

Currently I am working on Yokogawa DL-750P ScopeCorder, I need to take image from the Instrument front panel, So I have used that Command ":IMAGE:SEND?" and getting the response from Instrument, after getting the response data, whole data I have converted into the Picture, but its not properly generating, like, alignment mismatch and Mirror Image only I am getting, I have attached the images and LabVIEW VI for your reference, So please give me some solution to convert the response data into Picture in LabVIEW.

 

 

Thank you.

 

 

 

0 Kudos
Message 9 of 10
(1,547 Views)

Hi HP,

 

thanks for attaching a VI with some example data included!

 

The solution is quite easy:

Cut the length header ("#6481078") and save the remaining data to a file with BMP file suffix (using WriteBinaryFile)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 10
(1,541 Views)