LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data

Hi all,

 

I was taking the practice test morning!

I had this interesting question!

 

what's the best way to pass data in the same Vi?!

through wire, global or local variable!

 

My answer to this question is all three of them are the same?!  Am I right on this?!

 

just before I post this question, I have found this page

 

https://www.ni.com/docs/en-US/bundle/labview/page/vi-execution-speed.html

 

in this article, it states that the  order of efficiency for passing  data within application is wire -> shift register -> global variables!

 

so, does  this mean that Wire is the best way to pass data in the same VI?

 

I know the better way for passing data through 2 different VI would be global variables!(am I right?)

 

I think I am little confused now!

 

Jay

 

p.s.  I think I have post at a wrong reply before, can I delete it?!

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

Best  way to pass data is by wire!

 

 

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

Hi Jay,

 

please don't get into the habit of posting the same message in several threads...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(2,842 Views)