07-19-2017 09:23 AM - edited 07-19-2017 09:24 AM
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"???
07-19-2017 09:29 AM
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
07-19-2017 09:33 AM
07-19-2017 09:40 AM
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
07-19-2017 09:43 AM
@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.
07-19-2017 09:54 AM
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.
07-19-2017 11:15 AM
Any idea on holding the data values with a static variable or something similar?
07-19-2017 11:28 AM
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!
07-19-2017 11:56 AM
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.
07-19-2017 12:18 PM
I just finished putting in the Feedback node part, how do I separate the channels? Got confused on the last part