General Category > Connected meters (SQM-LE/LU/LR/DL)

Windows task scheduler: start/stop recording

(1/1)

admin:
In Windows, you can use the Task Scheduler to start and stop recording.

First make sure that UDM can read your meter and can log data using the Log Continuous feature.
Also, use UDM to determine the MAC address of the meter (on the main page).
Then, close UDM.

Enter the start/stop times into the Windows Task Scheduler. Start the task scheduler as follows:

* Click the Windows "Start" button
* Start typing Schedule Tasks
* select the Schedule Tasks or Task Scheduler program.
Other ways to get to the Task Scheduler are shown here:
https://www.isunshare.com/windows-10/4-ways-to-open-task-scheduler-on-windows-10.html

* Press "Create basic task" on the right side in the Actions window.
* Name: Start UDM
* Next
* Daily
* Enter the desired start time
* Select Start a program
* Click on browse to find the program which is usually located at C:\Users\User\AppData\Local\Programs\Unihedron\udm.exe
* For SQM-LE, Enter additional parameter: -SEM,x -LCM,y -LCR
 where x is the MAC address of the SQM-LE to be monitored, for example: 00204AAF20A2
 where y is the number of minutes between recordings, for example: 5
For SQM-LU, Enter additional parameter: -SUC,x -LCM,y -LCR
 where x is the MAC address of the SQM-LU to be monitored, for example: COM1
 where y is the number of minutes between recordings, for example: 5
More command line definitions found in UDM->Help->Command line information
* Next, Finish
Tasks may not show up in the Task Scheduler library immediately, you may have to close the Task scheduler and re start it.

Then, make another task to stop UDM at a specific time as follows:

* Press "Create basic task" on the right side in the Actions window.
* Name: Stopt UDM
* Next
* Daily
* Enter the desired stop time
* Select Start a program
* Type the following into the program area: taskkill
* Enter additional parameters: /IM udm.exe /F
* Next, Finish
The logged files are stored in your log directory, usually located at: C:\ProgramData\Unihedron\logs

The above was tested with Windows 10 and UDM ver.105.

Navigation

[0] Message Index

Go to full version