Port IMAGE - DEFAULT¶
Default port for interaction with MGB frame grabbers
Stimulation¶
此端口不具备激励能力。
Specifics¶
With the tooljobs GetConfigProperties and SetConfigProperties the configurations that are also accessible via the webinterface of the MGB can be read and changed while running a test case. A list of the available options can be found on the Digiteq MGB online documentation or on the device itself at http://<MGB_IP>/manual/ctlsock.html#section_configuration_properties.
Properties 🛈¶
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
IP address |
‘192.168.1.200’ |
string |
IP address of the MGB framegrabber. |
||
Control port |
53000 |
int |
Port number to the Control Socket Protocol. |
||
Timeout |
10 |
int |
Timeout of the socket connection in seconds. |
||
Frame rate |
25 |
int |
Frame rate of the video signal. |
||
Video protocol |
‘H264-MPEGTS-TCP’ |
[‘H264-MPEGTS-TCP’, ‘JPEG-MUX-TCP’] |
string |
Protocol for video streaming. |
|
Show binary timestamp in video |
‘manually’ |
[‘view’, ‘hide’, ‘manually’] 显示值:
|
string |
Adds the current time stamp of the frame grabber in binary format. “Manual” leaves existing (manual) configurations unchanged. |
|
Mirror image vertically |
☐ |
bool |
Mirrors the image vertically for image reading test step and video streaming. |
||
Live preview |
☐ |
bool |
在配置的网络端口上流式传输实时预览。可通过工具主机的 IP 地址和配置的端口访问实时流,例如本地工具连接:http://127.0.0.1:<port> |
||
打开预览窗口 |
实时预览 |
☑ |
bool |
加载配置时打开预览窗口。该窗口以直播流形式显示图像源的当前输出,并且在测试配置激活期间始终保持打开。 |
|
Port |
实时预览 |
‘<auto>’ |
string |
用于实时流的网络端口。如果为多个视频源启用实时流,则每个实时流都需要一个唯一的端口。如果将该值设为 <auto>,系统将分配一个空闲的网络端口。 |
|
Show text overlay in video recordings |
☐ |
bool |
在视频 Recording 的左下角添加格式为 “timestamp package name” 的文本叠加。 |
Jobs 🛈¶
GetConfigProperties¶
Reads the settings of the grabber and saves them to a dictionary.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
properties |
[] |
object |
A list of settings whose current values are to be read by the device. If the list is empty, all settings are read. |
GetStatus¶
Returns the current status, such as firmware version or detected video resolution, of the grabber as a dictionary.
Reboot¶
Restarts the MGB.
SetConfigProperties¶
Changes the settings of the Grabber.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
properties |
{} |
object |
A dictionary with the settings that should be set. Settings that do not exist are ignored. |
SetVideoMarker¶
Places a 2x2 checkerboard marker in the upper right corner of the video stream for the specified number of frames.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
duration |
3 |
int |
Display duration in frames. |
||
size |
10 |
int |
Size of the video marker in pixels. |