Comments (13)
@hinxx I misread your original message, I thought you were commenting out that line, but now I see that you were uncommenting it. That makes sense, and the question is why was it originally commented out. I will research that.
from adaravis.
My Mako G-234B also supports only 8 and 12 bits. Fw version 00.01.54.18318.
from adaravis.
Please post the error message you receive if you don't comment out that line. Is the camera actually returning an array of uint16 and not some packed 14-bit data? Presumably you do want the 14-bit data stored in an NDUInt16 NDArray, correct?
I am trying to understand why that line would cause a problem.
from adaravis.
Please post a screen shot of your main ADAravis screen.
from adaravis.
Please post the error message you receive if you don't comment out that line.
2022/02/10 12:25:26.681 ADAravis:processBuffer: unknown pixel format 17825829
2022/02/10 12:25:26.697 ADAravis:lookupColorMode: Could not find a match for pixel format: 17825829
The above message is received when using stock ADAravis code (with the line in the initial report commented). As soon as that line is uncommented, I can select Mono14
Pixel format, and the data on the IOC makes sense. So the problem is that stock code that line commented out while need it uncommented.
Is the camera actually returning an array of uint16 and not some packed 14-bit data?
I think it is returning the packed 14 bit data as far as I can tell (because going with Pixel format
= Mono16
results in data that does not make sense). My understanding is that because the camera packs the pixel data into 14 bits it is not possible to use Mono16
data type on the IOC. We tried different settings for convert format and bit shifting (with Mono16
) but could never see the reasonable data in the IOC.
Presumably you do want the 14-bit data stored in an NDUInt16 NDArray, correct?
Yes, that is the intention.
Please post a screen shot of your main ADAravis screen.
I'll have to come back to you with that one as the setup is torn down at the moment.
from adaravis.
Line 93 was inherited from aravisGigE, and was commented out in this commit by @thomascobb:
areaDetector/aravisGigE@5c2d3d3
The commit message says:
aravisGigE: explicitly set packet size to 1500 to avoid Bad Frame 2 messages when camera has just restarted. Don't try and use Mono14 mode for UInt16 as it doesn't seem to work on Manta cameras
Are you using a Manta camera, or some other type?
from adaravis.
Using Flir A35 and another Mako camera in my setup. I'm running two different ADAravis IOCs at the moment (stock code with Mako and the code with uncommented line with Flir).
from adaravis.
I uncommented that line and pushed to the master branch. Please make sure the master branch runs on both cameras.
from adaravis.
My original comment was about an early firmware version of the Manta (1.52 I think). It's entirely possible that they have fixed it since then. The Mako and Manta firmwares follow a similar (identical?) numbering scheme so it would be useful to know if the Mako works in 14-bit mode.
@hinxx: if the 14-bit mode works with the Mako, please can you post the firmware version of the Mako that you have?
from adaravis.
if the 14-bit mode works with the Mako, please can you post the firmware version of the Mako that you have?
Sure! I'll give it a try in the coming days.
from adaravis.
I have 2 Manta cameras, G-507C and G-146C. According to the specs on their Web site they only support Mono8. Mono12, and Mono12Packed, so I cannot test the Mono14 mode.
from adaravis.
We have the Manta G125B and G235B which don't seem to be 14-bit according to the website. I guess a previous firmware might have advertised 14-bit mode when it wasn't available?
from adaravis.
I think this was fixed by uncommenting that line, so I am closing this issue.
from adaravis.
Related Issues (16)
- Aravis error propagation HOT 1
- Minimal functionality when using reset after power cycling camera HOT 10
- compile error with ADAravis HOT 4
- Gain is not controllable with a Prosilica GC655C Camera HOT 10
- use of static variables HOT 1
- Incorrect dataTimeStamp
- readEnumChoices leak HOT 3
- aravis version HOT 3
- 0 size buffers in processBuffer() when capturing 'Single' or 'Multiple' HOT 4
- Best way to automatically re-initialize power cycled cameras?
- Channel control not relinquished on camera reset HOT 6
- node xyz is not writable HOT 19
- Oryx camera sometimes changes from "Multiple" to "Continuous" mode HOT 1
- Corrupted image from the detector HOT 9
- Need support for Mono12Packed and Mono12p formats HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adaravis.