LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9401 Square wave generation

Hi all,

I'm a beginner with Compact Rio and Labview. I'm using cRio9022 and wanting to generate a duty cycle controllable PWM with NI9401 module. I have firstly set up a very simple VI with fixed duty cycle and frequency for the square wave. I aslo configure the NI 9401 ports to be output. But when I measure the output port od 9401, there is nothing there....Can someone help me out? Really appreciate your help.

 

VI.png

0 Kudos
Message 1 of 2
(2,404 Views)

Hi ==8D==,

 

Here is a link which should get you started,

 

http://www.ni.com/white-paper/3254/en

 

From what I can see, your current code is not inside a while loop and you would need to configure the square wave simulator to operate outside of a SCTL if you had not done so.

 

DylanC

Message 2 of 2
(2,385 Views)