LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use variable index as input to DAQ assistant

Hello,

 

Im new to Labview and I was able to create a sequence that I need hardcoding all Channel input/outputs, now I'm trying to make it more flexible where I use a variable index and just manipulate per each case.  From the picture I would like to use i-1, instead of the 0, and update i at end of the sequence.  Any help is appreciated.  

 

image.png

0 Kudos
Message 1 of 2
(515 Views)

Hi NaviGuy,

 

lesson #1: we cannot debug/edit/run images with LabVIEW. Please attach real code…

 


@NaviGuy wrote:

From the picture I would like to use i-1, instead of the 0, and update i at end of the sequence. 


There is no "i" in your image…

 

Generic advice: when you want to process elements of an array one after the other you should learn about FOR loops and autoindexing tunnels!

(This is a very basic LabVIEW concept and you really should learn it.)

Best regards,
GerdW


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