IsCorrectPin

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > DBWArm >

IsCorrectPin

Description

This function checks about DBWARM pin correctness

Syntax

call DBWShell("IsCorrectPin User Pin")

Parameters

User

name of the user to check the pin of

Pin

the pin to check

Results

@IS_CORRECT_PIN

1: the pin is correct
0: otherwise

Remarks

The DBWARM must be enabled.

Example

Call dbwshell("IsCorrectPin " & user & " " & pin)

isCorrectPin = DBWResult("@IS_CORRECT_PIN")