Unknown run time error.
Jim Johnson
Junior Member
So I've been adding to a program that I did long ago. I like to think that my programming skills have improved. However, I am getting the following error in the internal diagnostics messages:
Line 1 (15:18:35):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 2 (15:18:35):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 3 (15:18:36):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 4 (15:18:36):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 5 (15:18:37):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 6 (15:18:37):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 7 (15:18:38):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 8 (15:18:38):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 9 (15:18:39):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 10 (15:18:39):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 11 (15:18:40):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 12 (15:18:40):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 13 (15:18:41):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 14 (15:18:41):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 15 (15:18:42):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 16 (15:18:42):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
No idea what it means, I've tried commenting out parts of the code to try to isolate it. all to no avail.
Does anybody have any ideas, or a list of possible errors?
The thing is the program seems to run fine, runs at less than 10% cpu. I just don't like errors, they show up at the most inconvenient times.
Thanks...Jim...
Line 1 (15:18:35):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 2 (15:18:35):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 3 (15:18:36):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 4 (15:18:36):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 5 (15:18:37):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 6 (15:18:37):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 7 (15:18:38):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 8 (15:18:38):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 9 (15:18:39):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 10 (15:18:39):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 11 (15:18:40):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 12 (15:18:40):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 13 (15:18:41):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 14 (15:18:41):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
Line 15 (15:18:42):: CIpCodeMan::GetDevChan 3 Error 0x1001 0x0152FE
Line 16 (15:18:42):: RunCode - Address Mismatch 0x4015 0x004015 0x0152FE
No idea what it means, I've tried commenting out parts of the code to try to isolate it. all to no avail.
Does anybody have any ideas, or a list of possible errors?
The thing is the program seems to run fine, runs at less than 10% cpu. I just don't like errors, they show up at the most inconvenient times.
Thanks...Jim...
Comments
-
Well without any code to look at it's pretty hard to guess. But one thing I do notice is that the errors seem to happen in one second intervals. So do you have some kind of wait or timeline going at one second intervals? If so, you might be able to home in a little closer.
-
Ok, I found it...Don't do this:
DEFINE_VARIABLE
VOLATILE INTEGER FLASH
VOLATILE CHAR CURRENT_TIME[8]
DEFINE_PROGRAM
WAIT 3
{
IF (CURRENT_TIME <> TIME)
{
CURRENT_TIME = TIME
PULSE [FLASH]
}
}
Even though it works, it throws errors.
Like I said I wrote this a while ago. It has been properly replaced with a timeline!!
...Jim... -
The only thing I hate worse than trying to figure out someone else's code is trying to figure out my own code from a long time ago. I just don't know what I was thinking ...
-
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums