Alarm and Event Query Very Slow

Group,
I am using the DSC Alarm and Event Query vi to pull data from the SQL database (not the Citadel).  I have a filter set up that specifies the "Alarm Area" and the start and stop dates with maximun results set to 22.  These dates are set to only pull the last 24 hrs.  This vi will return around 10 to 20 entries out of perhaps 80-90 total events in the last 24 hours in the database.   This database is ~2M in size.   I have to set the timeout to almost 10 min for this vi to not produce a timeout error.  The results returned are correct but it just seems that the time to run this vi is excessive.  It is quering a database on the same system that the quering vi is running on.  Should I expect better preformance?
Thanks
Todd

Verne,
I have boiled down the code to this attachment.  This query took almost 7 min to return 22 results from a database size that is listed as 2.09877E+6.  I have also tried the Alarms and Event Query to spreadsheet vi also and it takes the same amount of time.  I am wondering if I place the Alarms and Events into the same (Citidel) database that the traces are going if it would be much faster.  I seem to get trace data back very fast.  If I recall correctly I seperated the alarms from the trace because I was having some sort of problem accessing the alarm data in the combined database...but that was several labVIEW versions ago.  Anyone else having this problem?
Thanks
Todd
Attachments:
Generate Alarm Log General Test.vi ‏19 KB

