Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large 'From' number, Out of Range Error - Agent-Agent #505

Open
nickamenda opened this issue Dec 6, 2024 · 14 comments
Open

Large 'From' number, Out of Range Error - Agent-Agent #505

nickamenda opened this issue Dec 6, 2024 · 14 comments
Labels

Comments

@nickamenda
Copy link

nickamenda commented Dec 6, 2024

We have a DMG running with IoTConnector and Agent 1.3. We configured Agent-Agent connection in our 2.x Agent. It looks like our Agent is getting some bogus from query string.... Any suggestions on how to troubleshoot this?
Agent Adapter Target: /DMG_MORI_12280008713/sample?count=1000&from=366929686800&heartbeat=10000&interval=500

image

@wsobel
Copy link
Member

wsobel commented Dec 6, 2024

What is the 1.3 agent current nextSequence?

It could be a header parsing issue or an upstream agent issue. Can you check the response doc from the upstream agent. Btw the image did not load.

@nickamenda
Copy link
Author

nickamenda commented Dec 6, 2024

The nextSequence on the 1.3 agent is 20090. Does the image load for you now? That is our 2.x Agent. I have attached a snippet of the 1.3 Agent

<MTConnectStreams xmlns:m="urn:mtconnect.org:MTConnectStreams:1.3"
    xmlns="urn:mtconnect.org:MTConnectStreams:1.3"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mtconnect.org:MTConnectStreams:1.3 http://www.mtconnect.org/schemas/MTConnectStreams_1.3.xsd">
    <Header creationTime="2024-12-06T18:49:24Z" sender="DM208756B9B421" instanceId="1733490942" version="1.3.0.17" bufferSize="262144" nextSequence="20090" firstSequence="1" lastSequence="20089"/>
    <Streams>
        <DeviceStream name="DMG_MORI_x" uuid="001">
            <ComponentStream component="Device" name="DMG_MORI_x" componentId="DMG_MORI_x_0">
                <Events>
                    <AssetChanged dataItemId="DMG_MORI_x_0_asset_chg" timestamp="2024-12-06T13:15:42.834430Z" sequence="1" assetType="">UNAVAILABLE</AssetChanged>
                    <AssetRemoved dataItemId="DMG_MORI_x_0_asset_rem" timestamp="2024-12-06T13:15:42.834430Z" sequence="2" assetType="">UNAVAILABLE</AssetRemoved>
                    <EmergencyStop dataItemId="DMG_MORI_x_1" timestamp="2024-12-06T13:19:13.743362Z" name="estop" sequence="115">ARMED</EmergencyStop>
                    <Availability dataItemId="DMG_MORI_x_2" timestamp="2024-12-06T13:18:17.818864Z" name="avail" sequence="75">AVAILABLE</Availability>
                </Events>
                <Condition>

@wsobel
Copy link
Member

wsobel commented Dec 6, 2024

I wonder if this is a version issue. I tested with a 2.0 agent. The 1.3 agent is ancient, around 10 years old. I need to set up a test and see if I can reproduce the issue.

@nickamenda
Copy link
Author

Okay, let me know what you find! Thanks Will!

@MRIIOT
Copy link
Collaborator

MRIIOT commented Dec 8, 2024

Agreed 1.3 is ancient, yet I am surprised how many people and DMG, Cisco, etc use it.

@wsobel
Copy link
Member

wsobel commented Dec 9, 2024

I'll need to look into this. The response documents haven't changed a lot since 1.3. There are extra attributes, but it should work.

@wsobel
Copy link
Member

wsobel commented Dec 27, 2024

I'm going to see if I can reconstruct a 1.3 that matches the version you're running on Windows and try to reproduce the error.

Do you have the Device.xml and agent.cfg from the 1.3 machine (DMG Mori)?

@wsobel wsobel added the bug label Dec 27, 2024
@wsobel
Copy link
Member

wsobel commented Dec 27, 2024

Also, please upload agent.log file with log level set to debug:

logger_config
{
    logging_level = debug
    output = file agent.log
}

@wsobel
Copy link
Member

wsobel commented Dec 27, 2024

After reviewing the log output, I need to see the old DMG Device XML file to check if there aren't some errors that are causing this. The Events:AssetChanged:DOUBLE indicates that the original configuration had units for the asset changed event. This would be rather odd. I need to check of there are other issues that may be causing things to trip up the validation code in the new agent.

@nickamenda
Copy link
Author

Hi Will, I do not have access to the machine right now so I cannot grab the logs. I do have access to the updated Agent if you want those logs and config files. I drew this diagram in hopes that it would help explain what we are doing. Basically, we grab the probe from the 1.3 Agent running on port 15404 and then add that to our devices.xml on the up to date Agent. When this error was occurring we had period filters on every single DataItem, which could've contributed to this. Also, I had units="SECOND" at the end of every DataItem as I thought that would apply to the period filter but I think I was completely wrong with that. We also have a relay running on the same device as the up to date Agent that will pull the sample every 5 seconds and send that data to Splunk. Let me know if you have any questions or need some additional information, I wonder if this was all caused by me just not setting everything up properly.
Screenshot 2024-12-28 at 11 26 30 AM

