Things broken in Studio 2.4
DHawthorne
Posts: 4,584
This is what I have noticed in just a day's use, I hope there's not more.
1) Search-and-replace greys out the "Replace in Selection" option if the selection is small enough to automatically fill the search box. Typing a smaller search parameter in the box does not un-grey the option. If you select a large enough block that the search parameter is not automatically filled (welcome change, by the way), it works as expected. It makes sense that you shouldn't do a replace on a selection if the search parameter is the entire selection, but it needs to reset the dialog if you change the search parameter so this is no longer the case. It makes it impossible to fix a repeated typo in smaller selections in one shot.
2) The "Start at top of file" checkbox in all search or replace dialogs doesn't work. It always searches from the cursor position no matter what.
3) Options used in a previous search dialog are no longer retained the next time you use it. I'm ambivalent on this one, because sometimes I found this retention annoying - however, I've gotten used to it and find the omission more annoying.
1) Search-and-replace greys out the "Replace in Selection" option if the selection is small enough to automatically fill the search box. Typing a smaller search parameter in the box does not un-grey the option. If you select a large enough block that the search parameter is not automatically filled (welcome change, by the way), it works as expected. It makes sense that you shouldn't do a replace on a selection if the search parameter is the entire selection, but it needs to reset the dialog if you change the search parameter so this is no longer the case. It makes it impossible to fix a repeated typo in smaller selections in one shot.
2) The "Start at top of file" checkbox in all search or replace dialogs doesn't work. It always searches from the cursor position no matter what.
3) Options used in a previous search dialog are no longer retained the next time you use it. I'm ambivalent on this one, because sometimes I found this retention annoying - however, I've gotten used to it and find the omission more annoying.
0
Comments
ERROR: (0): C10580: Internal Error: Major system error occurred during code generation.
I've rebooted several times and still am getting this error. Can't compile any file. I'm afraid to work on my client files now. Luckily I got this while doing R&D work. Obviously going to have to uninstall this one.
I have verified item 3 as being an issue from the get go and reported it to tech support on Friday.
It is nice to add features and fix bugs, but we should not be going backwards. I hope we don't need to wait long for a simple patch.
On the positive side, many nagging issues have been resovled. Anyone try the new firmware yet? The web interface continues to improve.
Can you email me a screen shot or two?
My email is guy.minervini@amx.com
Yup - that's what's happening - man is that annoying!
I use the "Build Active System" button to get all the code in a system complied, and this has all ways worked well for me in previous versions of Netlinx Studio.
I just upgraged Netlinx Studio to the new 2.4 version and now when i open a workspace, open the master code, make a change, then press "Build Active System" the entire Netlinx Studio Frezzes like it locked up. After about 10 Seconds the screen refreshes and the compile contiunes fine. If i don't make any changes, but run the complier then there is no delay.
Also i have noticed that the loading of workspaces takes much longer than before, as well as the saving of files. Earlier version of Netlinx Studio never took this long and were very quick as far as loading and saving source code. The new version is just very slow at these tasks.
Has anybody else noticed these delays?
I agree - opening/closing/saving source and workspaces takes noticable longer as in Studio 2.3...
I got a stopwatch and did some testing with a project. Mileage may vary.
I double click the workspace file and Netlinx Studio 2.4 takes about 4 seconds to launch and with 2.3 it was pretty much instantaneous. While I?m waiting CPU usage is pegged at 100%.
I then double click the main source code file in the project (135K byte file with 4800 lines) and it takes almost 4 seconds to open and the CPU gets pegged at 100%. Again, with 2.3 I never noticed having to wait at all.
Next I maximize the source code file and grab the scroll bar and try to drag it down quickly to the end of the file. While I?m doing that the scroll bar freezes and the CPU gets pegged again. After it unfreezes it moves down some more and then locks again. After about 4 seconds I?m able to reach the end of the file.
Once I?ve scrolled through the entire file once I can scroll up and down without any problems. But as soon as I ?dirty? the file (by just adding a space on a blank line) I can?t scroll though the entire file without it freezing again. And if I close that file, reopen it (wait 4 seconds again) and then try to scroll to the bottom I have to wait again to get to the bottom.
Next I do a Build Active System. The status window opens immediately and it compiles 762K in about 11 seconds. I close the status window and I ?dirty? the main source code file and then do another Build Active System. The screen freezes and after 8 seconds the status window opens and the code compiles in 11 seconds. Total compile time 19 seconds. During this entire process the CPU is pegged at 100%.
I?ve always found Netlinx Studio to be one of the fasted AMX programs and I?ve been spoiled with the speed. I?d like to revert back to Netlinx Studio 2.3 until someone figures out who?s putting the brakes on version 2.4. Is Netlinx Studio 2.3 on the AMX web site anywhere?
Thanks,
Open workspace:
NS 2.4 ? 4 seconds
NS 2.3 ? a little over 1 second
Open main source code file (135K byte file with 4800 lines)
NS 2.4 ? 4 seconds
NS 2.3 ? less than 1 second (reflexes aren?t fast enough)
Grab scroll bar and drag to bottom of file:
NS 2.4 ? 4 second delay
NS 2.3 ? No delay
?Dirty? main source code file (by adding a space on blank line)
Grab scroll bar and drag to bottom of file:
NS 2.4 ? 4 second delay
NS 2.3 ? No delay
Build Active System
NS 2.4 ? 11 seconds
NS 2.3 ? less than 5 seconds
?Dirty? main source code file (by adding a space on blank line)
Build Active System
NS 2.4 ? 19 seconds
NS 2.3 ? less than 5 seconds
I was also surprised by a significant tkn file size increase. Here are two projects compiled with 2.3 and 2.4. Compile with Debug Info was turned on for both projects.
Project 1 compiled tkn file
NS 2.4 ? 434,910 bytes
NS 2.3 ? 395, 313 bytes
File size increase with 2.4 = 10%
Project 2 compiled tkn file
NS 2.4 ? 1,105,360 bytes
NS 2.3 ? 757,143 bytes
File size increase with 2.4 = 46%
There is good news. The 2005 Chicago White Sox are World Champions! Sorry Cub fans?Not!
The Axcess compiler is broken again. Seems to be the same 'introduced problem with WAITs' that was in - I'm going on memory here - Studio2 V1.1. The symptoms are identical: a section of code that executes after a WAIT (in this case removing commands from a buffer and sending them to an RS232 port) never executes.
I've also gone back to V2.3 - though this hasn't fixed my other problem:
As soon as I installed V2.4 all of the older AMX programs on my laptop stopped working: The DOS programs (eg Axcessx) and the 16 bit windows programs (eg OLDesign.) This may just be a problem with my laptop (doesn't seem to be an issue on my home PC.) Has anyone else seen this problem?
The slower open times may be due to the new feature where the code folding state is remembered; etc...
PROGRAM_NAME='AxcessWaitTest'
DEFINE_DEVICE
RELAY = 7
DEFINE_PROGRAM
WAIT 20
{
[RELAY,1] = ![RELAY,1]
}
(* end *)
If anyone has code that can demonstrate the alleged bug please email it to guy.minervini@amx.com, with instructions for duplicating it.
Thanks in advance...
Those of you with problems, my experience is to take them directly to AMX tech support for verification. Thanks to Guy for working on this one.
What OS are you using? There were some issues with OWL and Windows 2000, that were fixed in in one of the W2K service packs. See http://support.microsoft.com/default.aspx?scid=kb;en-us;299770
That is one of the features of a named wait, but it shouldn't lock up the device.
Please let me know if you find the offending code...
Guy,
My work laptop runs Win XP Pro SP1: but my home PC runs the same OS and doesn't show this problem (though on my home PC the offending programs were installed after V2.4.)
And again, I haven't confirmed this bug is back, just reacting to the possibility. But that was the form it took last time, and the code segment you listed wouldn't have been affected. Try the same thing with your wait named.
I opened a file then collapsed all levels so I see all the function names, but the function I was looking for was gone. The top line of the function was missing from the code but Studio 2.4 still compiled okay.
I knew the line of code was still there just not visable, because if I tryed to add it back Studio would give me an error.
After closing the file and reopening it, the function name reappeared.