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

Virtual serial port: No bytes at serial port before visa read

$
0
0

Hi I'm want to use LabView for real-time data acquisition of my servo dc motors. I'm new to LabView, so I'm trying to do the same thing with virtual port. I'm writing some data (a sinusoidal wave) to the virtual port and then read and show it on graph. the writing part works just fine as it can be seen in hyper terminal. but it doesn't read anything. the number of bytes at port is zero. i tried to set the bytes count in visa read manually but it doesn't work. I have attached my code below. any comment is much appreciated. Thanks in advance


Viewing all articles
Browse latest Browse all 5565

Trending Articles



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