From: David on 25 Mar 2010 00:12 I'm having the same issue that an unsolved threat in 2004. I'm trying to repeatedly trigger analog input on an ADLINK 2205 board using the hardware trigger input. I can trigger once fine, but then although matlab continues to wait for subsequent triggers it doesn't receive them. I'm using a TTL signal for triggering, and it arrive no faster than 1/s. I set up everything thus: ai = analoginput('mwadlink', 0); addchannel(ai,0); set(ai,'SampleRate',100000) set(ai,'TriggerType','HwDigital') set(ai,'TriggerRepeat',5) set(ai,'SamplesPerTrigger',100) start(ai) After the first, successful, trigger matlab is still waiting for subsequent triggers: >> ai Display Summary of Analog Input (AI) Object Using 'DAQ-2205'. Acquisition Parameters: 100000 samples per second on each channel. 100 samples per trigger on each channel. 0.001 sec. of data to be logged per trigger. Log data to 'Memory' on trigger. Trigger Parameters: 6 'HwDigital' trigger(s). Engine status: Waiting for trigger 2 of 6. 100 samples acquired since starting. 100 samples available for GETDATA. But it never registers them when given. This is not the fault of the DAQ board or drivers because the same repeat triggering works fine with other software. Thanks for the help, David
|
Pages: 1 Prev: Code folding: unable to turn on? Next: tcp/ip communication problem |