Difference between revisions of "MC-Basic:compTable.SOURCEDATA"
m (Text replace - "+/- " to "± ") |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:compTable.SOURCEDATA}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 7: | Line 8: | ||
|AVAILABILITY= | |AVAILABILITY= | ||
− | + | Since Version 3.6.20 | |
|DESCRIPTION= | |DESCRIPTION= | ||
− | The SourceData represents a position on the desired axis. This property is used to access a discrete element of the source data in a compensation table. The axis index specifies the source axis in the table . The index is of the source data in this | + | The SourceData represents a position on the desired axis. This property is used to access a discrete element of the source data in a compensation table. The axis index specifies the source axis in the table . The index is of the source data in this specific axis. |
|TYPE= | |TYPE= | ||
Line 17: | Line 18: | ||
<''indexofsource''>: Long | <''indexofsource''>: Long | ||
− | '' | + | <''return value''>: Double |
|RANGE= | |RANGE= | ||
<''axisindex'' >: 1 to System.NumberAxes | <''axisindex'' >: 1 to System.NumberAxes | ||
− | <''indexofsource''> : 1 to MaxLong ( | + | <''indexofsource''> : 1 to MaxLong (limited by RAM size) |
− | '' | + | <''return value''>: ± MaxDouble |
|UNITS= | |UNITS= | ||
Line 42: | Line 43: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:compTable.MINPOSITION|compTable.MINPOSITION]] |
+ | * [[MC-Basic:compTable.MAXPOSITION|compTable.MAXPOSITION]] | ||
+ | * [[MC-Basic:compTable.TARGETDATA|compTable.TARGETDATA]] | ||
+ | * [[MC-Basic:compTable.SOURCEDATA|compTable.SOURCEDATA]] | ||
+ | * [[MC-Basic:compTable.DIRECTION|compTable.DIRECTION]] | ||
+ | * [[MC-Basic:COMPSET|COMPSET]] | ||
+ | * [[MC-Basic:CREATECOMP|CREATECOMP]] | ||
+ | * [[MC-Basic:COMMON SHARED ... AS COMP|COMMON SHARED comp_name AS COMP]] | ||
+ | * [[MC-Basic:axis.COMPPOSITIONFEEDBACK|axis.COMPPOSITIONFEEDBACK]] | ||
+ | * [[MC-Basic:axis.COMPPOSITIONCOMMAND|axis.COMPPOSITIONCOMMAND]] | ||
}} | }} |
Latest revision as of 06:48, 3 May 2017
Language: | English • 中文(简体) |
---|
The SourceData represents a position on the desired axis. This property is used to access a discrete element of the source data in a compensation table. The axis index specifies the source axis in the table . The index is of the source data in this specific axis.
Syntax
? <comptablename>.SourceData[<axis index>][<index >]
Availability
Since Version 3.6.20
Type
<axisindex>: Long
<indexofsource>: Long
<return value>: Double
Range
<axisindex >: 1 to System.NumberAxes
<indexofsource> : 1 to MaxLong (limited by RAM size)
<return value>: ± MaxDouble
Units
Source axis position units
Scope
Task and Terminal
Limitations
Read only
Examples
?Comp1.sourcedata[2][24]