LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get recent data on control

Hi All,

 

I need to create an GUI which has some interactive inputs. I want to keep the data entered by the user as cookies so that when user comes back to same GUI with the key focus on the control, the control displays the recent data and user can select form the display or user can enter a new data in the control.

Can you please suggest me some option that consumes less memory.

 

Thanks in advance.

 

Pankaj

0 Kudos
Message 1 of 10
(3,190 Views)

It sounds like you want a Ring control.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 10
(3,178 Views)

Hi 

0 Kudos
Message 3 of 10
(3,166 Views)

No, you can access a ring controls properties and write to Strings[] property in runtime, or Strings and Values[] if you dont want sequential values.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 10
(3,156 Views)
You just have to decide where you write the values. An ini file is often used.
0 Kudos
Message 5 of 10
(3,137 Views)

Thanks for reply...

 

Writitng data in .ini file will work in case of ring or combo control but we can do the same kind of operation with string control or numeric control.

 

I already use similiar technique in one small application where I am using a combo box control. I want to implement this functionalities on string control or numeric control.

0 Kudos
Message 6 of 10
(3,119 Views)

@Pankajusic wrote:

I already use similiar technique in one small application where I am using a combo box control. I want to implement this functionalities on string control or numeric control.


That's definatly a ring control (or enum, but it cant be changed in runtime). 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 7 of 10
(3,104 Views)

@Yamaeda wrote:

That's definatly a ring control (or enum, but it cant be changed in runtime). 🙂

/Y


Ring controls can be changed in runtime only Enums can't. 🙂

 

For any control the default value can be set through vi scripting.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 8 of 10
(3,100 Views)

P@Anand wrote:

@Yamaeda wrote:

That's definatly a ring control (or enum, but it cant be changed in runtime). 🙂

/Y


Ring controls can be changed in runtime only Enums can't. 🙂

 

For any control the default value can be set through vi scripting.


Wasn't that what i said? 🙂

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 9 of 10
(3,093 Views)

I read that the other way. May be my compiler problem 😛

-----

The best solution is the one you find it by yourself
0 Kudos
Message 10 of 10
(3,086 Views)