Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JVC D-ILA Driver
#11
What version are you on? There was a big change in package format a bit back, and they aren't forward compatible, only backwards. If he's creating a new one and you are on a version before that change, it won't work.
Dean Roddey
Explorans limites defectum
Reply
#12
That's correct - I just imported the driver pack without an issue. I am on v 5.4.906; What error did you see?
Mark Stega
Reply
#13
Okay.  Did the upgrade to latest beta and the import worked fine.  Below is the output with fileverbosity set to high.

2019-12-08 09:59:36.095 [F] Exception in Poll(), ErrorText=The connect was aborted by the other side [Connection aborted]
2019-12-08 09:59:46.115 [F] Exception in Poll(), ErrorText=The connect was aborted by the other side [Connection aborted]
2019-12-08 09:59:56.128 [F] Exception in Poll(), ErrorText=The connect was aborted by the other side [Connection aborted]
2019-12-08 10:00:06.134 [F] Exception in Poll(), ErrorText=The connect was aborted by the other side [Connection aborted]
2019-12-08 10:00:16.144 [F] Exception in Poll(), ErrorText=The connect was aborted by the other side [Connection aborted]
2019-12-08 10:00:26.160 [F] Exception in Poll(), ErrorText=The connect was aborted by the other side [Connection aborted]
2019-12-08 10:00:36.174 [L] m_Power is False, PowerState='Off'
2019-12-08 10:00:36.174 [F] Exception in Poll(), ErrorText=The connect was aborted by the other side [Connection aborted]
2019-12-08 10:00:40.114 [M] Sending: Set Power
2019-12-08 10:00:40.119 [L] Sending:!<89><01>PW1<LF>
2019-12-08 10:00:40.119 [F] Failed to send Set Power message
2019-12-08 10:00:40.119 [L] m_Power is False, PowerState='Off'
2019-12-08 10:00:40.124 [F] Exception in Poll(), ErrorText=The connect was aborted by the other side [Connection aborted]
Reply
#14
That could be that it's not set up to to accept connections. So it just close the connection as soon as it is seen.
Dean Roddey
Explorans limites defectum
Reply
#15
(12-05-2019, 05:02 AM)Mark Stega Wrote:
(12-04-2019, 03:57 PM)jokermac Wrote: Okay, so I played with this some this afternoon and have it working from a PC terminal.  Took a bit to find it but within the user manual it states you need to send a ASCII PJREQ within 5 seconds of connecting or the projector will not acknowledge any commands after that.  Once I did this, I could send power commands and everything worked just like a serial connection.
So where did you find that? It isn't in the protocol document that you linked. Can you post another link please?

[Edit] Never mind, I found yet another JVC protocol guide titled "JVC D-ILA® Projector RS-232C, LAN and Infrared Remote Control Guide" that describes the IP connection methodology.

It was in the main user manual at toward the end of the document.  Without sending this in the 5 sec. timeout it will fail to work.
Reply
#16
Here is the user manual.  Establishing connection via TCP is detailed on page 73.  From there it acts like a regular serial port.

http://www33.jvckenwood.com/pdfs/B5A-2809-01.pdf
Reply
#17
(12-08-2019, 12:25 PM)jokermac Wrote: Here is the user manual.  Establishing connection via TCP is detailed on page 73.  From there it acts like a regular serial port.

http://www33.jvckenwood.com/pdfs/B5A-2809-01.pdf
It will be a few days before I can do anything with this as I am in Vermont skiing until the end of the week.
Mark Stega
Reply
#18
(12-08-2019, 07:10 PM)Mark Stega Wrote:
(12-08-2019, 12:25 PM)jokermac Wrote: Here is the user manual.  Establishing connection via TCP is detailed on page 73.  From there it acts like a regular serial port.

http://www33.jvckenwood.com/pdfs/B5A-2809-01.pdf
It will be a few days before I can do anything with this as I am in Vermont skiing until the end of the week.
I just had a chance to look at my code and I am at the initiation of the ip connection. The failure message indicates that the projector is rejecting the connection attempt. So that means you have the IP address correct. Did you also have the port number correct?

The user manual fails to go into the detail that the connection sequence has to be repeated as after 5 seconds the connection is dropped. That fact is in the first document that you posted.
Mark Stega
Reply
#19
So I guess keep a time stamp in your outgoing message sending method. In the poll, if it's been, say, 4 seconds since the last one, send the keep alive thingy, or maybe 3 to provide some leeway. Of course you need to have a poll time fast enough to keep that semi-accurate as well.
Dean Roddey
Explorans limites defectum
Reply
#20
Okay, I went back and tried again. Maybe I had it set to UDP, but could not tell for sure, since it defaults to that anytime you reconfigure the driver.

