LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically clear table & automatic stop

hallo best wishes to all, I need help, I want to make clear button for a table. I want to use the clear button to waveform graph to erase the data table at the same time. Does anyone have any ideas? And does anyone know how to make the circuit automatic stop if value incoming input is 0 for over 5 second (from random number).labv.png

0 Kudos
Message 1 of 2
(2,740 Views)

Hi andriawan,

 

I want to use the clear button to waveform graph to erase the data table at the same time. Does anyone have any ideas?

- Wire the table data through the Case structure. When you want to clear data you replace the wire by an empty array constant in the TRUE case…

- You don't clear a graph! It's a chart history you clear…

 

- Why do you use InsertIntoArray when you want to build an array? Use BuildArray (in append mode) instead!

- Why is "Table" a control? Make it an indicator and delete the local variable!

- Why do you multiply 1 by 1000, and then again by 0.001? Why not wire "1" directly to the multiply node with "i"? (Why multiply with 1 at all?)

Best regards,
GerdW


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