History: The new code to stream the HWS camera images that we received May(?) of last year works well on h1hwsmsr (ITMX), but we haven't been able to get it run on h1hwsmsr1 (ITMY). It would bring up a single image with an error: "KeyError: ".
Today, I poked around the code to see if I could figure out where the error was coming from and found that the FuncAnimate function from matplotlib had set the refresh interval from a default 200ms to 0ms, and turned on blit to help with image processing. I changed the interval time back to its default and then turned off blit and now we can stream the image and the GUI works.
Now we are just left with the error that the old streaming script also had:
"Unable to configure ring buffer
rc = -1
pdv_multibuf(0x0x21ab010, 4): Invalid argument"
It is odd that this error is only on h1hwsmsr1 and not h1hwsmsr. TThe error comes somewhere from the script /opt/EDT/pdv/take. My C knowledge is minimal, so I am a bit stuck for now.
At least we have a working streaming script!
Sounds like a driver problem. I'll log in and check the status of the EDT drivers.
Running
/opt/EDTpdv/edt_sysinfoshows that both machines are running the same driver build. So that's not the issue ...H1MWSMSR
Library version 5.5.1.4 (05050104)
pdv0: Driver version 5.5.1.4 11/24/2015
Build 0001 Nov 24 2015 14:11:59 64 bit
H1HWSMSR1
Library version 5.5.1.4 (05050104)
pdv0: Driver version 5.5.1.4 11/24/2015
Build 0001 Nov 24 2015 14:11:59 64 bit