It now connects to the projector and I'm able to turn it on. However no commands work after that, including power off. Looking at the log file it appears to think the power state is always off, even after turning it on. The only things I'm really concerned about at this point are power and lens memory. The model I have is the DLA-NX7.


2019-12-11 19:33:07.897 [F] JVC.DLA-RSn-IP-Dev.JVC-Projector.V2.22 Initialization
2019-12-11 19:33:17.947 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:33:27.966 [L] m_Power is False, PowerState='Off'
2019-12-11 19:33:27.971 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:33:31.787 [M] Sending: Set Power
2019-12-11 19:33:31.792 [L] Sending:!<89><01>PW1<LF>
2019-12-11 19:33:31.797 [L] Received: <06><89><01>PW
2019-12-11 19:33:31.797 [M] Received ACK in ProcessMessages(), Value='PowerState'
2019-12-11 19:33:37.986 [L] m_Power is False, PowerState='Off'
2019-12-11 19:33:37.986 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:33:47.996 [L] m_Power is False, PowerState='Off'
2019-12-11 19:33:47.996 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:33:57.996 [L] m_Power is False, PowerState='Off'
2019-12-11 19:33:57.996 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:34:08.007 [L] m_Power is False, PowerState='Off'
2019-12-11 19:34:08.007 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:34:18.026 [L] m_Power is False, PowerState='Off'
2019-12-11 19:34:18.026 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:34:28.046 [L] m_Power is False, PowerState='Off'
2019-12-11 19:34:28.051 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:34:38.066 [L] m_Power is False, PowerState='Off'
2019-12-11 19:34:38.066 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:34:48.076 [L] m_Power is False, PowerState='Off'
2019-12-11 19:34:48.076 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:34:58.086 [L] m_Power is False, PowerState='Off'
2019-12-11 19:34:58.086 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:35:01.886 [L] Ignoring Source message in StringFldChanged() as power is off, Value=HDMI2
2019-12-11 19:35:08.086 [L] m_Power is False, PowerState='Off'
2019-12-11 19:35:08.086 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:35:18.106 [L] m_Power is False, PowerState='Off'
2019-12-11 19:35:18.106 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:35:28.126 [L] m_Power is False, PowerState='Off'
2019-12-11 19:35:28.126 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:35:33.096 [L] Ignoring RemoteControl message in StringFldChanged() as power is off, Value=LensMemory1
2019-12-11 19:35:38.132 [L] m_Power is False, PowerState='Off'
2019-12-11 19:35:38.132 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:35:42.287 [L] Ignoring RemoteControl message in StringFldChanged() as power is off, Value=LensMemory2
2019-12-11 19:35:48.136 [L] m_Power is False, PowerState='Off'
2019-12-11 19:35:48.136 [F] Exception in Poll(), ErrorText=The socket is already connected
2019-12-11 19:35:58.157 [L] m_Power is False, PowerState='Off'
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  LIFX Driver bobskie708 15 5,086 01-05-2020, 11:00 AM
Last Post: simplextech
  Universal Devices ISY Insteon Driver wuench 369 169,225 12-28-2019, 05:15 PM
Last Post: simplextech
  RunTimer2 driver rbroders 18 6,915 10-17-2019, 04:38 PM
Last Post: rbroders
  Writing Driver - Varying commands based on checksum gReatAutomation 3 570 07-22-2019, 01:08 PM
Last Post: Dean Roddey
  Samsung HLxxA750 DLP Beta Driver jrunde 37 20,398 07-19-2019, 01:24 PM
Last Post: gReatAutomation
  Amazon Echo Hue Simulator Driver wuench 123 54,909 07-08-2019, 09:53 AM
Last Post: Dean Roddey
  New Driver - How hard would this be? kblagron 4 1,155 05-20-2019, 11:28 AM
Last Post: zaccari
  Cytech Comfort Driver znelbok 6 1,063 04-10-2019, 05:39 PM
Last Post: znelbok
  OpenHAB Driver whozeawhat 6 2,984 01-16-2019, 06:45 AM
Last Post: greymatter
  XBMC Driver wuench 428 192,394 12-28-2018, 11:07 AM
Last Post: dogman

Forum Jump:


Users browsing this thread: 1 Guest(s)