RunCode - Default Fail
satz
Posts: 17
I have some code that is run in DEFINE_START that works on other AMX controller just fine. On an 700 I get the following errors:
(0000018188) CIpInterpreter::Run - Execute Startup Code
(0000018189) RunCode - Default Fail 0x0000 0x000000
(0000018190) CIpEvent::OnLine 33200:1:3
(0000018190) CIpEvent::OnLine 0:1:3
(0000020790) Memory Available = 24782920 <12856>
(0000025104) Memory Available = 24758184 <24736>
(0000025106) CIpEvent::OnLine 5001:1:3
(0000025106) CIpEvent::OnLine 5001:2:3
(0000025107) CIpEvent::OnLine 5001:3:3
(0000025108) CIpEvent::OnLine 5001:4:3
(0000025109) CIpEvent::OnLine 5001:5:3
(0000028195) RunCode - Default Fail 0x7461 0x00047C
In particular it is the error "Default Fail". In both cases I am using a WAIT statement to then call a subroutine. This exact same code is running in other controllers just fine, including a 3100 and 900. I have also seen some other funky behavior out of this device as well all from DEFINE_START. Attempting to assign a VOLATILE variable a value gets an error as was calling the RANDOM_NUMBER library routine (to wait a random amount of time). All this code also works fine elsewhere.
The NI-700 was upgraded to the latest duet firmware. I just downgraded to 2.96.218 and it still behaves the same (erroneous) way.
Any clues appreciated.
Thanks,
Greg
(0000018188) CIpInterpreter::Run - Execute Startup Code
(0000018189) RunCode - Default Fail 0x0000 0x000000
(0000018190) CIpEvent::OnLine 33200:1:3
(0000018190) CIpEvent::OnLine 0:1:3
(0000020790) Memory Available = 24782920 <12856>
(0000025104) Memory Available = 24758184 <24736>
(0000025106) CIpEvent::OnLine 5001:1:3
(0000025106) CIpEvent::OnLine 5001:2:3
(0000025107) CIpEvent::OnLine 5001:3:3
(0000025108) CIpEvent::OnLine 5001:4:3
(0000025109) CIpEvent::OnLine 5001:5:3
(0000028195) RunCode - Default Fail 0x7461 0x00047C
In particular it is the error "Default Fail". In both cases I am using a WAIT statement to then call a subroutine. This exact same code is running in other controllers just fine, including a 3100 and 900. I have also seen some other funky behavior out of this device as well all from DEFINE_START. Attempting to assign a VOLATILE variable a value gets an error as was calling the RANDOM_NUMBER library routine (to wait a random amount of time). All this code also works fine elsewhere.
The NI-700 was upgraded to the latest duet firmware. I just downgraded to 2.96.218 and it still behaves the same (erroneous) way.
Any clues appreciated.
Thanks,
Greg
0
Comments
You may have to go through and comment out the whole program to find the offending code. Finding that out might lead you to figuring out what's going on.
e
You should definitely get on the phone with tech support on this one.
I would also recommend the call to tech support, but if prefer to continue troubleshooting here, posting the code from your define_start might be helpful.
Jeff
Turns out my recent update to my Parallels Virtual Monitor broke my ability to compile NetLinx on my Mac. Going back to real windows hardware created useful output again. I sent a bug report to the Parallels folks. What a wild and painful ride but hopefully this will help others at some point.
I really wish I would have read this one sooner ! Wow can't believe I have gone this long using Parallels with no major issues and now this, had I not seen this I would still be going crazy ! Hope there is a fix soon
Thanks for the post Satz, any word back from Parallels support on this ? I have also requested a ticket
<start shamless plug>
I hate to say it, but that's why you should use VMFusion... I used to run Parallels, then switched to VMWare, not a single issue. ( okay one that was related to a MOXA USB driver, but that was a little weird anyway. ). I actually run 3 virtual's on my MAC, one for AMX, one for craptron and one for the office machine, and every single one of them works great.. I will say one thing, which virus scanner you have running makes a huge difference too, I now run VIPRE and my performance has increased 2 fold over Mcafee.
< end shamless plug >
Parallels contacted me back regarding this issue and had me follow the following directions and this issue has now been resolved. Pain in the butt, but at least I am back up and running without having to revert back to a PC.
Satz if u got time can u please try this out as well ?
1.> Launch Parallels Desktop, and Start your Guest Operating System[ Windows 7 ].
2.> Please turn off the anti-virus on your Guest Operating System.
3.> Now in Guest Operating System, go to Start=> Control Panel => Programs --> program and feature.
4.> If you find Parallels Tools please uninstall Parallels Tools.
5.> Shut down your Guest Operating System, and Quit Parallels Desktop Application.
6.> Restart Mac.
7.> Please download the Parallels Tools from the article given below and follow the article to install Parallels Tools.
http://kb.parallels.com/en/8296
8.> After the Parallels Tools installation Please restart the Windows.
9.> Please click on Virtual Machine on the Mac menu bar --> Configure --> Options --> Shared Profile --> disable it.