Hi
I have been seeing Access violation (0xC0000005) at EIP=0x012B60E6 within a dynamically called VI.
The VI is called by reference and is strictly typed.
The VI controls a function generator, a robot and a microcontroller device.
All of the above are synchronised using functional globals.
If I let the code run the FG will operate so I know the top level dynamic VI has defiantly been called and successfully entered, however within that VI as other VI’s are called (there are many) LV crashes with access violation.
The VI's within the top level VI are using HiD communicatiuoins over USB with the peripheral instrumants.
The LV crashes are totally random and sometimes the code will operate until the end and close down successfully.
I can only seem to guarantee smooth operation if I set a breakpoint within the top level VI, then the entire system runs perfectly.
In fact it seems that even if I remove the breakpoint (after the first break) and close the VI the system will continue to run until close.
Has anyone any ideas? I have run out!