Greetings from Brazil.

First I would like to say thank you very much for this software… it´s great, user-friendly and still able to expand. Congrats !
Well now, down to work…

I have a generic serial module with 8 sensors. The only ASCII command I can send it is “8INR” and it will respond “8INR @” where @ is a number that varies from 0 to 255. From the number in @ you can determine the sensors that are active. Like below:
# - sensor active
0 – none active
1 – sensor 1 active
2 – sensor 2 active
3 – sensors 1 and 2 active
4 – sensor 3 active
5 – sensors 1 and 3 active
6 – sensors 2 and 4 active
7 – sensors 3 and 4 active
8 – sensor 4 active
9 – sensors 1 and 4 active
16 – sensor 5 active
32 – sensor 6 active
64 – sensor 7 active
128 – sensor 8 active
And so on untill
255 – sensors 1, 2, 3, 4, 5, 6, 7 and 8 active
Basically what I need HB to do is to send this “8INR” command and receive the string and update the sensor status. I have setup the hardware interface and the command, setup the device with command and the 8 ports and now I need to make HB react to the string that comes back from the hardware and update the status… And here is where I need HELP.
I´m not sure how difficult a script like this would be and if any of you would be willing to write it for me. But it´s worth a shot…



Anyone interested in helping ? (here is where I would place quite a few beer smilies...)
Thanks in advance.
Regards,
Daniel