12-06-2022 02:06 AM
Bonjour,
Je suis en train de faire un programme Labview et je possède un tableaux avec plusieurs données dedans, cependant ils sont mal organisés. Je veux donc combiner les 2 premières lignes du tableaux puis les 2 suivantes et ainsi de suite jusqu'à la fin du tableau.
Je n'arrive pas à le faire...
Pourriez-vous m'aider ?
Merci
12-06-2022 02:27 AM
What means "you can't do it"? Don't you know how or didn't it just work what you tried?
Basically, combining the content of array cells is indexing and then doing what you need, in your case concatenation of string or adding values.
So you would process the array row by row and column by column, if two-dimensional. This can be done by two nested FOR loops. The outer loop could index the rows, the inner loop the columns.
12-06-2022 07:44 AM
I mean I can't do it because I don't know how to do it.
It is a 1D table, I would like to combine 2 rows 2 by 2 because in each row it has characters in bytes but I want to combine them to create hexadecimal pairs.
Should I create a For loop to combine my rows?
12-07-2022 01:35 AM
Ceci devrait répondre à votre question.