取消
显示结果 
搜索替代 
您的意思是: 

1D array in memory...

Hi all... i'm using labVIEW 7.1...

in my program, i having a problem here... is related with 1D array... in my program i wish to insert some value into an 1D array and also store it in memory so when i run the vi again then the value still in the same location...

below is a vi that dne by myself, but i don't know where is the problem...
it will be great if someone can help me to solve it! 🙂

with regard
Jaxx
0 项奖励
1 条消息(共 15 条)
3,948 次查看
Hi Jaxx

I am not entirely sure what you are exactly trying to do from lookig at your code.

I have attached a very simple VI that shows you how you can insert values into a 1D array. The key is the use of shift registers in the while loop - Hope this proves helpful.

Additionally, you appear to be trying to store all values in all controls on your FP in an ini file. This seems a bit overkill. Maybe it would be better to just store the array data you are interested in, in a CSV file or similar? Just a thought.

Cheers,

Bazza
0 项奖励
2 条消息(共 15 条)
3,936 次查看
Hello @,

problem not solved, but I made some changes and comments to your llb...

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
3 条消息(共 15 条)
3,930 次查看
here's the llb...

For NI: Attachment button should be near to submit button! On a 1280x1024 display you have to scroll for the attachment button...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
4 条消息(共 15 条)
3,930 次查看
HI Bazza...

actually i not really want to store my array data in an ini file, i just wish to saw those values again while i run the vi.

maybe i'm confusing you 😛 actually what i trying to do, you can find out in my vi... when you run the vi and press the assign button, the value will store in the location that you inserted. so that when you the vi again u still can see the value at the same location. that's all... 🙂

hope you can understand my broken english 😛

best regard
Jaxx
0 项奖励
5 条消息(共 15 条)
3,910 次查看
HI GredW...

i doesn't know you really understand what i mean or not? you can see the message that i posted at above if u really don't understand 😛 but i still want to say thank you for simplify my vi 🙂
i'll keep trying for this problem. and if you know already for the answer please post to here, thanks!

with regard
Jaxx
0 项奖励
6 条消息(共 15 条)
3,910 次查看
Hi all experts...

anyone can help me to solve about this problem? that will be great if this problem can be solve, because it already bother me many days...

with regard
Jaxx
0 项奖励
7 条消息(共 15 条)
3,891 次查看

wrote:
...in my program, i having a problem here... is related with 1D array... in my program i wish to insert some value into an 1D array and also store it in memory so when i run the vi again then the value still in the same location...
below is a vi that dne by myself, but i don't know where is the problem...



What is the problem ? Where is the value you want to insert ?
May be if you were using an Insert Into Array node in place of a Replace Array Subset node things would run better ? Is that deliberate or just a confusion ?
CC

Message Edited by chilly charly on 03-20-2005 05:51 AM

Chilly Charly    (aka CC)
0 项奖励
8 条消息(共 15 条)
3,890 次查看
HI chilly...

maybe you should take a look of my second posted... i mention about my problem there...

thanks!

with regard
Jaxx
0 项奖励
9 条消息(共 15 条)
3,884 次查看
I got the solution ! It's 42 ! 😄 (see Douglas Adams...)

I have read everything, but I still cannot understand what you want to do (and apparently I'm not the only one...).
What do you intend to do with the table ? Why are you talking about inserting while you actually replace elements ? Why do you make the Array and Array 2 controls look like indicators ? Why is Bazza idea not working ?
WHAT IS THE PROBLEM ?


CC

Message Edited by chilly charly on 03-20-2005 06:49 AM

Chilly Charly    (aka CC)
10 条消息(共 15 条)
3,880 次查看