Variable Properties

Requires: Base Development System

View the class hierarchy.

Use these properties to configure shared variables. You also can use the Variable Reference property with the Variable properties to configure shared variables programmatically. Changes you make using the Variable properties take effect after you save the project library. These properties are similar to the options on the Variable page of the Shared Variable Properties dialog box.

PropertyDescription
Alarming:BadStatus:Ack TypeGets or sets how the Bad Status alarm for a shared variable is acknowledged. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:BadStatus:Allow LogIf TRUE, LabVIEW enables alarm logging for the Bad Status alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:BadStatus:AreaGets or sets a descriptive area name for the Bad Status alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:BadStatus:DescriptionGets or sets the description of the Bad Status alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:BadStatus:EnabledIf TRUE, LabVIEW enables the Bad Status alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:BadStatus:NameGets or sets the name of the Bad Status alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:BadStatus:PriorityGets or sets the priority of the Bad Status alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Boolean:Ack TypeGets or sets how the DISCRETE alarm for a shared variable is acknowledged. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Boolean:Alarm OnGets or sets whether a shared variable is in alarm state when the value is either high (TRUE) or low (FALSE). To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Boolean:Allow LogIf TRUE, LabVIEW enables alarm logging for the DISCRETE alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Boolean:AreaGets or sets a descriptive area name for the DISCRETE alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Boolean:DescriptionGets or sets the description of the DISCRETE alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Boolean:EnabledIf TRUE, LabVIEW enables the DISCRETE alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Boolean:NameGets or sets the name of the DISCRETE alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Boolean:PriorityGets or sets the priority of the DISCRETE alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:EnabledIf TRUE, LabVIEW enables alarming for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Event On Data ChangeIf TRUE, LabVIEW sets an event for a shared variable when data changes. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Event On User Input OnlyIf TRUE, the value change event is generated on user input only. The default is TRUE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Hi:Ack TypeGets or sets how the HI alarm for a shared variable is acknowledged. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Hi:Allow LogIf TRUE, LabVIEW enables alarm logging for the HI alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Hi:AreaGets or sets a descriptive area name for the HI alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Hi:DeadbandGets or sets the HI alarm deadband as a percentage of the full scale range. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Hi:DescriptionGets or sets the description of the HI alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Hi:EnabledIf TRUE, LabVIEW enables the HI alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Hi:LevelGets or sets the value, in engineering units, that evokes the HI alarm condition for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Hi:NameGets or sets the name of the HI alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Hi:PriorityGets or sets the priority of the HI alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:HiHi:Ack TypeGets or sets how the HI_HI alarm for a shared variable is acknowledged. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:HiHi:Allow LogIf TRUE, LabVIEW enables alarm logging for the HI_HI alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:HiHi:AreaGets or sets a descriptive area name for the HI_HI alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:HiHi:DeadbandGets or sets the HI_HI alarm deadband as a percentage of the full scale range. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:HiHi:DescriptionGets or sets the description of the HI_HI alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:HiHi:EnabledIf TRUE, LabVIEW enables the HI_HI alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:HiHi:LevelGets or sets the value, in engineering units, that evokes the HI_HI alarm condition for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:HiHi:NameGets or sets the name of the HI_HI alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:HiHi:PriorityGets or sets the priority of the HI_HI alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Lo:Ack TypeGets or sets how the LO alarm for a shared variable is acknowledged. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Lo:Allow LogIf TRUE, LabVIEW enables alarm logging for the LO alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Lo:AreaGets or sets a descriptive area name for the LO alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Lo:DeadbandGets or sets the LO alarm deadband as a percentage of the full scale range. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Lo:DescriptionGets or sets the description of the LO alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Lo:EnabledIf TRUE, LabVIEW enables the LO alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Lo:LevelGets or sets the value, in engineering units, that evokes the LO alarm condition for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Lo:NameGets or sets the name of the LO alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:Lo:PriorityGets or sets the priority of the LO alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:LoLo:Ack TypeGets or sets how the LO_LO alarm for a shared variable is acknowledged. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:LoLo:Allow LogIf TRUE, LabVIEW enables alarm logging for the LO_LO alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:LoLo:AreaGets or sets a descriptive area name for the LO_LO alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:LoLo:DeadbandGets or sets the LO_LO alarm deadband as a percentage of the full scale range. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:LoLo:DescriptionGets or sets the description of the LO_LO alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:LoLo:EnabledIf TRUE, LabVIEW enables the LO_LO alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:LoLo:LevelGets or sets the value, in engineering units, that evokes the LO_LO alarm condition for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:LoLo:NameGets or sets the name of the LO_LO alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:LoLo:PriorityGets or sets the priority of the LO_LO alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:RateOfChange:Ack TypeGets or sets how the Rate of Change alarm for a shared variable is acknowledged. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:RateOfChange:Allow LogIf TRUE, LabVIEW enables alarm logging for the Rate of Change alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:RateOfChange:AreaGets or sets a descriptive area name for the Rate of Change alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:RateOfChange:ChangeGets or sets the value that a shared variable value must change in the specified time to trigger the Rate of Change alarm. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:RateOfChange:DescriptionGets or sets the description of the Rate of Change alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:RateOfChange:EnabledIf TRUE, LabVIEW enables the Rate of Change alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:RateOfChange:NameGets or sets the name of the Rate of Change alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:RateOfChange:PriorityGets or sets the priority of the Rate of Change alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:RateOfChange:TimeGets or sets the amount of time, in milliseconds, in which a shared variable value must change at least the value of the Alarming:RateOfChange:Change property to trigger the Rate of Change alarm. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:Ack TypeGets or sets how the BIT_ARRAY alarm for a shared variable is acknowledged. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:Alarm OnGets or sets whether a shared variable generates an alarm when any bit (1) is in alarm state or only when all bits (0) are in alarm state. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:Allow LogIf TRUE, LabVIEW enables alarm logging for the BIT_ARRAY alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:AreaGets or sets a descriptive area name for the BIT_ARRAY alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:DescriptionGets or sets the description of the BIT_ARRAY alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:EnabledIf TRUE, LabVIEW enables the BIT_ARRAY alarm for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:InvertMaskGets or sets which bits of a shared variable alarm on high, 1, and which bits alarm on low, 0. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:NameGets or sets the name of the BIT_ARRAY alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:PriorityGets or sets the priority of the BIT_ARRAY alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Alarming:U32BitField:Select MaskGets or sets which bits LabVIEW uses to calculate the alarm for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Data Type (Variant)Sets the data type of the variable to the data type you wire to this property. Details
DescriptionGets or sets the description of a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
I/O:Alias Access TypeGets or sets the access setting of an I/O alias. The default is Read/Write. Details
I/O:Alias Project PathGets or sets the project path of the I/O variable that the I/O alias is bound to. Details
I/O:Channel IndexGets the index of the I/O channel that corresponds to the I/O Variable. Details
I/O:DirectionGets the direction of an I/O variable or I/O alias. Details
I/O:Enable TimestampIf TRUE, LabVIEW enables the timestamp for an I/O variable. The default is FALSE. Details
I/O:ModeGets whether the variable is an I/O variable or an I/O alias. Details
I/O:Network PublishedIf TRUE, LabVIEW enables network publishing on the I/O variable. The default is TRUE. Details
Initial Value:EnabledIf TRUE, LabVIEW enables initial value setting for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Initial Value:Initial ValueGets or sets the initial value for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Logging:DeadbandGets or sets the deadband for logging a shared variable in the Citadel historical database. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Logging:EnabledIf TRUE, LabVIEW enables logging for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Logging:Log DataIf TRUE, LabVIEW logs data for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Logging:Log EventsIf TRUE, LabVIEW logs events for a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Logging:String FormatSets the logging string format. LabVIEW ignores this property if the data type of the variable is not a string. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Logging:Time ResolutionGets or sets the resolution, in seconds, for logging a shared variable value in the Citadel historical database. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Logging:Value ResolutionGets or sets the resolution, in engineering units, for logging the shared variable value in the Citadel historical database. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
NameGets or sets the shared variable name. Details
Network:Access TypeSpecifies whether a shared variable reads, writes, or reads and writes data. Details
Network:Buffer SizeGets or sets the size of the network buffer. Details
Network:Element SizeGets or sets the size, in number of values, of the network buffer. For arrays, gets or sets the number of elements in the array. For strings, gets or sets the number of characters in the string. Details
Network:Points Per WaveformThe number of points in each waveform in the buffer. Details
Network:Project BindingIndicates if the variable is bound to a project item or a URL. If TRUE, the variable is bound to a project item. If FALSE, the variable is bound to a URL. Details
Network:Project PathGets or sets the path to a shared variable in the active LabVIEW project to which you want to bind the shared variable you are configuring. Details
Network:URLGets or sets the path to a shared variable inside another project or to the data item to which you want to bind the shared variable you are configuring. Details
Network:Use BindingIf TRUE, LabVIEW binds a shared variable to an existing shared variable in the active project, an existing shared variable in another project, or an NI Publish-Subscribe Protocol data item on the network. The default is FALSE. Details
Network:Use BufferingIf TRUE, LabVIEW enables buffering for a shared variable. The default is FALSE. Details
Real-Time:Array LengthGets or sets the length of the array for a shared variable with a fixed length array data type. You can only use this property in the LabVIEW development system, but you must install the LabVIEW Real-Time Module to make this property available. Details
Real-Time:Buffer LengthGets or sets the length of the real-time first-in-first-out (FIFO) buffer for a shared variable. You can only use this property in the LabVIEW development system, but you must install the LabVIEW Real-Time Module to make this property available. Details
Real-Time:Datapoints In WaveformGets or sets the number of data points for a shared variable with a Data Type of Waveform. You can only use this property in the LabVIEW development system, but you must install the LabVIEW Real-Time Module to make this property available. Details
Real-Time:EnabledIf TRUE, LabVIEW enables the real-time first-in-first-out (FIFO) features for a shared variable. The default is FALSE. You can only use this property in the LabVIEW development system, but you must install the LabVIEW Real-Time Module to make this property available. Details
Real-Time:Use BufferingIf TRUE, LabVIEW uses the configuration you specify in the Use Buffering section of the Network page of the Shared Variable Properties dialog box to configure the size and elements of a real-time first-in-first-out (FIFO) buffer for a shared variable. The default is FALSE. You can only use this property in the LabVIEW development system, but you must install the LabVIEW Real-Time Module to make this property available. Details
Scaling:CoerceIf TRUE, LabVIEW coerces the shared variable data to a range you specify. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Scaling:EnabledIf TRUE, LabVIEW scales the shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Scaling:Engineering MaxGets or sets the full scale, or maximum value, that the Shared Variable Engine and Human Machine Interface (HMI) application use for a shared variable when you use linear or square root scaling. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Scaling:Engineering MinGets or sets the zero scale, or minimum value, that the Shared Variable Engine and Human Machine Interface (HMI) application use for a shared variable when you use linear or square root scaling. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Scaling:EngUnitSpecifies the engineering unit for the shared variable. Details
Scaling:InvertIf TRUE, LabVIEW inverts the data the server sends before storing it in a shared variable. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Scaling:Invert MaskGets or sets the bits that the Shared Variable Engine inverts before storing them in a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Scaling:Raw MaxGets or sets the full scale, or maximum value, that the server uses for a shared variable when you use linear or square root scaling. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Scaling:Raw MinGets or sets the zero scale, or minimum value, that the server uses for a shared variable when you use linear or square root scaling. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Scaling:Select MaskGets or sets the bits the Shared Variable Engine uses for a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Scaling:TypeGets or sets the type of scaling to perform on a shared variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Single-Process:Enable TimestampIf TRUE, a timestamp value is recorded each time the single-process shared variable reads data. (Real-Time, Windows) To view timestamp information and add a timestamp output to the Shared Variable node, right-click the Shared Variable node and select Show Timestamp from the shortcut menu. If this property is FALSE, the timestamp output is hidden. You can use this property only with single-process shared variables. The default value is FALSE. Details
TypeGets or sets the scope of a shared variable. Details
Update Deadband:EnabledEnables the update deadband for a shared variable. If TRUE, LabVIEW updates the value of a shared variable only if the percentage difference between the new value and the previous value equals or exceeds the deadband. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Update Deadband:SourceGets or sets the deadband for updating the value of a shared variable when the value for the binding source changes. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details
Update Deadband:UserGets or sets the deadband for updating the value of a shared variable when a user writes data to the variable. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module. Details