grab
Capture a single frame from a GenICam industrial camera, save as PNG, and retrieve image size, pixel format, and file path. Waits for trigger if TriggerMode is On, with timeout.
Instructions
1프레임을 획득해 PNG 로 저장하고 크기·픽셀포맷·저장경로를 반환한다.
TriggerMode 가 'On' 이면 트리거가 들어올 때까지 대기하다 타임아웃된다.
자유 실행 캡처를 원하면 먼저 set_feature('TriggerMode', 'Off') 를 호출하라.
Args:
save_path: 저장할 PNG 경로. 생략하면 임시 디렉터리에 저장하고 그
경로를 돌려준다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||