Annoying Notifications Error with IP Control
d_gavin
Posts: 21
Does anyone know what this Notifications Error means? And if so, how can you get rid of it?
Line 2 (16:13:17):: SetArrayCurrent - Error 3 Tk=0x1003
Cheers,
Dan
Line 2 (16:13:17):: SetArrayCurrent - Error 3 Tk=0x1003
Cheers,
Dan
0
Comments
Check through the source files being used to compile the system and see if there are any array operations being performed on line 2 of one of them. Obviously you're stuck if the error is being thrown by a third party NetLinx module that you're using though.
I'm sorry, but you've sent the poster on a wild goose chase. If he followed your advice. Line 2 refers to the second line in the Diagnostics window he was looking at. For example:
As another tangent, that module error message I included in my example above... I reported it as a bug to tech support about a year ago. The module AMX_Matrix_MiSeries_Comm_dr1_0_1 repeatedly reports this error message when used with a Matrix DAS-D0404. This is still the current version of the file, and the correct module to use for the device. The firmware version is different for the DAS series vs. the MI series, which I think is probably why the error message is being generated.
I was thinking of console/log messages in the formats:
and
There's likely a line preceding the notification entry which the OP posted indicating the affected source code line number such as:
(I can only help so much with the partial information provided, but I'm glad you picked up my mistake.)
Incidentally, using set_length_array or set_length_string to set the current size of an integer array beyond its bounds generates neither compiler warning, error or runtime error so that's a bum steer too.
@d_gavin:
I know I've seen SetArrayCurrent runtime errors like the one you posted before, but I can't remember the cause.
If you post your code or send it to me as a link in a PM I'll take a look and see if I can help.
Sorry, if I came off sounding like a douche. I do that sometimes. You are correct that the code line number should have appeared in the diagnostics line preceding what the OP copy/pasted in the post.