03-12-2009 08:42 AM
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.
03-12-2009 12:53 PM - edited 03-12-2009 12:55 PM
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.
06-23-2014 03:14 PM
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!
08-05-2014 10:58 AM
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.