Thinkpad S540 : Cannot Disable Microphone for real (even if disabled in BIOS)

Hi,
I have an uncommon problem. Usualy people have troubles to get their devices working, mine is working to well...
I got a wonderful Thinkpad S540, working very well from scratch under the last Ubuntu 14.10
I went to the BIOS to disable all the devices I don't need like WAN, Bluetooth, camera AND MICROPHONE !
But this last one doesn't want to leave from my configuration.
And it is VERY sensitive and powerfull, I've tested it a bit at work, at home and I manage to catch conversation very far away from my place with the microphone with simple software like arecord, example :
arecord -D default -f cd toto.wav
next, try :
vlc toto.wav
you will be upset by the high quality of the record. I made some test, the entire metal LCD panel is used "as" microphone amplifier. I tried to cover the mutiple holes at the top of the LCD panel, it still works Great...
The problem is : I would like to switch it off...
I flashed the last BIOS Revision: 1.63
I disabled the microphone in the BIOS, I restart 5 times, with and without the AC adaptater, it doesn't change anything...
Does someone know how to switch microphone off for real ?
Is it a Bug in the BIOS ?
Can we have some support contact to get a new working BIOS release ?
Regard's

Sorry guys,
problem sorted, my BIOS supervizer password was different than power on password, always when I was promt to put in password, I was putting there the one for power on and it let me go in BUT when I wen in BIOS, I wasnt able to access settings.
after I put in right supervisor password everything is working how supose to.

Similar Messages

  • CANNOT ACCESS DOWNLOAD FOR READER EVEN WITH CHANGED PASSWORD

    CANNOT ACCESS DOWNLOAD FOR ADOBE READER EVEN WITH A CHANGED PASSWORD AND I HAVE BEEN ON CHAT

    There are several possibilities as to why a user account may
    not be correctly available or a password to it reset to fix it.
    One of them may be, if the short name of the computer or of
    an account was changed by the user; and later the system
    may appear different or changed, with some of the user acct
    settings or preferences no longer as they were prior to that.
    There is a way to create a new admin level user account and
    then move the older user info into the new account; then go
    in and delete the other one. I am not certain as to how to do
    this; but the topic has come up in these discussions, and the
    general path is about the same from Panther through Leopard.
    A few details may be named different, but similar as things go.
    • Mac OS X: *How to change user short name* or home directory name:
    http://support.apple.com/kb/ht1428
    • How do I change owner's name in my Mac:
    http://www.askdavetaylor.com/howto_change_owners_name_applemac.html
    While these kinds of details may not be behind the exact problem in
    the computer in question, directory and user account issues do often
    have similar causes. Often, they are user-caused events. If the general
    Directory of information on the hard disk drive has a problem, the use
    of a third-party disk tool such as Disk Warrior is usually advised. If that
    were needed, usually more evidence across the system would appear.
    There may be a way to use a Setup Assistant to recreate a new user
    experience and start over with a new admin account and user name.
    Then go into the system to ferret out the old user info.
    +Sorry I can't be of more help; as I am being distracted by an elderly+
    +person who can't figure out why I am online or what it means to be.+
    Good luck & happy computing!

  • A lot of songs in my library have an excalmation point to the left of the song.  This means the song cannot be located for syncronizing even though they can be played.  I have deleted all of them and started over but the problem still exists.

    A lot of songs in my library have an exclamation point to the left of the song.  Apparently this means the song cannot be located for syncronizinf to the IPOD but yet they can still be played.  I have gone so far as deleting every song and then importing them.  Same problem.  This is not just a few songs but at one time was in the hundreds. 
    Has anyone experience this?

    The exclamation point indicates the media is not where iTunes expects it to be.
    What happened just prior to this issue starting?

  • Disable microphone for mobile phone using intune

    Hi,
    Would like to check if disabling of microphone on mobile phones (iOS, android, Windows) can be enforced through Microsoft intune?
    The available configurations under hardware capabilities seem to exclude this feature?
    https://technet.microsoft.com/en-us/library/dn913730.aspx
    Thanks 

    Hi,
    Would like to check if disabling of microphone on mobile phones (iOS, android, Windows) can be enforced through Microsoft intune?
    The available configurations under hardware capabilities seem to exclude this feature?
    https://technet.microsoft.com/en-us/library/dn913730.aspx
    Thanks 
    I have to ask, why do you want to do that? why don't you disable the phone itself? or better yet don't give them a phone at all.
    Garth Jones | My blogs:
    Enhansoft and Old Blog site
    | Twitter: @GarthMJ
    Thanks for reply. Apologies. Disabling of voice recording functions will be the more appropriate. 

  • Windows 10 disabled microphone for adobe and dragon speak

    Hi guys, I had to uninstall windows 10 because it interfered with adobe presenter video express microphone settings. also it interfered with microphone input for dragon speak 13. i like windows 10 but can't seem to make it work - so i reverted to windows 8.1...anybody got a fix so i can reinstall windows 10 on my kira?

    Which computer? There is a label on the bottom.
       Information on Dragon NaturallySpeaking 13 and Windows 10
    Why do you want to upgrade?

  • I am a victim of " Your apple ID has been disabled" (not for security reasons, only disabled), is there any way to solve this?

    Is there any possible way to achieve my goal? I really want to solve this, looking forward for your assistance.
    Note: This is only "Your Apple ID has been Disabled", it did not mention security reasons and other words / things.
    Random Facts:
    1- I had my phone less than a year. (Iphone 4S)
    2- I never had problems with it
    3- I may have used multiple accounts (2 max.)
    4- Even on my PC, i cannot download any application
    5- In my country there is no apple store
             Thanks!

    Apple ID is Disabled - Apple Club

  • HT201263 my nephew made a new password and now cannot remember, he has tried several times but now the I Pad is disabled and he cannot try again for 22,980,298 minutes.  The original computer it was synced to is not available.  We just want to start over

    my nephew made a new password and now cannot remember it.  He has tried numerous times but now the I Pad is disabled and he cannot try again for 22,980,298 minutes.  The original computer it was synced to is not available.  We just want to sta

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.htmlhttp://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tbhttp://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Devicehttp://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htmhttp://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • 11.0.0.4 Update still promting for update at clock even when disabled via GPO customization wizard

    I have custiomized the Adobe Reader 11.0.0.4 msi to disable any updating feature available . This is the same as the previous versions which have worked faultlessly. This time when i have deployed 11.0.0.4 it does install on the windows machine but still prompts beside the clock with an icon and message saying would you like to install the update? if i click it it then fails as its already installed. i do not want any user to see this message especaily when that version is already running on the machine! Please see below for further informaiton, Appriciate any help resolving this issue.
    Server software:
    Operating system: Windows server 2008 R2
    Client software:
    Operating system: windows 7 64 x pro
    Service Packs: SP1
    Adobe product: Adobe reader 11.0.0.4
    Are the system requirements met? yes
    Problem details:
    Type of problem: update icon and message still showing at clock even when disabled by customized GPO.
    Error message (if any): no erro just popping up!
    Logged on as administrator or user? both but deployed via GPO deployment
    Can you reproduce the problem when you test the problem on the server? yes i can repude on several PC's
    Deployment details
    If you are having deployment problems, also record the following:
    Base version   11.0.0.0
    Any patching/chaining? 11.0.0.1, 11.0.0.2, 11.0.0.3, gpo deployed each version now on 11.0.0.4
    Using MSI or EXE? MSI with MST file (MSI from 11.0.0.0 andmerged with Patch 11.0.0.4)
    Using the Customization Wizard? YES
    Deployment method (AIP, GPO, SCCM, ARD?) GPO
    Installing over other products? YES previous versions of adobe reader
    Did you attempt to install any third-party scripts or application  programming interfaces (APIs) with Acrobat during deployment? If so,  does the problem reside with these elements? (To find out, create a test  package containing only Acrobat.) no
    How did you create the package? customisation wizard Adobe 11.
    Does the problem occur when you install the application from a DVD?  If so, does the problem occur when you copy the contents of the DVD to a  local or network drive? n/a

    fyi
    Some feedback in SR 3-6322025251 ...
    After some on-going discussions with Product Managers, they don't believe this is expected behavior in the 3 questions (q4), (q5) and (q6).
    I have so created 3 new bugs for Development evaluation as no answer or known issue found.
    I have created a spin-off SR for each question/bug as per our policy we handle only one issue/bug per SR.
    You can follow each question/bug progress in the following SRs :
    - (q4) Is it intended behavior to have updated version columns on rows that have not really been updated (as observed in step (sc2-g) and (sc3-g))?
    SR 3-6838483321: Entity attribute with change Indicator and version history gets updated even if row unmodified in UI
    Bug 16381918 - OBJECT VERSION ATTRIBUTE INCREMENTED EVEN IF ROW UNMODIFIED IN UI
    - (q5) How can the NullPointerException (in step (sc2-h)) be explained/avoided?
    SR 3-6838483348: NPE in oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded
    Bug 16382070 - NPE IN ORACLE.ADF.MODEL.BINDING.DCITERATORBINDING.EXECUTEQUERYIFNEEDED
    - (q6) Why does the message in step (sc3-h) mention 'primary key oracle.jbo.Key[10 ]' while the row that really changed has Deptno 20?
    SR 3-6838483413: Incorrect primary key value from oracle.jbo.RowInconsistentException
    Bug 16382246 - INCORRECT PRIMARY KEY VALUE FROM ORACLE.JBO.ROWINCONSISTENTEXCEPTION
    Each bug has been published in MOS and are pending Development triage and evaluation.
    On My Oracle Support, I have been able to find bug 16381918, bug 16382070 and bug 16382246.
    regards
    Jan

  • When I am connected to the WiFi, my apps cannot be download. Once I had disable the wifi and connect directly to the service provider, the apps will start to download. Please advise what is the problem and solution for my iPhone 5.

    When I am connected to the WiFi, my apps cannot be download. Once I had disable the wifi and connect directly to the service provider, the apps will start to download. Please advise what is the problem and solution for my iPhone 5.

    I can't follow your meaning. What does connect directly to your ISP mean?
    Did you mean turning off WiFi but turning on Cellular Data on your iPhone?

  • Thinkpad S540 possible BIOS bug concerning WOL

    I have had a Thinkpad S540 for a few months, and have it installed as dual boot Windows 8.1 and arch linux.  After completely shutting the machine down from linux I found that the battery would be down to around 70% charge after three days unused, and decided to investigate this problem since it was not reasonable for a new battery to lose charge at anything like this rate.
    By chance I came across a piece of information concerning the issue of disabling WOL (Wake on LAN) on the network interface, since I had seen one report that by default WOL is enabled and this requires power to be going to the network interface even when shut down in order to be able to respond to magic packets to start the machine up when it is shut down.
    First I checked the BIOS WOL setting and found it was set to "AC only" by default. So I changed it to disabled. This machine has the latest available BIOS version 1.54.
    However on investigating this after rebooting in linux I found that 
    # cat /sys/class/net/enp3s0/device/power/wakeup
    enabled
    # ethtool enp3s0 | grep Wake-on
    Supports Wake-on: pumbg
    Wake-on: g
    So WOL was still enabled despite it being set to disabled in the BIOS!
    I learned that I can make sure that in arch linux the WOL setting can be changed to set to disabled after bootup by using a udev rule:
    # cat 70-disable_wol.rules
    ACTION=="add", SUBSYSTEM=="net", KERNEL=="enp3s0", RUN+="/usr/bin/ethtool -s enp3s0 wol d"
    Then rebooting the machine I checked the WOL setting and it really is disabled now:
    # ethtool enp3s0 | grep Wake-on
    Supports Wake-on: pumbg
    Wake-on: d
    # cat /sys/class/net/enp3s0/device/power/wakeup
    disabled
    So I then ensured that the battery was 100% charged and shut down the machine and left it two and a half days - rebooting this morning the battery was still at 100% charge and no longer discharges unnecessarily when the machine is switched off,  so this is a clear indication of a bug in the BIOS for the WOL setting - it is still enabled despite the BIOS saying it is disabled!
    How do I report this to Lenovo so that they can fix the BIOS and release a new one that is working?
    I am aware of other users with different Thinkpads who seem to have the same problem, so this may be more widespread an issue than just on the S540.  
    It is also not just an issue with the battery running down when fully shut down but will likely also be a problem for a machine in suspend mode since the network interface may be consuming a watt or so of power when in suspend, which will again run the battery down at an unacceptable rate.
    I cannot imagine any use case where it would be necessary to have WOL enabled on a laptop that is mostly going to be used mobile - so having the default setting to AC only enabled, and having a BIOS bug enabling it when it is explicitely disabled is a serious problem.

    Anyone running windows in the same laptop can check the same issue of battery drain due to WOl being enabled by default - in the Device Manager under the network card, opening the settings menu for the ethernet wired card the default for Wake-on-LAN on my computer was set to enabled. This can be changed to disabled, and you may need to also disable the setting for Wake on Magic Packet. Also in the Power Management tab it is possible to uncheck the settings for "Allow this device to wake the computer" and "Only allow a magic packet to wake the computer"
    In my laptop these were all set to enabled by default.

  • ThinkPad S540 AMD GPU PROBLEM!!!!

    Good day! I recently (2 days ago) purchased a brand new S540 laptop. It worked fine, until I discovered a problem with AMD GPU.
    So I have 2 GPUs: Intel HD 4400 and AMD Radeon 8670M. I have the Windows 8 OS. The problem is: any time the laptop is switching to AMD GPU the screen goes black for a fraction of a second, and then I have a notification "driver failure" in windows tray. I installed ALL possible drivers, nothing helped. The AMD GPU doesn't seem to work at all. Moreover, I updated to Windows 8.1 through Windows market, and this caused huge new troubles: when I try to install the GPU driver I have a bsod with a message "thread_stuck_in_driver", something like that, and OS restarts; after restart I can't even see the login window, seems like windows is trying to initialize AMD GPU and I have same blue screen and another restart, only disabling the 8670M video adapter in safe mode helps, but again, exactly until I try to install/enable it again.
    I did a factory reset, restored Windows 8 back. Disabled OS update to ensure that I have a laptop "exactly as designed", and again, same problem.
    I assume this is a hardware problem, am I right? The laptop was in a brand new box with factory stickers.
    Thanks!

    Ok, no response
    Is this thing official, can I hear a feedback from Lenovo support guys?
    I sent the laptop back for diagnostics.
    I'm afraid that seller will tell me to repair the laptop; for free of course, but I'm not happy to pay full price for repaired device. In such case I can ask to reduce the price, but can't find how much the AMD 8670M costs. Maybe someone here can help? In % for ThinkPad S540 - how much would that be? 10%? 20%?
    Thaks!!

  • Disable DSN for specific messages

    Hi,
    i have a problem, where i wish to disable DSN for specific internal users.
    Scenario :
    Interal User a sends a mail to special address c,
    if mail host of special address c is not available or anything else i wish that internal user a is never informed that c didnt recieve his mail.
    Can this be done ?
    i thought about doing this with sieve.. but i dont know if DSNs generated by the IMS Master itself are also checked by sieve mechanism....

    Please do notice that your bits do not support many of the features you want. And that later bits do. If you offer that to your company, perhaps you could update more often, or at least this time. We're not talking about a new package, here, but just an update to the one you have, that's not doing the job properly.
    Also, if you had asked for what you needed at the beginning, I could have helped you better.
    What you want is the sieve command, save-copy, or, perhaps monitor. Please see whitepaper, quoted below:
    Saving Messages for Document Retention
    If the reason you want to capture a copy of the message is for document retention, then you will want to take advantage of the new "capture" sieve action. You have to have iMS v5.2 or better to use this facility. The capture action can only be specified in a system or channel sieve; it is not available in user sieves. The general syntax is
    capture "monitoraddress"
    The monitor action is the same as the capture action. Users are encouraged to use the 'capture' instead of monitor as it best reflects the function being performed.
    This action sends a DSN containing the original message in its entirety to the specified capture address. Since this is a DSN it is effectively a completely separate message so there's little chance of it causing side effects that will alert anyone to the monitoring. In particular, no addresses from the original message appear in the DSN header so there's very little chance of the capture copy getting forwarded to the wrong person by mistake. And even though the original message is encapsulated, it is a MIME encapsulation which means the content is easily accessible in any MIME-compliant user agent.
    The capture action is nonstandard and undocumented. It was originally intended to be part of the habanero release, but the backporting of direct LDAP support to 5.2 means it is available in 5.2 as well. We certainly intend to support it in the future.
    Saving Messages for Replay
    There is an undocumented functionality in iMS for making a copy of messages for archival purposes. It's intended for saving sent messages in the event that they need to be replayed. We did this for folks who send mail via bad links to places where the mail may be received OK by an intermediate host but then subsequently lost on its way to the final destination.
    This is done with the MESSAGE-SAVE-COPY mapping table. Entries in that table have the form
    MESSAGE-SAVE-COPY
    out-channel|from-address|D|msg-filename result
    where
    out-channel -- name of the channel the message is flowing out
    from-address -- originator's address (envelope From: address)
    D -- the letter "D" (stands for "dequeue" )
    msg-filename -- name of the message file being dequeued.
    result -- where to rename the file
    Outbound Traffic
    To save only messages out to the Internet, do
    MESSAGE-SAVE-COPY
    tcp_local|*|D|/instance-root/queue/tcp_local/*/* (tab-or-space)$Y/msg_save/$1/$2
    Be aware that the archive isn't made until the message is actually dequeued from iMS (i.e., sent successfully or bounced). A rename operation is done (as opposed to a copy operation). As such, the message file has to remain on the same disk that the IMTA_QUEUE lives on.
    Inbound Traffic
    To capture inbound mail will want to have good control of what machines/pathways a message will take on its way into your systems. If your setup is such that mail always enters the site via an INBOUND relay and leaves the site via know outbound gateways, then inbound message flow is from INBOUND-MTA --> MsgStore machine.
    Since you can have multiple MsgStore machines behind any one INBOUND-MTA, you will want to make configuration on the INBOUND-MTA machine such that it will use a dedicated queue to talk to the MsgStore machines. For instance, on the INBOUND-MTA machine, you could setup a rewrite rule in your imta.cnf file for MsgStore-A, MsgStore-B, ... MsgStore-Z like:
    Node-A.store.domain.com.au $U%$D@tcp_to_store-daemon
    Node-Z.store.domain.com.au $U%$D@tcp_to_store-daemon
    and a corresponding 'tcp_to_store' channel which looks like:
    ! tcp_to_store
    tcp_to_store smtp mx single_sys subdirs 20 noreverse maxjobs 7 \
    pool SMTP_POOL maytlsserver allowswitchchannel \
    saslswitchchannel tcp_auth
    tcp_to_store-daemon
    This has the effect of routing all mail to any of your MsgStore machines through tcp_to_store channel. Transactions to other machines in your setup will take the tcp_intranet channel.
    With this in place you can then throw in a MSG-SAVE-COPY mapping table which reads:
    MESSAGE-SAVE-COPY
    *|*|D|/instance-root/imta/queue/tcp_to_store/*/* $Y/msg_save/tcp_to_store/$2/$3
    the net effect will be a number of queue files in the /msg_save/tcp_to_store directory which are ready for replay. Note the $2 in the sample represents the subdir that the message was already in. As such if you have 'subdirs 20' on your tcp_to_store channel, you will want to precreate the /msg_save/tcp_to_save/000 thru 019 subdirectories with the appropriate ownership and permissions.
    To initiate the replay, you want to simply move the /msg_save/tcp_to_store/### directories to the /instance-root/imta/queue/reprocess and issue the command 'imsimta cache -synch'. The MTA will start pushing out those messages to the store(s).
    If you want to have multiple replays happening you can kick off parallel runs of the reprocess channel by doing 'imsimta run reprocess &' a number of times.
    And, If you want to segregate the storage for each MsgStore machine, you can make new channel in addition to the one suggested 'tcp_to_store' channel. You would then have groups of rewrite rules directing traffic over those channels or you could have one rewrite rule per channel block that you setup. That way you can have distinct entries in your MSG-SAVE-COPY mapping table.
    Finally, since there is a rename operation taking place when you use the MSG-SAVE-COPY mapping table, you will want to make sure that at the first pass that /msg_save is on the same device that your queues live on.
    Short Term Arvchival
    You could setup a process in cron to move those files to a new device on a periodic basis. Better yet, schedule this via the job_controller. For instance, these lines at the top of your job_controller.cnf file:
    [PERIODIC_JOB=archive_mover]
    command=/usr/iplanet/sitescripts/arc_mover.sh
    time=/00:10
    will run the arc_mover.sh script for you every 10 minutes. Your arc_mover.sh could look something like:
    #!/bin/ksh
    # ***Script is untested - should generate some ideas though****
    DUMMY=`test -d /var/tmp/timestamp.dir || mkdir -p /var/tmp/timestamp.dir`
    cd /msg_save
    # First pass
    for dir in `find ./ -type d`
    do
    DUMMY=`test -d /real/storage/area/$dir || mkdir -p /real/storage/area/$dir`
    cd $dir
    for msgfile in `find ./ -type f -newer /var/tmp/timestamp.dir -name "*.00"`
    do
    mv $msgfile /real/storage/area/$dir/
    done
    cd /msg_save
    done
    touch /var/tmp/timestamp.dir
    # Second pass cause we do not know how long we took.
    for dir in `find ./ -type d`
    do
    DUMMY=`test -d /real/storage/area/$dir || mkdir -p /real/storage/area/$dir`
    cd $dir
    for msgfile in `find ./ -type f -newer /var/tmp/timestamp.dir -name "00"`
    do
    mv $msgfile /real/storage/area/$dir/
    done
    cd /msg_save
    done
    exit

  • "Waiting for real-time target (RT PXI target) to respond" error when the program waits interrupts

    Hi there,
    I have developed an application to detect interrupts generated by a electronic card and act in consequence. The program has been developed in labview but it calls a dll; that was created with labwindows. The dll is programmed to open the visa communication, enable events and install the interrupt handler and when an interrupt is detected, it reads the value of the different registers of the card and returns it to labview to visualize them. 
    The problem is that when the program waits for an interrupt, a prompt appears with the message "Waiting for real-time target (RT PXI target) to respond" and the only option I have is to click on the button to disconnect from the pxi or just wait. If I wait and I generate an interrupt, the prompt disappears and the application visualize the data like it was expected. 
    To wait for the interrupt the following code has been programmed in the function:
                    while (flag == 0)
                                    Sleep (1000);
    When an interrupt occurs, the value of flag changes to 1 and the function continue without any problem. I am not really sure, but probably here is the problem and probably this is not the best way to wait for an interrupt because the sleep function suspends the thread for the configured time, but at least the computing load in the PXI is between 0% and 1%. I was wondering if somebody knows how to wait for an interrupt without "lost" the communication with the PXI and if there is a better way to do it. 
    Any answer will be welcome and thanks for them,
    Jaime
    Solved!
    Go to Solution.

    Hello Naity,
    First of all, in which thread runs the waiting process? Is it scheduled in another thread than the function setting the flag?
    It scheduled in the same thread that I use to configure the communications and configure the card. Anyway, here is the pseudo code of the function interrupt that I programmed under labwindows,.
    char* interrupt(void)
    1. Open visa communications
    2.Install handler interrupt --> status = viInstallHandler (instr, VI_EVENT_PXI_INTR, IntrHandler, VI_NULL);   // the function IntrHandler will be called when an interrupt occurs
    3. Enable event PXI interrupt
    4. Wait
    while (flag == 0)
                  Sleep (1000);
    5. Visualize the data coming from the interrupt (registers and values measured with the card)
    6. Uninstall handler interrupt
    7. Close visa session
    The interrupt handler function IntrHandler is called immediately when an interrupt occurs and the pseudo code is like this
    ViStatus _VI_FUNCH IntrHandler(ViSession instr, ViEventType etype, ViEvent event, ViAddr userhandle)
    1. Disable some functions of the card to avoid damages. 
    2. Read registers and put them in a buffer
    3. Change the value of flag ---> flag = 1;
    In labview, I call the function interrupt with a call library function node (see the capture attached) and the program reads and saves the data from returned from the function.
    Secondly, I am not sure this method is the most elegant. You could for example register an event with the function and, insteand of setting a flag to 1, trigger the event and schedule it in another thread (if the function is thread safe). This could reduce your CPU Load even more and seem a bit cleaner to me.
    I've never used events before in labwindows but I will try to do it in this way. But anyway, I suppose that I should; somehow, wait the event to occurs in labview while the waiting for the event is programmed inside the dll...and probably the same prompt that i am trying to avoid is going to appear again, because I am not returning the "control" to labview (I mean, labview executes the dll and waits for the event to occur. Then the execution of the labview program is stopped in the call library function node executing the dll)
    Third point, which environment of development are you using?
    I am working with LV 2010 sp1 and Labwindows cv 10.0.1 and with the real time module.
    I did also another test, I divided the program in different functions, one to initialize the communication, another to wait until a interrupt has been detected and the other to obtain the data from the interrupt and close communications. With labview I call first with the call library function node the function to initialize, later I call inside a while loop the wait function like this
    int waitAseconds (double seconds, short stop_waiting)
    if(flag==1 || stop_waiting == 1)
    flag = 1; //to detect the stop_waiting button
    printf("flagAA =1 stop waiting = %d time = %d\n", stop_waiting, clock());
    return flag;
    else
    SleepUS(seconds*1000000);
    //a++;
    printf("flag a= %d stop waiting = %d time = %d\n", flag, stop_waiting, clock());
    return flag;
     and when the program detects an interrupt, the function returns to labview the flag and stops the loop. Finally, it reads the values and close communications. 
    In this way, the prompt appears but after running the application for 10 or 20 minutes and also i checked that there is a time gap between the executions in the loop.
    Thanks for your reply and your help,
    Jaime
    Attachments:
    capture.png ‏40 KB

  • My 4s Goes to speakerphone automatically while calling and does not go back to normal even after disabling speaker  while calling

    My 4s Goes to speakerphone automatically while calling and does not go back to normal even after disabling speaker phone button
    AlsO sometimes I. Cannot hear anything in normal speaker even though the call Is going through and has been re ieved on the other end, I have to enable speaker and then disable it to route audio to normal speakers

    I think that it is something wrong with kernel and graphic drivers but i'm not able to solve it from the beginning of using of Arch by me.
    I'm not so sure this issue is software-related only because in my case it seems the laptop screen enters power-saving mode (10-min timeout) on its own without any events logged (as shown by dmesg) so my next thought was OK, I'm going to get rid of this issue disabling the screen power-saving timeout in the BIOS and set it to never power down or something like that and from then on managing power mode manually; ie: when I want to power down I will just use systemctl suspend/hibernate which work fine ... problem is: there are no related options in my BIOS for such timeout.
    The only timeouts I have are in /etc/systemd/logind.conf set to 30min (#IdleActionSec) (commented) by default so these are not in effect because the screens goes blank after 10m which is less than the (default) 30m in logind. Maybe setting loggind to 9m (un-commented) to catch the event before the machine-default one ?
    IdleActionSec=9min
    IdleAction=suspend
    Will check it and report back.

  • Cannot find InfoProvider for selection specified

    Hi All,
    When executed RSPLAN in BI System , it took us to EP screen , in that
    InfoProvider , Aggregation Levels , Filter....etc tabs are there.
    When selected InfoProvider , Z* or * or empty and when clicked on start button..
    The following message is displayed :
    Cannot find InfoProvider for selection specified "with green exclamatory symbol"
    Even it is not giving JCo type of error message ,
    Real time infocubes are created and activated .
    The two above things have been checked properly .
    Thanks,
    Srini

    Dear Srinivasa,
    Check this link..
    Cannot find aggregation levels for selection specified
    not able to see infoprovider in the planning modeler
    Hope this helps u..
    Best Regards,
    VVenkat...

Maybe you are looking for

  • Anyone dropping wireless connection with ML?, Anyone dropping wireless connection with ML?

    I keep dropping wireless never had a problem before yesterday's update

  • ASR - 1002 and Ip radius

    hi all, my customer trying to remove the aaa and tacacs server from the device and fails. router#conf t Enter configuration commands, one per line. End with CNTL/Z. router(config)#no ip radius source-interface Loopback0 vrf DATA router(config)#no ip

  • Re-importing 2nd copy of cd songs as AIFF

    My question pertains to cd imports only. I want to re-import a large portion of my cd collection in AIFF format and sync some of those to a 2nd ipod dedicated to the larger files. Ideally, I'd just import and add to my existing AAC collection on a la

  • Problem with indesign cs2

    When i start my indesign problem i´ve recived a box that says the installer seems to have written the wrong AUM application ID I don´t know what to do to fix this problem and the program worked smooth as a charm until to day, it´s not expired or is a

  • SCSM Authoring for Service Request forms

    We are planning to start SCSM authoring work . As of now we are planning to focus on Service Request forms . The intent is to get them on the  portal as Request Offering .There would be mainly 10-15 SR forms ,and now each of these forms would have so