Change Counter Output Terminal in Data Acquisition Toolbox NI

I have a square wave clock provided by an external timing device synchronized to a pulsed laser. I have some labview code which configures a counter output timed pulse channel on my NI DAQ Card. The channel is triggered by the external device by watching a PFI channel and sents the counter output pulse over RTSI to trigger a frame grabber to acquire a synchronised image from a camera.
I'm transitioning thise code over to Matlab.
When I create a counter output in the Matlab version, the "Terminal" property of the resultant object is defined at creation and is protected. For counter 0 it defaults to PFI12, how can I change this to output over RTSI as I can in labview? Is there a good reason this is protected?
Alternatively, is there a smarter way to send an external clock through the DAQ board over RTSI?
Thanks in advance for any help!

Respuestas (0)

Productos

Versión

R2022a

Preguntada:

el 3 de Ag. de 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by