01-30-2019 10:19 PM
Here i have attached which is having time stamp control,where i can mask time but when i click on control it is showing date and time I don't want time in that control,i have to set time once either that is 00:00:000 or 23:59:59.Later i have to change date.Below i have attached a vi which is having timing information control.If there is any idea to mask time completely please suggest me.
Solved! Go to Solution.
01-30-2019 11:28 PM
Did you attach the correct VI? The one you attached doesn't show any timestamp control. Just a numeric indicator.
01-30-2019 11:37 PM
Sorry Here i have attached the correct one.Please have a look on it.
01-30-2019 11:38 PM
Please a look on it.VI is attached
01-31-2019 12:11 AM
In the control properties you can chose which part of the time is shown. See the attached image:
You can either select to show time or date or both of them in your prefered style.
01-31-2019 01:13 AM
Sorry that is not i want.For elaboration i have added two images please look into it.
image 1. I have enabled time unused option in Control properties.
2. on front panel When i click on control it is showing date with time and set time to now.
3. I dont want to have those time options.
4. How to mask time Completely after setting once???
01-31-2019 01:27 AM - edited 01-31-2019 01:29 AM
Hi Venkata,
How to mask time …?
when reading the value from your "current time" control you could "filter" the time (aka time of day) part and only keep the date:
How to mask time Completely after setting once?
Hide that "calender" button. Have the user input the date in the control.
Or create your own VI to let the user select a date from a calender.
Or search the forum for some .Net implementations: IMHO you can configure them to only show a calender, but no time inputs…
Like this:
(Just change the CustomFormat as needed.)
01-31-2019 03:03 AM
Thanks alot. I got perfect output.The way i want.