AnsweredAssumed Answered

vrf Binary test 1D array to Hex data 1D array

Question asked by VRFuser on May 4, 2004
Thank you. This works.

-Dale



-----Original Message-----
From: Schlieker, Reiner [mailto:reiner.schlieker@siemens.com]
Sent: Tuesday, May 04, 2004 12:49 PM
To: VRF
Subject: [vrf] RE: Binary test 1D array to Hex data 1D array


You can use the bits() function to convert the binary strings to integers,
and the To String object to convert the integers to hex strings.  You'd have
to play around with the formatting to get it in the format you want.

Reiner

-----Original Message-----
From: Zhang, Dale [mailto:zhangd@tycoelectronics.com]
Sent: Tuesday, May 04, 2004 12:21 PM
To: VRF
Subject: [vrf] Binary test 1D array to Hex data 1D array


Hi,

Does anyone have experience to accomplish the above task?

For example, convert

from (binary text)
11100011111
01100110111

to (hex data)
07 1f
06 37

Thank you. -Dale

---
You are currently subscribed to vrf as: reiner.schlieker@siemens.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".

---
You are currently subscribed to vrf as: zhangd@tycoelectronics.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".

---
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