serial commands/key codes using USB/serial cable in WD

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

serial commands/key codes using USB/serial cable in WD

Postby stagingtech » Mon Feb 19, 2018 11:52 pm

I've been working on a widget that is basically an alternative to Christie's "Power tools." I'm trying to make the COM connections work. I'm currently using a USB to db9 cable as my connection.

I opened up the COM connection manager in Widget designer and added a new connection. widget designer recognized my cable in the port menu as COM3. I matched my settings on my laptop in my device manager (this cable is an edgeport/serial port cable) with the rs232 in settings on the projector.

I chose in my rs232 "in" option menu on my Christie 16K-J projector then matched this in widget designer "COM connection"
baud rate @ 115200
serial flow control(rs232 in) @ none
serial mode (rs232 in) 8N1
serial protocol - not sure if I should choose "christie protocol" or "raw"

In the status window of widget designer, it says "started"

I made 2 custom script buttons. One using christie key commands(that represent buttons on a projector's remote)
COMSend(1,"(KEY44)")

and one that is a custom script (a shutter command in this case)
COMSend(1,"SHU1")

not getting either one of these custom buttons to work but I've validated a connection by having the test window open of the connection I created in the COM manager, then initializing the projector and getting a really crazy message in said test window. Do usb/serial cables have know problems? do these scripts look right? Thanks so much for your help guys!
stagingtech
 
Posts: 2
Joined: Wed Jan 03, 2018 6:44 pm

Re: serial commands/key codes using USB/serial cable in WD

Postby ricky » Tue Feb 20, 2018 12:20 pm

Hi,
have you tried to put also the carriage return command at the end of the script?
Correct Form:
COMSend(1,"SHU1 [CR]")

I hope this helps..

Cheers
--ricky--

Tech Sales, Tech Support & Betatesting Coolux
Molpass srl
http://www.molpass.com
ricky
 
Posts: 125
Joined: Mon Jul 28, 2008 8:43 am
Location: Italy

Re: serial commands/key codes using USB/serial cable in WD

Postby Yvonne Groetzschel » Tue Feb 20, 2018 3:53 pm

Hello,

Did you already try a space key between SHU and 1 and including brackets?
COMSend(1,"(SHU 1)")

Cheers,
Yvonne
User avatar
Yvonne Groetzschel
 
Posts: 42
Joined: Mon Dec 01, 2014 2:10 pm

Re: serial commands/key codes using USB/serial cable in WD

Postby stagingtech » Tue Feb 20, 2018 11:33 pm

Thanks guys! I'll check it out!
stagingtech
 
Posts: 2
Joined: Wed Jan 03, 2018 6:44 pm


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 3 guests