LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A question about the multiple RS-232 ports with Labview program?

Hi Sir/Madam,

I am using ME9100/82 card from ICS electronics company to connect the computer with multiple
instruments. I first connect card with ME-D9/8 on which there are 8 RS-232
ports, and then use every port to connect one instrument. My question
are :

1. How can my program identify which port, i.e. what can I do in my
program to send a command to port 1 not port 2, for instance?

2. Can I send one command to the 1st instrument and the other command to 2nd
instrument at the same time?

3. I am using Labview to compile a program, and the version of Labview
that I am using is 6.0. How can I implement send several commands to
different instruments at the same time? Could you please provid
e a simple example in Labview 6.0 for the multiple ports communication?

4. Has any one used MKS 937A, MKS 600 Series and MKS 247 instruments? Could you please provide an example for displaying parameters in Labview 6.0?

Thanks a lot.
0 Kudos
Message 1 of 2
(2,334 Views)
Under the Instrument I/O section of the Function Palette there is a indicator called VISA Resource Name Constant click on that and drag it to your diagram, right click and change it to a control. On the Panel this will automatically allow you to choose any ports available ( add in one for each port you want to use). Add in a VISA Configure Serial Port for each port and plug the terminal to the resource name into it then just add in the functions you what it to do (read, write, etc.) just as if it were the only port.
Also on the panel side go under file on the toolbar and select vi properties, select execution, and where it says preferred execution system select other1 to allow each port function to run parallel.
0 Kudos
Message 2 of 2
(2,334 Views)