NEC protocol NP series, identical responses
VMarc
Junior Member
This is probably old news but I just need to vent a little.
Bellow is the 'Response: At the time of a success' for the 'RUNNING STATUS REQUEST', 'INPUT STATUS REQUEST' and 'MUTE STATUS REQUEST', in order, right out of the manual.
20H 85H 01H xxH 10H DATA01 .. DATA16 CKS
20H 85H 01H xxH 10H DATA01 .. DATA16 CKS
20H 85H 01H xxH 10H DATA01 .. DATA16 CKS
and the DATA01 .. DATA16 is not shared among the three like DATA01 to DATA05 is for the mute.
Thinking about it for a couple seconds looks like the only way to handle this is through a flag that tracks which request I've sent.
Bellow is the 'Response: At the time of a success' for the 'RUNNING STATUS REQUEST', 'INPUT STATUS REQUEST' and 'MUTE STATUS REQUEST', in order, right out of the manual.
20H 85H 01H xxH 10H DATA01 .. DATA16 CKS
20H 85H 01H xxH 10H DATA01 .. DATA16 CKS
20H 85H 01H xxH 10H DATA01 .. DATA16 CKS
and the DATA01 .. DATA16 is not shared among the three like DATA01 to DATA05 is for the mute.
Thinking about it for a couple seconds looks like the only way to handle this is through a flag that tracks which request I've sent.
Comments
-
Thinking about it for a couple seconds looks like the only way to handle this is through a flag that tracks which request I've sent.
That's how I've implemented it for a number of devices and it's always worked fine. -
I save the string that I sent for a small amount of time. When a message comes in, its interpretation is based on what is saved. If a message comes in after the amount of time for which I save the sent message, I treat the received message as trash.
Sent from my MB865 using Tapatalk -
I haven't worked with an NEC in AMX world, but for the other guys, I poll for the common data when it's on, and the running sense when it's off. Common data tells you a lot.
-
NEC NP-1250
Does any one experience program NEC NP-1250... i have already set the baud rate at 9600 but i still dont have the power on to work... i set my wait time to 3 1/2 minutes but still its not working,, it will work after a series of push on the button,,,, any ideas.. -
Does any one experience program NEC NP-1250... i have already set the baud rate at 9600 but i still dont have the power on to work... i set my wait time to 3 1/2 minutes but still its not working,, it will work after a series of push on the button,,,, any ideas..
Did you set the baud rate on the projector, or the controller? The default baud rate for NEC projectors is not 9600, you will have to change that on the projector if you want to communicate at that speed.
-Ryan -
Did you set the baud rate on the projector, or the controller? The default baud rate for NEC projectors is not 9600, you will have to change that on the projector if you want to communicate at that speed.
-Ryan
I changed the baud rate on the projector to 9600, the default for NP-1250 is 38400, I have control of the projector, the problem is when it shuts down, I have to push the on button by 5 times to power on. It does not work on 1 push. I tried to send the command for 5 times but it did not work.. you have to push the button physically... -
I changed the baud rate on the projector to 9600, the default for NP-1250 is 38400, I have control of the projector, the problem is when it shuts down, I have to push the on button by 5 times to power on. It does not work on 1 push. I tried to send the command for 5 times but it did not work.. you have to push the button physically...
Check energy saving settings in the projector, sometimes they do weird things to rs232 ports.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums