Skip to Main Content
Centre d’assistance Cognex
LogoLogo

How to set Online/Offline via HTTP with In-Sight Vision Suite Cameras

How to set Online/Offline via HTTP with In-Sight Vision Suite cameras.

24/10/2025

Question

How to set Online/Offline via HTTP with In-Sight Vision Suite Cameras?

Answer

To be able to trigger camera via HTTP Post request at first we have to openSession and login with admin privilidges described in

000001845 [In-Sight] How to Open a Session Via HTTP with In-Sight Vision Suite Cameras 

(https://preprod.support.cognex.com/en/help-articles/webskd-how-to-open-session-via-http-with-in-sight-vision-suite-cameras)

We're able to set camera online/offline even when camera booted up in offline.

To set camera online, we have to connect to the camera via HTTP using additional software. For testing purposes, use Postman.

Send PUT command to camera:

        PUT <cameraIP>/<SessionID>/softOnline with Body true

  • In reply, we will get 204 No Content

How to Change Cell Value via HTTP with In-Sight Vision Suite_Image-1

To set camera offline

Send PUT command to camera:

        PUT <cameraIP>/<SessionID>/softOnline with Body false

  • In reply, we will get 204 No Content

How To set OnlineOffline via HTTP with In-Sight Vision Suite Cameras_Image-2

Ressources connexes

Loading component...