-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Register Dictionary is null #76
Comments
I Have this problem with camera who use http://www.genicam.org/GenApi/GenApiSchema_Version_1_1.xsd because i try tu see something with GigeVisionLibrary.Test.Wpf and it is work for camera who use http://www.genicam.org/GenApi/Version_1_0 but not http://www.genicam.org/GenApi/Version_1_1 |
Registers dictionary is not required to be populated anymore. I just tested it with camera who uses the same GenApi version (1_1) and it worked just fine with commenting the following lines in MainWindow.xaml.cs (GigeVisionLibrary.Test.Wpf). //var listOfDevices = await camera.Gvcp.GetAllGigeDevicesInNetworkAsnyc().ConfigureAwait(false);
//cameraCount.Text = "Cam count: " + listOfDevices.Count.ToString();
//if (listOfDevices.Count > 0)
//{
// Camera.IP = listOfDevices.FirstOrDefault()?.IP;
// Camera.RxIP = listOfDevices.FirstOrDefault()?.NetworkIP;
//} the above service is not directly related to this issue, but it is causing a crash with this camera (needs to be investigated). PS: Make sure that your local master branch is updated to the latest changes. |
Can you kindly provide the camera xml file so I can look it up. |
BAUMER.zip |
I've found what causing the issue in GenICam Formulas. Kindly switch to this branch (https://github.com/Touseefelahi/GigeVision/tree/Fix_GenICamFormula) and test it; hopefully it will work with you as it did with me. @Watearth |
I think, for CategoryDictionary, when you search all pFeatures for 1 category, you scan scan all file and not only the right category. |
the null values are for the nodes that not been implemented yet in this library, check them out: most likely from what I notice they are Selectors (pSelected). the test I did was in a different Baumer camera that I have, this time I will try to test it using the formulas in the xml file you sent (this test will not be 100% valid as long as I don't have the actual camera to read the required registers values from the formulas). |
I understand and it is the "lastest" Baumer camera with 65Mpx. For formula, it is very strange for Width information, it is working but I think is not simple. I cheat a little bit for 'Width' & 'Height', I changed in software for have 'SensorWidth' (9344) and 'SensorHeight' (7000) and on wpf test, it is look like working but I have 0fps and 0 FrameReady. In the beginning I just want use 'GenICam protocol' to do a software for my cameras easily but I for now I will do it with all sdk from Vendor. I would like to do the same thing of you, a WPF software with a selector of IP address and see cameras. Thanks for your time. I will try another time with your software. |
here is the formula that the math parser couldn't calculate: because I was not covering the case of having or condition in the FormatExpression method (1ebd94b) kindly pull out the latest changes in this branch (https://github.com/Touseefelahi/GigeVision/tree/Fix_GenICamFormula). I hope it will work with you this time. |
Same thing, Width & Height don't work and 0 fps. |
Register dictionary is not being populated
The text was updated successfully, but these errors were encountered: