我可以利用程式讀取我的DAQ卡的校正日期嗎?
主要軟體:
主要軟體版本: 7.0
主要軟體修正版本:
次要軟體:
問題: 我想要讓程式判定是否我的DAQ卡需要重新被校正. 我要如何利用程式查詢DAQ卡最近的一次校正日期?
解答: 您只能經由DAQmx的API才能查詢DAQ卡最近一次的校正日期. 有關於這些校正資料,請執行Measurement & Automation Explorer,然後:
1. 擴大 Device & Interfaces
2. 擴大 NI-DAQmx Devices
3. 選擇您的裝置然後按下Calibration的標籤
4. External Calibration還有Self-Calibration詳細資料將會從旁邊的視窗顯示.
在LabVIEW裡,您可以用DAQmx Calibration Info Property Node來讀取您DAQ卡的校正資料. 請從External Calibration >> Last Date/Time選擇Active Input輸入的選項,然後把裝置號碼連上去.
如果您在用NI-DAQmx C function calls,您可以用DAQmxGetExtCalLastDateAndTime和DAQmxGetSelfCalLastDateAndTime這兩個函數:
DAQmxGetSelfCalLastDateAndTime (const char deviceName[], uInt32 *year, uInt32 *month, uInt32 *day, uInt32 *hour, uInt32 *minute);
DAQmxGetExtCalLastDateAndTime (const char deviceName[], uInt32 *year, uInt32 *month, uInt32 *day, uInt32 *hour, uInt32 *minute);
相關連結:
附加檔案:
報告日期: 11/06/2003
最後更新: 05/12/2005
文件偏號: 335BT97U
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.