pylon GigE Configurator (CLI 버전)#
Configurator 사용#
이 도구는 세 가지 구성 모드를 제공합니다. 요구 사항에 따라 전체 시스템을 구성할지 혹은 일부만 구성할지 선택하십시오.
또한, 도구를 실제로 실행하기 전에 변경될 내용을 미리 확인 할 수 있는 드라이런 모드(dry-run mode)가 제공됩니다. 필요에 따라 모든 변경 사항을 로그에 기록할 수 있습니다.
Configurator 실행#
pylon GigE Configurator의 명령줄 버전을 실행하려면:
- pylon 버전 7.1 이상이 설치되어 있는지 확인하십시오.
- 명령 프롬프트를 엽니다.
- 명령줄에서 pylon 설치 디렉토리(예: Windows의 경우 %programfiles%\Basler\pylon x\Runtime\x64, Linux의 경우 /opt/pylon x/bin)로 이동합니다.
- 명령줄에서 PylonGigEConfigurator를 실행합니다.
정보
- 네트워크 어댑터를 구성하려면 관리자 권한 또는 sudo 권한으로 컨피그레이터를 시작해야 합니다.
- 네트워크 충돌을 방지하려면 네트워크 어댑터나 스위치에 카메라만 연결되어 있는지 확인하십시오.
사용 가능한 명령어#
이 도구는 다음과 같은 명령과 옵션을 지원합니다.
| 명령 | 설명 |
|---|---|
list | 활성 네트워크 어댑터 목록과 현재 구성을 표시합니다. |
auto-ip | 네트워크 어댑터 및 연결된 카메라의 IP 주소와 서브넷 마스크를 구성합니다. |
auto-opt | 최상의 스트리밍 성능을 위해 네트워크 어댑터 및 시스템 설정(예: Jumbo Frames, 인터럽트 조절률(Interrupt Moderation Rate), 수신 디스크립터(Receive Descriptors))을 최적화합니다. |
auto-all | auto-opt와 auto-ip를 모두 실행합니다. |
| 옵션 | 설명 |
|---|---|
-h 또는 --help | 도움말을 표시합니다. |
-l 또는 --log <filename> | Logs to the file specified. Defaults to <TEMP>/<appname>_<timestamp>.log. |
-n 또는 --dry-run | 드라이런 모드(dry-run mode)를 활성화합니다. 이를 통해 매개변수를 설정하기 전에 변경될 내용을 미리 확인할 수 있습니다. |
-a 또는 --adaptername <name> | 지정된 어댑터의 IP 주소 할당 및/또는 설정 최적화를 강제로 수행합니다. |
--class <A, B, C> | IP 주소를 설정할 때 지정된 네트워크 클래스의 사설 주소를 사용합니다. 유효한 네트워크 클래스는 A, B 또는 C이며, 기본값은 C입니다. |
예제#
PylonGigEConfigurator list
PylonGigEConfigurator auto-all -h
PylonGigEConfigurator auto-ip -a "Ethernet 2" --class C
시스템 최적화#
The auto-all 명령어는 단 한 번의 단계로 GigE 네트워크와 카메라 설정을 최적화합니다.
| 명령 구문 |
|---|
PylonGigEConfigurator auto-all [-a <name> ...] [--class <A | B | C>] [-n] [-h] [-l <filename>] |
작동 방식#
실행 중인 auto-all 명령어는 다음 작업을 수행합니다.
- 실행합니다.
auto-ip명령어를 실행합니다. 네트워크 어댑터와 연결된 카메라의 IP 주소를 구성합니다. 및 네트워크 어댑터와 연결된 카메라의 서브넷 마스크. - 실행합니다.
auto-opt명령어를 실행합니다. 네트워크 어댑터를 구성합니다. 최적의 스트리밍 성능을 위해 시스템 설정을 구성합니다.
자세한 내용은 두 명령어에 대한 문서를 참조하십시오.
IP 주소 구성#
The auto-ip 명령어는 네트워크 어댑터와 연결된 카메라의 IP 주소 및 서브넷 마스크를 구성합니다.
| 명령 구문 |
|---|
PylonGigEConfigurator auto-ip [-a <name> ...] [--class <A | B | C>] [-n] [-h] [-l <filename>] |
The auto-ip 명령어는 로컬의 모든 GigE 네트워크 어댑터를 검색하고 연결된 카메라를 확인합니다. 감지된 카메가가 없으면 해당 어댑터는 건너뛰고 구성되지 않습니다.
그 후, 도구는 모든 GigE 네트워크 어댑터와 연결된 카메라의 IP 주소를 오름차순으로 구성합니다.
다음 옵션을 사용하여 네트워크 어댑터의 IP 구성을 강제로 적용할 수 있습니다. -a 옵션 뒤에 어댑터 이름을 입력합니다. 이 경우 카메라 연결 여부와 상관없이 어댑터가 항상 구성됩니다.
또한 다른 네트워크 클래스의 주소 범위 내에서 네트워크 어댑터를 구성할 수 있습니다(예: 클래스 A 또는 클래스 B). 이렇게 하려면 --class 옵션 뒤에 클래스 유형을 입력합니다(예: --class B.
If you omit the --class option, the tool automatically uses the address range from network class C, e.g., 192.168.xxx.xxx.
예제#
PylonGigEConfigurator auto-ip
PylonGigEConfigurator auto-ip -a "Ethernet 2" -a "Ethernet 3"
PylonGigEConfigurator auto-ip -a "Ethernet 2" --class C
네트워크 설정 구성#
The auto-opt command optimizes your network adapters and your system settings for best streaming performance.
| 명령 구문 |
|---|
PylonGigEConfigurator auto-opt [-a <name> ...] [-n] [-h] [-l <filename>] |
The auto-opt 명령어는 로컬의 모든 GigE 네트워크 어댑터를 검색하고 연결된 카메라를 확인합니다. 감지된 카메가가 없으면 해당 어댑터는 건너뛰고 구성되지 않습니다.
Then, the tool optimizes all GigE network adapters with connected cameras in ascending order.
You can force the optimization of a network adapter by using the -a 옵션 뒤에 어댑터 이름을 입력합니다. 이 경우 카메라 연결 여부와 상관없이 어댑터가 항상 구성됩니다.
To find out which parameters will be optimized, read the Affected Network Parameters topic.
예제#
드라이런(Dry-run) 모드#
The dry-run mode allows you check the changes to your system before applying them.
In dry-run mode, the configurator shows you all configuration and optimization steps that will be performed when you execute the tool.
You can enable the dry-run mode by using the -n 또는 --dry-run option with any command.
예제#
PylonGigEConfigurator auto-all -n
PylonGigEConfigurator auto-ip -n
PylonGigEConfigurator auto-opt -n
변경 사항 로깅#
The configurator allows you to create log files for diagnostic purposes.
| 명령 구문 |
|---|
PylonGigEConfigurator auto-opt [-a <name> ...] [-n] [-h] [-l <filename>] |
You can log all changes made by the configurator with the -l 또는 --log option. If you want to log the changes to a user-defined file and directory, append the file name, e.g., -l log.txt.
By default, the configurator logs all changes into a log file in the following temp folders:
- Windows : %TEMP%\PylonGigEConfigurator_<timestamp>.log
- Linux : ~/.local/temp/PylonGigEConfigurator_<timestamp>.log