Projector power on & off - PJLink

Moderator: Moderator Group

Projector power on & off - PJLink

Postby azman » Mon Aug 22, 2011 12:33 pm

Hello,

I'm looking at programming an on & off function in widget designer for 2 x installed projectors,

I've been looking at using PJLinkTM protocol with script 'TCPSendHex,'ID','Message'

Has anyone any experience with this? Am i going about this the correct way?

I've noticed some other posts in regards to PJLink but they are in Deutsch & not english

Regards

Az
azman
 
Posts: 92
Joined: Tue Feb 02, 2010 11:43 pm

Re: Projector power on & off - PJLink

Postby Markus Zeppenfeld » Mon Aug 22, 2011 2:13 pm

Hi Az,

here a shortened version of the german thread:

Please find the the manual with the required commands here:
http://pjlink.jbmia.or.jp/english/data/ ... ons100.pdf

- PJLink is a TCP-protocoll which uses port 4352.
- create a TCP connection within the connection manager as single client to your projector
- use this script for switching on the projector:

TCPStart,1
TCPSend,1,%1POWR 1[CR]
TCPStop,1

Experiences with a Panasonic DLP PT-DZ6700E and PJLink is, that the administrator password has to be set to "none".

Hope this helps,
Markus
Markus Zeppenfeld
Senior Product Manager, Pandoras Box

"Have you tried turning it off and on again?" (from "The IT Crowd" / channel 4)
Markus Zeppenfeld
 
Posts: 824
Joined: Wed Mar 02, 2011 10:12 am
Location: Cologne - Germany

Re: Projector power on & off - PJLink

Postby azman » Tue Sep 13, 2011 11:56 am

Hi Guys,

Thanks for the script - works beautifully.

I have one issue - i'm periodically I get a no response from the projectors, I get 'waiting for connection' or 'stopped' in the connection manager
if I reset the network i have control again but after a period on time (several minutes) i can't connect (turn on or off).

I suspect the issue is with the projectors (or even the network) but am hitting a brickwall, any suggestions??

Setup/Install
Projector - Mitusibishi UD8400U x2
Widget Standard
Coolux Server STD

Regards

Az
azman
 
Posts: 92
Joined: Tue Feb 02, 2010 11:43 pm

Re: Projector power on & off - PJLink

Postby Markus Zeppenfeld » Tue Sep 13, 2011 12:06 pm

Hi!

What do you mean with resetting the network?
Do you mean the physical connection or the connection within the Widget Designer?

Maybe it helps to stop and restart the connection via script...

Markus
Markus Zeppenfeld
Senior Product Manager, Pandoras Box

"Have you tried turning it off and on again?" (from "The IT Crowd" / channel 4)
Markus Zeppenfeld
 
Posts: 824
Joined: Wed Mar 02, 2011 10:12 am
Location: Cologne - Germany

Re: Projector power on & off - PJLink

Postby azman » Tue Sep 13, 2011 1:26 pm

Hi Markus,

A physical reset of the network,

I assumed the script was starting connection then sending command then stopping the connection?

Sorry, my experience is with content creation & not So much with i.t. & networking.

Regards

Az
azman
 
Posts: 92
Joined: Tue Feb 02, 2010 11:43 pm

Re: Projector power on & off - PJLink

Postby Markus Zeppenfeld » Tue Sep 13, 2011 1:40 pm

Hi!

As you are setting up the TCP-connection in the connection manager, you have a static connection until you close it. This is like hooking up two computers in a network and not sending any files between them. BUT, the connection is still there as well at the time as it is not used.

The same is between your WD and your projector. The connection manager tells you, that the server and client is "connected". In this state you can send messages whenever you want. In addition there are script to enable and disable the complete connection:

TCPStart,'ID'
TCPStop,'ID'

The ID is the one of your connection.

Maybe this helps, but it could be a hardware / network problem as well...

Markis
Markus Zeppenfeld
Senior Product Manager, Pandoras Box

"Have you tried turning it off and on again?" (from "The IT Crowd" / channel 4)
Markus Zeppenfeld
 
Posts: 824
Joined: Wed Mar 02, 2011 10:12 am
Location: Cologne - Germany

Re: Projector power on & off - PJLink

Postby azman » Tue Sep 13, 2011 2:00 pm

Hi Markus,

Thanks for quick response,

Yes, I have ids set correctly & script is as in the original post.

If I was to remove the TCPstop,1 from my script button would this help?

As stated earlier I suspect this issue is most likely with the projector/network, I'm just troubleshooting till I achieve the correct result.

Regards

Az
azman
 
Posts: 92
Joined: Tue Feb 02, 2010 11:43 pm

Re: Projector power on & off - PJLink

Postby Markus Zeppenfeld » Tue Sep 13, 2011 2:04 pm

Hi Az,

basically there is no need and it is not meant to start and stop the connection for each sending.
You could manually try to stop and restart the connection in the connection manager when the network is failing. If this does not help the script will not help either.
If this doesn't help, I would point as well to the projector and / or network.

Markus
Markus Zeppenfeld
Senior Product Manager, Pandoras Box

"Have you tried turning it off and on again?" (from "The IT Crowd" / channel 4)
Markus Zeppenfeld
 
