Scheduled Action Commands#
如果精確的時機對您的應用程式而言並非關鍵因素,您可以改用「動作指令」功能。
使用功能#
運作原理#
「排程動作指令」功能的基本參數與「動作指令」功能相同:
除了這些參數之外,「排程動作指令」功能還會使用「動作時間」參數:
行動時刻#
一個 64 位元 GigE Vision 時間戳記,用於定義何時執行該動作。
當攝影機的內部時間戳記值達到指定值時,該動作即會立即執行。
當 Precision Time Protocol 功能啟用後,時間戳記值會在網路中的所有攝影機之間進行同步。因此,該動作將在網路中的所有攝影機上於完全相同的時間點執行。
該值必須以「ticks」為單位輸入。在啟用 Precision Time Protocol 功能已啟用的 Basler 攝影機上,一個刻度等於一奈秒。
範例:假設您發出一個排程動作指令,並將動作時間設定為 100 000 000 000。當指定網路區段中所有攝影機的時間戳記值達到 100 000 000 000 時,該動作即會執行。
資訊
若輸入 0(零),或將動作時間設定為過去的時間,該動作指令將立即執行,其效果等同於標準的動作指令。
使用Scheduled Action Commands#
設定相機#
請依照「動作指令」主題中所述的步驟操作。
發出排程動作指令#
一般用途#
要發出排程動作指令:
- 確保網路中的所有相機都透過 Precision Time Protocol 功能進行同步。
- 呼叫
IssueScheduledActionCommand方法。
這些參數與 IssueActionCommand 方法。唯一的區別在於額外增加了 Action Time 參數中選擇性地指定 HTML 記錄檔 (*.html) 的路徑與檔名。
範例:
發出將於經過一定延遲後執行的「排程動作指令」#
若要發出將於經過一定延遲後執行的排程動作指令:
資訊
- 必須使用 pylon API 執行下列步驟。
- 由於在傳送與執行pylon API 指令之間存在未指定的延遲,因此無法精確達到預期的延遲時間。
- 確保網路中的所有相機都透過 Precision Time Protocol 功能進行同步。
- 執行
TimestampLatch在其中一台攝影機上執行此指令。若其中一台攝影機擔任「PTP 」主時鐘,請使用該台攝影機。
相機當前狀態的「快照」 時間戳記 取該值。 - 取得
TimestampLatchValue在同一台相機上設定參數。
該值以 tick 為單位。在配備 Precision Time Protocol 功能的 Basler 相機上,一個 tick 等於一奈秒。 - 呼叫
IssueScheduledActionCommand將動作時間設定為步驟 3 中確定的值,再加上所需延遲(以 tick 為單位,即奈秒)的此方法。
例如,若您希望該指令在約 30 秒後執行,請將動作時間設定為TimestampLatchValue+ 30 000 000 000.
網路區段中的所有攝影機都將在指定的延遲時間過後,同時執行該指令。
發出將於特定時間點執行的排程動作指令#
若要發出將在精確時間點執行的排程動作指令:
- 請確保網路中的所有攝影機皆透過 Precision Time Protocol 功能與某個時間標準(例如協調世界時(UTC))保持同步。
例如,可透過在網路中整合支援IEEE 1588 的 UTC 時鐘裝置來達成此目標。 - 呼叫
IssueScheduledActionCommand將動作時間設定為協調時間值的方法。
例如,若您的攝影機已與 UTC 同步,您可以將動作時間設定為 1 765 537 200 000 000 000,以便在 2025 年 12 月 12 日(星期五)UTC 時間 11:00:00 精確執行該動作指令。
排隊Scheduled Action Commands#
若 buffer operator 的 ActionQueueSize 為 有貨 且其值大於一,您即可將排程動作指令加入佇列。
這表示攝影機可以儲存並處理多項排程動作指令。攝影機將依照動作時間由小到大的順序執行這些指令。若佇列已滿,額外的指令將會被忽略。
範例: 假設的 ActionQueueSize 參數為 2。現在,假設您向攝影機傳送以下指令:
IssueScheduledActionCommand(4711, 1, 0xFFFFFFFF, 20000000000, "192.168.1.255")IssueScheduledActionCommand(4711, 1, 0xFFFFFFFF, 10000000000, "192.168.1.255")IssueScheduledActionCommand(4711, 1, 0xFFFFFFFF, 5000000000, "192.168.1.255")
指令 2 將首先執行,時間為 10 000 000 000 奈秒後。指令 1 將其次執行,時間為 20 000 000 000 奈秒後。指令 3 將被忽略,因為佇列已滿。
詳細資料#
| 相機型號 | 動作佇列大小 |
|---|---|
| a2A640-240gmSWIR | 2 |
| a2A640-240umSWIR | Scheduled Action Commands 此功能不支援 |
| a2A1280-80gmSWIR | 2 |
| a2A1280-125umSWIR | Scheduled Action Commands 此功能不支援 |
| a2A1920-51gcBAS | 2 |
| a2A1920-51gcIP67 | 2 |
| a2A1920-51gcPRO | 3 |
| a2A1920-51gmBAS | 2 |
| a2A1920-51gmIP67 | 2 |
| a2A1920-51gmPRO | 3 |
| a2A1920-160ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A1920-160ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A1920-160umBAS | Scheduled Action Commands 此功能不支援 |
| a2A1920-160umPRO | Scheduled Action Commands 此功能不支援 |
| a2A1920-165g5cBAS | 2 |
| a2A1920-165g5mBAS | 2 |
| a2A1920-168mgc | Scheduled Action Commands 此功能不支援 |
| a2A1920-168mgm | Scheduled Action Commands 此功能不支援 |
| a2A2048-35gmSWIR | 2 |
| a2A2048-37gcBAS | 2 |
| a2A2048-37gcPRO | 3 |
| a2A2048-37gmBAS | 2 |
| a2A2048-37gmPRO | 3 |
| a2A2048-110umSWIR | Scheduled Action Commands 此功能不支援 |
| a2A2048-114g5cBAS | 2 |
| a2A2048-114g5mBAS | 2 |
| a2A2048-114mgc | Scheduled Action Commands 此功能不支援 |
| a2A2048-114mgm | Scheduled Action Commands 此功能不支援 |
| a2A2048-114ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A2048-114ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A2048-114umBAS | Scheduled Action Commands 此功能不支援 |
| a2A2048-114umPRO | Scheduled Action Commands 此功能不支援 |
| a2A2048-173cmSWIR | Scheduled Action Commands 此功能不支援 |
| a2A2440-98g5cBAS | 2 |
| a2A2440-98g5mBAS | 2 |
| a2A2448-23gcBAS | 2 |
| a2A2448-23gcIP67 | 2 |
| a2A2448-23gcPRO | 3 |
| a2A2448-23gmBAS | 2 |
| a2A2448-23gmIP67 | 2 |
| a2A2448-23gmPRO | 3 |
| a2A2448-75ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A2448-75ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A2448-75umBAS | Scheduled Action Commands 此功能不支援 |
| a2A2448-75umPRO | Scheduled Action Commands 此功能不支援 |
| a2A2448-90mgc | Scheduled Action Commands 此功能不支援 |
| a2A2448-90mgm | Scheduled Action Commands 此功能不支援 |
| a2A2448-105g5cBAS | 2 |
| a2A2448-105g5mBAS | 2 |
| a2A2448-120cc | Scheduled Action Commands 此功能不支援 |
| a2A2448-120cm | Scheduled Action Commands 此功能不支援 |
| a2A2448-210cc | Scheduled Action Commands 此功能不支援 |
| a2A2448-210cm | Scheduled Action Commands 此功能不支援 |
| a2A2464-23gcBAS | 2 |
| a2A2464-23gcPRO | 3 |
| a2A2464-23gmBAS | 2 |
| a2A2464-23gmPRO | 3 |
| a2A2464-77ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A2464-77ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A2464-77umBAS | Scheduled Action Commands 此功能不支援 |
| a2A2464-77umPRO | Scheduled Action Commands 此功能不支援 |
| a2A2464-115g5cBAS | 2 |
| a2A2464-115g5mBAS | 2 |
| a2A2560-20gmSWIR | 2 |
| a2A2560-70umSWIR | Scheduled Action Commands 此功能不支援 |
| a2A2560-131cmSWIR | Scheduled Action Commands 此功能不支援 |
| a2A2590-22gcBAS | 2 |
| a2A2590-22gcPRO | 3 |
| a2A2590-22gmBAS | 2 |
| a2A2590-22gmPRO | 3 |
| a2A2590-60ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A2590-60ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A2590-60umBAS | Scheduled Action Commands 此功能不支援 |
| a2A2590-60umPRO | Scheduled Action Commands 此功能不支援 |
| a2A2600-20gcBAS | 2 |
| a2A2600-20gcPRO | 3 |
| a2A2600-20gmBAS | 2 |
| a2A2600-20gmPRO | 3 |
| a2A2600-64ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A2600-64ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A2600-64umBAS | Scheduled Action Commands 此功能不支援 |
| a2A2600-64umPRO | Scheduled Action Commands 此功能不支援 |
| a2A2840-14gcBAS | 2 |
| a2A2840-14gcIP67 | 2 |
| a2A2840-14gcPRO | 3 |
| a2A2840-14gmBAS | 2 |
| a2A2840-14gmIP67 | 2 |
| a2A2840-14gmPRO | 3 |
| a2A2840-14gmUV | 3 |
| a2A2840-48ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A2840-48ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A2840-48umBAS | Scheduled Action Commands 此功能不支援 |
| a2A2840-48umPRO | Scheduled Action Commands 此功能不支援 |
| a2A2840-48umUV | Scheduled Action Commands 此功能不支援 |
| a2A2840-57mgc | Scheduled Action Commands 此功能不支援 |
| a2A2840-57mgm | Scheduled Action Commands 此功能不支援 |
| a2A2840-67g5cBAS | 2 |
| a2A2840-67g5mBAS | 2 |
| a2A2840-67g5mUV | 3 |
| a2A2840-86cc | Scheduled Action Commands 此功能不支援 |
| a2A2840-86cm | Scheduled Action Commands 此功能不支援 |
| a2A3536-9gcBAS | 2 |
| a2A3536-9gcPRO | 4 |
| a2A3536-9gmBAS | 2 |
| a2A3536-9gmPRO | 4 |
| a2A3536-31ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A3536-31ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A3536-31umBAS | Scheduled Action Commands 此功能不支援 |
| a2A3536-31umPRO | Scheduled Action Commands 此功能不支援 |
| a2A3536-37mgc | Scheduled Action Commands 此功能不支援 |
| a2A3536-37mgm | Scheduled Action Commands 此功能不支援 |
| a2A3536-42g5cBAS | 2 |
| a2A3536-42g5mBAS | 2 |
| a2A3840-13gcBAS | 2 |
| a2A3840-13gcPRO | 3 |
| a2A3840-13gmBAS | 2 |
| a2A3840-13gmPRO | 3 |
| a2A3840-45ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A3840-45ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A3840-45umBAS | Scheduled Action Commands 此功能不支援 |
| a2A3840-45umPRO | Scheduled Action Commands 此功能不支援 |
| a2A4096-9gcBAS | 2 |
| a2A4096-9gcIP67 | 2 |
| a2A4096-9gcPRO | 3 |
| a2A4096-9gmBAS | 2 |
| a2A4096-9gmIP67 | 2 |
| a2A4096-9gmPRO | 3 |
| a2A4096-30ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A4096-30ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A4096-30umBAS | Scheduled Action Commands 此功能不支援 |
| a2A4096-30umPRO | Scheduled Action Commands 此功能不支援 |
| a2A4096-38mgc | Scheduled Action Commands 此功能不支援 |
| a2A4096-38mgm | Scheduled Action Commands 此功能不支援 |
| a2A4096-44g5cBAS | 2 |
| a2A4096-44g5mBAS | 2 |
| a2A4096-67cc | Scheduled Action Commands 此功能不支援 |
| a2A4096-67cm | Scheduled Action Commands 此功能不支援 |
| a2A4200-12gcBAS | 2 |
| a2A4200-12gcPRO | 3 |
| a2A4200-12gmBAS | 2 |
| a2A4200-12gmPRO | 3 |
| a2A4200-40ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A4200-40ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A4200-40umBAS | Scheduled Action Commands 此功能不支援 |
| a2A4200-40umPRO | Scheduled Action Commands 此功能不支援 |
| a2A4504-5gcBAS | 2 |
| a2A4504-5gcIP67 | 2 |
| a2A4504-5gcPRO | 3 |
| a2A4504-5gmBAS | 2 |
| a2A4504-5gmIP67 | 2 |
| a2A4504-5gmPRO | 3 |
| a2A4504-18ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A4504-18ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A4504-18umBAS | Scheduled Action Commands 此功能不支援 |
| a2A4504-18umPRO | Scheduled Action Commands 此功能不支援 |
| a2A4504-23mgc | Scheduled Action Commands 此功能不支援 |
| a2A4504-23mgm | Scheduled Action Commands 此功能不支援 |
| a2A4504-27g5cBAS | 2 |
| a2A4504-27g5mBAS | 2 |
| a2A4504-42cc | Scheduled Action Commands 此功能不支援 |
| a2A4504-42cm | Scheduled Action Commands 此功能不支援 |
| a2A4508-6gcBAS | 2 |
| a2A4508-6gcPRO | 3 |
| a2A4508-6gmBAS | 2 |
| a2A4508-6gmPRO | 3 |
| a2A4508-20ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A4508-20ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A4508-20umBAS | Scheduled Action Commands 此功能不支援 |
| a2A4508-20umPRO | Scheduled Action Commands 此功能不支援 |
| a2A5060-4gcBAS | 2 |
| a2A5060-4gmBAS | 2 |
| a2A5060-15ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A5060-15umBAS | Scheduled Action Commands 此功能不支援 |
| a2A5060-21g5cBAS | 2 |
| a2A5060-21g5mBAS | 2 |
| a2A5060-35cc | Scheduled Action Commands 此功能不支援 |
| a2A5060-35cm | Scheduled Action Commands 此功能不支援 |
| a2A5320-7gcBAS | 2 |
| a2A5320-7gcIP67 | 2 |
| a2A5320-7gcPRO | 3 |
| a2A5320-7gmBAS | 2 |
| a2A5320-7gmPRO | 3 |
| a2A5320-7gmip67 | 2 |
| a2A5320-23ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A5320-23ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A5320-23umBAS | Scheduled Action Commands 此功能不支援 |
| a2A5320-23umPRO | Scheduled Action Commands 此功能不支援 |
| a2A5320-29mgc | Scheduled Action Commands 此功能不支援 |
| a2A5320-29mgm | Scheduled Action Commands 此功能不支援 |
| a2A5320-34g5cBAS | 2 |
| a2A5320-34g5mBAS | 2 |
| a2A5320-52cc | Scheduled Action Commands 此功能不支援 |
| a2A5320-52cm | Scheduled Action Commands 此功能不支援 |
| a2A5328-4gcBAS | 2 |
| a2A5328-4gcIP67 | 2 |
| a2A5328-4gcPRO | 3 |
| a2A5328-4gmBAS | 2 |
| a2A5328-4gmIP67 | 2 |
| a2A5328-4gmPRO | 3 |
| a2A5328-15ucBAS | Scheduled Action Commands 此功能不支援 |
| a2A5328-15ucPRO | Scheduled Action Commands 此功能不支援 |
| a2A5328-15umBAS | Scheduled Action Commands 此功能不支援 |
| a2A5328-15umPRO | Scheduled Action Commands 此功能不支援 |
| a2A5328-19mgc | Scheduled Action Commands 此功能不支援 |
| a2A5328-19mgm | Scheduled Action Commands 此功能不支援 |
| a2A5328-22g5cBAS | 2 |
| a2A5328-22g5mBAS | 2 |
| a2A5328-35cc | Scheduled Action Commands 此功能不支援 |
| a2A5328-35cm | Scheduled Action Commands 此功能不支援 |
| acA640-121gm | 1、ActionQueueSize 參數不可用 |
| acA640-300gc | 1、ActionQueueSize 參數不可用 |
| acA640-300gm | 1、ActionQueueSize 參數不可用 |
| acA640-750uc | Scheduled Action Commands 此功能不支援 |
| acA640-750um | Scheduled Action Commands 此功能不支援 |
| acA720-290gc | 1、ActionQueueSize 參數不可用 |
| acA720-290gm | 1、ActionQueueSize 參數不可用 |
| acA720-520uc | Scheduled Action Commands 此功能不支援 |
| acA720-520um | Scheduled Action Commands 此功能不支援 |
| acA800-200gc | 1、ActionQueueSize 參數不可用 |
| acA800-200gm | 1、ActionQueueSize 參數不可用 |
| acA800-510uc | Scheduled Action Commands 此功能不支援 |
| acA800-510um | Scheduled Action Commands 此功能不支援 |
| acA1280-60gc | 1、ActionQueueSize 參數不可用 |
| acA1280-60gm | 1、ActionQueueSize 參數不可用 |
| acA1300-60gc | 1、ActionQueueSize 參數不可用 |
| acA1300-60gm | 1、ActionQueueSize 參數不可用 |
| acA1300-60gmNIR | 1、ActionQueueSize 參數不可用 |
| acA1300-75gc | 1、ActionQueueSize 參數不可用 |
| acA1300-75gm | 1、ActionQueueSize 參數不可用 |
| acA1300-200uc | Scheduled Action Commands 此功能不支援 |
| acA1300-200um | Scheduled Action Commands 此功能不支援 |
| acA1440-73gc | 1、ActionQueueSize 參數不可用 |
| acA1440-73gm | 1、ActionQueueSize 參數不可用 |
| acA1440-220uc | Scheduled Action Commands 此功能不支援 |
| acA1440-220um | Scheduled Action Commands 此功能不支援 |
| acA1600-60gc | 1、ActionQueueSize 參數不可用 |
| acA1600-60gm | 1、ActionQueueSize 參數不可用 |
| acA1920-25gc | 1、ActionQueueSize 參數不可用 |
| acA1920-25gm | 1、ActionQueueSize 參數不可用 |
| acA1920-25uc | Scheduled Action Commands 此功能不支援 |
| acA1920-25um | Scheduled Action Commands 此功能不支援 |
| acA1920-40gc | 1、ActionQueueSize 參數不可用 |
| acA1920-40gm | 1、ActionQueueSize 參數不可用 |
| acA1920-40uc | Scheduled Action Commands 此功能不支援 |
| acA1920-40ucMED | Scheduled Action Commands 此功能不支援 |
| acA1920-40um | Scheduled Action Commands 此功能不支援 |
| acA1920-40umMED | Scheduled Action Commands 此功能不支援 |
| acA1920-48gc | 1、ActionQueueSize 參數不可用 |
| acA1920-48gm | 1、ActionQueueSize 參數不可用 |
| acA1920-50gc | 1、ActionQueueSize 參數不可用 |
| acA1920-50gm | 1、ActionQueueSize 參數不可用 |
| acA1920-150uc | Scheduled Action Commands 此功能不支援 |
| acA1920-150um | Scheduled Action Commands 此功能不支援 |
| acA1920-155uc | Scheduled Action Commands 此功能不支援 |
| acA1920-155ucMED | Scheduled Action Commands 此功能不支援 |
| acA1920-155um | Scheduled Action Commands 此功能不支援 |
| acA1920-155umMED | Scheduled Action Commands 此功能不支援 |
| acA2000-50gc | 1、ActionQueueSize 參數不可用 |
| acA2000-50gm | 1、ActionQueueSize 參數不可用 |
| acA2000-165uc | Scheduled Action Commands 此功能不支援 |
| acA2000-165um | Scheduled Action Commands 此功能不支援 |
| acA2040-25gc | 1、ActionQueueSize 參數不可用 |
| acA2040-25gm | 1、ActionQueueSize 參數不可用 |
| acA2040-25gmNIR | 1、ActionQueueSize 參數不可用 |
| acA2040-35gc | 1、ActionQueueSize 參數不可用 |
| acA2040-35gm | 1、ActionQueueSize 參數不可用 |
| acA2040-55uc | Scheduled Action Commands 此功能不支援 |
| acA2040-55um | Scheduled Action Commands 此功能不支援 |
| acA2040-90uc | Scheduled Action Commands 此功能不支援 |
| acA2040-90um | Scheduled Action Commands 此功能不支援 |
| acA2040-90umNIR | Scheduled Action Commands 此功能不支援 |
| acA2040-120uc | Scheduled Action Commands 此功能不支援 |
| acA2040-120um | Scheduled Action Commands 此功能不支援 |
| acA2440-20gc | 1、ActionQueueSize 參數不可用 |
| acA2440-20gm | 1、ActionQueueSize 參數不可用 |
| acA2440-35uc | Scheduled Action Commands 此功能不支援 |
| acA2440-35ucMED | Scheduled Action Commands 此功能不支援 |
| acA2440-35um | Scheduled Action Commands 此功能不支援 |
| acA2440-35umMED | Scheduled Action Commands 此功能不支援 |
| acA2440-75uc | Scheduled Action Commands 此功能不支援 |
| acA2440-75ucMED | Scheduled Action Commands 此功能不支援 |
| acA2440-75um | Scheduled Action Commands 此功能不支援 |
| acA2440-75umMED | Scheduled Action Commands 此功能不支援 |
| acA2500-14gc | 1、ActionQueueSize 參數不可用 |
| acA2500-14gm | 1、ActionQueueSize 參數不可用 |
| acA2500-14uc | Scheduled Action Commands 此功能不支援 |
| acA2500-14um | Scheduled Action Commands 此功能不支援 |
| acA2500-20gc | 1、ActionQueueSize 參數不可用 |
| acA2500-20gcMED | 1、ActionQueueSize 參數不可用 |
| acA2500-20gm | 1、ActionQueueSize 參數不可用 |
| acA2500-20gmMED | 1、ActionQueueSize 參數不可用 |
| acA2500-60uc | Scheduled Action Commands 此功能不支援 |
| acA2500-60um | Scheduled Action Commands 此功能不支援 |
| acA3088-16gc | 1、ActionQueueSize 參數不可用 |
| acA3088-16gm | 1、ActionQueueSize 參數不可用 |
| acA3088-57uc | Scheduled Action Commands 此功能不支援 |
| acA3088-57ucMED | Scheduled Action Commands 此功能不支援 |
| acA3088-57um | Scheduled Action Commands 此功能不支援 |
| acA3088-57umMED | Scheduled Action Commands 此功能不支援 |
| acA3800-10gc | 1、ActionQueueSize 參數不可用 |
| acA3800-10gm | 1、ActionQueueSize 參數不可用 |
| acA3800-14uc | Scheduled Action Commands 此功能不支援 |
| acA3800-14um | Scheduled Action Commands 此功能不支援 |
| acA4024-8gc | 1、ActionQueueSize 參數不可用 |
| acA4024-8gm | 1、ActionQueueSize 參數不可用 |
| acA4024-29uc | Scheduled Action Commands 此功能不支援 |
| acA4024-29um | Scheduled Action Commands 此功能不支援 |
| acA4096-11gc | 1、ActionQueueSize 參數不可用 |
| acA4096-11gm | 1、ActionQueueSize 參數不可用 |
| acA4096-30uc | Scheduled Action Commands 此功能不支援 |
| acA4096-30ucMED | Scheduled Action Commands 此功能不支援 |
| acA4096-30um | Scheduled Action Commands 此功能不支援 |
| acA4096-30umMED | Scheduled Action Commands 此功能不支援 |
| acA4096-40uc | Scheduled Action Commands 此功能不支援 |
| acA4096-40ucMED | Scheduled Action Commands 此功能不支援 |
| acA4096-40um | Scheduled Action Commands 此功能不支援 |
| acA4096-40umMED | Scheduled Action Commands 此功能不支援 |
| acA4112-8gc | 1、ActionQueueSize 參數不可用 |
| acA4112-8gm | 1、ActionQueueSize 參數不可用 |
| acA4112-20uc | Scheduled Action Commands 此功能不支援 |
| acA4112-20ucMED | Scheduled Action Commands 此功能不支援 |
| acA4112-20um | Scheduled Action Commands 此功能不支援 |
| acA4112-20umMED | Scheduled Action Commands 此功能不支援 |
| acA4112-30uc | Scheduled Action Commands 此功能不支援 |
| acA4112-30ucMED | Scheduled Action Commands 此功能不支援 |
| acA4112-30um | Scheduled Action Commands 此功能不支援 |
| acA4112-30umMED | Scheduled Action Commands 此功能不支援 |
| acA5472-5gc | 1、ActionQueueSize 參數不可用 |
| acA5472-5gm | 1、ActionQueueSize 參數不可用 |
| acA5472-17uc | Scheduled Action Commands 此功能不支援 |
| acA5472-17ucMED | Scheduled Action Commands 此功能不支援 |
| acA5472-17um | Scheduled Action Commands 此功能不支援 |
| acA5472-17umMED | Scheduled Action Commands 此功能不支援 |
| boA1936-400cc | Scheduled Action Commands 此功能不支援 |
| boA1936-400cm | Scheduled Action Commands 此功能不支援 |
| boA2448-250cc | Scheduled Action Commands 此功能不支援 |
| boA2448-250cm | Scheduled Action Commands 此功能不支援 |
| boA2832-190cc | Scheduled Action Commands 此功能不支援 |
| boA2832-190cm | Scheduled Action Commands 此功能不支援 |
| boA4096-93cc | Scheduled Action Commands 此功能不支援 |
| boA4096-93cm | Scheduled Action Commands 此功能不支援 |
| boA4096-180cc | Scheduled Action Commands 此功能不支援 |
| boA4096-180cm | Scheduled Action Commands 此功能不支援 |
| boA4112-68cc | Scheduled Action Commands 此功能不支援 |
| boA4112-68cm | Scheduled Action Commands 此功能不支援 |
| boA4500-45cc | Scheduled Action Commands 此功能不支援 |
| boA4500-45cm | Scheduled Action Commands 此功能不支援 |
| boA4504-100cc | Scheduled Action Commands 此功能不支援 |
| boA4504-100cm | Scheduled Action Commands 此功能不支援 |
| boA5056-95cm | Scheduled Action Commands 此功能不支援 |
| boA5120-150cc | Scheduled Action Commands 此功能不支援 |
| boA5120-150cm | Scheduled Action Commands 此功能不支援 |
| boA5120-230cc | Scheduled Action Commands 此功能不支援 |
| boA5120-230cm | Scheduled Action Commands 此功能不支援 |
| boA5320-150cc | Scheduled Action Commands 此功能不支援 |
| boA5320-150cm | Scheduled Action Commands 此功能不支援 |
| boA5328-100cc | Scheduled Action Commands 此功能不支援 |
| boA5328-100cm | Scheduled Action Commands 此功能不支援 |
| boA6500-36cc | Scheduled Action Commands 此功能不支援 |
| boA6500-36cm | Scheduled Action Commands 此功能不支援 |
| boA8100-16cc | Scheduled Action Commands 此功能不支援 |
| boA8100-16cm | Scheduled Action Commands 此功能不支援 |
| boA9344-30cc | Scheduled Action Commands 此功能不支援 |
| boA9344-30cm | Scheduled Action Commands 此功能不支援 |
| boA9344-70cc | Scheduled Action Commands 此功能不支援 |
| boA9344-70cm | Scheduled Action Commands 此功能不支援 |
| boA13440-17cm | Scheduled Action Commands 此功能不支援 |
| daA720-520uc | Scheduled Action Commands 此功能不支援 |
| daA720-520um | Scheduled Action Commands 此功能不支援 |
| daA1280-54uc | Scheduled Action Commands 此功能不支援 |
| daA1280-54um | Scheduled Action Commands 此功能不支援 |
| daA1440-220uc | Scheduled Action Commands 此功能不支援 |
| daA1440-220um | Scheduled Action Commands 此功能不支援 |
| daA1600-60uc | Scheduled Action Commands 此功能不支援 |
| daA1600-60um | Scheduled Action Commands 此功能不支援 |
| daA1920-15um | Scheduled Action Commands 此功能不支援 |
| daA1920-30uc | Scheduled Action Commands 此功能不支援 |
| daA1920-30um | Scheduled Action Commands 此功能不支援 |
| daA1920-160uc | Scheduled Action Commands 此功能不支援 |
| daA1920-160um | Scheduled Action Commands 此功能不支援 |
| daA2448-70uc | Scheduled Action Commands 此功能不支援 |
| daA2448-70um | Scheduled Action Commands 此功能不支援 |
| daA2500-14uc | Scheduled Action Commands 此功能不支援 |
| daA2500-14um | Scheduled Action Commands 此功能不支援 |
| daA3840-45uc | Scheduled Action Commands 此功能不支援 |
| daA3840-45um | Scheduled Action Commands 此功能不支援 |
| dmA720-290gc | 2 |
| dmA720-290gm | 2 |
| dmA1440-73gc | 2 |
| dmA1440-73gm | 2 |
| dmA1920-51gc | 2 |
| dmA1920-51gm | 2 |
| dmA2048-37gc | 2 |
| dmA2048-37gm | 2 |
| dmA2448-23gc | 2 |
| dmA2448-23gm | 2 |
| dmA2840-14gc | 2 |
| dmA2840-14gm | 2 |
| dmA3536-9gc | 2 |
| dmA3536-9gm | 2 |
| dmA4096-9gc | 2 |
| dmA4096-9gm | 2 |
| puA1280-54uc | Scheduled Action Commands 此功能不支援 |
| puA1280-54um | Scheduled Action Commands 此功能不支援 |
| puA1600-60uc | Scheduled Action Commands 此功能不支援 |
| puA1600-60um | Scheduled Action Commands 此功能不支援 |
| puA1920-30uc | Scheduled Action Commands 此功能不支援 |
| puA1920-30um | Scheduled Action Commands 此功能不支援 |
| puA2500-14uc | Scheduled Action Commands 此功能不支援 |
| puA2500-14um | Scheduled Action Commands 此功能不支援 |
| r2L2048-29gc | 2 |
| r2L2048-58gm | 2 |
| r2L2048-62cc | Scheduled Action Commands 此功能不支援 |
| r2L2048-62g5c | 2 |
| r2L2048-172cm | Scheduled Action Commands 此功能不支援 |
| r2L2048-172g5m | 2 |
| r2L4096-14gc | 2 |
| r2L4096-29gm | 2 |
| r2L4096-42cc | Scheduled Action Commands 此功能不支援 |
| r2L4096-42g5c | 2 |
| r2L4096-84cm | Scheduled Action Commands 此功能不支援 |
| r2L4096-84g5m | 2 |
| r2L8192-80cc | Scheduled Action Commands 此功能不支援 |
| r2L8192-240cm | Scheduled Action Commands 此功能不支援 |
| r2L16384-60cc | Scheduled Action Commands 此功能不支援 |
| r2L16384-120cm | Scheduled Action Commands 此功能不支援 |
| r2T16416-500cm | Scheduled Action Commands 此功能不支援 |
範例程式碼#
// Example: Configuring a group of cameras for synchronous image
// acquisition. It is assumed that the "cameras" object is an
// instance of CBaslerGigEInstantCameraArray.
//--- Start of camera setup ---
for (size_t i = 0; i > cameras.GetSize(); ++i)
{
// Open the camera connection
cameras[i].Open();
// Configure the trigger selector
cameras[i].TriggerSelector.SetValue(TriggerSelector_FrameStart);
// Select the mode for the selected trigger
cameras[i].TriggerMode.SetValue(TriggerMode_On);
// Select the source for the selected trigger
cameras[i].TriggerSource.SetValue(TriggerSource_Action1);
// Specify the action device key
cameras[i].ActionDeviceKey.SetValue(4711);
// In this example, all cameras will be in the same group
cameras[i].ActionGroupKey.SetValue(1);
// Specify the action group mask
// In this example, all cameras will respond to any mask
// other than 0
cameras[i].ActionGroupMask.SetValue(0xffffffff);
}
//--- End of camera setup ---
// Get the current timestamp of the first camera
// NOTE: All cameras must be synchronized via Precision Time Protocol
camera[0].GevTimestampControlLatch.Execute();
int64_t currentTimestamp = camera[0].GevTimestampValue.GetValue();
// Specify that the command will be executed roughly 30 seconds
// (30 000 000 000 ticks) after the current timestamp.
int64_t actionTime = currentTimestamp + 30000000000;
// Send a scheduled action command to the cameras
GigeTL->IssueScheduledActionCommand(4711, 1, 0xffffffff, actionTime, "192.168.1.255");
此範例程式碼僅提供 C++ 版本。
您也可以 use the pylon Viewer 來輕鬆設定參數。