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

Export multiple signals from counter at the same time

$
0
0

I am trying to learn digital pulse generation with USB 6212 DAQ card. Following the NI examples, I have the following VI which generates a finite pulse train upon triggering of an external source. I have two questions:

 

1. I am able to output a finite pulse train. However I want to see how excatly the pulse generation works. So I want to route multiple siganls of counter 0, such as source, gate, sample clock, etc, each to a different PFI terminal, to allow viewing them on an oscilloscope at the same time. I would imagine that this could be done by a vi which you specify the signal (source, gate, ....) and output terminal. However for the "export signal" vi I do not see how to specify that which signal to export (I would imagine it to be an enumeration just like choosing a trigger source). And how to export multiple signals?

 

2. Seems another way to export signal is using the property node like in my attached vi. However this is even more confusing to me. In the attached image, seems that the property node of "export signal" is doing toggling at the event of "CtrOut", what exactly does this mean? Is this output the same as "Ctr0InternalOutput"? When I change the delay (set to 0 in the image) of the pulse, the output does not really delay compared to the trigger source. Is this related to that I am outputing something else than the real Ctr0 output? If so, how can I export the real output?

 

Your help would be greatly appreciated. Thank you!

 

Finite pulse tick.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>