From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



請問我該如何使用IMAQ-1408或1409影像擷取卡搭配Still Color VI來擷取彩色影像資訊?



主要軟體:
主要軟體版本: 2.6
主要軟體修正版本: N/A
次要軟體:

問題: 我嘗試著要使用伴隨著 NI-IMAQ driver驅動程式一起安裝的Still Color.vi 範例程式,可是當我打開他時卻不能正常執行。重新完成連線並執行時卻得到一個ROI error,其錯誤訊息為"Error - 1074397161 occurred at IMAQ Snap.VI."請問是為什麼呢?

解答: 當更新舊版本的NI-IMAQ 到IMAQ 2.6版時,裡面有很多改變造成StillColor.vi不能夠使用。這個StillColor.vi位於C:\Program Files\National Instruemtnts\LabVIEW x.x\examples\IMAQ\IMAQ Color.LLB。

為了使這個VI可以執行,請先刪除所有位於property node上的StillColor mode terminal和StillColor Mode input之連線後重新連接,此時vi應該已經可以執行。



然而在執行時可能會產生一個內容為"ROI area is larger than the acquisition area."的錯誤訊息,這個錯誤是來自於IMAQ Create.vi內不正確的影像邊框大小所造成的。當接點未連線時預設值為3,只要您連接一個0在IMAQ create內border size的接點之上,執行此vi時就不會再產生任何的錯誤訊息。



相關連結: KnowledgeBase 2O0GG2XL: StillColor Acquisition from Channels 1 Thru 3 Gives Invalid Image Type Error
KnowledgeBase 1S5EB26U: How to Configure NI-IMAQ and the PXI/PCI-1408 or 1409 IMAQ Hardware to Acquire StillColor Images?
KnowledgeBase 132AEMQQ: Acquiring StillColor Images from an RGB Camera Using the IMAQ-1409/1410

附加檔案:





報告日期: 11/08/2003
最後更新: 01/31/2013
文件偏號: 337EOMDI