Set Pulse Time Q
Ronen
Posts: 55
Hello all,
i'm using a CD-Changer by sony and i use an IR file from the IR database from AMX. when i pulse "Next Track" it would jump 2 tracks forward insted of one.
so, i used SET_PULSE_TIME(1) and now it works fine.
BUT.... now the Pioneer Plasma that i use won't work.... so i need to the following for the Plasma & CD to coexist...
PUSH [dvTP,1]
{
SET_PULSE_TIME(1)
PULSE [dvCDC,CDC_NEXT
SET_PULSE_TIME(5)
}
isn't there a way to set the pulse time for a single IR port insted of all of them?
it will save a ton of work on codes....
Thank you,
i'm using a CD-Changer by sony and i use an IR file from the IR database from AMX. when i pulse "Next Track" it would jump 2 tracks forward insted of one.
so, i used SET_PULSE_TIME(1) and now it works fine.
BUT.... now the Pioneer Plasma that i use won't work.... so i need to the following for the Plasma & CD to coexist...
PUSH [dvTP,1]
{
SET_PULSE_TIME(1)
PULSE [dvCDC,CDC_NEXT
SET_PULSE_TIME(5)
}
isn't there a way to set the pulse time for a single IR port insted of all of them?
it will save a ton of work on codes....
Thank you,
0
Comments
As an alternative, use SEND_COMMANDs to the specific IR device to send pulses which can be configured for a specific duration and delay and therefore are not subject to the global pulse setting. The SP command is used to stack pulses to send to an IR device. It operates on the pulse duration and delay values set for the port using the SEND_COMMAND CTON and CTOF values. It also has a nice side effect in that pulses sent in rapid succession to the IR device are queued and sent out to the device per the duration/delay values. This is handy when sending multiple pulses to a device since it eliminates the need for you to worry about WAITs or TIMELINEs to pace the commands.
Be aware that there are reports of SP stack pulse commands not working properly on certain firmware versions of the NI integrated controllers. Take this into consideration if you plan to convert.
Reese
Reese,
thanks for the help, i will try it tommorw at the costumers house, but it looks great, just what i wanted
DHawthorne,
I don't need to queue up commands, all i need is just a couple of "Push Pulse"
commands to a device...
But, i think i would go with the CP command, i don't want to be called because the IR port got stuck.
Thanks again for the help