Page 1 of 1
General Serial Plugin
Posted: Sat Feb 07, 2004 10:21 am
by Ceesmf
I want to control a serial device (the famous HCS2) with this plugin
In order to update system variables in the HCS2 I need to send a "%" or hex 25 to the HCS
I.m using the general serial pluging
The plugin however treats this character as a special character (to imbed property values in the command) and reports an error (Unknow conversion type )
Anyone with a workaround for this problem (can't change the HCS software)
Posted: Sat Feb 07, 2004 2:31 pm
by ScottBot
Could you set the string type to 'hex' and just use 25 in place of the %?
Posted: Sat Feb 07, 2004 2:42 pm
by Ceesmf
Thanks for your quick reply Scott , I tried both , but with the same result
btw marvelous piece of software
Posted: Sat Feb 07, 2004 2:50 pm
by ScottBot
It would be nice if you could use %%, but I didn't think of that when writing the parsing. Other than to somehow pass a '%' in as the Property Value, I don't see a way of doing this.
I'll add it to the V2.0 list, if you want to wait.
Posted: Sat Feb 07, 2004 5:16 pm
by Ceesmf
Thanks again, wonder how you find the time to answer all those questions
Of course i can add a property value to the string, but can't figure out which property value is sent ; I added a new property to the device I created, but how to determine in the string that that value has to be taken
command is invoked via a button
Posted: Sat Feb 07, 2004 10:47 pm
by ScottBot
I don't completely understand your setup to give you exact advice with this. For configuring the Property values and associating them to serial Commands, I can only refer you to the online help for the Serial Device and the Serial Hardware Interface. I've explained it better there than I will be able to here and now.
I hope to have a beta version of the next release out in a couple of weeks. You may have to wait until then. I'll implement using %% to be used for inserting a single %.