Skip to content

Fast succession of 'all on' - 'all off' breaks system #57

@floesche

Description

@floesche

Sending the 'all on' (0x01 0xFF) and 'all off' (0x01 0x00) several times in fast succession leads the G4 system in an undefined state and slows down the execution of commands in the range of seconds (factor ~5000).

In a script I sent 15 times an 'all on' and then an 'all off' as fast as possible. The error happens each time I run the script, usually between the 4th and 10th iteration.

At some point (in the example below at the 8th "all off"), the response gets delayed significantly, in this example by around 15 seconds, typically between 6 and 18 seconds (median around 9.2s). Once this happened, all following 'all on' commands get delayed by an amount in the same range while 'all off' are executed immediately.

This is apparently an error on the Main Host side: If I send the commands without waiting for a response my script has long finished while the commands are still being executed (with the delay). This suggests, the commands are stuck somewhere on the Main Host input queue.

image

The output inside the main host window contains the following text:

03/08/2022 15:46:38.319 :  Root Directory Path - C:\Program Files (x86)\HHMI G4\Support files
03/08/2022 15:46:38.321 :  PC Name - reiser-ww10.hhmi.org, IP Address - 10.102.40.39, TCP Port - 62222
03/08/2022 15:46:38.398 :  TCP Connection Established
03/08/2022 15:46:38.404 :  All-On received
03/08/2022 15:46:38.416 :  All-Off received
03/08/2022 15:46:38.664 :  All-On received
03/08/2022 15:46:38.668 :  All-Off received
03/08/2022 15:46:38.681 :  All-On received
03/08/2022 15:46:38.690 :  All-Off received
03/08/2022 15:46:38.703 :  All-On received
03/08/2022 15:46:38.704 :  All-Off received
03/08/2022 15:46:38.718 :  All-On received
03/08/2022 15:46:38.720 :  All-Off received
03/08/2022 15:46:38.734 :  All-On received
03/08/2022 15:46:38.735 :  All-Off received
03/08/2022 15:46:38.737 :  All-On received
03/08/2022 15:46:38.737 :  All-Off received
03/08/2022 15:46:53.991 :  All-On received
03/08/2022 15:46:53.991 :  All-Off received
03/08/2022 15:47:03.219 :  All-On received
03/08/2022 15:47:03.219 :  All-Off received
03/08/2022 15:47:45.610 :  All-On received
03/08/2022 15:47:45.610 :  All-Off received
03/08/2022 15:47:54.841 :  All-On received
03/08/2022 15:47:54.841 :  All-Off received
03/08/2022 15:47:58.034 :  All-On received
03/08/2022 15:47:58.034 :  All-Off received
03/08/2022 15:48:01.235 :  All-On received
03/08/2022 15:48:01.235 :  All-Off received
03/08/2022 15:48:19.498 :  All-On received
03/08/2022 15:48:19.498 :  All-Off received
03/08/2022 15:48:31.741 :  All-On received
03/08/2022 15:48:31.741 :  All-Off received

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions