IsCurrentSequenceFileVersion Method

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

Syntax

Engine.IsCurrentSequenceFileVersion ( FilePath)

Return Value

Long

Purpose

Determines whether the TestStand Engine that saved the specified sequence file is the current version, an older version, or a newer version.

Remarks

The method returns one of the following values:

  • -1 if an older version of the TestStand Engine created the sequence file.
  • 0 if the currently active version of the TestStand Engine created the sequence file.
  • 1 if a newer version of the TestStand Engine created the sequence file.

You can use this method in a sequence editor application that prompts the user before overwriting a sequence file saved in an older format.

Parameters

FilePath As String

[In] Specifies the absolute pathname of the file.


See Also

Engine.MajorVersion

Engine.MinorVersion

Engine.RevisionVersion

Engine.VersionString

WAS THIS ARTICLE HELPFUL?

Not Helpful