Hi all,
I "was" having major performance problems within ARC that was getting worse and worse. The program would lag badly and sometimes lock up and crash. It was driving me nuts. Window 7 was not effected but I could not decide if it was my laptop, win 7 or EZ-B. The problem got worse to the point I couldn't even click on a button or drag a window around within ARC and have it react. Then EZ-B would lock up and the program would crash. I tried to have just ARC running and nothing else. However testing showed Win 7 and other programs would stay up and work nicely. Then I realized that the problem had gotten worse as I added ADC port Value monitors from the Add Control feature. I have 9 ADC Value monitors running now and all were watching different ADC ports on two different boards (I plan to add more soon). Once I clicked the Pause box on all but a few ADC monitor windows all my problems went away and ARC ran perfectly! No lag, no crashes.
Is this usual behavior? Seems like monitoring ADC poets is very intensive for ARC. However when the lagging problem was occurring I was watching a CPU monitor and EZ-B was only using about 60% of core 2 of a dual core CPU. Has anyone else had this issue running more then a few of these monitors? Would a stronger laptop with a better graphs board run these monitors better and without lag? I'm running on an older Dell laptop with a duel core Intel Centrino now.
Now, it's not an issue since I paused most of the monitoring windows. Also now that my B9 project is mostly setup and working without issue I really see no need for the 9 or more ADC monitor windows. But they're really cool to watch as B9 is run by EZ-B.
Thanks, Dave Schulpius
thanks DJ i did not think of that
humm, got to try that. I actually was wondering how to come up with another ADC port. I only have one open port on one of the boards and will need at least 3 more.
How would I make GetADC() see the different values in a different scripts? would I just specify a value where each resistor brings the voltage to on that port?
Thanks for sharing Dave your totally understandable explanation and sounds like DJ is coming up with a creative way to minimize ADC ports. Sounds like a small SDK script using IF GetADC() > ( a value) Elseif(action1) etc.......I know, a bit of programing
but I believe you have done a little before , using given examples and converting them to your more specific needs. I have definately done that and learning along the way
@username - irobot58,
Thanks for the script hint. Yes, this sounds like it may be the answer. I'm certainly going to give it a try.