From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-24-2010 03:35 AM
I create a .vi where there is the calendar control to insert the start and stop dates. Into a computer with Italian date format it works without any problem, but if it's installed into another computer with American date format it doesn't work. I try with different type of .vi (the original is Calendar_test.vi) Can anyone help me?
I append the .vi and .exe
02-24-2010 05:11 AM
What is italian date format and american date format? (do i have an indian date format ? )
When i ran the "calender_test.vi" i was getting the date shown in the string indicator as a day less than the actual selected date. And i figured out that its because that the UTC time format was selected (boolean connected to True). Once i made it false evrything is fine for me...
Guru
02-24-2010 05:42 AM
I refer to computer date and number format (for date: Italian dd/mm/yyyy; American mm/dd/yyyy).
My problem it's no connect to UTS. The computer don't load the command to select the date. In the attached you can see another .vi I test and the error.
02-24-2010 07:09 AM - edited 02-24-2010 07:10 AM
I'm not sure I understand your problem.
I ran your vi and it seemed to do what you programmed it to do.
You will have to select your preference for the display format of the Time Stamp. Right click on the Time Stamp control, select "Display Format...", and choose "Custom Date Format".
See images below:
02-24-2010 10:23 AM
02-24-2010 11:57 AM - edited 02-24-2010 11:58 AM
Are you saying that you could not even see the calendar in the DTPicker?
If that's the case, it is strange, because I can pick a date even without running the VI.
Which version of LabVIEW are you using? Can you show the Front Panel after you open the VI, and without running it?
See screen captures of the Front Panel without running the VI.
Image 1: Immediately after loading the VI.
Image 2: Selecting a date without running the VI.