05-02-2012 07:16 AM
Hi,
I have to communicate in modbus with a machine which is in ASCII, so I want to create a drop-down menu within all the ASCII command.
Any Idea ?
thanks
Solved! Go to Solution.
05-02-2012 07:24 AM
You can take all the commands into Ring control and pass the values using the property nodes.
05-02-2012 07:25 AM
05-02-2012 07:30 AM
I don't really know,
In fact, in the drop down menu I want to put the instruction (example : Move to the first position) and when this case is chosen we send the ASCII code of this instruction to the machine..
05-02-2012 07:34 AM
If that is a big instruction then you can go for Enum so what ever you want the desciption of the command put it into Enum so correspondingly in case structure you can send the command.
05-02-2012 07:34 AM
05-02-2012 07:41 AM
Yes of course I'll use a case structure.
but in what kind of variable should I put my string command ? and where can I find that ? knowing that the command are in ASCII
Regards
05-02-2012 07:43 AM
05-02-2012 07:56 AM
Ok, sorry I'm a new user of labview lol
Thank you for your help;
05-02-2012 07:33 PM
Actually- This sounds like a great use for a combo box. They are a littel under used but can very easilly map a pairs of strings. Display "Human readable" and value in ASCII.