Posts: 824
Joined: Wed Mar 02, 2011 10:12 am
Location: Cologne - Germany

Re: Projector power on & off - PJLink

Postby kimlg » Tue Oct 04, 2011 5:54 am

HI,

Will this work using a serial link in Manager?

I am working on an installation with 2 Barco R20+k's and am looking at using Manager to turn the projectors on and off.

Thanks

Kim
Kim Louey-Gung
kimlg
 
Posts: 22
Joined: Tue Aug 26, 2008 12:08 pm
Location: Macau

Re: Projector power on & off - PJLink

Postby Markus Zeppenfeld » Tue Oct 04, 2011 5:39 pm

Hi Kim,

this should work with having a serial link device in your timeline, yes. Don't forget to uncheck the "Serial link header" option in the inspector of the device.
as far as I know all Barco Products need to get a carriage return as confirmation, but this should be written in the manual.

Markus
Markus Zeppenfeld
Senior Product Manager, Pandoras Box

"Have you tried turning it off and on again?" (from "The IT Crowd" / channel 4)
Markus Zeppenfeld
 
Posts: 824
Joined: Wed Mar 02, 2011 10:12 am
Location: Cologne - Germany

Re: Projector power on & off - PJLink

Postby kimlg » Tue Oct 04, 2011 8:53 pm

Thanks Marcus,

Ill give it a try.
Kim Louey-Gung
kimlg
 
Posts: 22
Joined: Tue Aug 26, 2008 12:08 pm
Location: Macau

Re: Projector power on & off - PJLink

Postby kimlg » Tue Mar 27, 2012 5:27 am

Hello,

I am struggling to get control of Barco CLM HD-8 through PJLink. I am connected to the unit through Connection Manager but the scripts doesnt seem to work. Can anybody help?

Thanks

Kim
Kim Louey-Gung
kimlg
 
Posts: 22
Joined: Tue Aug 26, 2008 12:08 pm
Location: Macau

Re: Projector power on & off - PJLink

Postby Markus Zeppenfeld » Thu Mar 29, 2012 12:30 pm

Hi Kim,

are you sure that the CLM HD-8 supports PJLink? It definitely supports a web-server for all settings, but this does not mean, that it supports the TCP remoting.
If not, there should be a documentation of all available TCP-commands.
Unfortunately I did not find any more information while having a look here:

http://www.barco.com/en/media_entertain ... atid=12,14

Maybe you will find the documentation somewhere else or easily ask your local Barco distributor.

Markus
Markus Zeppenfeld
Senior Product Manager, Pandoras Box

"Have you tried turning it off and on again?" (from "The IT Crowd" / channel 4)
Markus Zeppenfeld
 
Posts: 824
Joined: Wed Mar 02, 2011 10:12 am
Location: Cologne - Germany

Re: Projector power on & off - PJLink

Postby dolcebrown » Tue Jun 10, 2014 7:45 am

Markus Zeppenfeld wrote:Hi Kim,

this should work with having a serial link device in your timeline, yes. Don't forget to uncheck the "Serial link header" option in the inspector of the device.
as far as I know all Barco Products need to get a carriage return as confirmation, but this should be written in the manual.

Markus



Hi Markus,
Quick question on Serial Link,
I have unchecked the box, however, i still unable to call the barco encore for transition.
how do i get the serial link connected?
Do i just key in the tcp/ip address in the inspector tab or there are other things i have to do beforehand?
dolcebrown
 
Posts: 12
Joined: Mon May 30, 2011 5:30 am

Re: Projector power on & off - PJLink

Postby Dennis Kuypers » Tue Jun 10, 2014 5:29 pm

Hi,

For convenience I have created a little Windows based tool (see attachment). I also added a readme that explains the usage of the TCP Serial Link Device.

Use this tool to control TCP Devices from the timeline by using text. This tool does not support binary data,
however you can add binary bytes to the result of the tool.

1. Add a Serial Device from the Device Types to your project by Drag&Dropping it to the Devices Tab.
2. Select the Serial Device and edit the configuration in the Inspector Tab
2.1. Uncheck "Use Serial Link Header"
2.2. Set the IP and PORT to the Projector/Device you like to control
2.3. Click "Apply IP and Port"
3. Add a new Key on the timeline in the "Com" row of the serial link device
4. Select the Key and (in the Inspector Tab) check "As Hex"
5. Open the "TextToSerialDeviceHex.exe" tool
5.1. Enter the text you like to send into the text box
5.2. If you are using multiple lines of text please select one of the options:
"Use CR LF" adds a carriage return and a line feed to the end of each line (Windows Style) (DEFAULT)
"Use CR only" / "Use LF only" adds only CR or LF to the line end.
6. Copy the text from the lower box (either using the "Copy to clipboard" button or by selecting and copying the text from the textbox)
7. Paste the text in Pandoras Box -> Inspector Tab for the Key you created in (4)


EDIT: File taken down. You can now find it in a separate post: viewtopic.php?f=87&t=3463

Best regards
Dennis
Dennis Kuypers
(former Product Developer, Software)
Dennis Kuypers
coolux Germany
 
Posts: 771
Joined: Thu Jul 05, 2012 12:18 pm


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 16 guests

cron