NI700 Problem
Charles Law
Junior Member
in AMX Hardware
Hi all,
I have an NI-700 controller that was working fine, but all a sudden something strange happened.
Program inside this controller stuck if there is one variable (non volatile) defined in the Define Section.
If that variable is removed, the program back to normal.
Thanks for sharing opinion, if any.
Charles Law
I have an NI-700 controller that was working fine, but all a sudden something strange happened.
Program inside this controller stuck if there is one variable (non volatile) defined in the Define Section.
If that variable is removed, the program back to normal.
Thanks for sharing opinion, if any.
Charles Law
Comments
-
Hi Charles,
You mean, just a clean program with only one variable defined in the define section? -
What is that variable doing? Is it a simple variable, or an array? How big is it? Does the NI-700 run at all when it is defined, or does it not even start up with it defined?
It very much sounds to me like a memory bounds overflow of some sort. Either it is using up too much non-volatile memory, or the data assigned to it is exceeding the memory space allocated. But I would need more details for a more exact opinion.
For a very quick test, Telnet the master and enter the "show mem" command. That will tell you how much non-volatile memory is being used. You may simply not have enough headroom when this variable starts being assigned data. -
Hi,
It is just a simple program like this:
Define Device
dvTP=10001:1:0
Define Variable
Char Test[20] //Variable simply for test
Define Event
Button_Event[dvTP,1]
{
Push:
{
Do something like pulse the i/o
}
}
The program working fine after removal of the test Variable.
Charles -
there doesn't appear to be much there to go wrong.
but, to check, browse to the controller and go to the System window. Check the message log.
when i have over used non-volatile ram i have found in this area a notice stating that. and it stated that the program would not load/run.
so sitting around waiting for things to happen was a waste of time, the processor just simply wasn't going to do anything more.
to get around that problem i now prefix all variables with 'volatile' and i've never run out of ram since.
i use a lot of ram, almost deliberately (hey, the customer paid for it, use it), in creating a unified program that works in almost all configurations. that's how i managed to hit the volatile ram limit.
your sample code looks to simple to create this problem though, but do check the System log anyway.
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums