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: 

labview SubVI

Hi  volks,

I have a simple question. I have serial VISA communcation below shown in the picture,. My task is use this several times with different COM port.

My Question is do i have to mention or connect all parameter of the functions or is it enough to connect only interfaces. 

Will there be any times lags or any others parameters differeing the stuffs.

 

 

Boldness has genius, power and magic in it!'
0 Kudos
Message 1 of 3
(1,977 Views)

What you set as inputs / outputs of a subvi is completely up to you.  In regards to VISA settings, i find it highly unlikely that you will need to change them, but you might have to if different devices require different settings.

 

Deside what you may need to change and set it as an input to the subvi.  

0 Kudos
Message 2 of 3
(1,968 Views)

You didn't post a picture, so I'm not sure what you have in your subVI.  In general for VISA functions, you should have already initialized any settings that are applicable to a VISA resource.  So for read, write, etc. all you will need to pass in is the VISA Resource and any parameters needed to perform you function.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(1,963 Views)