LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

trouble reading greater than 104 lines with ini_readgeneric

I am using ini_writeGeneric() and ini_readGeneric() to transfer the data from an ini file across the internet. It works fine for smaller .ini files. When I have more than 104 lines in the .ini file, NULLs are transmitted instead of the 105th line. What can I do?
0 Kudos
Message 1 of 2
(2,860 Views)
A few things I can think of (but you probably already have yourself, so apologies if so).

Are you sure that your 105 line within the INI file does not contain a NULL ?

Are the strings that you read or write the data over the network big enough, or are they being terminated by an ascii null ?
Are you reading all of the data from an INI file and then sending that single string out? (If so, I would look at your TX / RX code)

Regards

Chris
0 Kudos
Message 2 of 2
(2,860 Views)