04-27-2014 05:57 PM
I am new to LabVIEW. I have just written remote control code for VISA serial communication to a radio. I'm using the event structure to send multiple pushbutton controls and refnum inquiries. My problem is that I do not know how to even start to expand this vi to handle multiple radios at once. The objective, final product, would to be able to remotely control 2 dozen radios via serial servers connected to the ethernet port. One serial server allows control of 8 serial devices (acting as virtual ports). Initialy the same command and inquires would be universal, to all radios. I'm not sure if I already have myself in a corner with my initial vi just using the PC com port to the radio. I have tried to search out examples or relevant discussions. My search parameters are probably incorrect since Im' not really sure how to grow my program.
I sure would appreciate any assistance and/or examples. I'm just not very familiar with the more sophisticated programming yet.
04-27-2014 06:04 PM
04-27-2014 06:28 PM
Sorry, this is a bit overwhelming since I had to look them up. No, I do not have the ports listed in MAX. So far I have only used one port. Don't the ports have to be connected for MAX to be recognized? Then does MAX create the array or is that part of the VISA Find Resource? I'll have to find examples. Thanks for a start. I have a long ways to go I feel.
04-27-2014 06:34 PM
First, have you installed any drivers that came with the ethernet serial server? Usually it will have software that allows you to connect with the device and create virtual com port for each port that exists on the server. Once you do that, you should be able to see them in Windows device manager. Once you see them in Windows device manager, you ought to be able to see them in MAX.
Until you do the first couple steps and see the ports within device manager, don't even bother using MAX or anything in LabVIEW.
04-27-2014 07:44 PM
Yes, I have installed the Sealink serial server S/W and detected the the virtual ports (11-18) in my VISA com configuration setup. I just didn't know what to do next to pick multiple ports at once in my vi.
04-27-2014 08:12 PM
04-27-2014 09:00 PM
I'll go over the tutorials. It sounds like I should be able to put my existing init code and event structure inside the for loop and wire the array to the resource name. Can it be that simple? Thanks, I'll work on that.
04-27-2014 09:22 PM
04-28-2014 12:57 PM
Then what would be the best structure? here is my event structure and front panel. I need to be able to select 3 to 4 radios, out of a dozen, to program at a time.
04-28-2014 01:26 PM