LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

separate SubVI tables?

Hi Amanda,

 

Is there any way to have the number to Fractional string store all data from those 3 channels?

NumToFracString converts all data in the wire…

(It does not "store", it only "converts". When you want to "store" data you need to program it…)

 

I want a table with 3 channels and not all

Do you want to "store all data" as written above - or "not all"???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 24
(1,420 Views)

I want each table to hold hold all data for the 3 channels it has, not all 18 channels in the program. That's what I'm trying to mean

0 Kudos
Message 12 of 24
(1,416 Views)

Hi Amanda,

 

could you attach your current state of the VI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 24
(1,412 Views)

The Build Table express VI that I have thrown on the MainVI is how I want the table to be runnning.

Thanks so much for the help

Download All
0 Kudos
Message 14 of 24
(1,405 Views)

@Amanda_Kay wrote:

I want each table to hold hold all data for the 3 channels it has, not all 18 channels in the program. That's what I'm trying to mean


Your problem was the the Build Table adds data to it each time it is ran.  If you wire up 3 signals to it and next time wire up 3 different signals, it will have 6 signals in the table.  Since you replaced the Build Table with the Number To Fract String, which does not store anything, and you only connect the 3 signals, you will only have those 3 signals in to your data.


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 15 of 24
(1,403 Views)

The VI collects the data every 5 seconds or so and I want to keep all of the data from the 3 signals in one table. Every time it reads data I want it to add to the next row and keep the previous reading.

0 Kudos
Message 16 of 24
(1,402 Views)

Any idea on holding the data values with a static variable or something similar?

0 Kudos
Message 17 of 24
(1,388 Views)

I'm currently trying to build a table from the number to fractional string, However, the values aren't holding. Is there away to append all data so it's not deleted at the start of every run(just a running table of collected data)?

Thanks!

0 Kudos
Message 18 of 24
(1,393 Views)

Use a feedback node in your subVI to hold the values of the table from last time, then build onto these each time. Then set your subVI to preallocated clone reentrant execution - that way it will not save data between multiple instances of your subVI and will only save the data for those 3 channels in each instance.

 

Feedback Node.png

Message 19 of 24
(1,383 Views)

I just finished putting in the Feedback node part, how do I separate the channels? Got confused on the last part

0 Kudos
Message 20 of 24
(1,375 Views)