Charmed Quark Systems, Ltd. - Support Forums and Community
JVC D-ILA Driver - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: Driver Development (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=13)
+--- Thread: JVC D-ILA Driver (/showthread.php?tid=10960)

Pages: 1 2 3 4


RE: JVC D-ILA Driver - Dean Roddey - 12-06-2019

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.


RE: JVC D-ILA Driver - Mark Stega - 12-07-2019

That's correct - I just imported the driver pack without an issue. I am on v 5.4.906; What error did you see?


RE: JVC D-ILA Driver - jokermac - 12-08-2019

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]


RE: JVC D-ILA Driver - Dean Roddey - 12-08-2019

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.


RE: JVC D-ILA Driver - jokermac - 12-08-2019

(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.


RE: JVC D-ILA Driver - jokermac - 12-08-2019

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


RE: JVC D-ILA Driver - Mark Stega - 12-08-2019

(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.


RE: JVC D-ILA Driver - Mark Stega - 12-11-2019

(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.


RE: JVC D-ILA Driver - Dean Roddey - 12-11-2019

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.


RE: JVC D-ILA Driver - jokermac - 12-11-2019

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'