Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you install Spreadsheet object in lookout?

I was wondering if anyone can help me, i am very new to Lookout. I want to use spreadsheet objects in Lookout. I have been given some examples to show how to use it, but i am unsure where these files should be stored. i have stored them in the lookout directory, but nothing happened, do i need to compile the files?
any help or direction would be much appreciated.
0 Kudos
Message 1 of 6
(4,695 Views)
For example, if the configuration of Spreadsheet object is like the one attached, it's logged to \Program Files\National Instruments\Lookout 6.1\2007\jun\06\sheet1.csv
Take care that Switch1 should be ON for logging.
Ryan Shi
National Instruments
0 Kudos
Message 2 of 6
(4,685 Views)
Thank you for response, was there supposed to be a file attached?
Please see the 2 attached files, which i received from you via an email enquiry. I have saved them in the \Program Files\National Instruments\Lookout 5.1 directory.
What changes should i see in Lookout? will i need to close down lookout and reopen?
will i see a button on the lookout screen, or will i have to go to a drop down menu? So far i can't see any changes and there is no new log files created.

In file spreadsheet1.lks there are the following lines of code:
Sheet1        = new Spreadsheet ("Sheet1", "csv", "daily", 00:00:01.00, Switch1.value, , no, Waveform1.cosine_180, "0");
               
Switch1       = new Switch (, , yes, 0);

is this correct to turn logging ON?
Should i only have one .lks file?
Thanks

Download All
0 Kudos
Message 3 of 6
(4,676 Views)
Don't care the codes in .lks file. Open it by Lookout, everything is done in Lookout!
in spreadsheet1 process, the switch is connected to Logging paramter of Spreadsheet object. See the attachment, turn on the Switch, then a logged file will be generated in \Program Files\National Instruments\Lookout 6.1\2007\jun\07.
The spreadsheet2 process doesn't use the default path. After you click "Send to CSV" button, the logged file is  "C:\07\06\07.csv".
Ryan Shi
National Instruments
0 Kudos
Message 4 of 6
(4,668 Views)
Hi Ryan,
Thank you for the reply. I have opened the spreadsheet but am unsure how to get it to do what i want.
Please find attached a print screen from lookout setup, I want to be able to log the recorded temperature values in red at 5 seconds intervals. Is spreadsheet object the best approach?
At the moment the example spreadsheet is logging data from "Waveform1.cosine_180;", i assume i need to change the input to the recored temperature values, how do i find out the correct name of the recorded temperatures?
Pot1          = new Pot (0, 100, 1, yes, 0);
Pot1.value    = Waveform1.cosine_180;

Can you please advice what language is used above and if there is any online help for basic programming? For example in the definition of the new pot, what do the values 0, 100, 1, yes, 0 correspond to?

Thank you in advance for your help.
0 Kudos
Message 5 of 6
(4,660 Views)
Please don't edit the codes in .lks file. Everything is done in Lookout software, not the notepad!
The attached pdf is a good manual to learn some basic programming.
If you want to create a new pot, goto menu bar, Object->Create... select Pot, and then do the configuration.
 
If you want to add or change the data field of the spreadsheet object, follow the attached instructions. Select (new field), right click on the yellow bar, choose the pot or object you want to log, then click Save.
Ryan Shi
National Instruments
Download All
0 Kudos
Message 6 of 6
(4,652 Views)