Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 2011

changing counter output

$
0
0

I am using NI 6321. I want to create a counter task to output a continuous waveform. ctr0 by default outputs to PFI12 but I need to change it to output to PFI0. I am using C#. I tried using:

 

DaqSystem.Local.DisconnectTerminals("/Dev2/Ctr0InternalOutput", "/Dev2/PFI12");
DaqSystem.Local.ConnectTerminals("/Dev2/Ctr0InternalOutput", "/Dev2/PFI0");

 

And in fact it does output the waveform to PFI0 but it is also outputting it to PFI12 which is connected to something else. How can I get it to stop sending the output to the default terminal?


Viewing all articles
Browse latest Browse all 2011

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>