NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
mtetlow
Posts: 4
0 Kudos

Outputting waveform using NI-9269 on cRIO-9114

Brand new to using LabVIEW and compactRIO, and I'm the only person in my lab who knows the basics so I'm on my own with this stuff....

 

I'm trying to output square pulses using the 9269 module and LabVIEW Real-Time. I have a 1D array with the waveform data, and I have tried various array operations and loops to try to send each element to the output variable, but I can't get it to read more than the first value. Right now I have the data array and the output variable inside a timed loop, synchronized to the scan engine with dt 1 and scan period set to 10 ms. I'm guessing there is a simple way to do this but I just don't know the program well enough to find it... Any suggestions would be appreciated.

Member
margasan
Posts: 194
0 Kudos

Re: Outputting waveform using NI-9269 on cRIO-9114

Hello mtetlow

 

Well, in order to generate a square wave yo have to specify the voltage output, and the up time and the down time of the signal. I tried it with a 9074 and a 9263 module and I was able to read the square signal in my PCI 6251

 

See image below:

 

RIO.jpg

Regards

 

Mart G

 

Member
mtetlow
Posts: 4
0 Kudos

Re: Outputting waveform using NI-9269 on cRIO-9114

Thanks a lot! This is working a lot better than what I had. Editing to fit my needs a bit better now, might have more questions later.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page