AnsweredAssumed Answered

vrf More Spec An Trace Display Problems in Vee

Question asked by rsb on Apr 29, 2004
"Shawn Crossland" <> wrote:
> I received a couple of suggestions yesterday.  One was to put the
> analyzer in single sweep mode (SNGLS) and issue the Take Sweep (TS)
> command.  This didn't change any results.

You'd want to do a TS just before reading - every time-.
Are you sure of the order?

> Another suggestion was to not use the component driver but use Trace
> Data Format P (TDF P) and then read in trace A with "TRA?"
> The technique is promising but the analyzer returns the trace values as
> one long string.  In other words, the values are
> "-45.00,-44.98,-44.96,-44.95,-44.93,..."
> Because it is one long string, I cannot think of a way to build a record
> or an array.  Is there a way in Vee to parse a string of unknown length?

Sure- the IO objects can read "to end"

In your case use the FROM STRING and rather than specifying an array
size, select "TO END" to will then read in as big an array as is
contained in the string.

> Am I doing this correctly?  Is there an easier way of displaying a trace
> on the PC screen in Vee?

You're limited by what the instrument is capable of doing.
Most instruments cannot send their display across GPIB. So you
grab data and format a display as you are doing.


Stan Bischof  Agilent Technologies  707-577-3994

You are currently subscribed to vrf as:
To subscribe send a blank email to "".
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 "".