Skip to content

imsize returns success on error #364

@astronomerdave

Description

@astronomerdave

Observed this behavior:

2025-11-17T20:03:32.779  (Camera::doit) thread 2 received command on fd 109 (101) : imsize U 4000 2000 0 0 1 1
2025-11-17T20:03:32.779  (AstroCam::Interface::extract_dev_chan) [DEBUG] con.first=0 con.second.channel= .devnum=0 .inactive=T
2025-11-17T20:03:32.779  (AstroCam::Interface::extract_dev_chan) [DEBUG] con.first=1 con.second.channel=U .devnum=1 .inactive=F
2025-11-17T20:03:32.779  (Camera::Information::set_axes) [DEBUG] region_of_interest[1]=2000 region_of_interest[0]=1 region_of_interest[3]=4000 region_of_interest[2]=1 axes[0]=2000 axes[1]=4000 axes[2]=1 section_size=8000000pix detector_pixels[0]=2000 detector_pixels[1]=4000 bytes_per_pixel=2 image_memory=16000000bytes binning[0]=1 binning[1]=1
2025-11-17T20:03:32.779  (AstroCam::Interface::extract_dev_chan) [DEBUG] con.first=0 con.second.channel= .devnum=0 .inactive=T
2025-11-17T20:03:32.779  (AstroCam::Interface::extract_dev_chan) [DEBUG] con.first=1 con.second.channel=U .devnum=1 .inactive=F
2025-11-17T20:03:32.779  (AstroCam::Interface::extract_dev_chan) [DEBUG] con.first=0 con.second.channel= .devnum=0 .inactive=T
2025-11-17T20:03:32.779  (AstroCam::Interface::extract_dev_chan) [DEBUG] con.first=1 con.second.channel=U .devnum=1 .inactive=F
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) sending command (89) to chan U dev 1: 0x57524D 0x400001 0x7D0
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) PCI Device 1 (89) returns DON
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) sending command (90) to chan U dev 1: 0x57524D 0x400002 0xFA0
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) PCI Device 1 (90) returns DON
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) sending command (91) to chan U dev 1: 0x52444D 0x400001
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) PCI Device 1 (91) returns 0x7D0
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) sending command (92) to chan U dev 1: 0x52444D 0x400002
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) PCI Device 1 (92) returns 0xFA0
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) sending command (93) to chan U dev 1: 0x534250 0x1 0x0 0x1 0x0
2025-11-17T20:03:32.780  (AstroCam::Interface::dothread_native) PCI Device 1 (93) returns ERR
2025-11-17T20:03:32.780  (AstroCam::Interface::image_size) detrows detcols osrows oscols binrow bincol = 4000 2000 0 0 1 1
2025-11-17T20:03:32.780  (Camera::doit) command (101) reply: detrows detcols osrows oscols binrow bincol = 4000 2000 0 0 1 1 DONE

Note that command imsize U 4000 2000 0 0 1 1 returned DONE but one of the steps failed so it should have returned ERROR.

Metadata

Metadata

Labels

bugSomething isn't workingpriority=3required to meet design (less important)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions