Jump to content

Can someone helps me how to store data in one field?


wyyew

Recommended Posts

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.

post-2684-1128081361.gif?width=400

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.

Link to comment
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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.