LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Inicializar array?

Solved!
Go to solution

Buenas, primeramente preguntaros El Porque de no se muestran Los Datos En El "output array". Deberian de aparecer Los Mismos de la "tabla iter".

No Es Por si sí "matriz constante", ¿PUEDE servicios que?

 

De Cuando solucione os preguntare ESTO Algo mas Complejo.

 

Gracias Por adelantado

0 Kudos
Message 1 of 7
(4,211 Views)

puedes preguntar en Ingles por favor?

 

penso que la pregunta no es difficile cuando comprendemos la pregunta.

 

Espanol esta aqui:

http://forums.ni.com/ni/board?board.id=6170

 

Lo siento por mi Espanol, soy Ingles

 

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 2 of 7
(4,193 Views)
Well, first ask them the reason for no data is displayed in the "output array." Should appear the same as in "iter table."

For if it is not "constant matrix, CAN services?

 

When asks you to solve this more complex.
0 Kudos
Message 3 of 7
(4,173 Views)
Solution
Accepted by topic author pescajaime

Hi pescajaime,

 

      The "Insert into Array" VI inserts an n-1 dim array in a n dimension array at the specified index. In the attached screenshots I assume a 2 dimension constant array is cabled to the input of the "Insert into Array". I also assume you have only added elements to the first column of this 2 dimension array (moreover, I guess you have just added a 1 element to the 0,0 index of this array). If this is the case, you can only insert a 1 dimension array to the first column of the original 2 dimension array.

 

      Therefore, when you cable the output array from the VI related to the HS1560 device to the 'new element/subarray' input of the "Insert into Array" VI, this VI is inserting just the first row of the the 2 dimension array. I guess the specified index is 0 (0 times 5 equals 0), so LabVIEW is inserting the first row of the 2 dimension array that ouptus the "HS1560" device into the first column of the original array. If you compare "output array" and "Tabla iter" indicators you can check the first column of "Table iter" has been added to the first column of the original array at index 0. Since this column caontains 11 elemnts, a "1" is located in the 12th position of the column. The attached snippet shows this behaviour.

 

      In order to insert the whole "Table iter" 2 dimension array into the constant array you should add to constant array as many elements as the number of rows that "Table iter" contains.

 

      I hope this helps.

David Oña
0 Kudos
Message 4 of 7
(4,155 Views)

Thank you very much James.

 

 I raised another question in the forum, I would appreciate your valuable help

Greetings.

0 Kudos
Message 5 of 7
(4,130 Views)

hola pescajaime, 

 

I will accept the thanks for getting you to the solution by asking you to post in english, but you really should be thanking David for beating me to provide the solution when we could understand the problem.

 

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 6 of 7
(4,114 Views)
Yes, jajaja, It's for David, i'm sorry.
0 Kudos
Message 7 of 7
(4,109 Views)