LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I frame all the selected dates within a month?

The attached LabVIEW 2018 SP1 (32-bit) contains all the selected dates within a month that appear bolded. However, only the last date is framed. How do I frame all of them ?

0 Kudos
Message 1 of 4
(1,365 Views)

I'm no expert in .NET Calendar, however the framed date seems to be Today.

There is only one Today, AFAIK.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 4
(1,319 Views)

Sounds like your question is better suited to the .NET Developers or even StackOverflow. If there is an answer, take what you learned there and apply this to LabView.

0 Kudos
Message 3 of 4
(1,293 Views)

You are using the the output of the for loop that is not indexed, this returns the last value of the for loop. Your are using this same value for the start date and todays date date so it will return only one value (the last one of your for loop).

 

Try using the first value of the for loop (index 0 of the output array) for the start date and the last value of the array (the unindexed value out of your for loop) for todays date. 

 

EDIT: the Scan From String output also do not produce a valid timestamp.

 

Ben64

0 Kudos
Message 4 of 4
(1,281 Views)