Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Frequency Generator on PCI6221 card?

I am trying to use PCI6221 card to generate 30 KHz frequency sqare wavave, how to do that?
Thanks!
Dasheng Pan
0 Kudos
Message 1 of 2
(2,955 Views)
Hi Dasheng,
There are 3 separate ways to generate a square wave using your M series card.
 
Good: Digital Output
Better: Analog Output
Best: Counter Output
 
There are some great examples for generating a square wave in the LabVIEW Example Finder. A good Analog Output example is located in:
Help>>Find Examples>>Hardware Input and Output>>DAQmx>>Analog Generation>>Voltage>>"Cont Gen Voltage Wfm Int Clk."
 
A good Counter Output example is located in:
Help>>Find Examples>>Hardware Input and Output>>DAQmx>>Generating Digital Pulses. I recommend taking a look at "Generate Dig Pulse Train-Continuous.vi."
 
Regards,
Hal L.
0 Kudos
Message 2 of 2
(2,938 Views)