Hello all,
I am trying to dump the screen of my oscillo and read the associated bitmap
file with the IO transaction box of VEE pro.
On my osciilo, I have set up the port and the device as "BMP" and "GPIB".
Then, from IO transaction box, I "WRITE" the command "SCREEN DUMP". The
oscillo is then sending something to the GPIB, but I don't know how to read
it. I tryied "READ" "BINARY" in "BYTE" format in a loop, but I cannot find
the end of the file. If I read not enough data, then the next command is
not understood by the oscillo (GPIB may be busy, OSCILLO may be in talk)
and if I read more data then necessary, there is an error during data
processing.
Did someone already dump the screen of his measurement tool with VEE pro?
Elisabeth Yoshida.
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
followed by some number of bytes of data. The header is:
typedef struct tagBITMAP {
LONG bmType;
LONG bmWidth;
LONG bmHeight;
LONG bmWidthBytes;
WORD bmPlanes;
WORD bmBitsPixel;
LPVOID bmBits;
}
The number of bytes of data is bmWidth * bmHeight * bmBitsPixel / 8. If it's
NOT a BMP bitmap then you'll have to find it's format in your instrument
manual. Unless some kind of compression is used it will always be a specific
number of bytes. If the scope is monochrome then most probably it's 1 bit
per pixel.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".