LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

switch out cell

Dear,

 

I got no code yet because i really don't know how to do it,

i got a table and in the first column store data like 1,2,3,4,5 ...

now sometimes its necessary to block a cell that when im reading the values

a number can not written to a cell like 1,.,2,3,4,5...

how can i do that ?

 

0 Kudos
Message 1 of 17
(3,889 Views)

Hi drek,

 

use an event structure to catch user actions. Disallow (aka filter) those actions when the user tries to change that element of your table…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 17
(3,863 Views)

thx for the answer but those data are coming from rs232 so it is not user input 

so i should be able to switch out a cell with software.

 

greetings and thx

0 Kudos
Message 3 of 17
(3,851 Views)

Hi drek,

 

those data are coming from rs232 so it is not user input so i should be able to switch out a cell with software.

You wrote you got a table. A table is an UI element displaying data to the user…

 

When you receive your data from RS232 you need to parse the data. In this parsing process you can handle all the data items as you like, including "blocking" parts of them…

Best regards,
GerdW


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

but dont find the command to block a cell ? 😉

0 Kudos
Message 5 of 17
(3,832 Views)

Hi drek,

 

there is no "ready-to-use" command!

 

It's your job to parse the received string. And it's your job to handle the received data in the string. And it's your job to put the data from the string into a "table" (or better: array) and while doing so filter out unwanted items! (All this is called "programming" 🙂 )

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 17
(3,825 Views)