Skip to content

SetTimerVal : To set a new time value for a timer

UINT SetTimerVal ( char* strTimerName, UINT nTimeInterval )
```### Description
This function will change the timer value. The timer value and name of timer whose time value is to be changed has to be passed through the parameter strTimerName. The second parameter will take time value. If the timer is running in cyclic mode or next instance of timer is to be fired this function will return FALSE otherwise if will return TRUE.### Inputs
strTimerName - Name of the timer. i.e. OnTimer_Tester_Present_100 nTimeInterval - Time value of the timer.### Returns
1 on success. 0 if the timer is already running or timer name not found BOOL
---
**Authoritative source**: BUSMASTER DITA help source `SetTimerVal.dita`, compiled into `BUSMASTER.CHM` with the application.