Quote:
Originally Posted by DN1LE
The array example in the 2014 to 2015 Porting Guide is not helping. Just to understand how it works, any code examples of pushing a button to activate an output?
|
I am attaching a snippet (LabVIEW created picture that can be put back in LabVIEW to turn back into code). In the past, the buttons were in a cluster that could be unbundled, but now they are in an array. In text based languages, one gets a particular part of an array by placing an index in square brackets. The LabVIEW equivelant is the index array vi, which takes an array and the index you want. In this example, I have indexed button 0 (the trigger on most joysticks) and 3 (just a random other option) to resize the index vi to get more or fewer hover over it until the blue squares appear, then click and drag the bottom one.