> Is there a way to dynamically
> (programmatically) tell my I/O
> transaction how many characters
> to read?
Two comments:
Try to use a terminator. Any terminator. Then you can read in String format.
Of course that's not always possible, so if you have to use Character format you can write a transaction like this:
READ TEXT x CHAR:nChars
Where nChars is a input on the left that tells how many characters to read.
-SHAWN-
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
> (programmatically) tell my I/O
> transaction how many characters
> to read?
Two comments:
Try to use a terminator. Any terminator. Then you can read in String format.
Of course that's not always possible, so if you have to use Character format you can write a transaction like this:
READ TEXT x CHAR:nChars
Where nChars is a input on the left that tells how many characters to read.
-SHAWN-
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
> (programmatically) tell my I/O
> transaction how many characters
> to read?
Two comments:
Try to use a terminator. Any terminator. Then you can read in String format.
Of course that's not always possible, so if you have to use Character format
you can write a transaction like this:
READ TEXT x CHAR:nChars
Where nChars is a input on the left that tells how many characters to read.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
Â
Thanks for all of your valuable assistance yesterday. Now I have another dilemma. I need to read CHARs from an instrument, but the number of characters changes. Is there a way to dynamically (programmatically) tell my I/O transaction how many characters to read?
Â
Thanks in advance,
Doug Rudrow
dBRF Test Solutions
dbrudrow@sbcglobal.net
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".