07-19-2022 01:40 PM
Hello, Im trying to understand from time to time how EACH vi works.
Got to "append list to report", dug a lot, cannot find any working example or good explanation (labview documentation is really bad)
Example attached.
I'm getting 41000 error on this node.
Please advice what I'm doing wrong.
Thanks
07-19-2022 02:36 PM
I thought appending a list to a report is more for "Word" reports, not "Excel". (If you chose a word report, it works just fine)
Is is also a really (really!!!) bad idea to write to the root folder (C:\raw results.pdf). Windows wont allow that.
07-19-2022 02:39 PM
You right.
After a lot of tries I found that it only work with word and html.
They simply could write it somewhere (
About file saving, I just deleted the full path for the example. Indeed a bad idea to save there. Not doing that )
Thanks
07-19-2022 02:42 PM
@Altenbach is almost certainly correct -- you have found a "Bug in the Documentation".
This functionality is designed for "Text" reports that can be generated to be read by Humans (and not processed by Spreadsheets such as Excel). Here a "list" means "a vertically-arranged column of text, either sorted or unsorted, with a possible indicator such as a Bullet symbol or a numeric entry that indicates the sequential serial order ("1, 2, 3" or "a, b, c")".
The Error Message is "NI-Reports: (Hex 0xA028) You attempted to use a function that has no effect with the current report type." This information belongs in the Help file for this function. I'm sure that @Altenbach will bring this to NI's attention.
Bob Schor
07-19-2022 03:36 PM
@Bob_Schor wrote:
@Altenbach is almost certainly correct -- you have found a "Bug in the Documentation".
This functionality is designed for "Text" reports that can be generated to be read by Humans (and not processed by Spreadsheets such as Excel). Here a "list" means "a vertically-arranged column of text, either sorted or unsorted, with a possible indicator such as a Bullet symbol or a numeric entry that indicates the sequential serial order ("1, 2, 3" or "a, b, c")".
The Error Message is "NI-Reports: (Hex 0xA028) You attempted to use a function that has no effect with the current report type." This information belongs in the Help file for this function. I'm sure that @Altenbach will bring this to NI's attention.
Bob Schor
Of course, there is always the "Submit Feedback" button in the help file. PRESS IT! NI actually put it there for you to use.