Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

Need help with Midwest Flex Cable Wedge

$
0
0

Hello all,
I have a Midwest Flex Systems CableWedge I am using to do a very simple timed read on a digital indicator. I have done similar systems before with different hardware with no issues but I am having trouble getting their read commands to work with VISA. They supply a terminal application that works perfectly. The only command I am using is RG\r; that is, read all gauges. It pops right up with the reading every time. I repeat the process in LabVIEW using a module I made for a similar application with different middleware. I send RG and a carriage return, wait, and read all bytes on the port. The only thing that is ever there is my RG command.

 

CableWedgeTest_Snippet.png

 


I fired up Serial Port Monitor to make sure the terminal program wasn't playing around with anything in the background and to all appearances my process is exactly the same. If I send the command in Serial Port Monitor, sometimes it works. Most of the time it doesn't and behaves exactly the same as LabVIEW. I can't make any sense of it and I don't work with serial devices enough to get down in the nuts and bolts of serial port monitor to see what I am missing. Things are quickly devolving into hooting and throwing faeces. I'm hoping someone more knowledgeable will spot an obvious error. I have attached a package with the material that came with the wedge as well as my VI in progress and my log from SPM. Big thank you to everyone, even if all you did was stop and read


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>