LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Progammically Set DTR to DSR and RTS to CTS?

Solved!
Go to solution

kyle vi wrote:

 I turned the termination character off but tried several terminations characters with it on.


You should not be guessing at this. This information should be in the manual.

0 Kudos
Message 11 of 14
(1,632 Views)

Ravens Fan... Thanks I got it working with the same cable!  Here is the working vi.    I finally got a protocol document out of thier support.  This is the setup for the Extech Power Analyzer 380803.

 

 

Message Edited by kyle vi on 03-12-2009 12:55 PM
Message 12 of 14
(1,618 Views)

Is there anyway you can post the final VI online so I can take a look at it? Or perhaps explain what is written in the front panel controls? Thank you!

0 Kudos
Message 13 of 14
(1,088 Views)

I figured out how to properly communicate with the Extech Power Analyzer! A quick few tips regarding the program pictures posted before this post:

1) Wire an empty string constant to the VISA Write VI so you send a "space" character to the analyzer before reading anything back

2) Reading 20 bytes back from the analyzer is everything it's outputting on every one of it's screens but it's encoded so you'll have to follow their serial protocol manual to decode it

3) The meter's output is represented in HEX format so to view the output string properly you must set your string indicator to "HEX" under properties. This however does not solve the fact that you are viewing the output in HEX using the indicator while the actual value LabVIEW sees is still what appears to be a random string. To convert the "random string" to a string properly expressed in HEX format please see the attached sub VI. This will allow you to pick apart each letter in the physical string when decoding the value.

0 Kudos
Message 14 of 14
(1,050 Views)