Extron electronics IN1508 Скачать руководство пользователя страница 8

 

Professional Control Solutions LLC 

 3804 Parchment Circle 

 Richmond, VA 

 23233-7034 

804-364-3809 

 [email protected] 

 

Adding Functions to Modules 

Commands to the device 

This module supplies a mechanism to allow additional device features to be added to software using the 
module.  This is the ‘PASSTHRU=‘ command, which allows protocol strings to be passed through the 
module.  The device-specific protocol must be known in order to use this feature.  
 
As an example, suppose that a module for a projector has not implemented the 'white balance adjustment' 
feature.   The command that the projector protocol requires is 03H, 10H, 05H, 14H, followed by a 
checksum.   The documentation for the ‘PASSTHRU=‘ command specifies that the module will 
automatically generate the checksum.   In this case, the following string should be sent from the UI code 
to implement 'white balance adjustment'. 
 
send_command vdvDevice, "'PASSTHRU=',$03,$10,$05,$14"    
 
The reason to use ‘PASSTHRU=‘ instead of sending a protocol string directly to the device port is that 
the device may require command queuing, calculation of checksums, or other internal processing, which 
would not be done if the string was sent directly. Because of this, it is best to filter all communication TO 
the device through the module. (The module documentation will indicate any processing that will be 
automatically done to the ‘PASSTHRU=‘ command like checksum calculation.) 

Responses from the device 

The module will automatically interpret replies from the device and pass these on to the application code 
according to the documented API.  Some device replies may not be passed on to the application code.  
 
 

Содержание IN1508

Страница 1: ...Professional Control Solutions LLC 3804 Parchment Circle Richmond VA 23233 7034 804 364 3809 PCS_LLC comcast net NetLinx Module Interface Specification for Extron IN1508 Switcher Scaler...

Страница 2: ...on 3 Overview 3 Implementation 3 Port Mapping 4 Channels 5 Levels 5 Command Control 6 Command Feedback 7 Device Notes 7 Programming Notes 7 Adding Functions to Modules 8 Commands to the device 8 Respo...

Страница 3: ...erview The COMM module translates between the standard interface described below and the switcher serial protocol It parses the buffer for responses from the switcher sends strings to control the swit...

Страница 4: ...ation the device ID of the switcher to be controlled and the virtual device ID for communicating to the main program For an example of how to do this see below DEFINE_DEVICE dvSwt 5001 1 0 serial cont...

Страница 5: ...ion 24 PULSE Ramp Volume Up 1db 25 PULSE Ramp Volume Down 1db 26 PULSE Cycle Volume Mute 199 ON Set Volume Mute On used for feedback also OFF Set Volume Mute Off 251 ON Device is Online used for feedb...

Страница 6: ...gramming Notes section value 0 set all messages off 1 set all messages on DEBUG 1 PASSTHRU string Allows user the capability of sending commands directly to whatever unit is attached with minimal proc...

Страница 7: ...ll messages off 1 set all messages on DEBUG 1 SWITCH input Reports the input channel that is currently connected to the output channel This string is sent in response to the CL command being successfu...

Страница 8: ...e module will automatically generate the checksum In this case the following string should be sent from the UI code to implement white balance adjustment send_command vdvDevice PASSTHRU 03 10 05 14 Th...

Отзывы: