Help with addTriggerConnection error?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 6 de Sept. de 2012
0 votos
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.)
Categorías
Más información sobre Simultaneous and Synchronized Operations en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!