ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ1409: question on imgPulseCreate function.

In VC++, I used the following functions to generate some pulse.
errChk(imgSessionTriggerDrive(Sid,IMG_EXT_TRIG0,IMG_TRIG_POLAR_ACTIVEH,IMG_TRIG_DRIVE_UNASSERTED));
imgPulseRate(1000,500,&delay,&width,&timebases);
errChk(imgPulseCreat(timebases,delay,width,IMG_IMMEDIATE,IMG_TRIG_POLAR_ACTIVEH,IMG_EXT_TRIG0,IMG_PULSE_POLAR_ACTIVEH,PULSE_MODE_TRAIN,plsID));

But it always give me the error message:
invalide parameter #1.

What is wrong with the first parameter??

Thanks.
0 Kudos
Message 1 of 3
(2,527 Views)
I also want to know,
1.whether the imgPulseCreate function generate a TTL signal or not, why I can not display it in the 0-5v range by oscilloscope?
2.PULSE_MODE_TRAIN, why it can not display continuous pulse?
0 Kudos
Message 2 of 3
(2,527 Views)
Why I cann't generate continuous pulse by IMAQ1409?
Why the amplitude(value) of the pulse isn't correct?
Pls answer this question!
0 Kudos
Message 3 of 3
(2,527 Views)