Click or drag to resize

TraceEventType Enumeration

TraceBuffer events

Namespace: RAYLASE.SPICE3.TraceBuffer
Assembly: RAYLASE.SPICE3.TraceBufferLib (in RAYLASE.SPICE3.TraceBufferLib.dll) Version: 2.3.5
Syntax
C#
public enum TraceEventType
Members
Member nameDescription
PortA This will occur on changes at PortA. The payload is 16 bits wide, one bit per PortA input. Payload bit 0 represents PortA0, bit 1 represents PortA1 ...
PortB This will occur on changes at PortB. The payload is 16 bits wide, one bit per PortB input. Payload bit 0 represents PortB0, bit 1 represents PortB1 ...
PortC This will occur on changes at PortC. The payload is 16 bits wide, one bit per PortC input. Payload bit 0 represents PortC0, bit 1 represents PortC1 ...
PortDLow This will occur on changes at PortD. The payload is 16 bits wide, one bit per PortD input. Payload bit 0 represents PortD0, bit 1 represents PortD1 ...
PortDHigh This will occur on changes at PortD. The payload is 8 bits wide, one bit per PortD input. Payload bit 0 represents PortD16, bit 1 represents PortD17 ...
PortELow This will occur on changes at PortE. The payload is 16 bits wide, one bit per PortE input. Payload bit 0 represents PortE0, bit 1 represents PortE1 ...
PortEHigh This will occur on changes at PortE. The payload is 8 bits wide, one bit per PortE input. Payload bit 0 represents PortE16, bit 1 represents PortE17 ...
PortLaserIn This will occur on changes at LaserIn. The payload is 2 bits wide, one bit per LaserIn input.
PortLaserIn0 This will occur on changes of bit 0 at LaserIn. The payload size is one bit.
PortLaserIn1 This will occur on changes of bit 1 at LaserIn. The payload size is one bit.
PortLaserOut This will occur on changes at LaserOut. The payload is 3 bits wide, one bit per LaserOut output.
PortLaserOut0 This will occur on changes of bit 0 at LaserOut. The payload size is one bit.
PortLaserOut1 This will occur on changes of bit 1 at LaserOut. The payload size is one bit.
PortLaserOut2 This will occur on changes of bit 2 at LaserOut. The payload size is one bit.
Dac0 This will occur on changes at Dac0 output. The payload is 16 bits wide. A value of 0 represents 0V and a value of 65535 represents +10V at the DAC output. Be aware that the actual DAC resolution is only 12 bits, so the 4 LSB do not affect the voltage.
Dac1 This will occur on changes at Dac1 output. The payload is 16 bits wide. A value of 0 represents 0V and a value of 65535 represents +10V at the DAC output. Be aware that the actual DAC resolution is only 12 bits, so the 4 LSB do not affect the voltage.
LaserPower16 This will occur when the laser output power changes. The payload contains all 16 bits.
LaserPower8 This will occur when the laser output power changes its 8 MSB bits. The payload contains the 8 MSB bits.
LaserPower4 This will occur when the laser output power changes its 4 MSB bits. The payload contains the 4 MSB bits.
LaserPower2 This will occur when the laser output power changes its 2 MSB bits. The payload contains the 2 MSB bits.
LaserPower1 This will occur when the laser output power changes its MSB bit. The payload contains the MSB bit.
Fps This will occur on every change of Fps. The payload size is one bit.
Gate This will occur on every change of Gate. The payload size is one bit.
Lm This will occur on every change of LM. The payload size is one bit.
LaserTriggered This will occur on every change of 'LaserTriggered'/>. The payload size is one bit.
StartMark This will occur on every change of StartMark. The payload size is one bit.
AbortMark This will occur on every change of AbortMark. The payload size is one bit.
MotorStep This will occur on changes at motor step. The payload size is four bit, one bit per motor axis.
MotorDirection This will occur on changes at motor direction. The payload size is four bit, one bit per motor axis.
Head0TxX This will occur when a X-frame is sent to Head0. The data does not need to have changed for this event to occur so this event occurs every 10us. The payload size is 32 bits. The bits 19 to 0 contain the frame payload. If bit 28 is set the frame is a command frame otherwise a position frame. The position data is interpreted as a signed 20.
Head0TxY This will occur when a Y-frame is sent to Head0.
Head0TxZ This will occur when a Z-frame is sent to Head0.
Head0RxX This will occur when a X-frame is received from Head0. The event payload size is 32 bits. When the XY2-100 interface is selected this event occurs every 10us regardless of a scan head is connected or not. When the SL2-100 interface is selected this event also occurs every 10us but will be omitted if no frame is received (e.g. no scan head is connected). For detailed payload description see "Bit Definitions" in 10.3 Serial Peripheral Interface.
Head0RxY This will occur when a Y-frame is received from Head0.
Head0RxZ This will occur when a Z-frame is received from Head0.
Head1TxX This will occur when a X-frame is sent to Head1.
Head1TxY This will occur when a Y-frame is sent to Head1.
Head1TxZ This will occur when a Z-frame is sent to Head1.
Head1RxX This will occur when a X-frame is received from Head1.
Head1RxY This will occur when a Y-frame is received from Head1.
Head1RxZ This will occur when a Z-frame is received from Head1.
Spi0Rx This will occur when the SPI0 module received something.
Spi1Rx This will occur when the SPI1 module received something.
Spi2Rx This will occur when the SPI2 module received something.
Spi3Rx This will occur when the SPI3 module received something.
IOEvents This will occur on changes inside the IOEvents configuration register.
PositionEvents This will occur on changes inside the PositionEvents configuration register.
ControlEvents This will occur on changes inside the ControlEvents configuration register.
Label This will occur when a label that was added to the list gets executed. See Label for more details. Note that a label is 16 bits in size and left aligned in the 32 bit payload. Since one packed label event will always only contain one unpacking will not create two label events but shift the label to the first 16 bit of the payload.
TimerOverflow This event type is only used internally and will never be returned.
Remarks
These events will only occur if the corresponding option is enabled using TraceBufferConfig and applying the configuration on the card using SetConfig(TraceBufferConfig).
See Also