Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2147

PCI-6711 Trigger and Generate Different Waveform

$
0
0

I am trying to generate a DC voltage to control an actuator (0-3V). 

 

Basically, when receiving a trigger signal, the board will generate a steady 0V; then for the next trigger signal, it will generate 0.1V and so on until it reaches 3V and then it will start over from 0V.  

 

The trigger signals are roughly 5~10 Hz, and connected to port PFI6.

 

I was trying to find a function to see if the program is triggered or not and if it is, the voltage will increase by 0.1V.  But, I can't find such a function.  

 

I am not pretty sure how to construct the code now.  I would appreciate hearing any thought on this.  Thanks.

 

 

qq.PNG


Viewing all articles
Browse latest Browse all 2147

Trending Articles



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