GetProgramSerialNum Procedure

Returns the serial number of the current Unit Under Test (UUT).

Syntax

[ sSerNum = ] GetProgramSerialNum ( )

The GetProgramSerialNum procedure syntax has the following parts:

 

Name

Type

Description

sSerNum

BString

UUT serial number

Comments

This function returns a string containing the serial number of the current UUT. The Serial Number string can be set via the current Program's property SerialNumber.

Example

OnInit()

{

If Mid(GetProgramSerialNum( ), 2, 2) = "V3" then

Task 1

Else

Task 2 ! skip first Task

Endif

}

See Also

AProgram.SerialNumber, GetProgLastUpdate, GetProgramName, GetProgramVersion