LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

which table object can be edited during run time by user?

I have seen tables that can be edited programmactically, such as list box, multi-column listbox,  table and ex table.
I need to know which ones that can be edited in the cells during the run time. I am not sure.
0 Kudos
Message 1 of 13
(4,173 Views)
Hi astroboy,

every control can be edited in runtime by the user!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 13
(4,170 Views)
Hi GerdW,
I have tried on all the tables and none worked except table. When I put list box or multi column listbox, only controls themselves, no coding behind . I tried each on the cell, like putting texts , but I can't.
Clement
0 Kudos
Message 3 of 13
(4,165 Views)
Hi astroboy,

listboxes usually allows the user to make a choise from a selection of items - the user doesn't need to add more choices (usually).

But you can always add more entries by using listbox property nodes! So just use a string control and a (boolean) add-button to add more strings to a listbox...


Message Edited by GerdW on 01-15-2008 10:57 AM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 13
(4,161 Views)

Hi Astroboy,

On the block diagram, right click on the control and select "Create -> Property node -> Allow editing cells" and place on the block diagram.  Then right click on the property node and select Change to write.  The wire a TRUE constant boolean to its input.  This enables run-time editing.

Craig

LabVIEW 2012
Message 5 of 13
(4,157 Views)
Hi Craigc,
I have tried as you have explained. I cannot find "Allow Editing Cells" in its property node. Weird!
See the pic below. List of property for multicolumn listbox.  No sight of that property, "Allow Editing Cells"!

I am using labview7.1
Clement
Message 6 of 13
(4,136 Views)

Hi Astroboy,

I am using LabVIEW 8.2 and it is under the property node like so.  Perhaps not available with LabVIEW 7.1  Mayby someone else might be able to shed some light on 7.1 for you, or mayby it is under the options as illustrated.

Craig



Message Edited by craigc on 01-16-2008 03:24 AM
LabVIEW 2012
Message 7 of 13
(4,127 Views)
Hi Astroboy,
 
Here is some info from the help file also which states that if you right click on the FP Control there should be an option called "Editable cells".  Yet again i have LV 8.2 but mayby its in there in 7.1.
 
Craig
 

Editing Listbox and Tree Control Cells at Run Time

Complete the following steps to edit cells in a listbox or tree control at run time.

  1. Right-click the listbox or tree control and select Editable Cells from the shortcut menu to allow users to edit cells at run time. You also can use the Allow Editing Cells property to programmatically allow users to edit cells in a single-column listbox, multicolumn listbox, or tree control.
  2. At run time, click the cell text you want to edit, and click it a second time after a short pause.
  3. Enter the text you want.

Use the Edit Cell event to handle the event that a user changes text in the cell of a single-column listbox, multicolumn listbox, or tree control.

LabVIEW 2012
Message 8 of 13
(4,121 Views)

Editing Cells of ML Box cant be achieved in LV 7.1.

You cant even type anything in it during run-time. Smiley Sad

As far as LV7 is concerned, the ML Box s a mere waste from a controlling point of view. Smiley Mad

- Partha ( CLD until Oct 2027 🙂 )
Message 9 of 13
(4,119 Views)
Thanks for sheding some light on the situation Partha.  I feared that might be the case astroboy, sounds like youl have to ask the boss for an upgrade 🙂
LabVIEW 2012
0 Kudos
Message 10 of 13
(4,105 Views)