Acquisition Applets#
可用 Applets#
如需特定 applet 的相關資訊,請參閱您的擷取卡說明文件:
- imaFlex 2 Dual 100
- imaFlex CXP-12 Penta
- imaFlex CXP-12 Quad
- imaWorx CXP-12 Quad
- marathon ACX-SP
- marathon ACX-DP
- marathon ACX-QP
- marathon VCX-QP
- marathon ACL
- marathon VCL
- marathon VCLx
結合 Framegrabber SDK 使用 Acquisition Applets#
何時可以使用 Applet?
- 在 imaWorx 和 imaFlex 張量擷取卡,只要 Applet 存在於您電腦的檔案系統中(Framegrabber SDK 安裝目錄、DLL 或 Hardware Applets 子目錄),就可以使用該 Applet。如果 Applet 不存在,請執行包含您要使用的 Applet 的 Applet 安裝程式;或者,如果您需要使用 VisualApplets 建立的 Applet,請將 Applet 檔案 (*.hap) 複製到 Framegrabber SDK 安裝的 Hardware Applets 資料夾中(例如:
...\Basler\FramegrabberSDK5.x.x\Hardware Applets\*.hap)。 - 在 marathon 張量擷取卡上,只要將 Applet 燒錄至張量擷取卡,即可使用該 Applet。如果您要使用的 Applet 尚未燒錄至張量擷取卡,請根據管理 Applet (microDiagnostics)中的說明進行燒錄。
預先安裝的 Applet#
您的擷取卡隨附至少一個預先安裝的 applet。已安裝的 applet 適用於初步檢查整體系統功能。稍後(當您開始根據特定的影像擷取需求調整系統時),您可能需要將其他 applet 燒錄至您的擷取卡。
您擷取卡的韌體會與 applet 一起封裝在單一 *.dll 或 *.hap 檔案中。它會在 FPGA 設定期間與 applet 一同載入至擷取卡中。因此,在為您的擷取卡選擇 applet 時,您不需要擔心韌體版本與相容性的問題。
Basler 提供各種豐富的影像擷取與處理 applet。
做出決定後,請參閱燒錄 (Flashing)或參考Framegrabber API documentation,以了解如何將韌體/applet 載入至 marathon ACX-QP。
*.hap 檔案與 *.dll 檔案#
Applet 分為兩種類型:由 Basler 隨附提供的擷取 applet (*.dll),以及由您或 Basler 在 VisualApplets 中開發的自訂 applet (*.hap)。
| Acquisition Applets | 自訂 Applets | |
|---|---|---|
| Applet 功能 | 擷取 applet 結合了特定的影像擷取與處理功能,旨在滿足特定應用領域的需求。 | 自訂 applet(也稱為 VA applets)旨在滿足擷取 applet 未涵蓋的特定應用需求。 |
| 開發者 | 擷取 applet 由 Basler 開發。它們隨 Framegrabber SDK 一同提供。 | VA applets 是使用圖形化程式設計環境 VisualApplets (VA) 開發的。可以由 Basler 或您自己進行程式設計。自行程式設計 VA applets 的先決條件是您必須擁有 VisualApplets 授權。 |
| 檔案副檔名 | 擷取 applet 的檔案副檔名為 *.dll。 | VA applets 的檔案副檔名為 *.hap。 |
| 散布方式 | Basler 以 applet 套件的形式提供擷取 applet。適用於您擷取卡的 applet 套件包含了該擷取卡的所有擷取 applet。 | VA applets 總是作為單一的 *.hap 檔案提供。 |
安裝 Applets#
在圖形擷取卡上使用特定 Applet 之前,必須先將其安裝到圖形擷取卡上。有關安裝 Applet 的說明,請參閱 Managing Applets (microDiagnostics)。
手動新增 Applet#
若要將作為 *.dll 檔案(而非安裝程式形式)接收到的 Applet 新增至主機檔案系統:
- 取得您收到的 Applet 檔案 (*.dll)。
- Copy this file into the following directory: <Framegrabber SDK installation directory>/Dll/<Frame grabber model>
現在您可以使用新的 Applet 了。
測試影像擷取#
在您自己的軟體(透過 API)中開始使用 Applet 之前,您可能會想要測試系統設定或個別的 Applet(及其參數化選項)。
為此,您可以使用 microDisplay X 工具,該工具已作為 Framegrabber SDK 環境的一部分安裝在您的電腦上。有關如何載載入和測試 Applet 的說明,請參閱 Configuring the Applet (microDisplay X)。
儲存 Applet 組態#
在 microDisplay X 中或透過 Framegrabber API 設定 Applet 後,您可以儲存設定。如需詳細資訊,請參閱 Other Tasks (microDisplay X)。