5.3 Using the Software Commands
In software, the filter flipper is moved using the motor 'MoveJog' method. This method
contains a parameter 'lJogDir' that takes values from the MOTORJOGDIRECTION
enumeration to specify the direction of the move, '1 ' for cl ockwise and '2' for
counterclockwise.
To read the flipper position, the motor 'LLGetStatusBits' method is used. If bit1 is set
to 1, the flipper is in the upright position, if bit 1 is set to 0, the flipper is horizontal.
See the APTServer helpfile for more details on the use of these functions.
5.4 Creating a Simulated Configuration Using APT Config
The 'APT Config' utility can be used to set up simulated hardware configurations and
place the APT Server into si mulator mode. In this way it is possible to create any
number and type of simulated (virtual) hardware units in order to emulate a set of real
hardware. This is a particularly useful feature, designed as an aid learning how to use
the APT software and as an aid to developing custom software applications 'offline'.
Any number of ' virtual' control units can be combined to e mulate a collection of
physical hardware units For example, an application program can be w ritten, then
tested and debugged remotely, before running with the hardware.
To create a simulated configuration proceed as follows:
1) Run the APT Config utility - Start/All Programs/Thorlabs/APT/APT Config.
2) Click the 'Simulator Configuration' tab.
Fig. 5.2 APT Configuration Utility - Simulator Configuration Tab
3) Enter 'LAB1' in the Configuration Names field.
MFF101 and MFF102 Motorized Filter Flippers
21
Need help?
Do you have a question about the MFF101 and is the answer not in the manual?
Questions and answers