Starting Function Blocks

To setup when a Function Block begins, choose the "Start" tab in the function block setup area (Figure 1). 


Figure 1: Use the "Start" tab to configure when a function block starts.

There are three ways to start a function block as described in Table 1. 

Start Option Description
Start Immediately (default) The function block starts running immediately after Vehicle Spy is started.
Manual Start The function block is started manually.  This can happen in one of the following ways:
  • Start button in the Function Blocks editor. 
  • A Function Block button on a graphical panel.
  • By another Script function block using the Function Block Action command.
Use Start Expression The function block starts when the Start expression evaluates to true.  Click the fx button to use the Expression Builder to build the expression.  The expression is evaluated every poll cycle.  The poll cycle rate is dependant on the Vehicle Spy Main Loop Time performance setting.

Table 1: Function Block Start Options

The Start option for each function block is displayed in the Start Type column in the function block list area.

At the bottom of the Start tab, a hotkey can be assigned to manually start and stop the function block.  Vehicle Spy also has a feature that automatically assigns hotkeys to start function blocks.  Use the predefined function key "F3" then tap "B" then the number corresponding to the function block you want to start.

  Vehicle Spy Documentation - (C) Copyright 1997-2011 Intrepid Control Systems, Inc.

Last Update: Monday, August 23, 2010