SNVT_ctrl_req

Overview:

Control request.  (receiver ID, sender ID, sender priority.) .   

The network variable of this type is used in a controlling device, to request control permission of a controllable device, addressed by the logical receiver_id number. A controlling device may be an operator keyboard; a PC based control system or a remote control unit. A controllable device may a camera telemetry receiver, a video matrix switch, etc.

The controlling device must use the nciDeviceId assigned, as the value of the SNVT_ctrl_req sender_id. The SNVT_ctrl_req sender_prio must use either the optional nciPriority value assigned, or a priority value supplied from the application.
‘Low priority values’ equals “high priority,” and ‘high priority values’ equals “low priority,” such that ‘1’ is of higher priority than ‘50.’

Standard control devices (e.g., keyboards) in normal control mode must have the priority assigned in the range 1 to 50. The range 51 to 200 is used in alarm control mode. The priority value zero (0) is used to release control.

EXAMPLES

control.receiver_id = 1
control.sender_id = nciDeviceId
control.sender_prio = nciGroupPriority
Physical value = Request controllable device #1, from this controlling device, having the configurable id, nciDeviceId, and configurable priority, nciGroupPriority

Details:

Resource Set: Standard 00:00:00:00:00:00:00:00-0
Index: 148
Obsolete: no
Size: 5
Programmatic Name: SNVT_ctrl_req
Neuron C Type:
Structure
receiver_idReceiver ID.  (ID number.) .   
 
unsigned long
Minimum: 1
Maximum: 65535
Invalid: 0
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
sender_idSender ID.  (ID number.) .   
 
unsigned long
Minimum: 1
Maximum: 65535
Invalid: 65535
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
sender_prioSender priority.  (priority value.) .   
 
unsigned short
Minimum: 0
Maximum: 200
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
Formats:

SNVT_ctrl_req:  text("%d %d %d", receiver_id, sender_id, sender_prio)