AnsweredAssumed Answered

AW: vrf Binblock decoding

Question asked by VRFuser on Jun 5, 2002
Latest reply on Jun 5, 2002 by VRFuser
Thank you, this works really fine.

Hartmut

-----Ursprngliche Nachricht-----
Von: les_hammer@att.net [mailto:les_hammer@att.net]
Gesendet: Mittwoch, 5. Juni 2002 18:29
An: Hartmut.Gohdes@rfsworld.com
Cc: vrf@lvld.agilent.com
Betreff: Re: vrf Binblock decoding


> I have to read a binblock IEEE488.2 from a receiver.
The first 20 bytes are
> int32, the following bytes are real32. Using direct
I/O i can choose only
> one format for the whole binblock. But I need all of
the data. Does anyone
> know a smart solution?

You could read it all as int32, strip off the first 20
bytes and put the rest in a temporary file (as int32). 
Then read the file back as real32.

Les Hammer
Complete Test and Measurement Systems
PO Box 6
Loveland, Co.  80539
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------

Outcomes