LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array values into an other array

Hi!

I have 6 arrays. All array are interdependent.
Array Tx (12 elements) and the corresponding array Test Rx (12 elements). Here you must choose the ports on which you will like to test.
Two arrays are only there for displaying the values choosen in Test Tx and Test Rx.
The fifth array named test string (12 elements) should write the values which were typed into the string "write test sting". The last array is an array of led (12 led's).
So, first you have to choose Tx and Rx. You should be able to choose 12 ports for each. After this you must type in e.g some letters in "write test string".
The choosen ports are all displayed immediately in the corresponding Tx and Rx arrays.
Now you must press the start button. Now,
if there is a accurate connection between all ports, the test string should be written into the array "test string". If this is ok, the corresponding led is green if not the led is red. And there is my problem.
This works only with the first elements in the arrays.
This means my test string is only displayed in the first element of the array " test sting". Same with the led array.

[Attachment Removed - MPK]

Message Edited by Support on 05-11-2005 07:32 AM

~~~~
Regards
Sarah

LV 7.1.1
0 Kudos
Message 1 of 3
(2,608 Views)
In the "test" state the for loop has N = 1. Therefore it will only process the first element in the arrays. If you delete that connection to N, the loop will execute until all elements of input arrays are used. All arrays should have the same length to produce the results you want.

Lynn
0 Kudos
Message 2 of 3
(2,607 Views)
Now LV is crashed :-s

(in case test)
Is it possible that I have to build some more arrays after the "read buffer" came out of the suv vi "comm test" because I could have 12 elements from the array test string. But how could I allot the elements in the array?
~~~~
Regards
Sarah

LV 7.1.1
0 Kudos
Message 3 of 3
(2,607 Views)