LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

select a date on .NET month calendar

Solved!
Go to solution

In my application, a list of specific dates for a particular month are populated

> on the calendar in boldface. Each date corresponds to its own database a user

> will retrieve for analysis.

 

If that's the case, you can move the set font bold to the initial case.

 

George Zou
0 Kudos
Message 11 of 23
(953 Views)

Thanks for your suggestion, George,

 

This means I have to be careful which row and column to set font bold in the "Initialization" Case Structure {see attachment}.

 

But before proceeding, I need to discuss with my users about LabVIEW application, not the same with its counterpart in Windows.

 

0 Kudos
Message 12 of 23
(947 Views)

This means I have to be careful which row and column to set font bold

> in the "Initialization" Case Structure {see attachment}.

 

I'm glad you found that.

 

> But before proceeding, I need to discuss with my users about LabVIEW application,

> not the same with its counterpart in Windows.

 

Please tell us the difference in detail.  Maybe we can mimic the C++ application.

 

 


George Zou
0 Kudos
Message 13 of 23
(938 Views)

Hello George,

 

See attached:

 

(a) "picktime_quick_fix.jpg" for the difference, and

(b) "picktime_time_display_value_change.jpg" for the reason why this event structure can't handle multiple dates if nested inside a FOR loop ?

 

Download All
0 Kudos
Message 14 of 23
(933 Views)

Please add detailed description for the images.  I can't read your mind.

 

George Zou
0 Kudos
Message 15 of 23
(925 Views)

Sorry, George,

 

For "picktime_quick_fix.jpg". I just output a STRING indicator containing the following text:

 

"Here are the dates of October 2016 that you can click on to retrieve corresponding data:

11, 18, and 24

 

As for "picktime_time_display_value_change.jpg", I thought this event could be nested inside a FOR loop for multiple dates, but I'm wrong, so forget it!

 

0 Kudos
Message 16 of 23
(920 Views)

So it's no a direct response to my post regarding the difference between C++ and LabVIEW.

 

If you don't like the Select button, you can also do thing like click once to select; and click again to deselect.

 

 

George Zou
0 Kudos
Message 17 of 23
(913 Views)

Sorry, George, I only mean the difference in calendar representation between LabVIEW and C++-based Windows

 

I use "2020_10_09_NET_Month_Calendar_LV2018SP1_v02.vi" to show my users the comparison between .NET and G calendars. They don't like the G one because it pops up when called. So, I will go back to the .NET calendar. Thanks for your help!

 

As for "picktime_v02.vi", it is the "picktime_v01.vi" with everything hidden except the calendar and a text string.

 

The attached "Enabled String Array to Comma String.vi" is a utility subVI.

 

0 Kudos
Message 18 of 23
(894 Views)

It seem you need to polish you skill a little bit.

You can't call a dialog VI in a loop.  That makes it keep on pop up.  Won't be able to close.

 

You need an event structure to allow user to select multiple dates from the .Net calendar.

 

George Zou
0 Kudos
Message 19 of 23
(883 Views)

Thanks, George, for your reminder. I need to hone my LabVIEW skills more before taking the CLD exam.

 

I implement "2020_10_09_NET_Month_Calendar_LV2018SP1.vi" based on "NET Calendar Basic Example.vi" obtained from the following link:

 

https://forums.ni.com/t5/LabVIEW/Read-selected-date-from-LabVIEW-NET-Calendar-control/m-p/877274?pro...

 

I would appreciate your explanation as to why my implementation does not work ? And, what are your suggestions to make it work ? Please, be specific, thanks!

 

0 Kudos
Message 20 of 23
(869 Views)