Time
- Updated2023-02-17
- 4 minute(s) read
Time
Generates a clock that is time-based. With this mode, you can specify how long the clock runs at a high logic level and how long it runs at a low logic level.
The terminal associated with this clock cannot be used for other operations until the clock is cleared with Clear Clock or the session is closed with Close . When this function is invoked, the digital signal on the specified terminal is driven low until the clock starts.
Inputs/Outputs

low time
The desired duration of the logic low state of the clock.

high time
The desired duration of the logic high state of the clock.

session in
The session that you obtain from Initialize.

terminal
The line you would like to generate the clock on.
You cannot use this line for other operations until you clear the generated clock using Clear Clock or close the session.

error in (no error)
error in (no error) accepts error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

status
status is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

code
code identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

source
source specifies the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

start time
The time to start the generated clock.
This time is synchronized with the board time of the module you use to create the clock.
Default value: immediate

stop time
The board time when to stop the generated clock.
This time is synchronized with the board time of the module you use to create the clock.
Default value: never

session out
The session handle that you obtain from Initialize.

coerced low time
The actual duration, in seconds, of the logic low state at which the clock is generated.

coerced high time
The actual duration, in seconds, of the logic high state at which the clock is generated.

error out
error out passes error or warning information out of a VI to be used by other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

status
status is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

code
code identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

source
source specifies the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.