Im trying to decode a string of information by chopping it up into its component parts and converting the hex values back into their original numbers.
This is an example of what i have:
and i want to break it down so i strip out the vidnet code, use the first hex number (01) to direct the following values to the specific node. and then i am trying to decode the HEX RGB information, I’ve searched arround but could only find the Tokenizer which wont let me do what i want. Is there anyother nodes which will help me acheive my goal?
I think im nearly there with my patch although substitue seems to be doing strange thins and the UDP (server) isnt outputting as expected.
And last of all how do i convert formatted string values back into its numerical component?
Basically what i am trying to acheive is what the hardware should be doing so we can send the values across a network and see how they translate on another simulation pc. Should have some hardware to test tomoro fingeres crossed!
Hi Joreg, thanks for that, im not sure how may packets we will need but it could be between 2 and 27. Looking with wireshark the data seems to flowing beatifuly ;-). (Wire shark has made this much easier!).
Thanks for showing me a streamlined patch, really appreciated.