Open LeeYangLBLBCS opened 4 years ago
ops my bad.
Yes, so your computer can just barely do 80 fps, and cannot do 100 fps. Mine can do 130 fps for 5000 frames, but it would use more than 100 buffers with 10000 frames.
You need a faster computer to be able to run the Oryx in 10-bit mode at its maximum frame rate of 130 frames/s.
You should try using ADAravis. I suspect it will work on your existing computer, because my unpacking method is a bit faster than FLIR's.
My test with 5000 images (mono12Packed/10 bit) : Top -H shows ADSinnakerImage CPU 99%. Acquisition halted at 4782:
camonitor 13SP1:cam1:NumImagesCounter_RBV 13SP1:cam1:InputBufferCount result: Initially inputbufferCount is small, about 1-3. Then suddenly increased quickly to 100 at about 4800 image frame. I am using the default buffer size of 100. Does this mean I need to get a faster computer?
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.750602 46
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.761084 4428
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.761093 47
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.772023 4429
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.772032 48
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.781118 4430
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.781135 49
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.790217 4431
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.790227 50
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.798920 4432
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.798952 51
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.807732 4433
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.807748 52
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.816455 4434
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.816464 53
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.825071 4435
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.825093 54
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.833765 4436
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.833788 55
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.843426 4437
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.843433 56
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.852360 4438
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.852367 57
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.863787 4439
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.863796 58
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.872291 4440
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.872300 59
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.881827 4441
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.881844 60
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.893546 4442
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.893556 61
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.901867 4443
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.901878 62
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.910319 4444
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.910327 63
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.919646 4445
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.919656 64
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.928691 4446
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.928703 65
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.937118 4447
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.937125 66
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.945626 4448
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.945634 67
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.954398 4449
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.954406 68
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.963895 4450
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.963912 69
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.973792 4451
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.973808 70
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.983065 4452
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.983073 71
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:18.991749 4453
13SP1:cam1:InputBufferCount 2020-11-03 18:25:18.991756 72
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.000137 4454
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.000145 73
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.008424 4455
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.008432 74
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.016743 4456
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.016758 75
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.025515 4457
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.025538 76
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.034754 4458
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.034774 77
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.043120 4459
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.043136 78
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.051368 4460
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.051380 79
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.060071 4461
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.060080 80
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.069033 4462
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.069057 81
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.079125 4463
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.079135 82
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.088257 4464
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.088268 83
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.097112 4465
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.097133 84
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.107207 4466
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.107214 85
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.115673 4467
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.115682 86
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.124066 4468
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.124085 87
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.132786 4469
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.132801 88
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.141944 4470
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.142003 89
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.152274 4471
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.152280 90
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.162566 4472
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.162575 91
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.173289 4473
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.173299 92
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.184600 4474
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.184629 93
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.195185 4475
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.195197 94
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.206228 4476
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.206247 95
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.217257 4477
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.217350 96
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.227804 4478
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.227818 97
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.238104 4479
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.238113 98
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.248467 4480
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.248485 99
13SP1:cam1:NumImagesCounter_RBV 2020-11-03 18:25:19.259684 4481
13SP1:cam1:InputBufferCount 2020-11-03 18:25:19.259702 100
You should try using ADAravis. I suspect it will work on your existing computer, because my unpacking method is a bit faster than FLIR's.
thank you Mark, will do.
Initially inputbufferCount is small, about 1-3. Then suddenly increased quickly to 100 at about 4800 image frame. I am using the default buffer size of 100.
No, it did not start small (1-3), it started at 100, then it went down from 100 to 1-3. At that point it was dropping buffers. Then when the detector is actually done acquiring those buffers get processed and it goes back to 100.
Does this mean I need to get a faster computer?
Yes. Or try ADAravis and see if can keep up.
issue moved from: https://github.com/epics-extensions/medm/issues/6