PropertyObjectFile.Protection

Syntax

PropertyObjectFile.Protection

Data Type

Long

Purpose

Specifies the protection level applied to a locked file in the sequence editor or applications that use the TestStand User Interface (UI) Controls.

Remarks

Setting this property on a locked file causes an error. Set this property when files are unlocked. This property applies only to sequence files. Setting this property on other files causes an error.

Note TestStand supports password protecting sequence files to discourage editing and viewing within the sequence editor and user interfaces that use the TestStand UI Controls. The TestStand API limits access to a file protected from viewing but cannot prevent access to the file content during execution. National Instruments does not recommend using passwords as the only way of protecting intellectual property.

See Also

PropertyObjectFile.Lock

PropertyObjectFile.Locked

PropertyObjectFile.Unlock

ProtectedObjectOptions