10-15-2007 04:16 PM
10-15-2007 05:04 PM
10-16-2007 11:21 AM
10-17-2007 01:10 PM
Hi Auden,
When the actual 9401 is configured by specifying the line direction, the DIO lines are specified to operate in a certain direction. When you set the FPGA I/O node to Read or Write, this is not as explicit as configuring the line directions on the module. For example, if you are writing on a specific line and then you set the I/O node to Read on the same line, then you will basically just be reading what you were telling the program to write earlier. So to sum it up, the configuration properties are the correct way to actually specify a line to have a desired direction. I hope this helps you out with your question and feel free to post back if you have any more questions. Thanks!
10-18-2007 03:58 PM
Thanks Noah and JMota,
That was it - - - I have to configure the lines for either input or output - - - just configuring the "Change to Read/Write" property options are not sufficient.
I THINK NI SHOULD DOCUMENT THIS MORE CLEARLY SOMEHOW THOUGH (would have saved me three days)!!!
But now it works like a charm and I am well on my way here.
Another question:
Now that I have a built Host VI (residing on the cRIO9012) and the FPGA VI, what I want is that when I power on the cRIO9012, that BOTH the Host VI and the FPGA VI start running automatically.
How can that be accomplished?
Thanks
10-19-2007
09:51 AM
- last edited on
04-18-2025
02:34 PM
by
Content Cleaner
Hi rvquartz,
Thanks again for contacting National Instruments. I'm glad that you were able to get that to work. Some of the documentation in the LabVIEW help about the FPGA Module goes through how to configure the directions for those lines, but I do understand how it could get a little confusing. As for your other question, what you can do is just set the Host VI to run on startup and then set the properties for the Open FPGA Reference VI in your Host VI to "Open and Run" instead of just "Open." I have attached a link below that goes through the steps of how to set up your Host VI to run on startup. Thanks and I hope this helps!