Similar Messages

  • [Bug?] DSC - Clusters Different between 'Read Alarm.vi' and 'Alarm and Event Query.vi" but Contain 'Same' Data

    Howdy!
    Why are the clusters different coming out of the Read Alarm.vi and the Alarm and Event Query.vi when they have the exact same data?
    The only difference is the order of two last elements.
    I am leaning towards bug on this one, unless these clusters need to be distinct for some reason?
    Certified LabVIEW Architect * LabVIEW Champion

    Thanks for posting Ravens Fan
    I re-jiggered my API to reverse my datatypes then applied changes to my application code.
    It wasn't that painful to update. 
    My current understanding is that this bug affects one VI, so I decided it was easier to wrap that VI with the bugfix.
    Attached is my implementation if anyone wants it too.
    Cheers
    -JG
    [LV 2009]
    Certified LabVIEW Architect * LabVIEW Champion
    Attachments:
    Alarm & Event Query_bugfix.vi ‏30 KB
    Convert Alarm And Event Query Cluster.vi ‏21 KB

  • Flashback and transaction query very slow

    Hello. I was wondering if anyone else has seen transaction queries be really slow and if there is anything I can do to speed it up? Here is my situation:
    I have a database with about 50 tables. We need to allow the user to go back to a point in time and "undo" what they have done. I can't use flashback table because multiple users can be making changes to the same table (different records) and I can't undo what the other users have done. So I must use the finer granularity of undoing each transaction.
    I have not had a problem with the queries, etc. I basically get a cursor to all the transactions in each of the tables and order them backwards (since all the business rules must be observed). However, getting this cursor takes forever. From that cursor, I can execute the undo_sql. In fact, I once had a cursor that did "union all" on each table and even if the user only modified 1 table, it took way too long. So now I do a quick count based on the ROWSCN (running 10g and tables have ROWDEPENDANCIES) being in the time needed to find out if this table has been touched. Based on that, I can create a cursor only for the tables that have been touched. This helps. But it is still slow especially compared to any other query I have. And if the user did touch a lot of tables, it is still way too slow.
    Here is an example of part of a query that is used on each table:
    select xid, commit_scn, logon_user, undo_change#, operation, table_name, undo_sql
    from flashback_transaction_query
    where operation IN ('INSERT', 'UPDATE', 'DELETE')
      and xid IN (select versions_xid
                  from TABLE1
                  versions between SCN p_scn and current_scn
                  where system_id = p_system_id)
      and table_name = UPPER('TABLE1')Any help is greatly appreciated.
    -Carmine

    Anyone?
    Thanks,
    -Carmine

  • Alarm and event related problem

    hi dear all
    again my problem needs u
    On upgrading my project from labview 6.1 to labview 7.1 version i have problem in generating alarm related .ALR file which i further use in my software. for this i m using "legacy_hist_alarms_&_event_Query_to_spreadsheet_file.vi" this vi but in labview 7.1 i replaces it with
    "Alarms and event query to spreadsheet file.vi" but its number of display format and filter elements are changed i also changed these.
    but how i order the elements so i correctly connect with vi . i tried acc. to error list but it gives error every time so pls give the example or any suggestion regarding the order of elements .
    i m thankful to u all in advance
    regards,
    Dhanwanti

    Dhanwanti,
    What error are you receiving when you try to connect to the VI?  What do you mean by "order the elements"? Are you talking about the inputs to the VI? If so, the easiest way to connect to these are to right click on the terminal and select "Create -> Control", which will make a cluster that connects to the VI.
    Let me know if this helps.
    --Paul Mandeltort
    Automotive and Industrial Communications Product Marketing

  • When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue

    When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue.

    Hi Jdentremont,
    Lync client gets user photos by first querying the Address Book Web Query (ABWQ) service on the server, which is exposed through the Distribution List Expansion web service. The client receives
    the image file and then copies it to the user's cache to avoid downloading the image each time it needs to be displayed. The attribute values returned from the query are also stored in the cached Address Book Service entry for the user. The Address Book Service
    deletes all cached images every 24 hours, which means that it can take up to 24 hours for new user images to be updated in the cache on the server.
    To troubleshoot your problem, please follow the steps below:
    1.  Navigate to
     “X:\share\1-WebServices-1\ABfiles\000000000\000000000” folder. (ABS file share)
    You should see some photo files in this folder as the following screenshot.
    2. Delete all the files in this folder.
    3. On test PC, delete local cache files.
    %userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\[email protected]
    4. Sign-in Lync with the test account.
    5. Go back to the ABS file share, check if there is any Photo file in the folder.
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Query very slow!

    I have Oracle 9i and SUN OS 5.8
    I have a Java application that have a query to the Customer table. This table has 2.000.000 of records and I have to show its in pages (20 record each page)
    The user query for example the Customer that the Last Name begin with “O”. Then the application shows the first 20 records with this condition and order by Name.
    Then I have to create 2 querys
    1)
    SELECT id_customer,Name
    FROM Customers
    WHERE Name like 'O%'
    ORDER BY id_customer
    But when I proved this query in TOAD it take long to do it (the time consuming was 15 minutes)
    I have the index in the NAME field!!
    Besides, if the user want to go to the second page the query is executed again. (The java programmers said me that)
    What is your recommendation to optimize it????? I need to obtain the information in
    few seconds.
    2)
    SELECT count(*) FROM Customers WHERE NAME like 'O%'
    I have to do this query because I need to known How many pages (20 records) I need to show.
    Example with 5000 records I have to have 250 pages.
    But when I proved this query in TOAD it take long to do it (the time consuming was 30 seconds)
    What is your recommendation to optimize it????? I need to obtain the information in
    few seconds.
    Thanks in advance!

    This appears to be a dulpicate of a post in the Query very slow! forum.
    Claudio, since the same folks tend to read both forums, it is generally preferred that you post questions in only one forum. That way, multiple people don't spend time writing generally equivalent replies.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • DSC 8.01 Configuring alarm and event display control

    Hi all,
    How to configure the columns in this control (alarm and event display control) in order to hide columns, changing the langage ?
    In the previous DSC version it was different.
    Thanks
    Best regards,
    Julien

    Hello Julien,
    At my knowledge, such a control is not customisable. I think you should use the "Alarm and query filter" control (in your FP) linked to the filter input of the "Alarm and query" vi (in your diagram). This should enable you to select the alarms to display
    Regards,
    Mathieu Steiner, Test System Engineer, Safran Engineering
    CLD, ISTQB

  • I own a 13-inch MacBook Pro and for the past day, my wifi on my laptop says I only have two bars of connection and is running very slow,but all of my other devices such as my iPhone and iPad are connecting perfectly to the wifi. How can I fix this? Thanks

    I own a 13-inch MacBook Pro and for the past day, my wifi on my laptop says I only have two bars of connection and is running very slow,but all of my other devices such as my iPhone and iPad are connecting perfectly to the wifi. How can I fix this? I have tried to shut my laptop off and let it rest and I have also re-started my wifi router three different times. Someone please help me with this problem so I can begin to use my laptop again as I take it to school and use it for class.
    Thanks so much!

    FCP, and all software on OSX, has a few different "preference" files (the extension is .plist), which store all your user settings. Each time you resize a window, change a setting, anything, this file is re-written. Kinda easy to see how they would become corrupt every now and then.
    -Close FCP
    -Navigate to User>Library>Preferences and delete com.apple.FinalCutPro.plist
    -Navigate to User>Library>Preferences>Final Cut Pro User Data and delete Final Cut Pro 5.0 Prefs
    -Empty your trash
    Relaunch FCP and see if that worked.
    Download FCP Rescue to make this process easier in the future. When you have FCP running really smooth, open FCP Rescue and create a backup of your preference files. If it starts acting wanky, just run FCP Rescue and Restore your backup preferences. Works really slick, and it's free.
    EDIT: Or use the really simple explaination that X posted as I was typing.

  • My iPod touch is downloading and updating apps very slow more than an hour.

    My iPod touch 4th gen 32gb verson 4.3.1 is downloading and updating apps very slow more than an hour. I just got it a day ago and I backed up all my apps music and pictures and videos from iTunes. Few months ago I had an iPod touch but I lost it and it was working fine. Luckily before I lost it i backed up everything to iTunes so now everything that was in my old iPod is now in my new iPod. Anyways, When I first bought it I straight away backed up everything and saw that i had many updates on my apps. I started updating it all at once but even the first one was not loading at all and mty ipod was hanging many times during the updates so i cancelled all the updates. i even tried it on my computer and it was taking forever but my laptop does updating and downloading apps slower than my ipod so that doesnt matter. Even when I download an app on my iPod now its take more that an hour. So i was wondering, is my iPod slow cause I backed up too many things when i just got it . I have about 120 apps 150 plus photos and 70 videos and I backed it up all in one night on the day i got my ipod. So now I'm restoring my iPod and updating it to IOS 5 and see what happens. Hopefully it will be faster then but I still need to know what is main problem of m iPod hanging and slow updating/downloading. Need a reply ASAP. Thanks

    Still you can switch it off while syncing.
    You can also do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears)

  • I upgraded to Yosemite and computer running very slow. It is an older iMac 2009. Thinking of downgrading os or upgrading ram unless there is something else I can try?

    I upgraded to Yosemite and computer running very slow. It is an older iMac 2009. if I cant get it running faster I will have to downgrade os or upgrade ram. Is there something else I can try? Here is scan of computer:
    Problem description:
    computer Very slow after upgrading to OS Yosemite
    EtreCheck version: 2.0.11 (98)
    Report generated November 15, 2014 at 3:50:50 PM MST
    Hardware Information: ℹ️
    iMac (20-inch, Early 2009) (Verified)
    iMac - model: iMac9,1
    1 2.66 GHz Intel Core 2 Duo CPU: 2-core
    2 GB RAM Upgradeable
    BANK 0/DIMM0
    1 GB DDR3 1067 MHz ok
    BANK 1/DIMM0
    1 GB DDR3 1067 MHz ok
    Bluetooth: Old - Handoff/Airdrop2 not supported
    Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
    NVIDIA GeForce 9400 - VRAM: 256 MB
    iMac 1680 x 1050
    System Software: ℹ️
    OS X 10.10 (14A389) - Uptime: 4 days 4:38:8
    Disk Information: ℹ️
    Hitachi HDT721032SLA380 disk0 : (320.07 GB)
    S.M.A.R.T. Status: Verified
    EFI (disk0s1) <not mounted> : 210 MB
    Macintosh HD (disk0s2) /  [Startup]: 319.21 GB (201.09 GB free)
    Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    OPTIARC DVD RW AD-5670S 
    USB Information: ℹ️
    Apple Inc. Built-in iSight
    Apple Inc. Keyboard Hub
    Apple Inc. Apple Keyboard
    USB Reader USB Mass Storage Device 31.67 GB
    S.M.A.R.T. Status: Verified
    NO NAME (disk1s1) /Volumes/NO NAME : 31.67 GB (27.49 GB free)
    Apple Computer, Inc. IR Receiver
    Apple Inc. BRCM2046 Hub
    Apple Inc. Bluetooth USB Host Controller
    Gatekeeper: ℹ️
    Mac App Store and identified developers
    Kernel Extensions: ℹ️
    /Applications/Toast 11 Titanium/Spin Doctor.app
    [not loaded] com.hzsystems.terminus.driver (4) Support
    /Applications/Toast 11 Titanium/Toast Titanium.app
    [not loaded] com.roxio.TDIXController (2.0) Support
    /System/Library/Extensions
    [not loaded] com.Huawei.driver.HuaweiDataCardDriver (4.0.6) Support
    [not loaded] com.roxio.BluRaySupport (1.1.6) Support
    [not loaded] com.sony.driver.prs (1.0.1d1) Support
    Startup Items: ℹ️
    HWNetMgr: Path: /Library/StartupItems/HWNetMgr
    Startup items are obsolete and will not work in future versions of OS X
    Problem System Launch Agents: ℹ️
    [failed] com.apple.accountsd.plist
    [failed] com.apple.AirPlayUIAgent.plist
    [failed] com.apple.bird.plist
    [failed] com.apple.CalendarAgent.plist
    [failed] com.apple.CallHistoryPluginHelper.plist
    [failed] com.apple.CallHistorySyncHelper.plist
    [failed] com.apple.cloudd.plist
    [failed] com.apple.coreservices.appleid.authentication.plist
    [failed] com.apple.coreservices.uiagent.plist
    [failed] com.apple.EscrowSecurityAlert.plist
    [failed] com.apple.icloud.fmfd.plist
    [failed] com.apple.iconservices.iconservicesagent.plist
    [failed] com.apple.nsurlsessiond.plist
    [failed] com.apple.pbs.plist
    [failed] com.apple.pluginkit.pkd.plist
    [failed] com.apple.printtool.agent.plist
    [failed] com.apple.scopedbookmarkagent.xpc.plist
    [failed] com.apple.secd.plist
    [failed] com.apple.security.cloudkeychainproxy.plist
    [failed] com.apple.spindump_agent.plist
    [failed] com.apple.telephonyutilities.callservicesd.plist
    Problem System Launch Daemons: ℹ️
    [failed] com.apple.AssetCacheLocatorService.plist
    [failed] com.apple.awdd.plist
    [failed] com.apple.cache_delete.plist
    [failed] com.apple.coresymbolicationd.plist
    [failed] com.apple.ctkd.plist
    [failed] com.apple.diagnosticd.plist
    [failed] com.apple.iconservices.iconservicesagent.plist
    [failed] com.apple.iconservices.iconservicesd.plist
    [failed] com.apple.ifdreader.plist
    [failed] com.apple.MobileFileIntegrity.plist
    [failed] com.apple.nehelper.plist
    [failed] com.apple.nsurlsessiond.plist
    [failed] com.apple.periodic-daily.plist
    [failed] com.apple.periodic-weekly.plist
    [failed] com.apple.sandboxd.plist
    [failed] com.apple.softwareupdate_download_service.plist
    [failed] com.apple.softwareupdated.plist
    [failed] com.apple.spindump.plist
    [failed] com.apple.sysmond.plist
    [failed] com.apple.tccd.system.plist
    [failed] com.apple.wdhelper.plist
    [failed] org.cups.cupsd.plist
    Launch Agents: ℹ️
    [not loaded] com.adobe.AAM.Updater-1.0.plist Support
    [loaded] com.adobe.AdobeCreativeCloud.plist Support
    [not loaded] com.sony.ReaderLibrary.RunReaderLibrary.plist Support
    Launch Daemons: ℹ️
    [loaded] com.adobe.fpsaud.plist Support
    User Launch Agents: ℹ️
    [loaded] com.adobe.AAM.Updater-1.0.plist Support
    [loaded] com.adobe.ARM.[...].plist Support
    [loaded] com.adobe.ARM.[...].plist Support
    [loaded] com.google.keystone.agent.plist Support
    User Login Items: ℹ️
    iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    HP Registration Assistant UNKNOWN (missing value)
    Reader Library Launcher ApplicationHidden (/Library/Reader Library/Reader Library Launcher.app)
    HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
    Internet Plug-ins: ℹ️
    Default Browser: Version: 600 - SDK 10.10
    OfficeLiveBrowserPlugin: Version: 12.3.6 Support
    net.juniper.DSSafariExtensions: Version: (null) Support
    AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
    FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 Support
    AdobePDFViewerNPAPI: Version: 11.0.0 - SDK 10.6 Support
    Silverlight: Version: 5.1.30514.0 - SDK 10.6 Support
    Flash Player: Version: 15.0.0.223 - SDK 10.6 Support
    QuickTime Plugin: Version: 7.7.3
    iPhotoPhotocast: Version: 7.0
    NP_2020Player_IKEA: Version: 5.0.94.0 - SDK 10.6 Support
    AdobePDFViewer: Version: 11.0.0 - SDK 10.6 Support
    User Internet Plug-ins: ℹ️
    BrowserPlus_2.9.8: Version: 2.9.8 Support
    fbplugin_1_0_3: Version: (null) Support
    3rd Party Preference Panes: ℹ️
    BrowserPlus  Support
    Flash Player  Support
    Perian  Support
    Time Machine: ℹ️
    Time Machine not configured!
    Top Processes by CPU: ℹ️
         7% syncdefaultsd
         0% launchservicesd
         0% launchd
         0% systemstatsd
         0% SystemUIServer
    Top Processes by Memory: ℹ️
    126 MB HP_Officejet_4620_series
    30 MB Finder
    28 MB ScreenSaverEngine
    24 MB mds
    24 MB WindowServer
    Virtual Memory Information: ℹ️
    25 MB Free RAM
    344 MB Active RAM
    333 MB Inactive RAM
    337 MB Wired RAM
    9.71 GB Page-ins
    146 MB Page-outs

    could the launch agents failing slow the computer or they just don't work. I mean I am willing to upgrade ram but not if there is good chance it won't change speed much. Also to downgrade is it necessary to format the hard drive?

  • Unwanted interface Alarms and Events in PI2.0

    We receive a lot of interface events and alarms from our 3560s access ports. We have not deployed any interface monitoring yet but still hundreds of alarms and events warns us about interfaces going up and down. Anyone who know why Prime is monitoring all interfaces and how to disable that?
    Many tanks in advance       

    Additional lab tests shows that all interfaces of a device indeed is monitored by snmp. When an interface changes from UP to DOWN/DISABLE an event and an alarm is generated. We have not deployed any "Interface health montoring" and still the interfaces are monitored. Not good for access ports.
    As a workaround we created a new Interface health monitoring template with the interface availability check disabled and just one other check enabled (interface util) and deployed it on two specific ports on a switch. Did not help. Alarms were still generated when the access ports were disabled.
    Any ideas?

  • Prime Infrastructure: Can you export Alarms and Events?

    Hello
    In Prime 1.4, you had the ability to export the alarms and events you saw being reported, at least according to the PDF manual: http://www.cisco.com/c/en/us/td/docs/wireless/prime_infrastructure/1-4/configuration/guide/pi_14_cg.pdf
    I want to export these events and alarms that can be found in the Monitor section of Prime 2.1, but the export option does not seem to be available.
    Does anyone know if it is possible to export these via a scheduled report or by looking in a particular place on Prime? I would like to import the information into Splunk to see if we can gain an insight into the information that is being collected.
    thanks
    Bryn

    HI,
    Did you ever determine an answer to this question? I really need to export data after a certain date... (I would also like to publish a calendar, after a certain date-- as no one needs to see the "old" events).
    Stu

  • Any ideas? In the history may iPad never crashed but after updating to iOS 5 it crashed every 30 minutes, and browsing is very slow

    Any ideas? In the history may iPad never crashed but after updating to iOS 5 it crashed every 30 minutes, and browsing is very slowAny ideas? In the history may iPad never crashed but after updating to iOS 5 it crashed every 30 minutes, and browsing is very slow

    I found the reason why our iPads are slow after iOS 5!!!!!!!
    What you need to do is this:
    1) launch settings, go to mail contacts and calendars, go to fetch new data, advanced, and set iCloud to fetch.
    2) go back and set an interval of when to fetch. Mine is set for thirty minutes. 
    3) make sure on top push is still on, that means that all your emails will still be pushed, but all the iCloud sync (contacts, calendars, reminders, bookmarks) will happen at the interval you choose.
    Restart the device. Your performance should be 10x faster! No more keyboard lag, nothing! Doing this puts less stress on the A4 chip, which we know we need every bit we can get with it now!!!
    Optional:
    1) in the settings, go to safari.
    2) clear all history and cookies/data
    3) enable private browsing. One of the biggest reasons why devices are slow is because it keeps all the history and cookies in the RAM. You need more RAM to make things faster. By turning on private browsing, it never records it!

  • Dreamweaver CS6 and CC both very slow page rendering under Mavericks

    Dreamweaver CS6 and CC both very slow page rendering under Mavericks compared to 10.8.5
    Any ideas?

    One other thing I am seeing:
    When I open any document (html, javascript) inside DWCC now, then close it without any changes, DW asks if I want to save changes.
    I just tested this under 10.8.5 and there is no lag there, nor are documents mysteriously modified when opened.
    Note: I have tested this both with and without other Apps or extensions running in Mavericks and 10.8.5

  • Alarming and Event Data Storage Locations

    I'm having a problem where the Alarms and Events files are filling up the system disk and causing Lookout to crash.  Is there any way I can set things up so that those files are stored on another disk?  I already have the Historical files being archived on a separate disk, but the alarms and events seem to have stayed on the System disk.  The system disk doesn't have that much free space all the time, which is why I put the historical files somewhere else.
    Also, I have the Historical Data system set to only archive data for 90 days (it was changed a while back from storing perpetually), but I still have files in the database going back years.  Is there a way to purge the old data out?
    David Dudley

    David,
    It's important to note the alarms and events are actually in a separate database from Citadel. 
    This KnowledgeBase article discusses removing/archiving alarms from the database:
    http://digital.ni.com/public.nsf/websearch/B23BDD585BAEB25086256C00005C2851?OpenDocument
    Moving the alarms database is a bit more tricky.  It uses the MSDE 2000 SQL engine, which defaults to using a database on the drive it gets installed to.  I think short of installing Lookout to another drive, there's no "easy" way to move it over.
    Message Edited by Paul M. on 04-08-2006 12:16 AM
    --Paul Mandeltort
    Automotive and Industrial Communications Product Marketing

