Somehow we hit this TEST_OK while doing *PCAP.ARM:
|
/* If data capture is not enabled then we can safely expect the |
|
* buffer status to be idle. */ |
|
TEST_OK(!read_buffer_status(data_buffer, &readers, &active)) ?: |
Causing ERR: Unexpected error at .../data_server.c:220. This was the ID panda that @glennchid upgraded, so I guess this was the 3.0 release, rather than @EmilioPeJu's latest changes, although I can't see anything in them that touches this code.
There are 2 parts of the code that connect to a PandA:
- One makes a connection to PandA and sets some parameters
- The second makes a connection to PandA, sets some parameters, opens the data port, and as soon as it says "OK" sends "*PCAP.ARM"
Inserting a 1 second sleep between the two fixes the problem. Inserting a 0.1s sleep does not.
I have yet to reproduce this outside the application they were using, but before I do, do you know what might trigger this?
Somehow we hit this
TEST_OKwhile doing*PCAP.ARM:PandABlocks-server/server/data_server.c
Lines 220 to 222 in 1ffcc0a
Causing
ERR: Unexpected error at .../data_server.c:220. This was the ID panda that @glennchid upgraded, so I guess this was the 3.0 release, rather than @EmilioPeJu's latest changes, although I can't see anything in them that touches this code.There are 2 parts of the code that connect to a PandA:
Inserting a 1 second sleep between the two fixes the problem. Inserting a 0.1s sleep does not.
I have yet to reproduce this outside the application they were using, but before I do, do you know what might trigger this?