Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

X

iAMGigEVisionServer

...

Introduction

...

The iAMGigEServer is a small software application, which is preinstalled to the camera autostart script. It provides a comfortable way to set up the vision application on a host system. Obtaining a high-performance live stream from the camera, analyzing image quality or testing new camera settings can be done quickly.

Note

While sv. iAMGigEServer is running, it will block the camera access for other applications e.g. like https://net-iam.atlassian.net/wiki/pages/resumedraft.action?draftId=51904638 SynView Explorer running directly on the camera.

Note

iAMGigEServer is pre-installed and starts with an autostart scriptout of the box by default.

After setting up the system it is necessary to disable the iAMGigEServer autostart for accessing the camera hardware from the iam camera application.

This can be done with sv.ipconf.x64.exe SynView IP Config Tool.

Drawio
zoom1
simple0
inComment0
custContentId85164196
pageId79855715
custContentId85164196
lbox1
diagramDisplayNameiAMGigEServer
contentVer10
revision10
baseUrlhttps://net-iam.atlassian.net/wiki
diagramNameiAMGigEServer
pCenter0
width714.5
links
tbstyle
height548

...

  • To use the iAMGigEServer it is mandatory to configure the network controller for high data throughput. See Configure your Network Controller for more details.

  • Installation of the latest version of SynView to host system. See Section Download latest SynView ExplorerPackage for download link.

  • During production the latest version of the SynView Explorer and iAMGigEServer is installed to camera. Only in special cases it is necessary to update the camera. See section iam update tool SynView Update Tool for detailed information.

  • The behaviour of the iAMGigEServer can be controlled by the sv.ipconf.x64 tool. sv.ipconf.x64 SynView IP Config Tool. SynView IP Config Tool can be found on your host PC under "C:\Program Files\SynView\bin\sv.ipconf.x64.exe"

...

Tip

iAMGigEServer is pre-installed and starts with an autostart script. Therefore it is usually not necessary to start iAMGigEServer manually.

If the sv.ipconf.x64 tool does not find a connected camera, iAMGigEServer is stopped or disabled.
To get access to iam via sv.ipconf.x64.exe-tool SynView IP Config Tool,
an openSSH connection to the camera has to be established and iAMGigEServer has to be started manually.

ssh root@192.168.1.10
root@iam_mipi:~# /opt/synview/bin/sv.iAMGigEServer

Info

iAMGigEServer can be started with script autostart_gigeserver.sh from /var/opt/SynView directory. sv.iAMGigEServer will connect to the camera hardware. If succeeded, a similar command as below is visible.

Code Block
/var/opt/synview/autostart_gigeserver.sh

---> Start sv.iAMGigEServer
-----------------------------------------------------------------
Demo: sv.iAMGigEServer: simple iAM gige server  Version: 17.06.2020
-----------------------------------------------------------------
[23019]:[23019]:sv.iAMGigEServer:: Synview: Opening the library...
[23162]:[23162]:sv.iAMGigEServer:: Synview: Opening the system...
[23301]:[23301]:sv.iAMGigEServer:: cti file="/opt/synview/cti64/libsv.gentl.cti"
[23301]:[23301]:sv.iAMGigEServer:: Synview: Create CCamera class...
[23301]:[23301]:sv.iAMGigEServer:: Synview: Opening the camera...
[23301]:sv.iAMGigEServer:: CCamera::OpenCamera begin
[23301]:sv.iAMGigEServer:: CCamera::OpenCamera: NumberOfInterfaces:1
[23301]:sv.iAMGigEServer:: CCamera::OpenCamera: Open the Interface nr:0 = >iAM Interface<
[23313]:sv.iAMGigEServer:: CCamera::OpenCamera: NumberOfDevices on iAM Interface = 1
[23313]:sv.iAMGigEServer:: CCamera::OpenCamera: trying Device nr:0 on:iAM Interface Device Id String: >SViAM:IA1503C:14N2GEB2M12039002<
[23580]:sv.iAMGigEServer:: CCamera::OpenCamera: Opened Cam >SViAM:IA1503C:14N2GEB2M12039002< on Device:iAM Interface (pInterface:0x9db16c0 pDevice:0x9e784a0)
[23580]:sv.iAMGigEServer:: CCamera::OpenCamera end
[23588]:sv.iAMGigEServer:: CCamera::InitCamera: Image format is: 1456x1088
[23588]:sv.iAMGigEServer:: CCamera::InitCamera end
[23599]:sv.iAMGigEServer:: Synview: press 'q' or 'ESC' to end program

Stop iAMGigEServer

  • With From Comand Line (eg. SSH)

    • sv.iAMGigEServer

...

Stop iAMGigEServer

  • From Comand Line (eg. SSH)

    • create file: "/opt/synview/bin/sv.iAMGigEServer.stop":
      touch /opt/synview/bin/sv.iAMGigEServer.stop

  • With SynView IP Config Tool (sv.ipconf.x64.exe) tool

    • Open sv.ipconf.x64.exe tool. SynView IP Config Tool .

    • Now you should see the iam camera under "device model".

    • Press button "Connect and configure".

    • Press button "Stop GigEServer".

    • iam immediately disappears from sv.ipconf-tool.

  • With SynView Explorer on the host PC

    • Open sv.explorer.x64.exe.

    • Now you should see iam under “found cameras“.

    • Open the iam.

    • Press “Show guru level“.

    • Open “Smart Application Features“.

    • Press “Smart Application Exit Event“ command.

    • iam disappears from sv.explorer.x64.exe. SynView Explorer.

...

Disabling the start of iAMGigEServer after booting

  • Open sv.ipconf.x64.exe tool SynView IP Config Tool .

  • Now you should see the camera under "device model".

  • Press button "Connect and configure".

  • Set "Boot switch" checkbox to checked.

  • Set Boot switch mode to "None".

  • Press button "Apply and disconnect".

...

Info

You need an openSSH connection to the camera to start iAMGigEServer.

ssh root@192.168.1.10
root@iam_mipi:~# /opt/synview/bin/sv.iAMGigEServer

Following this commands, the camera shows up again in the sv.ipconf.x64.exe tool.

...

SynView IP Config Tool .

  • Open SynView IP Config Tool .

  • Now you should see the camera under "device model".

  • Press button "Connect and configure".

  • Set "Boot switch" checkbox to checked.

  • Set Boot switch mode to "Autostart GigEServer".

  • Press button "Apply and disconnect".

...