Potential HUGE BUG in Studio!
Spire_Jeff
Posts: 1,917
Short Story:
There is a possible problem with NS2 v2.8 breaking Duet modules.
Long Story:
I have run across a problem and I am not sure what is causing it. First, the hardware in play: I recently switched to a new laptop for programming. I moved from a Dell Latitude D610 running Windows XP Home to a MacBook Pro running OSX 10.5.6 and Parallels 4.0 with Windows XP Home. On the old laptop, I am running NS2 v2.6 with Compiler 2.4.0.1 and Cafe Duet 1.10.198. On the new laptop, I am running NS2 v2.8 with Compiler 2.5.1.10 and Cafe Duet 1.12.204. The code is being used on a NetLinx NI-3100 processor with v3.41.414 firmware.
Now for the problem that I know of: I am connected to an Ademco Vista-128FBP security panel. After uploading some programming changes from the new laptop, (completely unrelated to the security code) I lost communication with the security panel and started seeing SNAPIRouter errors in my diagnostics window. I wasn't sure what changed, but I verified the physical connections to make sure it wasn't a wire problem. I did also with debugging turned on in the module that communication was coming into the processor from the security panel, it just was not being sent to my program through the PASSBACK-1 feature. I did try upgrading from v1.4 of the module to version 1.8, but still no luck. After a call to tech support, I reverted to the sample code that is included with the modules so that only the module code was running. The same problem was still present. I was then told that v1.8 might be having problems and I should revert to v1.7. I reverted to 1.7 and I started getting notifications from the module, but the passback still was not functioning.
After a little thought, I decided to try v1.7 on the old laptop. I loaded it and everything started working properly. I then compiled my entire program on the old laptop. Everything continued to work properly. I have had some other odd problems creep into a project in the last couple weeks, but I was able to work through them by making code changes. In retrospect, I am left wondering if those problems are related to this easily repeatable problem.
Has anyone else had problems with PASSBACK not working, or has anyone else seen SNAPIRouter errors popping up?
Jeff
There is a possible problem with NS2 v2.8 breaking Duet modules.
Long Story:
I have run across a problem and I am not sure what is causing it. First, the hardware in play: I recently switched to a new laptop for programming. I moved from a Dell Latitude D610 running Windows XP Home to a MacBook Pro running OSX 10.5.6 and Parallels 4.0 with Windows XP Home. On the old laptop, I am running NS2 v2.6 with Compiler 2.4.0.1 and Cafe Duet 1.10.198. On the new laptop, I am running NS2 v2.8 with Compiler 2.5.1.10 and Cafe Duet 1.12.204. The code is being used on a NetLinx NI-3100 processor with v3.41.414 firmware.
Now for the problem that I know of: I am connected to an Ademco Vista-128FBP security panel. After uploading some programming changes from the new laptop, (completely unrelated to the security code) I lost communication with the security panel and started seeing SNAPIRouter errors in my diagnostics window. I wasn't sure what changed, but I verified the physical connections to make sure it wasn't a wire problem. I did also with debugging turned on in the module that communication was coming into the processor from the security panel, it just was not being sent to my program through the PASSBACK-1 feature. I did try upgrading from v1.4 of the module to version 1.8, but still no luck. After a call to tech support, I reverted to the sample code that is included with the modules so that only the module code was running. The same problem was still present. I was then told that v1.8 might be having problems and I should revert to v1.7. I reverted to 1.7 and I started getting notifications from the module, but the passback still was not functioning.
After a little thought, I decided to try v1.7 on the old laptop. I loaded it and everything started working properly. I then compiled my entire program on the old laptop. Everything continued to work properly. I have had some other odd problems creep into a project in the last couple weeks, but I was able to work through them by making code changes. In retrospect, I am left wondering if those problems are related to this easily repeatable problem.
Has anyone else had problems with PASSBACK not working, or has anyone else seen SNAPIRouter errors popping up?
Jeff
0
Comments
I?m still using NS2 version 2.5 (2.6 didn?t do anything other than cripple TP download options, 2.7 was very buggy and the last I thought I read is that version 2.8 still has Find and Replace problems introduced in v2.7) so I don?t know if that?s why I?m getting the errors.
Are DUET modules dependent on the version of Netlinx Studio?
Maybe I'll create a new parallels install and load v2.6 to try it out if I have time. That would at least reduce the chance of it being a Mac/Parallels problem.
Jeff
It has always been a curiosity to me, however.
firmware v3.41.414. I tore my hair out for a whole day trying to work out why my code was not processing
level_events for any virtual device.
The problem was solved by rolling the firmware back to v3.30.371
The error has been confirmed by tech support.
Mush
I have found the problem tho. The problem is caused by having Cafe Duet installed. For some reason, the update that is being pushed out by web update is newer than it should be. If your Cafe Duet version is 1.12.204, you are affected. Simply installing the cafe duet platform update that is available and reinstalling NS2 v2.8 fixed the problem.
Jeff
It turns out that the reason AMX couldn?t duplicate my errors is because the PC they were compiling the project with had VA installed on it and the PC I was using doesn?t have VA. I never did find out the specifics but apparently the person who wrote the original module must have made some sort of reference to something that only VA satisfied. Once AMX compiled the project on a PC that didn?t have VA installed they were able to duplicate the problems I was having.
I was giving a new jar file and the null pointer and snapi router exception went away. There were other volume feedback run-time errors in the module that were attributed to the installer using a 9 pin premade cable instead of the documented 3 pin cable requirement.
Once the correct cable was put in place the volume feedback looked like it was getting processed correctly by the module but the level wasn?t getting updated in the virtual device. I was given a firmware Hotfix (v3.41.419) to install on the NI-3000 that should fix the volume feedback level for the virtual device.
Anyway, I?m guessing most of you don?t care about any of this but just in case someone else searches for Anthem on the forum I wanted to document this for them.
The jar file currently on the AMX web site is 298K. The new jar file that works for those that don?t have VA is only 160K. I?m sure the web site will get updated in the near future but if anyone has Anthem issues similar to mine you should contact AMX tech support (who are second to none) to get the new jar file.