07-07-2014 04:15 AM
Hello i am new to Labview and are working on a small project. I have a "write buffer" with "TCPIP[board]::host address[::LAN device name][::INSTR]" in it that goes in to "VISA Open". I want to make a drop-down menu or a list in the "write buffer" so you can change de host address on the front panel so you dont have to open the program itself to change host address. How can i do that? I found tools like "System Ring", "System Enum" and "Listbox" and i am not sure which one to use or how to use/connect them to the "VISA resourse name" port.
07-07-2014 04:21 AM
07-07-2014 04:49 AM
Thanks for a quick answer! That solution does half the work but how do I make that to a list? And if I want to split the ip in to different parts how do i do then? Lets say i have a ip that looks like this: 22.231.113.64 and want one list for the first part so you can choose 22 or something else and then anoter list for 231 or something else and so on. How do i do that?
07-07-2014 06:05 AM
Hi qweewq11,
Just take a look at below VI file attached. In order to make a change in combo box strings, Goto to front panel and right click over the combo box --> Edit Items to change the string values.
07-07-2014 06:55 AM
Thanks i will look in to that!
07-07-2014 07:05 AM
07-07-2014 07:09 AM
Thats exactly what i want, a list of all connected instruments! How do i get that list?
07-07-2014 07:13 AM
07-07-2014 07:16 AM - edited 07-07-2014 07:16 AM
Well this is a basic program so I did typ in the ip manually and thats why i try to make it automatic. In my program you type in the ip manually and then you get what instrument it is. What i try to do is to get a list of all connected instruments just so you dont have to type it in manually.
07-07-2014 07:22 AM