03-27-2013 04:13 AM
Hi,
I'm looking for a way to programmatically retrieve block diagram free labels for use in a report. There seems to be no option when printing a VI to html to include the free labels. The VI description is included alright and I would like something similar for the free labels. Is there a way to do this?
Thanks,
SMcS12
Solved! Go to Solution.
03-27-2013 04:42 AM
Like this:
Note that this will actually return all the decorations on the BD, so you might need to check the error out on the TMSC node. Alternatively, you could just ask the traverse VI to look for the Text class, which is probably better. I'm also assuming that in your case you will want to use a reference to another VI.
03-27-2013 06:49 AM
That's exactly what I'm looking for. Where do I find the subvi that returns the references to the block diagram decorations?
03-27-2013 07:13 AM
As you can see if you drag the snippet into a BD, the VI is found in vi.lib, but you can also display it in the Application Control palette if you enable scripting in the VI Server page of the options dialog.
03-27-2013 07:33 AM
Perfect. Thank you.