AnsweredAssumed Answered

vrf Separation of characters and numbers

Question asked by VRFuser on Sep 22, 2007
Hello,

            In VEE, it seems that only a single character can be specified as a read terminator.  I would like to terminate the read on “
”.  When I go into the advanced properties of the RS-232 interface and change the read terminator to “
”, close, and then re-open the advanced properties, it only retains the “
”.  Has anyone dealt with this before?

Thanks in advance,

 

Doug Parrish

 

Test Engineer

Comtech PST

105 Baylis Rd

Melville, NY 11747

631.486.4126 (Direct)

631.777.8900 x 126

HYPERLINK "mailto:doug.parrish@comtechpst.com"doug.parrish@comtechpst.com

 

 

  _____  

From: Steen Rudberg [mailto:steen.rudberg@get2net.dk]
Sent: Saturday, September 22, 2007 2:43 PM
To: VRF
Subject: Re: [vrf] Separation of characters and numbers

 

Hi

 

Just a small clean-up....

 

Adding "
" in the first "From String" so that size of the array only is 2 & then the "strFromLen(str,from,len)" is not needed.

 

And replacing "sum(x)" + "strFromLen(str,from,len)" with a "To String".

 

I love Token

 

Steen Rudberg

 

 

----- Original Message -----

From: HYPERLINK "mailto:bill.ossmann@philips.com"Bill Ossmann

To: HYPERLINK "mailto:vrf@agilent.com"VRF

Sent: Friday, September 21, 2007 3:34 PM

Subject: Re: [vrf] Separation of characters and numbers

 

This comes on the same day we have a question about reading tokens. Here's one way.
--
Bill Ossmann
(See attached file: NumCharSeparator.vee)

"Willging, Claudia" <HYPERLINK "mailto:claudia.willging@kriwan-testzentrum.de"claudia.willging@kriwan-testzentrum.de> wrote on 09/21/2007 04:55:34 AM:

> Hello Vrf,
> I would like to separate characters from numbers in a string.
> Example:
> "Hello 123 world 456" should turn out in "Hello world" and "123 456"
> Any ideas are appreciated!
> Mit freundlichen Grüßen
> i. A. Claudia Willging
> -----------------------------------------------------------------------------------------
> Dr. Claudia Willging
> KRIWAN Testzentrum GmbH & Co. KG
> Testlastr. 2, D-74670 Forchtenberg
> Tel.: (07947) 9150-0 (Durchwahl 9365) Fax: (07947) 9150-50
> claudia.willging@KRIWAN-Testzentrum.de
> www.KRIWAN-Testzentrum.de


---
You are currently subscribed to vrf as: doug.parrish@comtechpst.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 "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".


---
You are currently subscribed to vrf as: ming_meng@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 "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".  

Outcomes