C# Class KMotion_dotNet.KM_MainStatus

Bulk status record uploaded from KFLOP
ファイルを表示 Open project: parhansson/KMotionX Class Usage Examples

Public Methods

Method Description
GetADC ( int index ) : int

Bulk status record ADC values (Kanalog)

GetAxisComplete ( int axischannel ) : int

Bulk status record Current axis completes

GetAxisEnabled ( int axischannel ) : int

Bulk status record Current axis enables

GetDAC ( int index ) : int

Bulk status record DAC values (Kanalog)

GetDestination ( int index ) : double

Bulk status record Axis Commanded Destinations

GetInputMode ( int axischannel ) : int

Bulk status record feedback selected input mode

GetKFlopBitDirection ( int index ) : int

Bulk status record Current KFLOP IO Bit directions (inputs vs outputs)

GetKFlopBitState ( int index ) : int

Bulk status record Current IO Bit states

GetKanalogBitsStateInputs ( int index ) : int

Bulk status record Current Kanalog Input Bit States

GetKanalogBitsStateOutputs ( int index ) : int

Bulk status record Current Kanalog Output Bit States

GetOutputChannel0 ( int index ) : double

Bulk status record Axis First output channel specified

GetOutputMode ( int axischannel ) : int

Bulk status record feedback selected output mode

GetPC_comm ( int index ) : int

Bulk status record Current PC-KFLOP Comm regs

GetPWM ( int index ) : int

Bulk status record PWM values (SnapAmp)

GetPosition ( int index ) : double

Bulk status record Axis Measured positions (Encoder or other sensing device)

GetRunOnStartUp ( int index ) : int

Bulk status record Current Boot Thread Startup Enables

GetSnapBitsDirection0 ( int index ) : int

Bulk status record Current SnapAmp #0 IO Bit directions (inputs vs outputs)

GetSnapBitsDirection1 ( int index ) : int

Bulk status record Current SnapAmp #1 IO Bit directions (inputs vs outputs)

GetSnapBitsState0 ( int index ) : int

Bulk status record Current SnapAmp #0 IO Bit States

GetSnapBitsState1 ( int index ) : int

Bulk status record Current SnapAmp #1 IO Bit States

GetStatus ( int versionandsize, int adc, int dac, int pwm, double position, double destination, int outputchan0, int inputmodes, int inputmodes2, int outputmodes, int outputmodes2, int enables, int axisdone, int bitsdirection, int bitsstate, int snapbitsdirection0, int snapbitsdirection1, int snapbitsstate0, int snapbitsstate1, int kanalgobitsstateinputs, int kanalogbitsstateoutputs, int runonstartup, int threadactive, int stopimmediatestate, double timestamp, int pccomm, int virtualbits, int virtualbitsex0 ) : KM_MainStatus

Create Bulk status record

GetThreadActive ( int index ) : int

Bulk status record Current Thread Execution State

GetVirtualBits ( int index ) : int

Bulk status record Current Virtual Bit States

GetVirtualBitsEx0 ( int index ) : int

Bulk status record Current Extended Virtual Bit States

Private Methods

Method Description
FourBitAxisIndex ( int axischannel ) : int
GetValue ( int source, int start, int length ) : int

Method Details

GetADC() public method

Bulk status record ADC values (Kanalog)
public GetADC ( int index ) : int
index int
return int

GetAxisComplete() public method

Bulk status record Current axis completes
public GetAxisComplete ( int axischannel ) : int
axischannel int
return int

GetAxisEnabled() public method

Bulk status record Current axis enables
public GetAxisEnabled ( int axischannel ) : int
axischannel int
return int

GetDAC() public method

Bulk status record DAC values (Kanalog)
public GetDAC ( int index ) : int
index int
return int

GetDestination() public method

Bulk status record Axis Commanded Destinations
public GetDestination ( int index ) : double
index int
return double

GetInputMode() public method

Bulk status record feedback selected input mode
public GetInputMode ( int axischannel ) : int
axischannel int
return int

GetKFlopBitDirection() public method

Bulk status record Current KFLOP IO Bit directions (inputs vs outputs)
public GetKFlopBitDirection ( int index ) : int
index int
return int

GetKFlopBitState() public method

Bulk status record Current IO Bit states
public GetKFlopBitState ( int index ) : int
index int
return int

GetKanalogBitsStateInputs() public method

Bulk status record Current Kanalog Input Bit States
public GetKanalogBitsStateInputs ( int index ) : int
index int
return int

GetKanalogBitsStateOutputs() public method

Bulk status record Current Kanalog Output Bit States
public GetKanalogBitsStateOutputs ( int index ) : int
index int
return int

GetOutputChannel0() public method

Bulk status record Axis First output channel specified
public GetOutputChannel0 ( int index ) : double
index int
return double

GetOutputMode() public method

Bulk status record feedback selected output mode
public GetOutputMode ( int axischannel ) : int
axischannel int
return int

GetPC_comm() public method

Bulk status record Current PC-KFLOP Comm regs
public GetPC_comm ( int index ) : int
index int
return int

GetPWM() public method

Bulk status record PWM values (SnapAmp)
public GetPWM ( int index ) : int
index int
return int

GetPosition() public method

Bulk status record Axis Measured positions (Encoder or other sensing device)
public GetPosition ( int index ) : double
index int
return double

GetRunOnStartUp() public method

Bulk status record Current Boot Thread Startup Enables
public GetRunOnStartUp ( int index ) : int
index int
return int

GetSnapBitsDirection0() public method

Bulk status record Current SnapAmp #0 IO Bit directions (inputs vs outputs)
public GetSnapBitsDirection0 ( int index ) : int
index int
return int

GetSnapBitsDirection1() public method

Bulk status record Current SnapAmp #1 IO Bit directions (inputs vs outputs)
public GetSnapBitsDirection1 ( int index ) : int
index int
return int

GetSnapBitsState0() public method

Bulk status record Current SnapAmp #0 IO Bit States
public GetSnapBitsState0 ( int index ) : int
index int
return int

GetSnapBitsState1() public method

Bulk status record Current SnapAmp #1 IO Bit States
public GetSnapBitsState1 ( int index ) : int
index int
return int

GetStatus() public static method

Create Bulk status record
public static GetStatus ( int versionandsize, int adc, int dac, int pwm, double position, double destination, int outputchan0, int inputmodes, int inputmodes2, int outputmodes, int outputmodes2, int enables, int axisdone, int bitsdirection, int bitsstate, int snapbitsdirection0, int snapbitsdirection1, int snapbitsstate0, int snapbitsstate1, int kanalgobitsstateinputs, int kanalogbitsstateoutputs, int runonstartup, int threadactive, int stopimmediatestate, double timestamp, int pccomm, int virtualbits, int virtualbitsex0 ) : KM_MainStatus
versionandsize int
adc int
dac int
pwm int
position double
destination double
outputchan0 int
inputmodes int
inputmodes2 int
outputmodes int
outputmodes2 int
enables int
axisdone int
bitsdirection int
bitsstate int
snapbitsdirection0 int
snapbitsdirection1 int
snapbitsstate0 int
snapbitsstate1 int
kanalgobitsstateinputs int
kanalogbitsstateoutputs int
runonstartup int
threadactive int
stopimmediatestate int
timestamp double
pccomm int
virtualbits int
virtualbitsex0 int
return KM_MainStatus

GetThreadActive() public method

Bulk status record Current Thread Execution State
public GetThreadActive ( int index ) : int
index int
return int

GetVirtualBits() public method

Bulk status record Current Virtual Bit States
public GetVirtualBits ( int index ) : int
index int
return int

GetVirtualBitsEx0() public method

Bulk status record Current Extended Virtual Bit States
public GetVirtualBitsEx0 ( int index ) : int
index int
return int