Thanks for your answer. No, I do not enable packet socket when I
configure the Aravis library before compiling.
On 17/07/2017 23:25, Naihong Tang wrote:
Do you enable packet socket? if it is enable and hardware does not support, you will see 0 Hz
.
On Mon, Jul 17, 2017 at 1:19 PM, ROCS Project <astro.rocs@xxxxxxxxx <mailto:astro.rocs@xxxxxxxxx>> wrote:
Good evening,
I have installed Aravis 0.5.9 on a Raspberry Pi to drive a Basler
GigE ACA640 camera. I can easily see the camera, but when I do an
acquisition with arv-camera-test, I get a 0 Hz frame rate whatever
I do in terms frame rate, gain and exposure.
Here is an output of arv-camera-test command:
./arv-camera-test -w 1280 -h 960 -f 10 -g 200
Looking for the first available camera
vendor name = Basler
model name = acA640-100gm
device id = 21286994
image width = 1280
image height = 960
horizontal binning = 1
vertical binning = 1
payload = 325546 bytes
exposure = 1000 µs
gain = 200 dB
gv n_stream channels = 1
gv current channel = 0
gv packet delay = 0 ns
gv packet size = 65535 bytes
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Completed buffers = 0
Failures = 0
Underruns = 0
Here is the output of the arv-device-test command:
Looking for the first available camera
vendor = Basler
model = acA640-100gm
device id = 21286994
sensor width = 659
sensor height = 494
image width = 1280 (max:659)
image height = 960 (max:494)
horizontal binning = 1 (min:1 - max:4)
vertical binning = 1 (min:1 - max:4)
exposure = 1000 (min:-1.79769e+308 - max:1.79769e+308)
exposure auto mode = Off
gain = 200 (min:100 - max:1023)
gain auto mode = Off
trigger selector = FrameStart
reverse x = FALSE
payload size = 325546 (0x4f7aa)
stream port = 47630 (47630)
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
stream port = 47630 (47630)
Processed buffers = 0
Failures = 0
Underruns = 0
And here is the output of the arv-camera-test -d all command:
Looking for the first available camera
Found 0 USB3Vision device (among 4 USB devices)
[GvDiscoverSocket::new] Add interface 127.0.0.1
[GvDiscoverSocket::new] Add interface 169.254.122.6
[GvInterface::discovery] Device 'Basler-21286994' found (interface
169.254.122.6) user_name '' - MAC_name 'Basler-21286994'
[GvDevice::new] Interface address = 169.254.122.6
[GvDevice::new] Device address = 169.254.60.34
[GvDevice::load_genicam] xml url =
'Local:Basler_Ace_GigE_e7c9b87e_Version_3_3.zip;c0000000;10cca' at
0x200
[GvDevice::load_genicam] Xml address = 0xc0000000 - size = 0x10cca
- Basler_Ace_GigE_e7c9b87e_Version_3_3.zip
[GvDevice::load_genicam] Zipped xml data
[GcFeature::set_attribute] Unknown attribute 'xmlns'
[GcFeature::set_attribute] Unknown attribute 'xmlns:xsi'
[GcFeature::set_attribute] Unknown attribute 'ProductGuid'
[GcFeature::set_attribute] Unknown attribute 'StandardNameSpace'
[GcFeature::set_attribute] Unknown attribute 'ToolTip'
[GcFeature::set_attribute] Unknown attribute 'VersionGuid'
[GcFeature::set_attribute] Unknown attribute 'xsi:schemaLocation'
[Genicam::create_element] Unknow tag (Visibility)
[Genicam::create_element] Unknow tag (Visibility)
[Genicam::create_element] Unknow tag (Visibility)
[Genicam::create_element] Unknow tag (Visibility)
[Genicam::create_element] Unknow tag (Visibility)
[Genicam::create_element] Unknow tag (Visibility)
[Genicam::create_element] Unknow tag (Streamable)
[Genicam::create_element] Unknow tag (Representation)
[Genicam::create_element] Unknow tag (Visibility)
.........................
[Genicam::create_element] Unknow tag (Slope)
[Genicam::create_element] Unknow tag (Slope)
[Genicam::create_element] Unknow tag (Visibility)
[GvDevice::new] Packet resend = yes
[GvDevice::new] Write memory = yes
[GvDevice::new] Register workaround = yes
vendor name = Basler
model name = acA640-100gm
device id = 21286994
image width = 1280
image height = 960
horizontal binning = 1
vertical binning = 1
payload = 325546 bytes
exposure = 1000 µs
gain = 200 dB
gv n_stream channels = 1
gv current channel = 0
gv packet delay = 0 ns
gv packet size = 65535 bytes
[GvDevice::create_stream] Number of stream channels = 1
[GvStream::stream_new] Packet size = 65535 byte(s)
[GvStream::stream_new] Destination stream port = 51170
[GvStream::stream_new] Source stream port = 49152
[GvStream::stream_thread] Packet timeout = 40 ms
[GvStream::stream_thread] Frame retention = 100 ms
[GvStream::loop] Standard socket method
Frame rate = 0 Hz
Frame rate = 0 Hz
Frame rate = 0 Hz
Completed buffers = 0
Failures = 0
Underruns = 0
bins ;Buffer r
0; 0
-------------
>= 200; 0
< 0; 0
min ; n/a
max ; n/a
last max
at: ; 0
Counter = 0
[GvStream::finalize] n_completed_buffers = 0
[GvStream::finalize] n_failures = 0
[GvStream::finalize] n_timeouts = 0
[GvStream::finalize] n_aborteds = 0
[GvStream::finalize] n_underruns = 0
[GvStream::finalize] n_missing_frames = 0
[GvStream::finalize] n_size_mismatch_errors = 0
[GvStream::finalize] n_received_packets = 0
[GvStream::finalize] n_missing_packets = 0
[GvStream::finalize] n_error_packets = 0
[GvStream::finalize] n_ignored_packets = 0
[GvStream::finalize] n_resend_requests = 0
[GvStream::finalize] n_resent_packets = 0
[GvStream::finalize] n_duplicated_packets = 0
[Stream::finalize] Flush 50 buffer[s] in input queue
[Stream::finalize] Flush 0 buffer[s] in output queue
Maybe I am missing something obvious... Thanks in advance if you
have some tips to give me about what is happening.
Kind regards,
Philippe