07-16-2009 09:10 AM
I am trying to customize a report dialog for a custom built LabVIEW exe. The TDMS File viewer has most of the features to preview data. I would like to use that VI as a report options dialog with a few extra controls. However, TDMS File Viewer.vi contains a locked subVI, panelResize.vi, that is called during a Panel Resize event. This subVI moves and resizes the controls and indicators that it knows about.. When I test my custom dialog, any controls I have added do not reposition in a goofy dialog. Can that subVI, panelResize.vi, be unlocked to provide allow custom resize controls?
Regards,
Kenneth
07-17-2009 01:08 PM
07-17-2009 02:04 PM
I read that someone else was able to view the diagram (at NI).
On a different thread, regarding viewing data from a TDMS file in an XY graph,
http://forums.ni.com/ni/board/message?board.id=170&message.id=424526&query.id=72521#M424526
the same subVI, PanelResize.vi in the TDMSUtility.llb had the same problem.
An NI person(?), Herbert Engels, modified that VI for the different control reference type. He claimed that the VI was locked because it had an 'unreleased' node on its diagram. The custom TDMS viewer then was able to handle XYGraphs.
I also tried to modify everything to change the TDMS file to allow a different selection mode of the Tree Control, "File Contents". I hit the same issue.
07-17-2009 02:16 PM
one more point to add:
I have tried to implement resizing events for other projects that included multiple graphs. Graphs have a rich set of visible attributes that make resizing events difficult to code. I settled the multiple graph resizing event using a subpanel and splitter panes, which was more work than I expected. So resizing a panel with a graph is a challenge.
It would be nice to learn how to code graph resize events with a subVI, even if only screen shots of the block diagram were posted to this thread.
The ResizePanel VI works well for the TDMS File Viewer example. How much effort would it be for NI to rewrite that one subVI in an open source model, i.e. remove the unreleased node?
07-19-2009 08:14 PM
More in this thread: http://forums.ni.com/ni/board/message?board.id=170&message.id=425065&jump=true#M425065.
Herbert
12-10-2009 04:55 PM
11-12-2010 02:43 AM
Rerfect!
The Locked VI has been unlcoked...
Good Luck!