LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
AndyRR

Calendar to work properly from a SubVI GUI window

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

I noticed that the calendar i.e. "Set Time and Date" or "Time Stamp control" does not work properly if it is accessed from a SubVI window. The calendar is jammed until the user clicks the main VI from the Windows toolbar. This is at least the case with LV2010 sp1, Win7.

 

My guess is that the calendar opens to the main VI even though the SubVI is active. This is bad if you want to make a SubVI GUI window where the user can set the date. It is possible to avoid the problem by making a SubSubVI for setting the date, but this is a more or less time consuming depending on the programmers skills.

 

I suggest that the calendar should be made accessiable from a SubVI if the “Show front panel when called” setting is enabled from the “Window appearance”-properties of that SubVI.

 

VI, SubVI and SubSubVI  that demonstrate the problem as attachments

 

Set Time and Date.png

2 Comments
AndyRR
Member

There is a small problem with the VIs and I wasn't quick enough to notice and correct the problem until editing time expired.

 

I renamed the "Time stamp ctrl problem (SubSubVI).vi" from "Time stamp ctrl problem 2(SubVI).vi" and didn't realize to link the VI's again, as I usually work with projects. Just tell Labview to use the "Time stamp ctrl problem (SubSubVI).vi" when it is searching for a missing VI.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined.