Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5365

DebugPrintf has 259 character limit?

$
0
0

Do I have a strange installation of CVI 2012 or is there a 259 character limit to an output string with DebugPrintf? I thought that my code was not working because my incoming data seemed to be truncated and I was monitoring it using DebugPrintf. I finally tried the following code on its own

 

char     string[] = {"insert 260 ascii characters"};

DebugPrintf ("%s",string);

 

When I run this only 259 of the characters are shown in the debug window.

 

If I change DebugPrintf to printf and check the 'copy standard I/O to debug window' in the environment setup then I get all the characters.

 

Just wondering.

 

Andy


Viewing all articles
Browse latest Browse all 5365

Trending Articles



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