10-31-2017 05:57 AM
Hello I need some help.
I have data being displayed in forms of arrays. I want the data to be displayed in one table on my front panel. I tried using the table V but didn't succeed in it.
I am also logging data into an LVM file and would like to add the channel names into the file. I have got suggestions to use the "Set dynamic data attributes" but when connecting it i got some errors that couldn't be solved by me.
can someone help me in this part. I am attaching the VI and an picture of the problem area.
The picture channel names shows what I am trying to achieve
Solved! Go to Solution.
10-31-2017 01:15 PM - edited 10-31-2017 01:17 PM
Tables only display Strings, so you have to convert your Numeric array to a String array to display it in a table on the front panel.
I would recommend you lose the Express vi's and just use the Write to Spreadsheet VI.
Write your headers to the file once first then write your data in a loop as needed
A simple tab delimited text file can be "imported" into Excel without issue.
10-31-2017 10:35 PM
set input of "set dynamic data attributes" at the output of merge signal and give signal name of "set dynamic data attributes" as you want then out of this "set dynamic data attributes" must do input of another "set dynamic data attributes"(connect all in cascade form) assign each with your signal name.
11-01-2017 10:45 AM - edited 11-01-2017 10:47 AM
Hello yes I first I tried your suggestion to just write ro a csv file. see picture.But the problem was that the write to data file VI was only giving me the headers and no data. I tried several times without any success.
could you maybe add your suggestion to my VI.
@Asif I also tried to use the"set dynamic data attributes" with merge signal but i ended up with errros when merging the signals. Can you maybe show me how to do it,
11-01-2017 11:21 AM
I also got the following suggestion, I tried it in a LVM file and xlsx file but the channels names do not apper. I can't find the problem. Any help please. This is only on the gps sesnor
11-02-2017 03:57 AM
Problem solved, thanks all for your nice tips.I solved the erros