LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I modify the TDMS File Viewer

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

TDMS Report Viewer Custom Dialog.PNG

0 Kudos
Message 1 of 7
(5,681 Views)
Unfortunately Locked VIs cannot be unlocked.  Your best bet is to implement the resize on your own inside the event structure.
0 Kudos
Message 2 of 7
(5,657 Views)

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. 

0 Kudos
Message 3 of 7
(5,651 Views)

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? 

 

0 Kudos
Message 4 of 7
(5,647 Views)
0 Kudos
Message 5 of 7
(5,629 Views)
I had the same problem when trying to modify the TDMS File Viewer.  An application engineer from NI had unlocked the resize panel subvi for me. He said that, NI will have a script in feature releases of LabVIEW to unlock this subVI. See attachment for the unlock VI
0 Kudos
Message 6 of 7
(5,400 Views)

Rerfect!

 The Locked VI has been unlcoked...

Good Luck!

0 Kudos
Message 7 of 7
(4,763 Views)