someone please tell me I am not crazy
nastables
Junior Member
Hi all could someone look over this little bit of IR code i have issues where the port 8 lights up when the buttons are pressed but doesnt control the vcr in question .. and suggestions (buy the way this is just a code to try to get rid the issue..
PROGRAM_NAME='nigetry'
define_device
IR = 8
TP = 128
define_constant
play = 1
Stop = 2
Pause = 3
rew = 4
ffd = 5
rec = 7
define_variable
define_start
define_program
Push[tp,1] pulse [IR,play]
push[tp,2] pulse [IR,stop]
push[tp,3] pulse [IR,pause]
push[tp,4] pulse [IR, REW]
push[tp,5] pulse[IR,ffd]
PROGRAM_NAME='nigetry'
define_device
IR = 8
TP = 128
define_constant
play = 1
Stop = 2
Pause = 3
rew = 4
ffd = 5
rec = 7
define_variable
define_start
define_program
Push[tp,1] pulse [IR,play]
push[tp,2] pulse [IR,stop]
push[tp,3] pulse [IR,pause]
push[tp,4] pulse [IR, REW]
push[tp,5] pulse[IR,ffd]
Comments
-
I just tried the code and it seems to work ok (adjusting the port number to match my master). If the IR file loaded into the IR device does not have anything matching the selected channel, however, nothing goes out.
Have you loaded an appropriate IR file into the device?
Harold -
Forgot something.
I'm assuming you are on an Axcent master. For Netlinx, you might have to change your device declaration to something like:
dvIR = 5001:8:0
or whatever as appropriate. In my case, I have an NI700 and
IR = 3
doesn't work but:
IR - 5001:3:0
does. -
Thankyou Hedburg I have some progress
As I play moreI find the code works .. but only on odd numbered ports
I can download to 8 (doent work) 9,11,13 do work 10 12 14 16 cant download to
ever seen anything like that? any thoughts on a solve? -
Very strange
I've had dead IR ports before but never like that.
Try using the actuate function in IREdit.
Try dumping the same IR file which you have tested that works for the odd IR ports in the even IR ports. Also use an emitter which you have tested that works.
You are only crazy if the people in your head say you are -
You are only crazy if the people in your head say you are
Oh, man, I'm in trouble.
Harold -
Have for whatever reason have the IR ports carrier been turned off?
-
Good thinking Thomas.
Also make sure it is set to ir mode.
I got caught out by that once when using a second hand axcent.
send these commands to each ir port
SEND_COMMAND dvIR, 'SET MODE IR'
SEND_COMMAND dvIR, 'CARON'
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
