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

Hardware timed digital output (NI PCIe-6351 + BNC-2111)

$
0
0

Hi,

 

I am trying to output two digital pulse trains to act as a TTL signal controlling two lasers. 

 

To do this, I first generate a hardware counter on Dev1/ctr0 at a user defined frequency. This counter then serves as the source (Dev1/Ctr0InternalOutput) for the Digital Output on Dev1/port0/0:7 which uses a user defined 1-D waveform input.

 

The desired output would be:

 

Dev1/port0/0 --> on off on off on off ...      at the desired ctr0 frequency

Dev1/port0/1 --> off on off on off on ...

 

However on my current setup (NI PCIe-6351 + BNC-2111) I don't have direct access to port0 thus I tried outputting the digital signal on Dev1/port1. This gives me an error 201062, indicating port0 does not support hardware timed digital output. (http://forums.ni.com/t5/Multifunction-DAQ/Error-201062-when-performing-continuous-reading-of-a-Digital/td-p/534789)

 

My question is: How would I gain access to the port0 and connect to a BNC connector, via extra hardware or otherwise?

 

and if this is not possible,

 

How would I recreate the above using either an analogue output or using more than one counter (Ctr) outputs?

 

Sorry for the length of the message.

 

Any help would be much appreciated.

 


Viewing all articles
Browse latest Browse all 2167

Trending Articles



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