LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I generate a continuous digital output square wave using USB 6343?

Solved!
Go to solution

I need to generate a 600 kHz square wave from my 6343.  The specs indicate that I could use pin P2.0, however I keep getting an error saying it is not supported. 

 

   thanks in advance for your help. 

 

     Jodi

 

 

0 Kudos
Message 1 of 3
(4,142 Views)

Jodi,

 

There are two ways to do this with your 6343.  One would be to use timed digital output, and after specifying the update rate write a pattern which would correspond to a 600 kHz square wave.  Timed digital output is supported only on port 0.  However a much easier approach is to use one of the devices counters generate this signal.  You can specify which terminal to output the signal on via the DAQmx Channel Property node.  Pin P2.0 is also an alias for PFI8, which you would use with the counter.  Have a look at the attached example.

 

Hope that helps,

Dan

0 Kudos
Message 2 of 3
(4,138 Views)
Solution
Accepted by jschwartz100

Dan,

   Thank you so much.  The counter method worked great. 

 

     Jodi

 

 

 

 

0 Kudos
Message 3 of 3
(4,124 Views)