How to take control of Panasonic PT-AE4000 via RS232C from the Windows commandline
Napsal K5
Středa, 24. únor 2010
As I announced in my previous post, I'm developing an usable script to command or query the Panasonic projectors PT-AE4000E and PT-AE4000U via RS-232C from the Windows. And now, I release the script and examples of use.
You can download (use right mouse button and select Save as...):
The projector_serial_terminal_control.vbs script command-line parameters: /P:number - number represents the serial port number (1-255). Default: 1 (COM1:) /B:params - serial port parameters (bauds,partity,bits,stop bit). Default: 9600,N,8,1 /C:command - command to send. Default: QPW /L:"logfile" - "logfile" represents the output file for the projector's response logging. Default: none /M:? - R/A (Replace/Append) for "logfile" if exists. Default: R /U:? - Y/N query user before action. Default: Y /A:? - Y/N filter output as printable ASCII into "logfile". Default: Y /X:? - Y/N if the object MSCOMMLib is not present in the system, parameter Y allows automatic installation process of ActiveX component MSCOMM32.OCX and script do not asks user to permit this act. Default: N /V:? - verbose level: 0 - no infos, otherwise show messages by bit: 1 (bit 0) - errors 2 (bit 1) - runtime infos 4 (bit 2) - projector responses 8 (bit 3) - overall dialog at end Default: 15 (8+4+2+1=0001111b)