Skip to content

Add a VHL file to the configuration

If you use VHL commands in your application, you need a VHL file. This file contains card-type-specific information, i.e. the memory location you want to access on the card. Here's how you add a VHL file to your reader configuration.

Supported card types

You can create VHL files for the following card types:

  • EMarine
  • HITAG
  • ISO 15693
  • LEGIC
  • MIFARE Classic

For other card types, please get in touch with us.

Add a VHL file component

  1. Open BALTECH ConfigEditor.

    If you haven't installed it yet, you can download it here as part of BALTECH ToolSuite.

  2. In the popup window, click Open and select the BALCFG file of your existing configuration.
    Screenshot: Open an existing configuration (BALCFG format) in BALTECH ConfigEditor

    If you don't have a configuration file yet, create a new one.

  3. Click Extend Configuration.

  4. Navigate to the card type you want to add and select VHL Card Access Parameters.
    Screenshot: Example menu path to add Autoread a VHL file in BALTECH ConfigEditor

Fill out VHL file

In the VHL file, specify the memory location you want to access and, if applicable, the encryption key(s) needed. The structure of a card's memory highly depends on the card type. If needed, you can analyze the card structure of a LEGIC or MIFARE card using BALTECH ID-engine Explorer.

You're done? Here's how you can test your VHL file.