Help with addTriggerConnection error?
Mostra commenti meno recenti
I have a NI usb daq
I want to plot data from channel 0 continuously, triggered my itself. when i try to use the trigger setup as described in many online documents i've found i get an error that that property does not exist
im using:
s=daq.createSession('ni')
s.addAnalogInputChannel('Dev1','ai0', 'Voltage');
s.addTriggerConnection('external','Dev1/PFI1','StartTrigger')
The last line does not work, and i dont quite understand how to set it up to do what i want.
I'm using R2011b and the error is: no appropriate method, property, or field addtriggerconection for class ni.daq.session.
Risposta accettata
Più risposte (1)
Walter Roberson
il 6 Set 2012
0 voti
addTriggerConnection is new in R2012a.
(You accidentally said you have R2001b, so we are not sure what you have, but if the "b" part is accurate then you must be before R2012a as R2012b is not quite released yet.)
Categorie
Scopri di più su Simultaneous and Synchronized Operations in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!