Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

push button options syntax

I opened my Lookout process, went into edit mode to check an address of a logical expression. I then went out of edit mode. As I was observing my process, I noticed an "*" next to the process name. This indicates that the file has been changed, and will prompt me to save the changes on exit. Well, I knew that I didn't change anything, but I thought I might have 'moved' the object while in edit mode, and this might be causing the 'change'. So I saved the process to a different name, so I could inspect the .lks file in my text editor to compare the changes between my original source file, and the one I just saved.

 

In comparing the 'original' and the just saved process source files, the only difference was that several push buttons parameters were changed from opt=4 to opt=5.

 

I tried to find out information on what this option code specifies, but I couldn't. I then created a new process file, and I created a push button in it, and tried changing the push button configurations, and saving, and each time, inspecting the .lks file, to see what the option code changed to. I could get various codes, including an opt=36, but I couldn't get the opt=5 value.

 

So, closed the process file in Lookout, and edited this 'test' source file, to change opt=4 to opt=5. I then opened the source file in lookout. It compiled the file just fine, and I inspected the test push buttons. (I had 2 of them, one I left at opt=4 and changed the other to opt=5), anyway, I could not find any difference in the push buttons settings under Object Properties, or in Display Properties.

 

So, I saved this just compiled process to a new file name, and inspected it's .lks file, and it saved both push buttons as opt=4.

 

OK, so where am I going with this? At first I was just trying to find out what the various opt=X stood for. Now I'm wondering if opt=5 is a valid value, and how Lookout could save this opt=5 to the source file. It changed several push buttons (different push button objects) on my 'working/original' process, including several push buttons I had not even inspected while in edit mode.

 

Is there a resource that describes the source file syntax, and/or object syntax with descriptions of the various valid values? I was unable to find this information in the help files, manual, or the NI website.

 

I am using Lookout V5.1 build 8

 

Thanks,

 

Rich Anderson

Green Bay, WI

0 Kudos
Message 1 of 1
(3,502 Views)