LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does a square wave qualify as a digital signal to be given to the DAQ assistant for NI 9401?

Hi 

I m using ni 9401 with cDAQ 9172. I require a digital pulse train so that I can control the speed of motor by pulse width modulation. So can I supply a square wave using simulate signal option to the DAQ assistant? Does it qualify as digital as the NI 9401 is a digital I/O device.

Thank you for reading

Awaiting a reply.

 

Ashutosh 

0 Kudos
Message 1 of 3
(3,057 Views)

I am stuck at same problem let me know if you have answer

0 Kudos
Message 2 of 3
(2,937 Views)

The simulate signal puts out an analog signal.  But what you can do is use a comparison to change it into a boolean array.

 

Using the default settings for the square wave generation, I recommand converting the dynamic data into a 1D Array of scaler and then use Greater Than Zero? to change it into a boolean array.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,922 Views)