Command system.readcard

The command system.readcard is used to read cards.

Parameters

  1. cardvariable [string]
    Variable that will store the card number.
  2. keyvariable [string]
    Variable that will store the value of the key pressed.
  3. timeout [integer]
    Waiting time until the command cancels the operation.
  4. variablereturn [integer]
    Variable that will store the return of the command.

Example


In the example above, the 4 variables will store values that were generated by the command system.readcard. The application will wait for user interaction through a card or by pressing any key during the time set on the property timeout.