ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

RF switch

請問一下, 我有一個測試模組, 一個工廠自己設計的RF Switch (使用 SPDT RF Switch, ZX80-Dr230+)

 

RF commond 接到測試模組, RF1 接 Agilent E4438C signal generators, RF2 接 Agilent E4407B spectrum

 

RF Switch 使用一顆MCU 來切換 RF1 and RF2

 

我要如何使用 LabView 來看是否RF 切換成功, 是否有發射, 是否有接收? LabView 有內建 RF Switch library 嗎 ?

 

謝謝

0 Kudos
Message 1 of 6
(7,602 Views)

 

現有NI RF Switch, 採用PXI 架構, 所以 labview 透過 ni switch library 來完成。

 

這要看您的MCU如何透過電腦與labview溝通? 切換完畢是否回傳"已經切換完畢"

 

或是 spectrum 收到 RF 信號,會告訴你 amplitude or pear 多大, 中心頻率多少,來判斷是否切換成功

 

 

0 Kudos
Message 2 of 6
(7,595 Views)
如果沒有使用 NI PXI 能否使用 LabView 來操控 RF Switch? 我使用RS232 來控制 MCU.
0 Kudos
Message 3 of 6
(7,590 Views)

yes. you can.

 

( labview + visa library) PC >> RS-232 >> MCU >> RF Switch

0 Kudos
Message 4 of 6
(7,576 Views)

如果 RS232 轉 USB (這端接laptop), VISA 可以用嗎? 還是只需改裡面 VISA baud rate?

 

還有一個小問題, 當rs232 write 時 下的 string command 跟 MCU 控制 RF Switch 的 command 是要設定一樣嗎?

 

謝謝

0 Kudos
Message 5 of 6
(7,574 Views)

Reposted here

 

tjeff: It's considered polite to indicate if you've cross-posted on other forums or sites. 

0 Kudos
Message 6 of 6
(7,563 Views)