Analog triggering for ni_pcimio

Hi,

Has anyone done analog triggering for a National
Instruments card?  I've been trying to run a
configuration instruction:
 
insn.insn = INSN_CONFIG;
insn.subdev = subdev_AI;
insn.chanspec = 0;
insn.data = data;
insn.n = 0;

with 

data[0] = INSN_CONFIG_ANALOG_TRIG
data[1] = COMEDI_EV_SCAN_BEGIN | 0x06; // simple level
data[2] = 0;
data[3] = 40000;
data[4] = 60000;
                                                      
                        
but comedi_do_insn() gives errors for this

Any ideas?

Thanks
Andy Corless



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

Received on 2004-08-17Z00:47:06