08-04-2011 01:46 PM
Hi Gang,
The hardware people left me with needing to toggle the DO0 output of the NI 9205. I've looked hard, but haven't found anywhere where the PFIO and/or DO0 pin functionality is described. The I/O part of the application is written using FPGA mode. I'd sure like to be able to control that bit from LabVIEW.
All replies will be welcome!
Thanks,
Roger
Solved! Go to Solution.
08-04-2011 02:19 PM
If you expand the device in your project there should be the pin shown. Drag this to your VI and you'll have write access. Using Scan Mode this way does use 2 FIFOs though, if you have other FPGA code you might not have them available. The only option then is to put DO0 control in the FPGA code.
http://www.ni.com/pdf/manuals/372596b.pdf has a good explaination of it.
08-04-2011 02:32 PM
Are you sure it is the NI 9205. The NI 9205 is a crio Analog input card. It does not have any DIO.
http://sine.ni.com/nips/cds/view/p/lang/en/nid/208800
08-04-2011 02:38 PM
It's not listed in that overview of the device, but the NI 9205 does have DO0 and PFIO pins.
08-04-2011 03:09 PM
You are right. I missed them.
08-04-2011 03:28 PM
Hi Again,
Part of the mystery is that in the FPGA node DO0 (Read: Digital Output 0) can only be configured as an input (Go Figure). The only other boolean item is labeled DIO (I suppose that is the pin labeled FPIO) Which can only be configured as an output (Go Figure some more). Toggling the DO0 does not affect the DIO, which is always high.
I've experimented with method nodes and can't find any way to change the read/write direction. NI's 9205 FPGA example shows it wired the way I have it, but I'll be darned if I know what it does. Methinks this a bug on NI's part.
Uggh, I hope we don't have to redesign the hardware because of this.
All help appreciated,
Roger
08-06-2011 07:15 AM
Okay,
I'm embarrased!
I had inputs and outputs bass-ackward in my head. I took a DVM to the pin.
All is well, except, perhaps, my brain!
Roger