Difference between revisions of "MC-Basic:compTable.SOURCEDATA"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= ? <''comptablename''>.SourceData[<''axis index''>][<''index ''>] |AVAILABILITY= Versions 3.6.20 and higher |DESCRIPTION= The SourceData repre…')
 
 
(9 intermediate revisions by 4 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=
Versions 3.6.20 and higher
+
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 speciphic axis.
+
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
+
<''return value''>: Double
  
 
|RANGE=
 
|RANGE=
 
<''axisindex'' >:                      1 to System.NumberAxes
 
<''axisindex'' >:                      1 to System.NumberAxes
  
<''indexofsource''> :  1 to MaxLong ( Limited  by RAM Size )
+
<''indexofsource''> :  1 to MaxLong (limited by RAM size)
  
''<return value>'':     +/- MaxDouble
+
<''return value''>:     ± MaxDouble
  
 
|UNITS=
 
|UNITS=
Line 42: Line 43:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:compTable.TARGETDATA|compTable.TARGETDATA]]
+
* [[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]

See Also