@tech@zwo#45131
Hello.
I have run your demo as requested from the latest version of the SDK (1.17) on my x64 desktop, my pi using armv7 (32 bit os) and my pi using armv8 (64 bit os).
The demo application that I ran was the test_gui2_snap
binary which builds from main_SDK2_snap.cpp
.
On the x64
desktop I built with make platform=x64
.
On the 32-bit pi os I built with make platform=armv7
(as the kernel reports armv7l
).
On the 64-bit pi os I built with make platform=armv8
(as the kernel reports aarch64
).
I made one modification to the application before building it, because the application does not log whether or not the exposure succeeds. Just before the line:
if(status == ASI_EXP_SUCCESS)
I added the following:
printf("Exposure Status: %d\n", status);
I ran the application on all three platforms using the same settings:
- Dimensions: 8288 x 5644
- Bin: 1x1
- Image Format: ASI_IMG_RAW16 (enum int value = 2)
Results
x64 Desktop Machine
The image window displayed. Exposures were taken reasonably frequently (up to 2 per second or thereabouts). The exposure status output reports status 2 (success) for every exposure. The image window updated with pictures. Overall result: success.
armv7
The image window displayed. Exposures were taken reasonably frequently (up to 2 per second or thereabouts). The exposure status output reports status 2 (success) for every exposure. The image window updated with pictures. Overall result: success.
armv8
The image window displayed. Exposures took a long time to take (a few seconds for each exposure). Every exposure reported status code 3 (failure). The image window stayed black the entire time and did not update with any image captures. Overall result: failure.
Output Data
x64
vector@vector-lenovo-01:~/Downloads/ASI_linux_mac_SDK_V1.17/demo$ ./test_gui2_snap
attached cameras:
0 ZWO ASI294MM Pro
select one to privew
0
load dark failed 6
ZWO ASI294MM Pro information
resolution:8288X5644
Mono camera
Gain
Exposure
Offset
BandWidth
Flip
AutoExpMaxGain
AutoExpMaxExpMS
AutoExpTargetBrightness
HighSpeedMode
Temperature
CoolPowerPerc
TargetTemp
CoolerOn
sensor temperature:29.300000
Please input the <width height bin image_type> with one space, ie. 640 480 2 0. use max resolution if input is 0. Press ESC when video window is focused to quit capture
8288 5644 1 2
set image format 8288 5644 1 2 success, start privew, press ESC to stop
Please input exposure time(ms)
50
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Display thread over
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
main function over
vector@vector-lenovo-01:~/Downloads/ASI_linux_mac_SDK_V1.17/demo$
armv7 (32 bit pi)
pi@raspberrypi:~/Downloads/ASI_linux_mac_SDK_V1.17/demo $ ./test_gui2_snap
attached cameras:
0 ZWO ASI294MM Pro
select one to privew
0
load dark failed 6
ZWO ASI294MM Pro information
resolution:8288X5644
Mono camera
Gain
Exposure
Offset
BandWidth
Flip
AutoExpMaxGain
AutoExpMaxExpMS
AutoExpTargetBrightness
HighSpeedMode
Temperature
CoolPowerPerc
TargetTemp
CoolerOn
sensor temperature:27.800000
Please input the <width height bin image_type> with one space, ie. 640 480 2 0. use max resolution if input is 0. Press ESC when video window is focused to quit capture
8288 5644 1 2
set image format 8288 5644 1 2 success, start privew, press ESC to stop
Please input exposure time(ms)
50
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
Display thread over
Exposure Status: 2
fps:0 dropped frames:0 ImageType:2
main function over
pi@raspberrypi:~/Downloads/ASI_linux_mac_SDK_V1.17/demo $
armv8 (64 bit pi)
pi@raspberrypi:~/Downloads/ASI_linux_mac_SDK_V1.17/demo $ ./test_gui2_snap
attached cameras:
0 ZWO ASI294MM Pro
select one to privew
0
load dark failed 6
ZWO ASI294MM Pro information
resolution:8288X5644
Mono camera
Gain
Exposure
Offset
BandWidth
Flip
AutoExpMaxGain
AutoExpMaxExpMS
AutoExpTargetBrightness
HighSpeedMode
Temperature
CoolPowerPerc
TargetTemp
CoolerOn
sensor temperature:29.300000
Please input the <width height bin image_type> with one space, ie. 640 480 2 0. use max resolution if input is 0. Press ESC when video window is focused to quit capture
8288 5644 1 2
set image format 8288 5644 1 2 success, start privew, press ESC to stop
Please input exposure time(ms)
50
Exposure Status: 3
fps:0 dropped frames:0 ImageType:2
Exposure Status: 3
fps:0 dropped frames:0 ImageType:2
Exposure Status: 3
fps:0 dropped frames:0 ImageType:2
Exposure Status: 3
fps:0 dropped frames:0 ImageType:2
Exposure Status: 3
fps:0 dropped frames:0 ImageType:2
Exposure Status: 3
fps:0 dropped frames:0 ImageType:2
Exposure Status: 3
fps:0 dropped frames:0 ImageType:2
Exposure Status: 3
fps:0 dropped frames:0 ImageType:2
Display thread over
Exposure Status: 3
fps:0 dropped frames:0 ImageType:2
main function over
pi@raspberrypi:~/Downloads/ASI_linux_mac_SDK_V1.17/demo $
Notes
This result appears to be consistent with all of the other tests that I have run so far. x64 and armv7 seem fine, and armv8 does not expose properly.
Next Steps
Are there any other tests that I can run to either further debug the issue, or provide further information to determine why the armv8 / pi 64-bit exposures are regularly failing?
Thank you!