Maybe you are looking for

  • Using a different computer

    I have a 30 gig Ipod photo I purchased in June. Well, how do I download more music on to my ipod using a different computer, without losing the music I already have on it? Thanks

  • Failing with error code 8007002

    Attached please find the SMSTS log, I highlighted the error, the OSD worked from another location but failing in my physical location. G[401 - Unsuccessful with anonymous access. Retrying with context credentials.]LOG]!><time="14:16:49.670+300" date=

  • Dv with FW 800 cable and DSR-20 deck not working

    I bought Mac Pro that has no FW 400 (that is stupid). I bought dv (4 pin) with FW 800 cable. I connect it to mac pro and my DSR-20 deck. My FCP does not reconize it. I set it DV NTSC. What else should I do?

  • Viewing complete employee information in the tabular form.....

    Hi all ... I have been asked by management to design a form in which they can view the following information of all the employees in a tabular form... STAFFNO,NAME,TYPE,NATIONALITY,POSITION,LOCATION,EVALUATION,APPROVAL NUMBER,... this info was previo

  • Screen at Maximum Brightness after Start

    Whenever I start my computer (MacBook Pro, late 2008) since upgrading to Lion the screen brighness is set to maximum. I have turned off the automatic brightness control in preferences. I can set the brightness using the function keys but the setting