From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa resource name function

Solved!
Go to solution

HI Good day to everyone!

 

I am beginner at LabVIEW, and currently i am testing on one project.

 

Data from device will store in STS series server ( which has 16 com ports).

But I actually need to use 7 com ports from STS series server. I need to read those data from 7 com ports and save into a file.

Each com port has different function ( such as data reading or display).

 

My question is,

1) How VISA resource name function works for 7 com ports at the same time in one VI?

2) How can I choose different com ports to do different functions?

 

 

Regards,

0 Kudos
Message 1 of 3
(2,093 Views)
Solution
Accepted by topic author wintd

The VISA I/O resource control will show you all of the com ports you have available on your computer.

 

So you just need to make 7 copies of that control and set each one to a different com port and use that for each VISA write and read series of functions that you do.  (Have you looked in the Example Finder for serial port examples?)

0 Kudos
Message 2 of 3
(2,089 Views)

Hi Ravens,

 

Thanks for the reply and I will try look more into it.

0 Kudos
Message 3 of 3
(2,077 Views)