How to setup MAX to use Pickering's Switches with NI Switch Executive

    Our IVI installation pi40iv.msi places an example driver session (pi40ivSample) into the MAX configuration (see picture below).
    There is also an entry in the Instrument Driver Software Modules folder (pi40iv). All created devices for PI switch modules will relate to these entries.
    Each instrument used must have a valid resource descriptor in the Hardware Assets folder or the "Simulate with" entry field is set to "Specific Driver"
    otherwise an error will occur when creating a Switch Executive Virtual Device.

    The below images might not reflect the latest MAX version.

    Screenshot of MAX, creating a new driver session

    The easiest way to setup MAX for Pickering Interfaces switch modules is to Create a New Driver Session and copy, paste and change the
    appropriate fields from pi40ivSample. This will be described on the following pages.

    Repeat the following described Step 1 to Step 5 for each module to be inserted into the MAX configuration.

    Example: adding PI module 40-548-001 to Switch Executive

    Step 1 - Create IVI Driver Session

    Create New Driver Session by right clicking the Driver Session folder

    Screenshot of creating a new driver session menu
    Screenshot of MAX, inputting the model number

    In the driver's general tab the most important entry is the model description: Model:40-548-001

    The model number entered must match exactly with a model in the Pickering card definition file pi40iv.ini which may be located in the IVI folder system, usually at C:/Program Files/IVI Foundation/IVI/Drivers/pi40iv.

    To simulate the card, select 'Specific Driver' in the 'SImulate With' selection combo box.

    In the driver's hardware tab a hardware asset with the exact resource description for each module has to be selected.

    If required create a new asset and change the descriptor.

    Creating a new asset and changing the descriptor in MAX

    (Don't forget to check the tickbox to select the asset!)

    In the driver's software tab select the pi40iv as the necessary software module.

    Selecting pi40iv as necessary software module

    If you wish to use Virtual Names, these can be defined on the Virtual Names tab.

    Selecting Virtual Names under the Virtual Names tab

    Step 2 - Create IVI Logical Name

    Create New Logical Names by right clicking the Logical Names folder. A driver session for the logical name has to be selected in the consecutive window.

    These logical names will appear in the later defined Switch Executive Virtual Device.

    Step 3 - Create Virtual Device

    Create New Switch Executive Virtual Device by right clicking the Switch Executive Virtual Device folder. Add all necessary devices from the list.
    All system modules which have to be interconnected must be listed in one device.

    Screenshot of MAX creating a new NI Switch Executive Virtual Device

    Step 4 - Edit the Virtual Device, adding aliases

    Edit the IVI channel alias names, check the channels which will be reserved for routing (usually the y-channels). In the example no exclusion are defined.

    Screenshot of MAX editing the virtual device and adding aliases

    Step 5 - Edit the Virtual Device, add routes

    Edit Routes and Route Groups as your connections require.

    Screenshot of MAX editing the routes and route groups


    Launch TestStand. Create a simple test sequence with one test step. Right click the test step and select Properties.

    In the Switching tab the required switching can now be selected.

    Screenshot of TestStand properties

    Need help?


    Search our knowledgebase for information on software drivers, product comparisons and technical support for our entire product range.

    Knowledgebase Wiki

    Product Selector

    Because we offer such a large range of products, this tool will help you narrow down our offering to get you the correct switch and simulation solution you need.

    Try the selector

    Resource center

    From success stories and product videos,
    to product literature and newsletters, find the information you need about our switching and simulation solutions.

    Get the resources you need

    Worldwide presence

    We supply and support our products across the globe, with seven offices in the Americas, Europe and Asia as well as additional representation. 

    Find a local office or agent near you