10-20-2008 11:41 AM
Hello,
We 're having problems interfacing RealTime VIs to FPGA indicators. Sometimes it works - other times it doesn't. We're obviously missing something here. Our latest RealTime VI opens the FPGA reference then tries to set the FPGA indicators through Property nodes. No problem reading values from the FPGA VI but when we try to set values from the RealTime VI to the FPGA indicator a 61059 error is generated. Our FPGA has a set of toggle buttons which activates motor control sequences in film strips. Our RealTime VI determines when the FPGA motor control should be activated or turned off.
Below are the full front panels and block diagrams of our RealTime and FPGA VIs. Appreciate any help. Thanks.
-Paul
10-21-2008 11:11 AM
Hi,
What version of labVIEW was your code written in and what version are you trying to run it in?
10-21-2008 03:21 PM
We're using 8.6 but I think that I solved the problem. My co-worker who wrote the VIs started it off as a different project. As the project evolved, he copied the project to a new directory and started a new project. (Bad, Bad, Bad!) LabView of course kept pointing back to the original project directory irregardless. When he couldn't fix the error, I immediately saw that his current project was inconsistent so I made sure that the current project pointed/compiled to the VIs in its directory - not the original project directory. But the error did not go away.
This morning after trying a few things, I just happened to try to switch the RealTime VI's 'Open FPGA Reference' from the FPGA VI file to its compiled Bitfile. LabView prompted me with a warning about a dependency to the original project compiled FPGA Bitfile. (I don't know what this dependency was. The current project pointed to the FPGA VI in its folder and compiled to the same folder. The Project Explorer -> Files Tab showed everything consistent within the current directory.)
Realizing that there was still a consistentency problem, I removed all VIs from the project then added them back in. After re-compiled the FPGA VI, the error disappeared.
The file inconsistency problem has 'burned' everyone here learning LabView. Everyone copies a project without realizing that they're modifing the original folder's VIs - not their copies.
Sorry for the false alarm.
05-12-2009 03:19 PM