Product Feature: Programmer
'qps_SIG_action' is used to get the left time of the specified signal phase in Paramics. Following are the syntax, Description and Parameters of this function.
Syntax:
void qps_SIG_action(NODE* node, int phase, int balance, int action_type, int action_mode, float value);
Description:
This function is used to set the action modification for the selected phase for the given node.
Parameters:
NODE* node -> A pointer to the current node
int phase -> An index to the phase at the given node
int balance -> An index number for the balance phase. A secondary phase whose timings are also adjusted if the phase timings for the primary phase are adjusted and the cycle time for the node is fixed.
int action_type -> An index to the actions type option
int action_mode -> An index to the action mode option
float value -> The new value to set.
Comments:
Action type options are:
Syntax:
void qps_SIG_action(NODE* node, int phase, int balance, int action_type, int action_mode, float value);
Description:
This function is used to set the action modification for the selected phase for the given node.
Parameters:
NODE* node -> A pointer to the current node
int phase -> An index to the phase at the given node
int balance -> An index number for the balance phase. A secondary phase whose timings are also adjusted if the phase timings for the primary phase are adjusted and the cycle time for the node is fixed.
int action_type -> An index to the actions type option
int action_mode -> An index to the action mode option
float value -> The new value to set.
Comments:
Action type options are:
- API_ACTION_HOLD
- API_ACTION_FREE
- API_ACTION_VARIABLE
- API_ACTION_FIXED
- API_ACTION_CURRENT_GREEN
- API_ACTION_NEXT_GREEN
- API_ACTION_MINIMUM_GREEN
- API_ACTION_MAXIMUM_GREEN
- API_ACTION_STORED_GREEN
- API_ACTION_STORED_RED
- API_ACTIONMODE_NONE
- API_ACTIONMODE_SET
- API_ACTIONMODE_INCREMENT
- API_ACTIONMODE_DECREMENT
UPDATED:
October 10, 2019