Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5     Rate this Document

Using Lookout Spreadsheet Object to Log Text Data to Spreadsheet File

Primary Software: Lookout
Primary Software Version: 5.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I want to log text data to a spreadsheet file. For example, I would like to log "ON" or "OFF" instead of logging "0" or "1".

Solution:
To log text data to a spreadsheet file, you need to use TextEntry object within Lookout.

After you've placed a new object, in the object explorer, right-click the text entry section and select to Edit Connections to bring up the dialog boxes pictured below. Then, if you want to log the value of a switch object as ON-OFF instead of 0-1, you can simply select TextEntry1.value as the data for the editing field of Spreadsheet object and then make the data connection below for the TextEntry1.value

TextEntry1.value = if (Switch1.value, ON, OFF)

For more information about Spreadsheet object, please refer to the links below.

Related Links:
Product Manuals: Lookout Developer's Manual
Developer Zone Example: Using the Spreadsheet Object in Lookout

Attachments:





Report Date: 06/19/2003
Last Updated: 10/22/2007
Document ID: 2YIG9EVS

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit