Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to open a text file and display it within Lookout 5.0

How do you read and display a text file within Lookout 5.0?
0 Kudos
Message 1 of 5
(4,043 Views)


Hi Kenneth,

This should have been trivial, but isn't. Well, it isn't that difficult either. Here's the trick:

Create a DataSocket Object. For the URL, type: file:c:\ni\lookout5\test.txt[text]

Leave the Update mode as Automatic for now. Connect a Switch to the Connect member of the DataSocket object.

On the panel, drag-and-drop the DataSocket.data.txt. Toggle the Switch and voila you have the text in Lookout! I have attached an example (detach the txt file to your C drive; or change the path in the DataSocket object).

For the curious, DataSocket is a NI networking technology which supports ftp, http, file, and other protocols. See this
>FAQ
f
or general info' on DataSockets.


Hope this helps,

Khalid 🙂


Download All
Message 2 of 5
(4,045 Views)

I have the same request for out Lookout application

I have set up the datasocket object as you have suggested but get the following alarm

 

Component 'nids.dll' not correctly registered.  Make sure

the Datasocket software has been installed, either

independently or with LabVIEW, Measurement Studio, or

some other National Instruments product.

 

any ideas?

 

 

0 Kudos
Message 3 of 5
(3,866 Views)

You may want to try reinstalling DataSocket.  At the very least, you will want to register the dll manually, using regsvr32. 

Regards,

-Khalid

0 Kudos
Message 4 of 5
(3,865 Views)

thanks for the info.

I reloaded lookout but still did not work

I search for nids.dll on my hard drive but also could not find it.

I ended up downloading the LabView run time engine and this did the trick

 

frank

0 Kudos
Message 5 of 5
(3,845 Views)