Home AMX User Forum AMX General Discussion

Unknown run time error.

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...

Comments

  • ericmedleyericmedley Posts: 4,177
    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...
  • DHawthorneDHawthorne Posts: 4,584
    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 ...
  • Three Panel Soul

Sign In or Register to comment.