iAM GigE Vision Server
Introduction
iam can be recognized by common system architectures as a standard device.
With the iAMGigEServer running on the camera iam acts like a GigE Vision and GenICam compliant camera with freely definable features. Live imaging, as well as processed images, can be delivered as a GigE Vision stream. The iAMGigEServeris GigE Vision standard compatible and thus works with any standard compliant software interface from other suppliers.
The iAm server is an small software application which is preinstalled to the camera autostart script. It provides a comfortable way to set up your vision application. By obtaining a performant live stream from the camera analyzing image quality or testing new camera settings can be done quickly.
While the sv.iAMGigEServer
is running it will block the camera hardware for other applications e.g. like the https://net-iam.atlassian.net/wiki/pages/resumedraft.action?draftId=51904638 running direct on the camera.
iAMGigEServer is preinstalled to the cameras' autostart script.
After setting up your system it will be necessary to disable the iAMGigEServer autostart for accessing camera hardware from your iam camera application.
Requierements
For using the iAM server is is mandatory to configure the network controller for high data throughput. See Configure your Network Controller for more details.
Start iAMGigEServer
iAMGigEServer is preinstalled to the cameras' autostart script. Therefore it is usually not necessary to start the iAMGigEServer manually.
You need to establish an openSSH connection.
If you have modified the autostart script as described in section “Disable iAMGigEServer starting from boot” below you can start the iAMGigEServer manually.
The iAM Server can be started with the script start_iAMGigEServer.sh
from the /home/root/
directory. The sv.iAMGigEServer
will connect to camera hardware. If succeeded you should see a similar command out as below.
/home/root/start_iAMGigEServer.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
If you do not have modified the autostart script as described in section “Disable iAMGigEServer starting from boot” below the iAM Server will start after reboot again.
You need to establish an openSSH connection.
On can stopp a running iAM server by the script kill_iAMGigEServer.sh
from the /home/root/
directory.
/home/root/kill_iAMGigEServer.sh
Disabling iAMGigEServer starting after boot
Linux managed custom autostart by a shell script. The script can be found under the location
/etc/trd/autostart.sh
It is configured as shown below:
#!/bin/sh echo "---> Start AUTOSTART" /home/root/start_iAMGigEServer.sh
For prevent the iAM server to start after booting on need to comment line 5 as shown below:
#/home/root/start_iAMGigEServer.sh
This can be done either by using the editor vi from the shell
vi /etc/trd/autostart.sh
or by using WinSCP as described at Windows Host System. for using the command line editor vi we refere to the MIT Vi Reference Card.