02-23-2017 04:17 PM
The Current Program: So, my test program needs to display a list of available ports to communicate with in a string format . . . that is like step 1. Step 2, the operator reads the list of available ports and then types in the number that they want to use before clicking the start button. The test program goes to the next screen at that point . . .
Can we skip step 2 and allow the user to mouse click on the line that has the port number that we want instead of typing it in manually?
I want to use something like the "Pick Line" function and then strip the number from the resulting string . . . but it needs a numeric index instead of a mouse click . . . Hmmmmm . . . what am I missing?
Any thoughts? Thanks in advance for your time!
02-23-2017 05:12 PM
Maybe use a combo box? (Yeah, LabVIEW has those, too. :D)
But a ring or enum control should do as well (better, actually), especially if the ports are numeric and in numerical order.
02-23-2017 06:58 PM
My first thought is the combo box, which has a string data type and a drop down that you can populate programmatically.
My second thought is a ring, which behaves just like a combo box but with a numeric data type. Third thought is a list box which also has a numeric data type, but looks more like a table that you select a line from.