NEC-VT676 module
Kouya
Posts: 60
This is my first time using a module, from what I'm told I can load the NEC_Projector_Main code and it should run without any changes. I compiled the NEC_Projector_Main and corrected some minor errors then loaded it into a NI2000 and modero panel. Everything loaded fine but I don't see any button pushes and Tx Rx on the RS-232 port of the NI
Could some get me pointed in the right direction
Thanks
Brian
Could some get me pointed in the right direction
Thanks
Brian
0
Comments
Quoting the manual:
I note that you have changed vdvVProj from 41001 to 34001 and relied upon dynamic device discovery instead of explicitly assigning it as in the instructions. I don't know about Duet or this feature so my best advice would be to follow the manual's instructions instead.
I'd guess (without Duet knowledge) that you don't see any serial activity because the comms module instance in the mainline is commented out. I note it is like that in the downloaded code also.
A common misunderstanding is that AMX modules are intended to be installed as is. I imagine this is actually very rare. Since direct control of a projector by the user is generally not desirable, the big complex UI which comprises most of the code supplied is not very useful, except for testing, debugging or illustrating how to use the module.
The gold is the comms module, which you integrate into your own code structure. Then borrow from the UI code the bits and pieces you might need for your UI - possibly nothing.
I believe the minor errors you corrected were not errors. As NMarkRoberts noted you changed vdvVProj from 41001 to 34001. You need to use 41001 because that is in the DUET virtual device range, 34001 is not.
And the reason you are not seeing button pushes is because you changed dvTP = 10001:45:0 to dvTP = 10001:1:0. The TP4 file is using port 45 for all the buttons so you?ll never see a port 1 button push.
And one last clue is when you load the project you posted only one tkn file gets transferred to the master. When you use a DUET module you will see at least a half dozen files get loaded into the master and they are pretty hefty in size. The sample project with the one comm module transfers over 2 Meg of data to the master.
HTH
brian
I have found that the last few modules for nec,have been very bad.
Easier just to use the plain old serial codes.