UCCE -ICM Custom function to convert string/value from ASCII to HEX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 07:18 AM
We are required to convert a string/value in PV for some of use cases in ICM and looking for any direction/leads.
1) ASCII to HEX
2) HEX to ASCII
Any help is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 08:05 AM
Someone is parsing UUI.
I've used this in the past with great success to get me from HEX to ASCII (https://bitbucket.org/juxe/icm-hex-to-ascii/src/master/) There is a limitation to it only being 19 chars, so keep that in mind. Even if UUI is able to support much longer strings try to keep it as short as possible I've seen some weird events when you try to send a lot of data. As for ASCII to HEX do this in CVP please, it will be much easier otherwise look at the HEX example and just re-write it.
david
