Static Variables

Dan Gray 7 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 7 years ago 2

I have read the section on Static Variables in the IQAN Design User manual at least a dozen times, but I still don't understand the use of static variables. I have used them to declare and initialize a variable a couple times with good success. A static variable should store a value between application cycles, but I don't know what an application cycle is...is it a reference to system cycle time, power cycle, or if use in a function with multiple states? Thanks,


Now I understand. Thanks for the prompt answer. Thank you.

Satisfaction mark by Dan Gray 7 years ago

The application cycle is the cycle in which the master module application is calculated, the duration of the application cycle is the cycle time defined on the top level properties for the application.