Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66855

NI VISA read stops at zero character, returning an 0xBFFF003E error

$
0
0

Hi

 

I’m trying to read some serial data from a UUT using the NI-VISA read function. The data is mostly text but does include some control codes. The first of these appears after the ‘OK’ in the Serial Bytes window on the front panel. More text should follow but for some reason, the read function stops at the first zero character (index 144 in the Byte Array), and returns an 0xBFFF003E (-1073807298) error. I found another thread where someone had a similar problem and I’ve tried the fix for this plus a few other things, but nothing’s worked. If I use Hyperterminal, the entire data block is returned as it should be.

 

I wondered if this was anything to do with the 7.1 version of Labview I’m using (upgrade is on the cards). The version of NI VISA I’m running is 4.2.

 

Very much appreciate any thoughts.

Thanks

Bruce

 

Read serial bytes BD.png

 

Read serial bytes FP.png


Viewing all articles
Browse latest Browse all 66855

Trending Articles



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