LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connect 1d array of strings to an input string terminal

Solved!
Go to solution

The %d just specifies that a number that should be formated as a decimal string goes into that string location.  The value you wire into it is what goes into the string.  If you took a good 5 minutes to figure out what was happening, you would realize that you could just remove one of the increments (since i =0 on the first loop iteration).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 31 of 40
(1,093 Views)

@reggie2016 wrote:

one question using the percent sign for the channel name is there any way we can get it to start for 0 instead of 1.


remove the "+1" wired to the desired index terminal and simply wire across instead.

0 Kudos
Message 32 of 40
(1,086 Views)

the program is working but it is only showing the last 3 signals from each DAQ module.

 

0 Kudos
Message 33 of 40
(1,065 Views)

That sure is a nice picture, I wonder what the code behind it is.

0 Kudos
Message 34 of 40
(1,060 Views)
0 Kudos
Message 35 of 40
(1,055 Views)

Instead of reshaping, you could just autoindex on both loop boundaries to get the 2D array.(Try this first. currently, you only get the last value from the inner loop).

0 Kudos
Message 36 of 40
(1,045 Views)

Did you mean to read from 27 different channels, but throw away the first 26 ones that were read?  That inner for loop runs but the output is set to last value instead of indexing.

0 Kudos
Message 37 of 40
(1,041 Views)

what do you mean by auto index

0 Kudos
Message 38 of 40
(1,038 Views)
Solution
Accepted by topic author reggie2016

@reggie2016 wrote:

what do you mean by auto index


 

Right-click the inner brown tunnel and set it to indexing. Delete the reshape array function.

 

Message 39 of 40
(1,035 Views)

ahh ok thank you. thought it was in the array pallete.

0 Kudos
Message 40 of 40
(1,028 Views)