PULSE vs. SEND_COMMAND 'SPxx' for IR
GasHed
Posts: 31
What is the technical difference between using these two methods to pulse an IR command? Advantages/disadvantages to each?
0
Comments
will queue up three pulses whereas
PULSE[dvIR,??]
doesn't, so you have to create a stack, timeline or nest waits to use it for lots of pulses.
I queue commands in a stack and empty it using SEND_COMMAND dvIR, 'SP??'
just in case my timing is a little quick.
The down side of SEND_COMMAND dvIR, 'SP??' is it has become unreliable in recent firmware updates, so I now have a flag which is used to switch between PULSE and 'SP' when things go weird. I change this flag in a tech page which the user doesn't know about.
You are getting at what prompted me ask the question. I have an NI-3000 with IRL files loaded and it seems that the SEND_COMMAND works sometimes... I switched to PULSE and it works more consistantly/always, but obviously I'd like to be able to take advantage of the SEND_COMMAND queueing.
Pat
SP commands allow the processor manage all of your IR timing, using the CTON and CTOF commands via a DATA_EVENT. Much easier way to code, when it works.
Just a thought.
Sheldon Samuels