capstone Posted May 7, 2010 Share Posted May 7, 2010 Hello! So I'm using tables to display string data. It shows the data the first time the table is populated, but all of a sudden at some point, the string data gets replaced with zeroes. And interestingly enough the whole array of strings gets replaced by zeroes! Any ideas why this happens? Link to comment Share on other sites More sharing options...
AzeoTech Posted May 7, 2010 Share Posted May 7, 2010 Sounds like you inadvertantly set it to a number. Link to comment Share on other sites More sharing options...
capstone Posted May 8, 2010 Author Share Posted May 8, 2010 Actually my bad, the array doesn't get set to zero, the strings are still in the array, but table shows the string values as NAN all of a sudden until I close DAQFactory and open it up, and then the strings are back again! any ideas? Link to comment Share on other sites More sharing options...
AzeoTech Posted May 9, 2010 Share Posted May 9, 2010 Somewhere its getting converted to a number. If you try to convert the string "My String" to a number its going to give you NaN unless the string actually is a number (i.e. "3.4892") Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.