AnsweredAssumed Answered

vrf More Spec An Trace Display Problems in Vee

Question asked by rsb on Apr 29, 2004
"Shawn Crossland" <scrossland@drti.com> 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


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------

---
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@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes