AnsweredAssumed Answered

vrf Data transfer panic...

Question asked by VRFuser on Mar 23, 2006
"Doug Rudrow" <> wrote:
> Greetings VRF,

> I'm trying to finish up my first gig as a contractor and I'm stuck
> trying to get trace data from an Anritsu 37397C network analyzer. It
> outputs the data in what the manual calls "arbitrary block", which
> boils down to a giant string of ASCII characters where the values are
> separated by commas. I've tried just about every method of reading the
> data. I started by trying to read "BINBLOCK" 2D array, since I need
> two values for each point on the trace (amplitude and phase). When I
> do this, I get the 2D array, but most of the values show up as zeros.
> The first part of the transmission is a header telling me how many
> characters are contained in the output string. Using this information
> I was able to download the whole string by reading in "CHAR FORMAT"
> using the appropriate number of characters. Now I'm trying to find a
> relatively simple way of separating out the values and saving the data in a meaningful way.

what you descirbe is not a binblock so that won't work

it sounds like regular old comma-separated-data, ala Excel in which case all you need to do is to read in "token"
format, excluding commas, and read an array with "to end" option.

That will read all the values into an array and you'll be set to go.


Stan Bischof  Agilent Technologies  707-577-3994

To subscribe please send an email to: "" with the word subscribe in the message body.
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".
Search the "unofficial vrf archive" at "".