How to make editable Table in LabVIEW
Hi,
Could you please let me know how can I make an editable table. I read all the contents of the table from a spreadsheet file but I would like when I click on any of the entries in the first column I get checkboxs for all the entries in that row and after updating them the table should also automatically be updated with new values
For example
Let's say this is my table
Device Name Bit 0 Bit 1 Bit 2 Bit 3 Value in binary
1 1.bit0 1.bit1 1.bit2 1.bit3 0000
2 2.bit0 2.bit1 2.bit2 2.bit3 0000
3 3.bit0 3.bit1 3.bit2 3.bit3 0000
4 4.bit0 4.bit1 4.bit2 4.bit3 0000
Now if the user click on 1, I should see 4 check boxes for 1bit0 1.bit1 1.bit2 1.bit3 and as soon as the user update any of them the binary value should be updates . For example if the user enable 1.bit1 and 1.bit 3 then the binary value should become 0101
Could you please let me know if I can I use Table control to do this and how can I do it in LabVIEW
Thanks
altenbach wrote:
Why does the user even need to select a row first? Wouldnt it be sufficient to have an array of clusters, where each cluster contains a devicename string, four enums with 0,1, and a string for the value (or binary formatted numeric). Elements that don't accept inputs should be disabled, but not greyed and can be recalculated whenever needed.
The main problem is the cosmetic fact that this will no longer resemble a table because of all the extra borders...
... That's why we have this idea! Go vote for it!! Thanks!
Here's what I had in mind (LabVIEW 8.2). All you need to add is parsing your input file into the cluster structure. If the number of clusters is large, show the vertical scrollbar of the array.
(...note that it would look much better with my above mentioned idea implemeneted! )
LabVIEW Champion . Do more with less code and in less time .
Attachments:
updateBits.png 24 KB
UpdateBits.vi 16 KB
Similar Messages
-
How to make the table scalable inside a tap control?
Hi,
Does anyone know how to make the table scalable inside a tap control in LabWindow CVI? I see that there is option for a panel to scale contents on resize, but not available for a tab control. Any ideas?
Thanks a lot!
Weiming
Solved!
Go to Solution.Hi SGIE,
you have posted a LV-related question to the LabWindows/CVI forum: you should post it in the LabVIEW forum instead.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to make editing cell to show up caret and taking keyboard event
Hello everyone:
I have the following problem with table editing.
1. using mouse clicking, the editing cell will have cursor and taking keyboard event.(no problem with it)
2. just type in data, it will show up in the selected cell, but the editing cell do not have cursor visible and also do not fire the keyboard event.
I have problem with this one. So how to make editing cell to have caret visible and taking keyboard event.
Thank you very much!
--tonyHi,
you should subclass JTable and overwrite two methods.
1. protected boolean processKeyBinding(javax.swing.KeyStroke ks,
java.awt.event.KeyEvent e,
int condition,
boolean pressed)
to store the current keyboard event,
2.public boolean editCellAt(int row,int column,java.util.EventObject e)
to fix the problem with isCellEditable and curret position and direct the event into proper place. -
How to make load simulator using labview 2010
i want to ask how to make load simulator using labview?
Solved!
Go to Solution.what have you tried so far? and exactly what is it your tying to do?
Please remember to accept any solutions and give kudos, Thanks
LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7 -
How to make PWM signals In Labview 7.1
How to make PWM signals In Labview 7.1, Could someone give me .vi for examples. Thank you.
There is a shipping example that shows PWM if you have installed
NI-DAQmx. You can open the example through Help >> Find
Examples >> Hardware Input and Output >> DAQmx >>
Control >> General PWM-Counter Output VI.
Good luck!
Micaela N
National Instruments -
How to make RC circuit using labview
Hi,
how to make RC circuit using labview... ThxYour question seems awfully similar to this thread. Is this a school assignment?
Jeff
Using Labview 7 Express -
How to create editable table with one empty row ?
I'm looking for solution how to create editable table with one empty row using ADF BC. I have seen this solution in application that was created in JHeadstart and it's very well idea to use it insead of creation form.
hammm, i do it this:
drop the VO on the page, select Table->ADF Table....
so, drop the botton create, from de VO->operations->create (the firts), and right botton (mouse) Edit binding....
in Data collection select the VO, in Select an action select CreateInsert
luck -
How to make stork table in Mac numbers
hello,
how how to make stork tables in numbers just as what we can creat in windows excel?
thank youAnother way to create this type of chart is to create the pieces in separate charts and then layer them.
You create two stacked bar charts. There are two rows of values in each. The color of the bottom value is set to "no fill" to create the floating bar effect.
The width of the stick bar is changed by setting the gap to the maximum allowable (999%). The "stick" chart is placed behind the other.
For this to work, they need to be the exact same size and with the same axis values. Setting the axis to have fixed values makes this easier. Also, it improves the appearance to limit all the axis labels and lines to be in just one of the charts. -
Well how I make Rounded Table Corners (html) ?
I use dmwr mx 2004 , well how I make Rounded,Table,Corners
(html) ? CSS TABLES can be with Rounded Corners ?On Wed, 12 Dec 2007 16:40:01 +0000 (UTC), "123polis123"
<[email protected]> wrote:
>I use dmwr mx 2004 , well how I make
Rounded,Table,Corners (html) ? CSS TABLES can be with Rounded
Corners ?
No - you have to use images.
as already said - just google for more info
http://www.google.co.uk/search?hl=en&q=round+corners+on+websites&btnG=Google+Search&meta=
~Malcolm N....
~ -
How to make editable the colums of table control in the PBO
Hello Experts!
I`m using the table control in dynpro, and i want to make editable some colums depending of some values.
How can i do that?
Thanks!Hi
U need to change the screen attributes of colunm by statament LOOP AT SCREEN/ENDLOOP into the loop of table control in PBO:
PROCESS PBO.
LOOP AT ITAB ......
MODULE LOOP_SCREEN_TC.
ENDLOOP.
MODULE LOOP_SCREEN_TC.
IF ITAB-FIELD1 = .........
LOOP AT SCREEN.
IF SCREEN-NAME = 'ITAB-FIELD2'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDMODULE.
Max -
How to make a table editable?
hi all,
do u know how to make a (ABAP Webdynpro ESS screen) table editable?
is it through ALV or Table ?
thanksHi,
actually to make the table activated u have to append initial lines to ur table.so first make an internal table like of ur node then append initial lines to this and then bind it to the node.code is given below.in case of further query u can ask me.
DATA lo_nd_cn_dartdetails TYPE REF TO if_wd_context_node.
DATA lo_el_cn_dartdetails TYPE REF TO if_wd_context_element.
DATA ls_cn_dartdetails TYPE wd_this->element_cn_dartdetails.
DATA lt_table TYPE wd_this->elements_cn_dartdetails.
DATA ls_table TYPE wd_this->element_cn_dartdetails.
navigate from <CONTEXT> to <CN_DARTDETAILS> via lead selection
lo_nd_cn_dartdetails = wd_context->get_child_node( name = wd_this->wdctx_cn_dartdetails ).
do 5 times."(as many lines u want)
append ls_table to lt_table.
enddo.
lo_nd_cn_dartdetails->bind_table( lt_table ). -
JavaFX2.2 TableView:How to make a table cell be edited without mouse click?
Hi,
I've encounter a problem with editable table cells. I'm using the TableView in my project just as the Tutorial on Oracle (http://docs.oracle.com/javafx/2/ui_controls/table-view.htm).
According to it, I use the setCellFactory method to reimplement the table cell as a text field with the help of the TextFieldTableCell class. However, I found the steps is a little complex to get to the point where the cell can be edited:
1.Let the table cell be selected by using direction key.
2.Press “Enter” to converts the cell to a text filed so that it is ready to be edited.
3.Clicking in the text field allows the contents to be edited
The problem is step 3, that you must use the mouse to click before you can input data in this table cell.
So, is there a solution to avoid step 3? That is the text field allows the data inputting when you just press “Enter”(step 2).
By the way, English is not my native language. Hope I have made myself clear.Hi,
You need to pass the focus to the text field when the startEditing event occurs. In the class that extends TableCell you use for cellFactory:
public void startEdit() {
super.startEdit();
createTextField();
setText(null);
setGraphic(textField);
* put focus on the textfield so user can directly typed on it
Runnable r = new Runnable() {
@Override
public void run() {
getGraphic().requestFocus();
Platform.runLater(r);
} -
How to make a table color or back ground image go on forever
How do I make a table go on forever (to the right)? I know
you can edit the size of the table, but if you make it larger than
your own computer screen it makes you have to scroll left and
right. I want to know how do I make a table go on forever with out
making someone with a small screened computer have to scroll left
and right.
Thanks.,You can't. What is it you are trying to accomplish?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"-Michael--" <[email protected]> wrote in
message
news:eddbh5$a45$[email protected]..
> How do I make a table go on forever (to the right)? I
know you can edit
> the
> size of the table, but if you make it larger than your
own computer screen
> it
> makes you have to scroll left and right. I want to know
how do I make a
> table
> go on forever with out making someone with a small
screened computer have
> to
> scroll left and right.
>
> Thanks.,
> -
How to make executable file in labview.
HI All,
I have labview student edition V14 (2014),
I want my vi to be an executable file.
i searched in google but in my vi project its showing only build specefication->new->source distrubtion.
i dont have Application , now how to make an executable file.
Regards
PunithYou need the Professional version to make an executable. You could also buy the App Builder seperately. I don't remember the price at the top of my head.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
How to make & edit multiple query report
hi,
how to make multiple query report & i have an existing multiple query report when i edit it all the structure gets disturbed whenever i want to add or delete any column from an query.
how to do this ?
txsPerhaps you have "Flex Mode" selected in the Layout Editor? It's the button next to the padlock button.
Message was edited by:
Dave Hemming
Also PS: Vaguest. Question. Ever.
Maybe you are looking for
-
Solution for Wacom Intous 4 tablet with LR 4.1?
I'm having a problem selecting and dragging files from the library grid onto folders using my pen and mouse on the Wacom Intuos 4 tablet. I tried repeatedly to select all rejects from a shoot and drag them to a separate folder. When clicking and drag
-
User defined fields in Crystal layout
Hi All, I want to add user defined field values in crystal layout for Sales order, but its not listed in RDR1 tables there but it's available in SAP query manager view. How can i get that in Crystal reports. please suggest on this. Regards Sree
-
I've added ios6 to my new ipod but tried then to restore the factory settings. It won't extract any settings and the itunes then tells me that the server cannot be reached or is unavailable. I've been trying all day. Now the ipod has a itunes sign an
-
[SOLVED] pacman -Qdt shows required packages
I've used "pacman -Qdt" quite often but since yesterday it shows packages that it probably should not: autoconf2.13 hal pm-utils pm-quirks hal-info dmidecode consolekit xorg-server-xvfb yasm If I remove "orphans" like pm-utils or hal, I will only kno
-
I can't install an older version of flash player and the new one won't work.
I've read on the boards everyone says to run the Adobe uninstaller prior to trying to install the older version and I did, but the download still says it can't install the older version because it isn't the current version. And the current version is