Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Rohde Schwarz FSH6 VISA help

Hello all,

 

I am trying to use labview to take measurements off of a Rohde & Schwarz FSH6 Spectrum Analyzer, but when I try to run the simple program attached, it says I have a framing error. The COM port is configured to 19200 on both the Explorer and unit itself. Also, as part of the problem maybe, the initialize VI says it sets the baud rate the 9600, and there is no possable way to change it. Any help?

 

Thanks,

Peter

Download All
0 Kudos
Message 1 of 3
(4,069 Views)

Hey Peter,

 

If you open up the RSFSH Initialize.vi, you can locate a property node as the second function on theblock diagram.  Add a terminal to this property node by clicking on the lower gray block that appears when your mouse cursor hovers over the item and click and drag down one segment.  Once this second terminal is visible, left-click on the text inside once and select Serial Setting>>Baud Rate.  Then right-click on the text in that terminal and select Change to Write.  These steps should turn the property node in one similar to the attached screenshot.  Wire in a numeric constant to this terminal now of value 19200.

These changes will make the RSFSH Initialize.vi programmatically change the baud rate to your desired baud rate.  Keep in mind this is changing the instrument driver and if this is not what you want to do, the other viable option you have is to change your desired baud rate to 9600 which is default in these instrument drivers you downloaded.

 

Thanks,
David Pratt
Group Manager for Application Engineering Specialists | Automated Test
NIC
0 Kudos
Message 2 of 3
(4,045 Views)
I would also strongly recomend that you get rid of the 'Old' VISA Open and replace it with the current one or just not use it at all.
0 Kudos
Message 3 of 3
(4,041 Views)