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.



當我要用連接用 Web Publishing Tool 造出來的檔案時出現 Invalid Server IP Address



硬體: PXI/CompactPCI>>Controllers

問題: 當我用 Web Publishing Tool 造一個 HTML 檔案並且想要用瀏覽器連接它,無論我在 Server 端或 Client 端,我的 HTML 頁面上 VI 該出現的地方都會出現 " Invalid Server IP Address"

解答:

通常因為你會收到這個錯誤是因為你沒有把 LabVIEW Web Server 給 Enable。要消除這個錯誤的話

  1. 去 Tools >> Options 來 Enable LabVIEW web server
  2. 選擇 Web Server: Configuration 並且勾起 Enable Web Server
  3. 選擇 Web Server: Browser Access 並確認 Client 的 IP 有被允許 (* 表示允許所有 IP)
  4. 確認你把 HTML 檔案放在 Server 的 Root Directory 裡,通常會是 C:\Program Files\National Instruments\LabVIEW X.X\www 並確認你要連接的 VI 被 Load 在 Server 的 memory 裡

另一個方法尤其常用在 Real-time target 上,是使用 Project Explorer。在 Project Explorer 的左邊有 Project tree,可以在 My Computer 上或在 Remote System 的 Real-time target 上按右鍵,選擇 Properties。你可以如上述的 Enable Web Server。你可能會想要確認 Web Server : Browser Access 有被設定允許給必須的 Client。



相關連結:

附加檔案:





報告日期: 03/24/2004
最後更新: 03/25/2009
文件偏號: 37NGE6VM