Flags to restrict the content of Constants or Variables.

Namespace: ExpSuite
Assembly: FrameWork (in FrameWork.exe) Version: 1.0.0.0

Syntax

Visual Basic
Public Enumeration VariableFlags

Members

Member nameValueDescription
vfString0 Constant/Variable is a string. See String flags for further restrictions.
vfNumeric3 Constant/Variable is numeric. See Numeric flags for further restrictions.
vfDirectory2 Constant/Variable is a directory.
vfFileName1 Constant/Variable is a file name. See Filename flags for further restrictions. Use the Unit parameter to set the file name mask (e.g. *.txt)
vfElectrodeL4 Constant/Variable is a left electrode from Settings/Signal. On default, the AMP is checked to be between THR and MCL.
vfElectrodeR5 Constant/Variable is a right electrode from Settings/Signal. See Electrode flags for further restrictions.
vfFlagTypeMask15 Mask of the flag type. Use "MyFlags AND vfFlagTypeMask" to retrieve the type of the flag.
vfInteger16 Restrict to integer.
vfNonZero32Numeric Flags: Must not be zero.
vfMinTimeDelay256Numeric Flags: Must be positive integer.
vfMin512Numeric/Electrode Flags: Sets a restriction to a minimum value. Use the Min parameter to set the range.
vfMax1024Numeric/Electrode Flags: Sets a restriction to a maximum value. Use the Max parameter to set the range.
vfOffsetDependent2048Numeric Flags: The value is dependent on the Offset parameter in Settings/Procedure.
vfVectorized4096Electrode Flags: Content can be a vector of electrodes, separated by blank or semicolon (not both!).
vfNoTHRCheck16Electrode Flags: Do not check the AMP field to be higher then the THR field (from Settings/Signal)
vfNoMCLCheck32Electrode Flags: Do not check the AMP field to be higher then the MCL field (from Settings/Signal)
vfNonEmpty16String Flags: Content must not be empty.
vfEnumeration32String Flags: Content must be chosen one from a list given in Unit string. Use the Unit parameter to set the list of atoms selected by ;
vfCaseSensitive64String Flags: Content is case sensitive.
vfUpperCase128String Flags: Content will be converted to upper case.
vfLowerCase256String Flags: Content will be converted to lower case.
vfAbsolute0File name Flags: Absolute file name including path name.
vfRelativeDataDir116File name Flags: File name, relative to the data directory #1 (index = 0)
vfRelativeDataDir232File name Flags: File name, relative to the data directory #2 (index = 1)
vfRelativeDataDir348File name Flags: File name, relative to the data directory #3 (index = 2)
vfRelativeDataDir464File name Flags: File name, relative to the data directory #4 (index = 3)
vfRelativeDataDir580File name Flags: File name, relative to the data directory #5 (index = 4)
vfRelativeDataDir696File name Flags: File name, relative to the data directory #6 (index = 5)
vfRelativeDataDir7112File name Flags: File name, relative to the data directory #7 (index = 6)
vfHidden16384System Flags: Constant will be hidden. Works for Constants only, use vfDisabled for Variables instead.
vfDisabled32768System Flags: Constant/Variable will be disabled.
vfLinked65536Link Flags: Use this flag to link variables to each other by multiplying this flag with the (index+1) of the linked variable. E.g. If the Amplitude is the third variable (gvarExp(2)) and you want to link Electrode to Amplitude, then the flag will be: vfLinked * 3. The link only to the first 15 variables is allowed.

Remarks

Select the type of content (string, numeric, directory of file name) and then use a proper restriction. The Variables can be linked to each other, which means, that number of values in one variable must match the number of values in another one. E.g. link Amplitude and Electrode, if for every electrode another amplitude must exist.

See Also