How to integrate a camera into ImSwitch?

I have a Vimba camera(1800 U-501m), and I want to know how to integrate it into ImSwitch and use ImSwitch to control it for image acquisition.

Thanks @HaiyueLi for reaching out to us. In fact you would need to modify the configuration file which is documented in this repository:

In fact, you would need to either create or modify a setup.json file that is in the folder ~/ImSwitchConfig/imcontrol to have the Vimba detector as a detector. One way of doing that would be the following:

    "detectors": {
        "WidefieldCamera": {
            "analogChannel": null,
            "digitalLine": null,
            "managerName": "AVManager",
            "managerProperties": {
                "cameraListIndex": 1,
                "avcam": {
                    "exposure": 0,
                    "gain": 0,
                    "blacklevel": 100,
                    "image_width": 1000,
                    "image_height": 1000,
                    "pixel_format": "Mono12"
                }
            },
            "forAcquisition": true,
            "forFocusLock": false
        }
    },

Please add this to your setup.json file (you can call it however you like…). To use this setup configuration file in your system, you need to specify that in your imcontrol_options.json under ~/ImSwitchConfig/config. Change the "setupFileName": "XXXsetup.json" (which is pointing to the file under imcontrol_setup. On you next start this file will be used for the setup configuration (you can also specify other things like stage, etc.).

you can read more about this here: Hardware control configurations — ImSwitch documentation

To test if the camera actually works, please revise the following tests:

Let me know if this helps.

Important Vimba X won’t work. You have to use Vimba Viewer 6 or something like that.