學術專區 關於NI NI活動訊息 NI Developer Zone 技術支援服務 使用者解決方案 產品與服務 連絡NI MyNI
This Document is not yet Rated  Rate this Document

我如何在程式中重置〈Reset〉我的 CompactRIO 控制器

主要軟體: LabVIEW Modules>>FPGA Module
主要軟體版本: 1.1
主要軟體修正版本:
次要軟體: N/A
硬體: CompactRIO, CompactRIO, Reconfigurable I/O (RIO)

問題: 我想要在程式中重置我的 CompactRIO 控制器。這是可行的嗎?

解答: CompactRIO 控制器上有一個 System Reset 數位信號線〈digital line〉,當這個信號線被設定為 True 時就會重置 CompactRIO 控制器。

LabVIEW 8.x
在 LabVIEW 8.x 中加入這個數位 I/O,請完成以下步驟
  1. Project Explorer 視窗中對著 FPGA target 按右鍵選擇 New»FPGA I/O
  2. Digital Line Output 這個部分展開,選擇 System Reset,並按下 Add  按鈕
  3. 一旦將這個 I/O node 加入 project,您就可以將它拖曳到您 FPGA VI 的程式區,並且將一個 boolean true 送到這個 I/O 來重置 CompactRIO 控制器。
The image below illustrates a LabVIEW 8.x project with the System Reset I/O item.
下圖說明了加入了 System Reset I/O 的 LabVIEW 8.x project 。



LabVIEW 7.1
在 LabVIEW 7.1 中加入這個數位 I/O,請完成以下步驟
  1. 在 LabVIEW target 中選擇 FPGA 裝置並開啟您的 FPGA project。
  2. 在程式區中放上一個 Digital Output I/O Node
  3. 雙擊這個 I/O node 來開啟 Configure Digital Output  對話框
  4. 在這個對話框的 General tab 分頁中,從下拉式選單中選擇 System Reset 這個接點〈terminal〉,接著關閉  Configure Digital Output 對話框。
  5. 將一個 boolean True 常數輸入這個 I/O node,那麼當程式執行到這個 I/O node 時就會重置 CompactRIO 控制器。
下圖中展示了Configure Digital Output 對話框

相關連結:

附加檔案:


system_reset.jpg - system_reset.jpg
cRIO_Project_System_Reset.JPG - cRIO_Project_System_Reset.JPG


報告日期: 10/17/2005
最後更新: 11/09/2007
文件偏號: 3QG99N8T

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit