Hi, I use labview for logging data.
First, I click Start Buttton, the process will start and data will logging to Table1 with 1 second.
After that i will click Logging Button. The Logging Button will start and Table Logging get data from last data Table1.
Table1 must still running when table logging is running.
But, the probelm is Table logging not continue running, must allways click. I want just one click. I dont want use Switch When Released. I want use Latch When Released.
Solved! Go to Solution.
It is unclear what you are asking for here.
What I can see is that you have a very stacked set of structures here. Case structure inside a loop, inside a case structure, inside a loop. When case structures and loops go that deep, it is a sign of a bad architecture.
You should probably think about how to do this within a single loop.
you really should simplify your code:
No local variables for controls used as indicators.
No duplicated code.
No stacked structures.
No Rube-Goldberg due to converting scalars to arrays.
No ExpressVIs used for converting to array.
No InsertIntoArray, when you just want to BuildArray!
And only some very simple DATAFLOW to start the logging…
I want just one click. I dont want use Switch When Released. I want use Latch When Released.
When you need switching behaviour, then you cannot use latching switch modes!
Why do you insist on latching?
I like your code, very very simple. I like it, but table logging not run continue. I want if i click Logging Button, Table Logging will run continue like Table1. If i use your program I must Allways Click Logging Button. I want One click like Start Button (Latch When Released).
I want One click like Start Button (Latch When Released).
Then set the "Logging" button to a "switch" mode!