我如何在LabVIEW裡讀出1394攝影機的序號?
主要軟體:
主要軟體版本: 1.5
主要軟體修正版本:
次要軟體: N/A
問題: 我注意到在Measurement & Automation Explorer (MAX)裡可以讀到1394攝影機的序號,那在LabVIEW裡面要怎麼做到這個功能呢?
解答: 使用IMAQ 1394IMAQ Attribute Inquiry.vi,(你可以在下列路徑找到,NI Measurements » Vision » IMAQ IEEE-1394),你可以讀到Unique ID High 和Unique ID Low 這兩個attributes,然後再將這兩個32 bit的數字結合成一個64 bit的序號。
例如:
Unique ID High 為 0xABCD
Unique ID Low 為 0x1234
則序號就是 0xABCD1234
相關連結:
附加檔案:
報告日期: 09/08/2003
最後更新: 11/06/2006
文件偏號: 3178QR85
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.