wyyew Posted September 30, 2005 Report Share Posted September 30, 2005 hi all i got a problem of storing data into one field. i want to do something like 1st time x=12, y=34 2nd time x=56 , y=67 i need to store this value into array once the program start. such as below in array x y 12 34 56 67 problem: because i get a list of same value in the array. Quote Link to comment
BChandler Posted September 30, 2005 Report Share Posted September 30, 2005 such as below in arrayx y 12 34 56 67 Like this? Quote Link to comment
Neville D Posted September 30, 2005 Report Share Posted September 30, 2005 hi all i got a problem of storing data into one field.i want to do something like 1st time x=12, y=34 2nd time x=56 , y=67 i need to store this value into array once the program start. such as below in array x y 12 34 56 67 problem: because i get a list of same value in the array. You can also define a constant 2d array by putting an array object on your block diagram then placing an I32 number in it. Drag the index control downwards to make it 2d, then drag the edges of the array to increase the number of visible elements, then type in your values. Neville. Quote Link to comment
wyyew Posted October 1, 2005 Author Report Share Posted October 1, 2005 You can also define a constant 2d array by putting an array object on your block diagram then placing an I32 number in it. Drag the index control downwards to make it 2d, then drag the edges of the array to increase the number of visible elements, then type in your values.Neville. nope I hope to do like something autoindexing 1st my x and y will automatically refresh array index x y 2d array 1 13 15 2 66 77 Quote Link to comment
B Chavez Posted October 2, 2005 Report Share Posted October 2, 2005 Is this what you're trying to do? Download File:post-1591-1128223691.vi Maybe if you explain why you are trying this, we could be more helpful. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.