LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

table

Hi drek,

 

this looks like the correct function. just use it!

When you are unsure about functions: open the context help with Ctrl-H…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 50
(1,424 Views)

trying hard 🙂

0 Kudos
Message 12 of 50
(1,418 Views)

this is what i already got

0 Kudos
Message 13 of 50
(1,412 Views)

Hi drek,

 

why did you increase the ReplaceArraySubset for replacing two elements at once? Decrease it to just one element - the same as you use before the case structure!

 

You only need to follow my picture above…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 50
(1,402 Views)

sry for the late answer, because much work, made the vi like you told i guess , but nothing appaears at the table to what should i connect it ?

 

Many thanks in advantage

0 Kudos
Message 15 of 50
(1,365 Views)

Hi drek,

 

when you want to replace certain elements in a 2D array you should provide a new value for these elements.

Right now your VI contains two ReplaceArraySubset functions, but you don't wire any new data to these functions. You should wire the value you want to put into the table…

 

Additionally your table is a control instead of an indicator - quite silly when you want to display values. And you did not wire anything to actually write data into the table control/indicator…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 16 of 50
(1,358 Views)

got this until now, value appears and dissappaers again

0 Kudos
Message 17 of 50
(1,341 Views)

Hi drek,

 

value appears and dissappaers again

I'm sorry, but when I open your VI it is broken due to a broken wire missing a datasource. You  still haven't wired the ReplaceArraySubset functions correctly!

 

LabVIEW also complains about missing subVIs…

 

As long as I cannot run your VI I cannot watch any values (dis)appear!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 18 of 50
(1,332 Views)

gonna make it again gorgot to save it damn 🙂 so must be better

0 Kudos
Message 19 of 50
(1,321 Views)

What is supposed to happen when Boolean is False?  You are currently clearing the array (making it empty).  Once that happens, I'm not sure the Replace Array Subset will work (replacing an element that does not exist).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 20 of 50
(1,312 Views)