Hello Everyone
I have a question regarding direct IO which is probably simplistic for
many, but I just cannot get it work.
I need to read data from an 8510 network analyzer. The four
parameters I need are start and stop frequency, number of points, and
the corrected data array. The first three are no problem, but I am
having problems reading the corrected data array. I want a real data
type of shape Array 2D and size [2,# of points], just like what would
come out of a component driver. I use
WRITE TEXT "FORM3; OUTPDATA;"EOL
READ TEXT ?
I have tried many different READ types such as
READ TEXT preamble,size
READ TEXT z REAL ARRAY: 2,51 (for a 51 point data measurement)
which usually locks up my computer(PC with 95). I know the answer
is probably simple for most, but it hasn't been for me. Any advice
or answers would be greatly appreciated. Thanks.
Also, I have noticed a lot of codes use the OUTERRO command. What
does this command do?
Charlie Spellman
Cablewave Systems
60 Dodge Ave.
North Haven, CT
203-239-3311
I have a question regarding direct IO which is probably simplistic for
many, but I just cannot get it work.
I need to read data from an 8510 network analyzer. The four
parameters I need are start and stop frequency, number of points, and
the corrected data array. The first three are no problem, but I am
having problems reading the corrected data array. I want a real data
type of shape Array 2D and size [2,# of points], just like what would
come out of a component driver. I use
WRITE TEXT "FORM3; OUTPDATA;"EOL
READ TEXT ?
I have tried many different READ types such as
READ TEXT preamble,size
READ TEXT z REAL ARRAY: 2,51 (for a 51 point data measurement)
which usually locks up my computer(PC with 95). I know the answer
is probably simple for most, but it hasn't been for me. Any advice
or answers would be greatly appreciated. Thanks.
Also, I have noticed a lot of codes use the OUTERRO command. What
does this command do?
Charlie Spellman
Cablewave Systems
60 Dodge Ave.
North Haven, CT
203-239-3311
--- On Fri, 21 Mar 97 14:45:39 EST Charles_Spellman@ccm.uscable.alcatel.com wrote:
> Hello Everyone
>
> I have a question regarding direct IO which is probably simplistic for
> many, but I just cannot get it work.
>
> I need to read data from an 8510 network analyzer. The four
> parameters I need are start and stop frequency, number of points, and
> the corrected data array. The first three are no problem, but I am
> having problems reading the corrected data array. I want a real data
> type of shape Array 2D and size [2,# of points], just like what would
> come out of a component driver. I use
>
> WRITE TEXT "FORM3; OUTPDATA;"EOL
> READ TEXT ?
>
> I have tried many different READ types such as
>
> READ TEXT preamble,size
> READ TEXT z REAL ARRAY: 2,51 (for a 51 point data measurement)
> which usually locks up my computer(PC with 95). I know the answer
> is probably simple for most, but it hasn't been for me. Any advice
> or answers would be greatly appreciated. Thanks.
>
> Also, I have noticed a lot of codes use the OUTERRO command. What
> does this command do?
>
> Charlie Spellman
> Cablewave Systems
> 60 Dodge Ave.
> North Haven, CT
> 203-239-3311
>
---------------End of Original Message-----------------
Charlie,
The format is a #A binblock. To configure it set the conformance to IEEE488 and the binblock format to #A (in the
Direct IO config for the 8510). When you read it use:
READ BINBLOCK variablename
REAL64
ARRAY 2D (*,2) NO END BYTE
Hope this helps,
--------------------------------------------------------
Name: Tom Sanders
E-mail: toms@symca.com (Tom Sanders)
Date: 03/21/97
Time: 12:15:44
--------------------------------------------------------