Skip to content
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

Baumer camera integration #52

Open
lsnaidero opened this issue Aug 22, 2022 · 11 comments
Open

Baumer camera integration #52

lsnaidero opened this issue Aug 22, 2022 · 11 comments

Comments

@lsnaidero
Copy link

I'm tring this project using a Baumer Camera model VCXG-25M but the project doesn't find the device.

I'm unable to attach to the event new frame and acquire images.
Follow the code I used:

gvcp = new Gvcp() { CameraIp = "10.0.5.12" };
Dictionary<string, string> registers = await gvcp.ReadAllRegisterAddressFromCameraAsync().ConfigureAwait(false);
List devices = await gvcp.GetAllGigeDevicesInNetworkAsnyc();

        this.camera = new Camera(gvcp);
        camera.FrameReady += FrameReady;

What is wrong?
Do you never tried the project with Baumer camera?
Tanks

@Touseefelahi
Copy link
Owner

I have tested one Baumer camera.

@Touseefelahi
Copy link
Owner

Touseefelahi commented Aug 22, 2022

You need to allow the program to access the private and public network
You can do it by adding an exception for this program to have access to private network in firewall settings

@Touseefelahi
Copy link
Owner

@lsnaidero and did you call this start stream method? (Mentioned in the readme)

//For multiple interfaces you can define the Rx IP as: (In this example 192.168.10.221 is the PC IP)
bool isStarted = await camera.StartStreamAsync("192.168.10.221").ConfigureAwait(false);

@lsnaidero
Copy link
Author

lsnaidero commented Aug 22, 2022 via email

@Touseefelahi
Copy link
Owner

Do you get any device in the discovery by calling get all gige devices function?

@lsnaidero
Copy link
Author

lsnaidero commented Aug 23, 2022 via email

@Touseefelahi
Copy link
Owner

@lsnaidero what is the status of StartStreamAsync method? it returns Status/bool

@lsnaidero
Copy link
Author

lsnaidero commented Aug 23, 2022 via email

@Touseefelahi
Copy link
Owner

@lsnaidero you can also listen to the updates from the Camera class by listening to Updates Event, the same way as the FrameReady Event, it might give us some clue about what's going on.

And there is a very good utility Wireshark, it can give us a very clear indication about the problem. I suggest you install Wireshark so that we can know what is the status of each command.

@lsnaidero
Copy link
Author

lsnaidero commented Oct 11, 2022 via email

@Touseefelahi
Copy link
Owner

@lsnaidero kindly, synchronize with the latest commit and try again.
And check with Wireshark, if the stream is actually started or not. It seems like there is an issue with some array bound, but I am not certain.

Easy way would be to clone the project and run using the sample application and see where it is causing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants