11-15-2016 01:37 PM
Hi guys I'm trying to set up a rtexe (so it's standalone without a host pc) on a CRIO-9035 with XNET. When I run the vi on my development pc the interface leds illuminate to show I'm connected and I can read dbc files. When I create a build spec for my project on my rt target it doesn't work... what am I doing wrong?
Heres: screenshots of my project and code.
Solved! Go to Solution.
11-15-2016 02:30 PM
Hi OA,
When I create a build spec for my project on my rt target it doesn't work... what am I doing wrong?
Several things are wrong here:
1. "it doesn't work" is no good error description…
2. Which errors do you get?
3. Did you try to debug your program?
11-15-2016 03:12 PM
Hi GerdW,
I'm getting no errors whatsoever, I've got all the correct drivers. Tested it on the pc and it works fine but when I create and run a build spec as startup. It seems as though the interface is not communicating?
11-15-2016 03:27 PM
11-16-2016 02:29 AM
Hi GerdW,
I did as you suggested and this is the error I recived from the error cluster. As you can see I have the session in my project and the automatically generated txt file on the crio in the same directory as the startup rtexe. There must be something I'm missing but I just don't know what...
Any help would be appreciated.
11-17-2016 06:46 AM
Ok so I tried to create the session at runtime, and now I recieve this error! Again the interface works on my development pc but not as a rtexe...
Would could be the problem?
11-20-2016 11:53 AM
11-22-2016 09:04 AM
Hi GerdW,
I assume setting up task definitions is to do with Compact Daq and not Compact Rio as all you have in Max is the bus monitor for the specified interface, I have however solved the problem, it is a timing issue. The CAN interface must be passed to the create a session vi before the error wire from the open fpga reference. A small delay fixes the issue.
Thanks for your help.