LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert array into colums

i have a global devices..
2d array..
i want to check the first element
copy SN from row 1 - 65
copy gain = 7 from row 1 - 65
set kPT0, kPT1, t37, mT, CalVal to ZERO (O)



Message Edited by krispiekream on 03-28-2008 05:16 PM
Best regards,
Krispiekream
0 Kudos
Message 1 of 16
(3,014 Views)
Hi krispiekream,
from where to where do you want to copy the S/N and the gain?
For example you can index the complete column you need and run through a for loop.
 
Mike
Message 2 of 16
(3,007 Views)
from another array
Best regards,
Krispiekream
0 Kudos
Message 3 of 16
(3,005 Views)

Hi krispiekream,

you could initialize an array with the size you need and fill it with "0". All other field you could overwrite by using the array functions.

Mike

Message 4 of 16
(2,996 Views)
lets say i have an array of 2d,
590232, 60, 7, 2322, 23232, 23232
590934, 60, 7, 2324, 23242, 23232

how do i take the second row (590934), column 2                 (7) of the array?

i want to get out
7


Best regards,
Krispiekream
0 Kudos
Message 5 of 16
(2,994 Views)
i think that might work
Best regards,
Krispiekream
0 Kudos
Message 6 of 16
(2,993 Views)
no, i already did that..hmm...can you show me a diagram??

Best regards,
Krispiekream
0 Kudos
Message 7 of 16
(2,990 Views)
does it matter how you initialized the array?




Message Edited by krispiekream on 03-28-2008 06:14 PM
Best regards,
Krispiekream
0 Kudos
Message 8 of 16
(2,987 Views)
Hi,
it is only the "Index Array" function. And if you want to select more than a single element use the "Array Subset" function.
 
 
Mike


Message Edited by MikeS81 on 03-29-2008 12:15 AM
Message 9 of 16
(2,983 Views)
thats what i thought too..
i am always getting an error when i tried that..
something about..





Message Edited by krispiekream on 03-28-2008 06:18 PM
Best regards,
Krispiekream
0 Kudos
Message 10 of 16
(2,978 Views)