Discussion:
Digital Output Delay cRIO 9474
(too old to reply)
DavCas
2006-12-19 21:40:08 UTC
Permalink
I'm working with a compactRIO 9002, chassis 9102 and C-series module NI-9474 with 8 digital outputs.
I try to generate a square signal but when frecuency is less than 50 or 60 Hz, the signal become to distorand it can change from +V to 0.
Data sheets says that "Output delay time" = 1 us, so it seems posible to work with signals of severalkHz.I'm worry about the way to program compactRIO.
I attach the fpga VI and the compactRIO VI, they are two very simple codes.
Thanks for all.


fpga.vi:
http://forums.ni.com/attachments/ni/70/6067/1/fpga.vi


cRIO2.vi:
http://forums.ni.com/attachments/ni/70/6067/2/cRIO2.vi
Castel
2006-12-20 11:40:11 UTC
Permalink
Hi DavCas,
 
you can view information about how to create a square wave on thid web document:
 
<a href="http://zone.ni.com/devzone/cda/tut/p/id/3254" target="_blank">http://zone.ni.com/devzone/cda/tut/p/id/3254</a>
&nbsp;
On attached you can see an example that shows you how you could program the FPGA to achieve the frequences you need.
I've created this very simple example with Labview 8, so if you is using a previous version you can see the FPGA code on the attached image.
&nbsp;
Regards
&nbsp;
MarcoC


code.JPG:
Loading Image...


FPGAcode.vi:
http://forums.ni.com/attachments/ni/70/6070/2/FPGAcode.vi


RTcode.vi:
http://forums.ni.com/attachments/ni/70/6070/3/RTcode.vi
DavCas
2006-12-20 14:40:09 UTC
Permalink
Thank you very much!!!
it was simple and very useful.

Loading...