<< 向前        下一页 >>

ID : 9066

CurPayload

Function

Obtain setting values of the internal payload conditions.

Syntax

CurPayLoad

Return Value

The setting values of the internal payload conditions are returned by an array of 变体(Variant)型. Elements of the array are "Mass of payload", "Payload center of gravity", and "Payload center of gravity inertia".

Description

This command returns an array of setting values of the internal payload conditions by Variant type. Elements of the array are "Mass of payload", "Payload center of gravity", and "Payload center of gravity inertia". For details of each element, refer to "Guaranteed Entry" on "Payload" command. Use this command when you want to temporarily change the setting values, as shown below.

Related Terms

Payload

Attention

-

Example

Sub Main    
 Dim prevSet As Variant 
 
 'Obtain currently selected payload parameters.
 prevSet = CurPayLoad
 
 'Set payload parameters.    
 PayLoad 500, V( 0, 0, 50 ), V( 0, 0, 0 ) 

 'Execute any processing.
 
 'Set the payload parameters to the original settings.
 PayLoad prevSet( 0 ), prevSet( 1 ), prevSet( 2 ) 
  
End Sub

ID : 9066

<< 向前        下一页 >>