LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable certain columns of a Table?

hi all,
I wish to fill a pattern of 8 digital signals (only 1's & 0's) in a Table.
Is there any way to restrict the user from typing char or num other than a 1 or a 0?
Since the table is a string, I'm having confusion how to do this.
 
Secondly, the table would have by default 12 columns visible on the Front Panel, excluding both the headers.
But the No. of Columns is based on a parameter called Duration that ranges between 4 & 256.
 
What I want the user to do is to key in 1's & 0's for the Duration chosen.
Since it'll be tedious to key in for large values of Duration, I've given the option of Set Row(s) & Reset Row(s),
that will fill with either 1 or 0 respectively for the chosen Row Value.
Is there any way to disable the remaining columns of the Table, ie, those unfilled columns,
when the user scrolls horizontally? I don't know how to achieve this.
 
I went thro' the Properties of the Table, I don't understand some of their functionalities,
like SelStart, SelSize etc.
 
I wonder why a Property like Disable Array Elements for Arrays is not provided for a Table
to Disable the columns we want to do so, or is it my gross ignorance, I don't know.
 
Experts pls clarify me & help me out.
 
Regards,
Partha.
 
- Partha ( CLD until Oct 2027 🙂 )
Message 1 of 2
(2,539 Views)
Message 2 of 2
(2,532 Views)