Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate continuous square wave digital output with E series DAQ card

Solved!
Go to solution

Hello,

 

I am using a AT-MIO-16XE-50 DAQ card and labview 6.1 to generate frequency divider. The first thing I want to do is to input a continuous digital signal into the program so I can divide it. The attachment is the program I am using. It is quite straightforward, just read the signal and then output it and put all of them in a while loop to get a continuous pulse. But when I want to observe the waveform on oscilloscope, I got some unregular square waves. 

 

I am still a freshmen to labview. It will be appreciated for any one's help!

0 Kudos
Message 1 of 3
(6,190 Views)
Solution
Accepted by topic author littlexiami

Hi,

 

If you're just getting started with Digital I/O with Traditional DAQ, I would take a look at some of the examples to see how to structure your code to do both input and output.  There is one here (http://zone.ni.com/devzone/cda/epd/p/id/1113) that should give functionality similar to what you are looking for, but if you want more examples you can navigate to the examples by following the article here (http://digital.ni.com/public.nsf/allkb/46D0C7360A10D25F862571B5007B4411), so long as you have installed them along with Traditional DAQ.

0 Kudos
Message 2 of 3
(6,154 Views)

Hi Matt,

 

Thank you for your reply! I will read those materials first. I found the computer is too old and run very slow. This really effect a lot. We will change another computer and have try again.

0 Kudos
Message 3 of 3
(6,136 Views)