AnsweredAssumed Answered

vrf Direct I/O Transactions

Question asked by rsb on Oct 21, 2003
Latest reply on Oct 21, 2003 by rsb
<joel_dunsmore@agilent.com> wrote:
> How about this:
>      Use a triadic operator in the write line, and have a null string for one of
> the inputs.
> VEE file attached.
>
>
> Does VEE have a skip function in the direct I/O function that will only you
> to skip a line command based upon a Boolean value?
>
> I do know about the NOP function, but would like make it a variable option
> for the user.
>

If you do that (null write) be a little careful since this won't
stop the transaction from occuring- just causes it to write a null-
ALONG WITH EOL.

If this is a problem for your app then turn EOL OFF and explicitly
send an EOL as part of the transaction.

i.e. modify Joel's excellent example to include transaction of the
form   WRITE TEST (a==1 ? null : b,"
")

Same goes for more complex transactions like writing out an array,
in which case the array separator might get written.

But for most cases this method should do the trick.

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

Outcomes