02-13-2015 05:46 PM
Greetings,
I'm trying to send write from a host program to an AO "user defined variable" to an NI9264 located in a 9144 Ethercat module, since the 9144 does not support interactive control.
The FPGA vi successfully compiles but I get the error that the user defined variable associated with my AO control does not exist.
I can read values from other modules in the Ethercat 9144 crate from a host pc, but cannot write to the 9264 AO.
Any ideas what I'm doing wrong, other than assuming it is possible to do such a task on a CRio system?
Thanks,
Jim
Solved! Go to Solution.
02-18-2015 04:59 PM
Hi xband,
This error is related to a compilation issue, even if you did not get any error there might have been a warning or some other issue. Have you tried undeploying and deploying again the project ? Other thing that you may try is to copy the files into a new project and recompile.
02-18-2015 05:16 PM
Hi S.,
Thanks for the help. The probelm turned out to be an issue with the setup of the "User Defined Shared Variables." For the Analog Out from the module there is a tab in the Shared Variable properties that needs to be set to "Host to FPGA," for Analog In signals it will be "FPGA to Host."
Simple enough, I had a couple of them configured properly but not all of my AO's, so I had the error. Plus I then had an issue with which bitfile was loading to the FPGA, many things to keep track of, but it seems to be working properly now.
Thanks for your response, I was meaning to enter a solution reguardless.
Jim
02-18-2015 05:17 PM
Funny that the Shared variable seems to be configured properly in the picture I posted, luck of the draw I guess.