03-09-2017 11:55 AM
Can I change the date and time of my computer from LabWindows. Exits some function to do it?
03-09-2017 12:42 PM
The Windows API provides the function SetSystemTime but I haven't used it myself. For this function call you will need the Full Development System of CVI which provides the windows include files.
03-09-2017 05:23 PM
CVI offers also native SetSystemDate and SetSystemTime functions. Be careful to the cautionary notes evidenced in the help for both commands.
03-09-2017 11:58 PM
it's obvious that I never used these functions
03-13-2017 03:31 AM
One somewhat out-of-CVI alternative is using the command line.
If you have the necessary user rights, you can change system time/date from Windows command line using time and date functions.
See the function help for system(...) and LaunchExecutable(...) functions and search internet for correct command line syntax.
Hope this helps,