SNVT_nv_type

Overview:

Network variable type..  Network variable type description for network variables that support changeable types. 

This SNVT specifies the type of a network variable. A SNVT_nv_type network variable can be used to create a configuration network variable that specifies the type of a second network variable. The configuration network variable must be declared as a SCPTnvType configuration property. A SCPTnvType configuration property may also be declared within a configuration file, not using the SNVT_nv_type type. See the SCPTnvType description for further details on using this SCPT.

The type_scope field contains the scope of the resource file that defines the specified type. The scope may be any of the following values:

0 = Standard – applies to all devices.
1 = Reserved for future use.
2 = Reserved for future use.
3 = Manufacturer – applies to all devices from the manufacturer specified in the program ID template.
4 = Manufacturer and Device Class – applies to all devices from the manufacturer with the device class specified in the program ID template.
5 = Manufacturer, Device Class, and Device Subclass – applies to all devices from the manufacturer with the device class and device subclass specified in the program ID template.
6 = Manufacturer, Device Class, Device Subclass, and Device Model – applies to all devices of the specified type and manufacturer specified in the program ID template.

Details:

Resource Set: Standard 00:00:00:00:00:00:00:00-0
Index: 166
Obsolete: no
Size: 19
Programmatic Name: SNVT_nv_type
Neuron C Type:
Structure
type_program_IDType program ID..  Program ID template of the resource file containing the network variable type definition. 
 
unsigned short [8]
Minimum: 0
Maximum: 255
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
type_scopeType scope.  (file scope.) .  Scope of the resource file containing the network variable type definition. 
 
unsigned short
Minimum: 0
Maximum: 6
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
type_indexType index.  (type index.) .  Index within the specified resource file of the network variable type definition. 
 
unsigned long
Minimum: 1
Maximum: 65535
Invalid: 0
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
type_categoryType category.  (type category names.) .  Type category of the network variable type. 
 
nv_type_category_t
type_lengthType length.  (bytes) .  Length of the network variable type. 
 
unsigned short
Minimum: 1
Maximum: 31
Invalid: 0
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
scaling_factor_aScaling factor a..  Scaling multiplier 'a' where ScaledValue = a*(10**b)*(RawValue+c) 
 
signed long
Minimum: -32768
Maximum: 32767
Invalid: 32767
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
scaling_factor_bScaling factor b..  Exponent 'b' where ScaledValue = a*(10**b)*(RawValue+c) 
 
signed long
Minimum: -32768
Maximum: 32767
Invalid: 32767
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
scaling_factor_cScaling Factor c..  Offset 'c' where ScaledValue = a*(10**b)*(RawValue+c) 
 
signed long
Minimum: -32768
Maximum: 32767
Invalid: 32767
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
Formats:

SNVT_nv_type:  text("PID %x:%x:%x:%x:%x:%x:%x:%x, Scope %d, Index %d, %m, %d bytes, A=%d, B=%d, C=%d", type_program_ID[0], type_program_ID[1], type_program_ID[2], type_program_ID[3], type_program_ID[4], type_program_ID[5], type_program_ID[6], type_program_ID[7], type_scope, type_index, type_category, type_length, scaling_factor_a, scaling_factor_b, scaling_factor_c)

Used by:

SCPTnvDynamicAssignment  SCPTnvType