LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combining Map and arrays?

Minor note, but you need to get your Outputs outside the case structure of your FGV, else you are forcing teh compiler to make a copy, in order to output the same value when you call the "write" case.

VinnyLaTaupe_4-1652777384618.png

Message 31 of 33
(385 Views)

@drjdpowell wrote:

Minor note, but you need to get your Outputs outside the case structure of your FGV, else you are forcing teh compiler to make a copy, in order to output the same value when you call the "write" case.

VinnyLaTaupe_4-1652777384618.png


I did not know that.

Should I create two other shift registers then? Or send an empty array and a 0 to my outputs in the other cases ? And at this point it is the same to place them outside the while loop, no?

0 Kudos
Message 32 of 33
(360 Views)

@VinnyAstro wrote:

Should I create two other shift registers then? Or send an empty array and a 0 to my outputs in the other cases ? And at this point it is the same to place them outside the while loop, no?


Outside the loop, and return empty arrays.

Message 33 of 33
(348 Views)