05-07-2009 04:47 PM
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 |
05-08-2009 09:24 AM
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,
05-08-2009 09:35 AM