05-24-2006 10:09 PM
05-24-2006 10:10 PM
I'm sorry I wasn't clear. I have more experience with LV8 FPGA than I do LV7 FPGA, but I have programmed in both.
This application is LV7 FPGA cRIO.
Jeff
05-25-2006 06:49 AM
05-25-2006 06:50 AM
05-25-2006 04:33 PM
Troubleshooting is always tough when someone else wrote the
code.
You mentioned a change in hardware. The first thing you need to do is exactly
as you said. Try out a simple reading of the digital line and the analog line.
I am going to guess that it will work. Then go to your prewritten program and
exchange all of the I/O points with new ones. This will re-associate any
hardware changes with the actual existing hardware.
The next big thing about debugging is the lack of debugging tools available due
to the fact that once you compile, download, and run, there is no way to set
breakpoints or probe lines. This "code" is now running independently
in hardware. The best way to probe or change lines is to add controls and
indicators everywhere during development. If you ever think you will want to
change a value make it a control. If you ever want to probe a line create an
indicator off of it. In FPGA controls and indicators on the front panel become
registers for controlling the hardware. This is great for debugging, and then
in the final solution you can remove unnecessary indicators and change control
into constants.
I hope this helps,
Rick Kuhlman
Applications Engineer
05-30-2006 06:46 AM