ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Datasocket trouble

This is a problem which I really don't see why it is a problem!

I have managed to read a html-file from an URL and convert the contents to a
string, but when I try to read a txt.file I get nothing. Not even an error
is given me. Any suggestions?
I dont see the difference between a .txt.- and an .html-file.

regards Torgeir
0 Kudos
Message 1 of 2
(2,641 Views)
Hi

When you want to read a text file you have to override the default by specifying [text] at the end of your file path. For example: C:\temp\test.txt[text]

Hope this helps

Luca P.
Application Engineer
National Instruments
Regards,
Luca
0 Kudos
Message 2 of 2
(2,641 Views)