Thanks to both of you who've replied.
Quote:
Originally Posted by byteit101
You say labview 3.2, but the screenshot shows you are using C++, no need to update labview
|
I update everything!
Quote:
anhow, the data access exception (which leads to the fatal error) is caused by a pointer error, which are nasty, often hard to find errors due to memory alotment. I try to avoid pointers where they are not needed, there are none in our 2011 code. Try replacing all the pointers with stack variables or references.
From
Code:
type *name = new type()
name->member
to
Code:
type name = type()
name.member
|
I *might* have found the problem in my robot class constructor, per Radical Pi's suggestion. The code in question did use the "->" to call members of a custom PID class though.
I use one of the 2009 control system beta tester teams' code projects as the basis for my code. They use pointers all over the place, and I've not had any issue with the code in this manner until the other day.
I'll keep checking tomorrow to see if the problem returns.