@wsobel
Copy link
Member

wsobel commented Dec 28, 2024

Can you upload your devices.xml file to the issue? I think it is causing the problem.

@nickamenda
Copy link
Author

nickamenda commented Dec 29, 2024

<Device id="DMG_MORI_x_0" name="DMG_MORI_x" sampleInterval="1000" uuid="005">
            <Description manufacturer="DMG MORI" serialNumber="DMG_MORI_x"/>
            <DataItems>
                <DataItem category="EVENT" id="DMG_MORI_x_1" name="estop" type="EMERGENCY_STOP" units="SECOND">
                    <Filters>
                        <Filter type="PERIOD">1</Filter>
                    </Filters>
                </DataItem>
                <DataItem category="EVENT" id="DMG_MORI_x_2" name="avail" type="AVAILABILITY" units="SECOND">
                    <Filters>
                        <Filter type="PERIOD">1</Filter>
                    </Filters>
                </DataItem>
                <DataItem category="CONDITION" id="DMG_MORI_x_184" name="system" type="SYSTEM" units="SECOND">
                    <Filters>
                        <Filter type="PERIOD">1</Filter>
                    </Filters>
                </DataItem>
                <DataItem category="EVENT" id="DMG_MORI_x_0_asset_chg" type="ASSET_CHANGED" units="SECOND">
                    <Filters>
                        <Filter type="PERIOD">1</Filter>
                    </Filters>
                </DataItem>
                <DataItem category="EVENT" id="DMG_MORI_x_0_asset_rem" type="ASSET_REMOVED" units="SECOND">
                    <Filters>
                        <Filter type="PERIOD">1</Filter>
                    </Filters>
                </DataItem>
            </DataItems>
            <Components>
                <Axes id="DMG_MORI_x_3" name="Path Feedrate">
                    <Components>
                        <Rotary id="DMG_MORI_x_31" name="C5">
                            <DataItems>
                                <DataItem category="EVENT" id="DMG_MORI_x_32" name="spindlerotating5" type="ms:SPINDLE_ROTATING" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_34" name="spindleoverride5" type="ROTARY_VELOCITY_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                            </DataItems>
                        </Rotary>
                        <Rotary id="DMG_MORI_x_37" name="C6">
                            <DataItems>
                                <DataItem category="EVENT" id="DMG_MORI_x_38" name="spindlerotating6" type="ms:SPINDLE_ROTATING" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_40" name="spindleoverride6" type="ROTARY_VELOCITY_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                            </DataItems>
                        </Rotary>
                        <Rotary id="DMG_MORI_x_43" name="C7">
                            <DataItems>
                                <DataItem category="EVENT" id="DMG_MORI_x_44" name="spindlerotating7" type="ms:SPINDLE_ROTATING" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_46" name="spindleoverride7" type="ROTARY_VELOCITY_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                            </DataItems>
                        </Rotary>
                    </Components>
                </Axes>
                <Controller id="DMG_MORI_x_85" name="Controller">
                    <DataItems>
                        <DataItem category="EVENT" id="DMG_MORI_x_86" name="light_state_red" type="ms:LIGHT_STATE_RED" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="EVENT" id="DMG_MORI_x_87" name="light_state_yellow" type="ms:LIGHT_STATE_YELLOW" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="EVENT" id="DMG_MORI_x_88" name="light_state_green" type="ms:LIGHT_STATE_GREEN" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="EVENT" id="DMG_MORI_x_89" name="light_state_blue" type="ms:LIGHT_STATE_BLUE" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="EVENT" id="DMG_MORI_x_90" name="controlVersion" type="ms:CONTROL_VERSION_NUMBER" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="EVENT" id="DMG_MORI_x_91" name="mtconnect_adapter_version" type="ms:MTCONNECT_ADAPTER_VERSION" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="EVENT" id="DMG_MORI_x_189" name="numberOfActiveAlarms" type="ms:NUMBER_OF_ACTIVE_ALARMS" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="SAMPLE" id="DMG_MORI_x_92" name="operationTime" nativeUnits="SECOND" type="ms:OPERATION_TIME" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="SAMPLE" id="DMG_MORI_x_93" name="powerOnTime" nativeUnits="SECOND" type="ms:POWER_ON_TIME" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="SAMPLE" id="DMG_MORI_x_94" name="cuttingTime" nativeUnits="SECOND" type="ms:CUTTING_TIME" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="SAMPLE" id="DMG_MORI_x_183" name="currentRunTime" nativeUnits="SECOND" type="ms:CURRENT_RUN_TIME" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="EVENT" id="DMG_MORI_x_95" name="machineSN" type="ms:MACHINE_SN" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                        <DataItem category="EVENT" id="DMG_MORI_x_190" name="vendorServerInfo" type="ms:VENDOR_SERVER_INFO" units="SECOND">
                            <Filters>
                                <Filter type="PERIOD">1</Filter>
                            </Filters>
                        </DataItem>
                    </DataItems>
                    <Components>
                        <Path id="DMG_MORI_x_96" name="Path_1">
                            <DataItems>
                                <DataItem category="EVENT" id="DMG_MORI_x_98" name="part_count1" subType="ALL" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_185" name="part_count_desired1" subType="TARGET" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_100" name="mode1" type="CONTROLLER_MODE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_101" name="execution1" type="EXECUTION" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_102" name="program1" type="PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_106" name="toolnumber1" type="TOOL_NUMBER" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_112" name="jogoverride1" subType="JOG" type="PATH_FEEDRATE_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_113" name="rapidoverride1" subType="RAPID" type="PATH_FEEDRATE_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="CONDITION" id="DMG_MORI_x_114" name="logic1" type="LOGIC_PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="CONDITION" id="DMG_MORI_x_115" name="motion1" type="MOTION_PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_179" name="part_count_overall1" subType="ALL" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                            </DataItems>
                        </Path>
                        <Path id="DMG_MORI_x_116" name="Path_2">
                            <DataItems>
                                <DataItem category="EVENT" id="DMG_MORI_x_118" name="part_count2" subType="ALL" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_186" name="part_count_desired2" subType="TARGET" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_120" name="mode2" type="CONTROLLER_MODE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_121" name="execution2" type="EXECUTION" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_122" name="program2" type="PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_126" name="toolnumber2" type="TOOL_NUMBER" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_131" name="operationmode2" type="ms:OPERATION_MODE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_132" name="jogoverride2" subType="JOG" type="PATH_FEEDRATE_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_133" name="rapidoverride2" subType="RAPID" type="PATH_FEEDRATE_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="CONDITION" id="DMG_MORI_x_134" name="logic2" type="LOGIC_PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="CONDITION" id="DMG_MORI_x_135" name="motion2" type="MOTION_PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_180" name="part_count_overall2" subType="ALL" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                            </DataItems>
                        </Path>
                        <Path id="DMG_MORI_x_136" name="Path_3">
                            <DataItems>
                                <DataItem category="EVENT" id="DMG_MORI_x_138" name="part_count3" subType="ALL" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_187" name="part_count_desired3" subType="TARGET" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_140" name="mode3" type="CONTROLLER_MODE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_141" name="execution3" type="EXECUTION" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_142" name="program3" type="PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_146" name="toolnumber3" type="TOOL_NUMBER" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_151" name="operationmode3" type="ms:OPERATION_MODE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_152" name="jogoverride3" subType="JOG" type="PATH_FEEDRATE_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_153" name="rapidoverride3" subType="RAPID" type="PATH_FEEDRATE_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="CONDITION" id="DMG_MORI_x_154" name="logic3" type="LOGIC_PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="CONDITION" id="DMG_MORI_x_155" name="motion3" type="MOTION_PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_181" name="part_count_overall3" subType="ALL" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                            </DataItems>
                        </Path>
                        <Path id="DMG_MORI_x_156" name="Path_4">
                            <DataItems>
                                <DataItem category="EVENT" id="DMG_MORI_x_158" name="part_count4" subType="ALL" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_188" name="part_count_desired4" subType="TARGET" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_160" name="mode4" type="CONTROLLER_MODE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_161" name="execution4" type="EXECUTION" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_162" name="program4" type="PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_166" name="toolnumber4" type="TOOL_NUMBER" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_171" name="operationmode4" type="ms:OPERATION_MODE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_172" name="jogoverride4" subType="JOG" type="PATH_FEEDRATE_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_173" name="rapidoverride4" subType="RAPID" type="PATH_FEEDRATE_OVERRIDE" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="CONDITION" id="DMG_MORI_x_174" name="logic4" type="LOGIC_PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="CONDITION" id="DMG_MORI_x_175" name="motion4" type="MOTION_PROGRAM" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                                <DataItem category="EVENT" id="DMG_MORI_x_182" name="part_count_overall4" subType="ALL" type="PART_COUNT" units="SECOND">
                                    <Filters>
                                        <Filter type="PERIOD">1</Filter>
                                    </Filters>
                                </DataItem>
                            </DataItems>
                        </Path>
                    </Components>
                </Controller>
            </Components>
        </Device>

@MRIIOT
Copy link
Collaborator

MRIIOT commented Dec 29, 2024

I think adding units="SECOND" to every data item caused some weird behavior.

Originally, the machine was spewing some samples multiple times a second, which prompted this issue: #475. After agent-agent filters were implemented, we noticed issue 505.

@wsobel
Copy link
Member

wsobel commented Dec 29, 2024

The units are probably breaking everything. I have not tested with this configuration. I would remove the units and try again. This is not a bug in the agent since it is validating the types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants