04-11-2006 09:59 PM
04-12-2006 01:40 AM - edited 04-12-2006 01:40 AM
Message Edited by Roberto Bozzolo on 04-12-2006 08:43 AM
04-12-2006 03:02 AM
I am sorry, r0c, I didnt' read correctly your message!
You are actually reading an unformatted string from the file by the use of the postfix [text] in the url. I made some tests and I got this error when reading in a type different from CAVT_CSTRING (for example reading in a variable of type CAVT_FLOAT). Seems that you must check the variable you are reading the file in.
I found this example supplied from NI: Transferring an ASCII Text File Using DataSocket: it is quite similar to standard DS reader but customized for text files, maybe you can be useful for your needs.