當我使用LabVIEW的Arduino介面時,為什麼有Warning 1073676294



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

問題:
我有一個VI,使用的是LabVIEW的Arduino Toolkit介面,但是當我執行我的程式時卻產生了下列的Warning:


Warning 1073676294 occurred at VISA Read in LabVIEW Interface for Arduino.lvlib: Send Receive.vi->LabVIEW Interface for Arduino.lvlib:Digital Write Pin.vi

解答:
其中一個造成這個Warning的可能原因是,當一個數位的接腳在LabVIEW中您試著要寫入資料,但這個接腳卻沒有被設定成是輸出的狀況。為了要適當地設定這個接腳,您可以在Functions Palette中,依序找到 Arduino Interface for LabVIEW»Low Level VI»Set Digital Pin Mode.vi,並把這個Set Digital Pin Mode.vi加到您的block diagram中如下:





上述是Simple LED Example.vi中的截圖。您想要寫入的接腳,必須要是合適的數位訊號接腳,並將接腳做合適的設定。


相關連結:
KnowledgeBase 5KAHKVKD: Compatible Arduino Boards for the Arduino Interface for LabVIEW Toolkit

KnowledgeBase 5INA7UYG: How Do I Connect An Arduino Uno To My PC?

Developer Zone Community: NI Arduino Community

External Link: Arduino HomePage

Developer Zone Example: Arduino Example: Simple LED


附加檔案:





報告日期: 12/29/2011
最後更新: 12/15/2015
文件偏號: 5SSCTT2G