Page 184 - Open Soource Technologies 304.indd
P. 184
Event Driven Programming
‘ This code assumes that txtField(0) is the only control that was
’ created at design time (you can’t unload it at run time).
Do While txtFields.Count > 1
Unload txtFields(txtFields.UBound)
Loop
A Form object is of type Control; you can also pass a Form as an argument.
Adding the Array synthesis tool in Antenna Magus
Sometime in early in 2009, we all sat around the table and decided that we would be
including an array calculator in Magus, because people kept on asking us: “Can Magus do
arrays?” So it seemed like a feature that a lot of people really needed.
But what does that mean? When people ask whether Magus does arrays, what exactly is it
supposed to do?
To find out, we interviewed people–at the coffee machine, over lunch and more formally
in the boardroom. We asked questions like: What are common arrays? Why would you want
one? How could Magus help you? If we told you that Magus now included an array
calculator, what do you think it would do? Where do you start when you design an array?
Everyone had different answers. Nobody could tell us what they wanted specifically, but at
least we could form an idea of the kinds of things that engineers thought about when
thinking of arrays.
Magus had always included some basic arrays as antennas – like the LPDA, the Yagi, little
2-by-2 patch arrays and later on the slotted waveguide array and our beloved braairooster antenna.
But of course, these antennas have specific shapes and parameters.
Array antennas in the Magus database
178 LOVELY PROFESSIONAL UNIVERSITY