Flags to restrict the content of Constants or Variables.
Namespace: ExpSuiteAssembly: FrameWork (in FrameWork.exe) Version: 1.0.0.0
Syntax
Visual Basic |
---|
Public Enumeration VariableFlags |
Members
Member name | Value | Description | |
---|---|---|---|
vfString | 0 | Constant/Variable is a string. See String flags for further restrictions. | |
vfNumeric | 3 | Constant/Variable is numeric. See Numeric flags for further restrictions. | |
vfDirectory | 2 | Constant/Variable is a directory. | |
vfFileName | 1 | 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) | |
vfElectrodeL | 4 | Constant/Variable is a left electrode from Settings/Signal. On default, the AMP is checked to be between THR and MCL. | |
vfElectrodeR | 5 | Constant/Variable is a right electrode from Settings/Signal. See Electrode flags for further restrictions. | |
vfFlagTypeMask | 15 | Mask of the flag type. Use "MyFlags AND vfFlagTypeMask" to retrieve the type of the flag. | |
vfInteger | 16 | Restrict to integer. | |
vfNonZero | 32 | Numeric Flags: Must not be zero. | |
vfMinTimeDelay | 256 | Numeric Flags: Must be positive integer. | |
vfMin | 512 | Numeric/Electrode Flags: Sets a restriction to a minimum value. Use the Min parameter to set the range. | |
vfMax | 1024 | Numeric/Electrode Flags: Sets a restriction to a maximum value. Use the Max parameter to set the range. | |
vfOffsetDependent | 2048 | Numeric Flags: The value is dependent on the Offset parameter in Settings/Procedure. | |
vfVectorized | 4096 | Electrode Flags: Content can be a vector of electrodes, separated by blank or semicolon (not both!). | |
vfNoTHRCheck | 16 | Electrode Flags: Do not check the AMP field to be higher then the THR field (from Settings/Signal) | |
vfNoMCLCheck | 32 | Electrode Flags: Do not check the AMP field to be higher then the MCL field (from Settings/Signal) | |
vfNonEmpty | 16 | String Flags: Content must not be empty. | |
vfEnumeration | 32 | String 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 ; | |
vfCaseSensitive | 64 | String Flags: Content is case sensitive. | |
vfUpperCase | 128 | String Flags: Content will be converted to upper case. | |
vfLowerCase | 256 | String Flags: Content will be converted to lower case. | |
vfAbsolute | 0 | File name Flags: Absolute file name including path name. | |
vfRelativeDataDir1 | 16 | File name Flags: File name, relative to the data directory #1 (index = 0) | |
vfRelativeDataDir2 | 32 | File name Flags: File name, relative to the data directory #2 (index = 1) | |
vfRelativeDataDir3 | 48 | File name Flags: File name, relative to the data directory #3 (index = 2) | |
vfRelativeDataDir4 | 64 | File name Flags: File name, relative to the data directory #4 (index = 3) | |
vfRelativeDataDir5 | 80 | File name Flags: File name, relative to the data directory #5 (index = 4) | |
vfRelativeDataDir6 | 96 | File name Flags: File name, relative to the data directory #6 (index = 5) | |
vfRelativeDataDir7 | 112 | File name Flags: File name, relative to the data directory #7 (index = 6) | |
vfHidden | 16384 | System Flags: Constant will be hidden. Works for Constants only, use vfDisabled for Variables instead. | |
vfDisabled | 32768 | System Flags: Constant/Variable will be disabled. | |
vfLinked | 65536 | Link 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.