Jump to content

Which style TABLE can support the direct input and selective input?


Recommended Posts

Posted

Hi All,

 

Which style TABLE control can support the direct input and selective input as same? or how to achieve this function?

I have tried the Modern/Classic/System style Table, but can not find a way to achieve this goal. 

 

 

 

 

post-27969-0-14684800-1416713163_thumb.j

Posted

Tables don't work like that.  A table is literally a 2D array of string.  That is the data type it contains.  It does not have provisions for numerics, drop downs, or other data types without extra work.

 

That being said LabVIEW is a programming language and you can make it do what ever you want.  In the past I've seen code where when you click on a field, a drop down controls is moved over top of the table to appear as if the table has a limited selection.

 

But in your simple example is there a reason you don't just have a cluster with all of this data in it?  A cluster which contains two strings, and two drop downs?  Attached is a VI that looks similar to what you posted.

Example Table.vi

  • Like 1
Posted

Thanks for your reply. This is a flexible way to achieve the result.

 

Tables don't work like that.  A table is literally a 2D array of string.  That is the data type it contains.  It does not have provisions for numerics, drop downs, or other data types without extra work.

 

That being said LabVIEW is a programming language and you can make it do what ever you want.  In the past I've seen code where when you click on a field, a drop down controls is moved over top of the table to appear as if the table has a limited selection.

 

But in your simple example is there a reason you don't just have a cluster with all of this data in it?  A cluster which contains two strings, and two drop downs?  Attached is a VI that looks similar to what you posted.

 

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.