Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

2-D array defaults when starting vi

I am attempting to run a demultiplexer using this 2-D array (downloaded this vi example in a different forum).  There are 6 digital outputs going from USB 6009 to demultiplexer.  I am using the demultiplexer to switch 16 LEDs on/off in user defined pattern.  After changing the 2-D array to the deseried pattern for decoding the LEDs, I start the vi and the array changes back to the same defualt pattern that was with the original example.  Is there a way to save the array to the pattern I need for decoding the LEDs?  Part of the required pattern consists of leaving the 5th row high at all times (to enable latch to demultiplexer).

 

Thanks,

Bob

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

The only way you can change the pattern is by changing the numeric wired to the N terminal of the for loop. Clicking on elements on the array will obviously do nothing since it is an indicator. If you want to use it as a control, make it a control and eliminate the for loop.

 

This is basic stuff (and nothing to do with Multifunction DAQ). You might want to take some LabVIEW tutorials.

0 Kudos
Message 2 of 3
(2,886 Views)
Dennis is of course correct. You need to use a control instead of an indicator.
Jeff | LabVIEW Software Engineer
0 Kudos
Message 3 of 3
(2,860 Views)