How to stop and resume smart card reader handle using OCF framework

I need to stop the reader handle and transfer the handle to other application and after reply from that application, i have to resume the reader handle.
I tried Smartcard.shutdown and then I used SmartCard.start but it doesnt help.
Can anyone help me to sort out this issue?
Provide some sample code if possible.
Thanking you in advance.

with ocf you have CardTerminal instances to represent readers.
Did you try the close() method on your CardTerminal instance?
afterwards, you can open() it.

Similar Messages

  • How to stop and resume a subVI from the main VI?

    I am trying to write a test sequencer, I need to start a subVI (which is a test sequence) from my main VI, I'd like to control the execution of subVI by pressing the 'stop' 'resume' 'jump step' button in the main VI. Does anyone have any idea how to implement this in LV?
    Thank you.

    Yay for State Machine!! I would actually recommend the State Machine Using Events design pattern. Taking advantage of the Event Structure will allow you to replace the "Idle" state in the traditional state diagram design pattern. Instead, we are not waking LabVIEW to handle particular events on the front panel.
    More information regarding the State Machine design pattern as well as design patterns in general are available:
    NIDZ Tutorial: Changing the Face of Design Patterns with LabVIEW 7 Express Event Structure
    NIDZ Tutorial: Applicati
    on Design Patterns: State Machines
    LabVIEW Application Design Patterns
    Good luck.

  • How to stop and resume the animations of nested movieclips

    Hi
    I have many nested movieclips  in different positions of the main timeline.
    I have 2 buttons, play_btn and pause_btn.
    I'd like when the user click pause_btn, the animations on the main timeline and in nested movieclips stop.
    Whe he click play_btn the animations resume in both the main timeline and nested movieclips.
    I have created array of nested movieclips on the main timeline.
    var arr:Array = new Array(mc1, mc2, mc3, mc4, mc5);
    play_btn.addEventListener(MouseEvent.CLICK, on_play_btn);
    pause_btn.addEventListener(MouseEvent.CLICK, on_pause_btn);
    function on_play_btn(e:MouseEvent):void
         gotoAndPlay(currentFrame);
         for(var i:Number = 0; i < arr.length; i++)
             if(arr[i] != null)
                 arr[i].play();
    function on_pause_btn(e:MouseEvent):void
         gotoAndStop(currentFrame);
         for(var k:Number = 0; k < arr.length; k++)
             if(arr[k] != null)
                 arr[k].stop();
    but it only stops the animations on the main timeline and dosen't stop the animations in the nested movieclips.
    Help me Please.

    I'm having the same issue.I have a main timeline, which has nested movieclips with there own timelines and motion tweens. Using the new motion tween, and not the classic tween, which may or may not be the problem.
    Was having a similar issue with stopping the timeline, the main timeline would stop, but the nested movieclips would keep going. Found this blog post that helped.
    http://blog.nobien.net/2009/02/05/as3-stopping-all-timeline-animations/
    Used the code below to stop everything by passing the stage as the displayObject. Worked great, but now i'm having the reverse issue. When I resume play, the nested movieclip timeline stays exactly where I stopped it, and the main timeline resumes play. If there are a 100 frames in the nested movieclip, once it reaches the 101st frame, the main timeline kicks in again.
    function stopAllChildMovieClips(displayObject:DisplayObjectContainer):void{
            var numChildren:int = displayObject.numChildren;
            for (var i:int = 0; i < numChildren; i++) {
                var child:DisplayObject = displayObject.getChildAt(i);
                if (child is DisplayObjectContainer) {
                    if (child is MovieClip) {
                        MovieClip(child).stop();
                        stopAllChildMovieClips(DisplayObjectContainer(child));

  • How to Compile and run Smart Card Application

    hi
    any one can help me reagrding Javacard API. i download the JavaCard Development Kit from sun and install on my machine but i didn't get all java files and class files of JavaCard API. where i obtain those files so my application get compile and run.
    pls help me i m new in this technology.
    Thanks in Advance.

    My program Test.java in F:\Tomcat5\webapps\Ambika\WEB-INF\Classes. I compiled in the format below. I got like this. What should I do for this? But yesterday I compiled like this only, It compiled and the folder com\cert\Test.class is created. Today again I compiled the pgm after deleting the already created folder 'com\cert', I got the error like this.
    I've given my pgm and the thing I've got when I compiled it.
    Test.java
    package com.cert;
    public class Test
         public void display()
              System.out.println("Hai");
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>javac -d F:\Tomcat5\webapps\Ambika\WEB-INF\Classes\Test.java
    javac: no source files
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are u
    sed
    -classpath <path> Specify where to find user class files
    -cp <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -endorseddirs <dirs> Override location of endorsed standards path
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -version Version information
    -help Print a synopsis of standard options
    -X Print a synopsis of nonstandard options
    -J<flag> Pass <flag> directly to the runtime system
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>
    Plz help me.
    thanks in advance
    Ambika

  • MS Remote Desktop and smart card reader

    I have installed MS Remote Desktop Conn. on my iMac and connected a smart card reader via the USB. Although my reader energizes when the computer is on, the computer doesn't seem to recognize the reader. When I insert a CAC card into the reader and try to log in remotely, I continue to get a "username/password" box instead of the CAC PIN number. Do I need to install some kind of smart card driver or does Apple already have it? I'm at a loss as to how to fix this.

    I was able to get rdesktop 1.6.0 to install on my Mac and I was able to get CAC log-in to work.
    However, the installation is a little tricky. I downloaded rdesktop 1.6.0 from this link:
    <<http://www.rdesktop.org>>
    My instructions for installation:
    1. Make sure Xcode Tools is installed on your computer. It should be on your OS X install disk.
    2. Find out where your X11 libraries are located:
    -From the Finder menu, selct "Go" >> "Go to Folder..."
    -Type (without the quotes) "/usr/X11", and click "Go"
    You should see a bunch of folders. Make sure the "include" and "lib" folders are there. Otherwise you need to find out where the X11 "include" and "lib" folders are located on your computer.
    3. Download rdesktop and place the (unarchived) rdesktop-1.6.0 folder on your Desktop
    4. Open the X11 application (should be in your Utilities folder)
    5. In the X11 window type the following (without the quotes):
    "cd Desktop/rdesktop-1.6.0 && ./configure --enable-smartcard -x-includes=/usr/X11/include -x-libraries=/usr/X11/lib && make && sudo make install"
    4. Hit enter. When prompted, enter your administrator password and hit enter.
    rdesktop should now be installed in the following folder:
    /usr/local/bin
    So, to launch rdesktop with smartcard log in enabled, open the X11 application (or Terminal application) and type the following (without the quotes, and replace your.server.address with the server address):
    "cd /usr/local/bin && ./rdesktop -r scard your.server.address"
    Hit enter and it should launch a new X11 window that will try to access the remote server where you should be prompted for your PIN.
    To explore more options with rdesktop, open X11 and type the following (without quotes):
    "cd /usr/local/bin && ./rdesktop"
    Hit enter and you should get a list of options available to rdesktop.

  • Pkcs#11 and smart card reader

    Hi everybody,
    In my applet code
    i'm trying to implement "attached signature" reading keystore from a smartcard.
    I'm using SunPKCS11 provider and infocamere smart card, so i load SunPKCS11.dll for PKCS#11 standard.
    my code is:
    String pkcs11ConfigFile = "c:\\smartcards\\config\\SI_PKCS11.cfg";
    Provider pkcs11Provider = new sun.security.pkcs11.SunPKCS11(pkcs11ConfigFile);
    Security.addProvider(pkcs11Provider);
    where SI_PKCS11.cfg file contains 2 lines like follow:
    name = test
    library = C:\WINNT\system32\SI_PKCS11.dll
    when I try to sign without smart card in the device reader i catch "PKCS#11 not found" exception, while when I try with smart card inside the device the applet stop on loading the provider and it doesn't continue without any errors in java console. Can anyone help me?
    thanks a lot for every answer
    best reagards

    I should add that I am using Windows 7 and my CSS version is 8.3, I can also verify my smart card works for other applications, only thinkvantage CSS 8.3 does not work.

  • Smart Card Reader - How to turn off logon screen from reboot or wake up

    I just set up the bluetooth reader on my laptop and now when my laptop wakes up or on reboot the BB smart card reader is there to logon.   I rarely use my smart card reader on my laptop, i use it primarily on my phone.  I don't want to unistall it but I dont need to see that screen.  Any one know how to shut it off?

    Most likely after installing it changed the PC log on type to the reader.
    In control panel (assuming you have a windows product) you can change how a user logs on.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • How to configure Firefox to use cert from smart card reader on Sun Ray 3 Plus

    I have a Sun Ray 3 Plus configured so the user needs a smart card to login (CAC card) and bring up a Java Desktop on the Sun Ray Server (Solaris 10 SPARC).
    Now I am trying to get Firefox to read the certificate from the smart card reader but not sure how to go about doing that.
    From searching online, it seems like I have to load a module in Firefox:
    Edit -> Preferences -> Certificates -> Security Devices
    But what file do I load? I'm assuming it is a file that's part of the SUNWut package?

    I try to test bumblebee with:
    optirun glxgears
    but I get this error:
    Xlib: extension "GLX" missing on display ":8".
    Error: couldn't get an RGB, Double-buffered visual

  • Token and smart card reader are not detected on Mavericks if not plugged on a USB port during system boot

    Well, both token and smart card reader are not detected on OS X 10.9 if not plugged on a USB port during system boot. So, if I am already working within the system and need to use my certificates I have to plug the token or smart card reader on a USB port and restart Mavericks.
    Token is a GD Starsign and Smart Card Reader is a SCR3310 v2.
    Thoughts?

    SCS is a very good app, since I've read that Apple has discontinued support for PC/SC interfaces after the release of Mountain Lion.
    (My previous installation was a Mavericks upgrade from Lion)
    However, I don't know what and how to debug using Smart Card Services. Do you know any commands to use?
    Apparently, the SC reader reports no issues: the LED is blinking blue when no smart card is present and becomes fixed blue when a smart card is inserted – according to the manuals, this shows that there is correct communication between the OS and the CCID reader.
    I don't know what to do; I'm beginning to hypothesize it's a digital signer issue. In fact, my smart card only supports one application called File Protector (by Actalis) to officially sign digital documents. This application seems to have major difficulties in identifying the miniLector EVO.
    The generic and ambiguous internal error comes when I try to manually identify the peripheral.
    Athena CNS is one of the Italian smart cards and is automatically recognized and configured (so it's correct – no doubts about this), while "ACS ACR 38U-CCID 00 00" seems to be the real name of the miniLector.
    (I'm assuming this because System Information also returns that the real manufacturer is ACS... bit4id is a re-brander)
    However, when I click on it and then tap OK, it returns internal error.
    As first attempt, I would try to completely erase&clean File Protector files to try a reinstall. Then, if this still doesn't work, I'd debug using the terminal.
    So:
    - Do you know any applications to 100% clean files created by an installer?
    - Do you have in mind any solutions that I might have forgotten?
    Thanks in advance from an OS X fan!

  • How to install a smart card reader.

    I am trying to install a smart card reader for work.  There are no prompts when connecting via USB or anything else. 

    There shouldn't be a prompt when you connect an empty card reader.  Insert a memory card into it and it should appear on the Desktop.

  • T450s -- Display, NGFF SSD, Smart Card Reader, and m.2 SSD slots

    I'm looking to order a T450s and have a few questions about options when configuring the order:
    1080 Display -- Does anyone know if the 1080 display (non-touch) is made by LG or AUO or someone else? There was extensive discussion about the T440s, and people got different brands and the AUO was the preferred brand.
    16GB m.2 NGFF SSD -- If I remove this option, and want to add a 3rd party compatible NGFF SSD later, can I do this?
    3rd m.2 SSD Slot -- The options are None, 3rd m.2 SSD slot, or Smart Card Reader. If I select the Smart Card Reader option, can I later remove the Smart Card Reader and use it as a 3rd m.2 SSD slot? Or, if I select 3rd m.2 SSD slot and later want to use it for a Smart Card Reader, can I buy a Smart Card Reader and plug it into the slot?

    Lenovo uses different FHD diplays for the T450s: one by AU Optronics and the other by LG Display.
    However, the T450s uses a different LG display than the T440s. The LG screen of the T450s ("
    LP140WF3-SPD1") seems to be much better than the LG screen of the T440s.
    If you remove the 16GB M.2 SSD option, you can add a M.2 SSD later.
    If you have a device with two M.2 slots, you can't use a M.2 SSD and WWAN at the same time.
    If you have a device with three M.2 slots, you can only use single-sided M.2 SSDs in the third M.2 slot.
    Both the SmartCard reader and the third M.2 slot are attached to the mainboard via a flexible flat cable.
    If you choose the SmartCard reader, the warranty might be lost if you want to use the third M.2 slot, because you have to replace some parts that aren't so-called CRUs (consumer replaceable units).

  • Compaq 6910p Smart card reader and a sim care

    I have a compaq 6910p laptop, what is a  Smart card reader and the sim card use for

    Hey marionholt,
    I am sorry, but to get your issue more exposure, I would suggest posting it in the commercial forums, since this is a commercial product. You can do this at http://h30499.www3.hp.com/hpeb/
    I hope this helps!
    I worked on behalf of HP

  • Blackberry Z10 and Smart Card Reader Battery Life

    We have several users with new Z10s using Smart Card Reader 2.  After activation with BAS10, users state the Smart Card Sled battery life has dramatically decreased from the old setup with 9930s on BAS5.  One user states he can have it fully charged at work and it will be dead by the time he gets home.
    I searched around a bit, and haven't found anyone else reporting this issue.  Any ideas what might be causing this?

    Hi my two Z10 don't have this issue, what OS version are you running? The newer version should have fixed the battery issue.

  • Blackberry Smart Card Reader 7250 and Blackberry Bold 9000 connecting and pairing

    As the subject line states, I am trying to connect and pair the Card Reader with the Device.  I am unsuccessful in following the steps to Pair the Device with the Card Reader.
    When I attemp to Click Connect from the Security Options/Smart Card/Registered Reader Drivers/Blackberry, and after I enter the reader ID on the device I receive an error "Connection to unknow device fail"  and then it tries to connect 2 more times, and I receive the error "Unable to connect your Blackberry Smart Card Reader. Please verify that the reader is turned on, that you have correctly specified the reader ID, and that the reader is not alreadt paired with another Blackberry.
    Could someone provide some assistance?

    I've received the same error. It's a known issue with a batch of new readers.  I called RIM and they said an updated software package should be made available online in the next day or so which will address/resolve the problem.

  • Why does a smart card reader kill MacOS?

    I need a smart card within a virtual machine on my Mac. The trouble is, every time I connect the reader, my MacOS stops working properly.
    When the smart card reader is connected before the Mac is turned on, then I can't login: After entering the password, it hangs with the spinning color icon.
    I can boot without the reader, though. If the reader is plugged in after boot, this happens:
    Safari doesn't start up, all I see is the color spinner. Finder gets blocked as well while Safari is trying to start up (i.e. forever)
    If I have a Terminal open, then I can "kill -9" the Safari process, which unblocks the Finder.
    When I then try to shut down, it hangs with a white screen, and never properly finishes until power off.
    How can I debug or solve this problem?
    Thanks! Martin

    It's a very common device (Omnikey 3121), which should be compatible. Nevertheless, I installed drivers from the manufactor's site to see if they make any difference. On reboot after driver installation I got a kernel panic within the HID drivers. Very strange.
    Kernel Extensions in backtrace:
             com.apple.iokit.IOHIDFamily(2.0)[994495B5-FB34-3DB5-B47A-D2A732E52F33]@0xffffff 7f811c1000->0xffffff7f81232fff
                dependency: com.apple.driver.AppleFDEKeyStore(28.30)[2A8A5F6B-0A7C-33A0-8E5B-4C10F646EC4F]@ 0xffffff7f811b6000
    After reboot it seems to work fine, but I'll have to check some more.

Maybe you are looking for

  • Application control

    Hi all, could you help me with finding the answer for the following question? Is it possible in Peoplesoft to have different application controls settings on different client codes within one instance? I'm more familiar with SAP and I'm just trying t

  • Long text not appear in E-mail Notification (Smartform)

    Dear Gurus, Need your insight on this issue. I'm trying to insert long text (Response/Description/etc) from the message into body of e-mail notification. I use function module 'CRM_DNO_READ_ORDER_TEXT'  to get the text in the smartform and then use f

  • XML output from BW

    Hi Folks, I want to know if we can extract data from BW in XML format. I don't see xml as an output format while creating infospokes. Is there any other way.

  • New Product Announcement: Measurement Studio 2013 is available for download

    Measurement Studio 2013 continues to offer programmers the latest tools for development and visualization with new support for .NET Framework 4.5, Windows Presentation Foundation (WPF), and Visual Studio 2012. Measurement Studio 2013 integrates into

  • Exit_saplcmpexits_006

    Have any of you implemented this user exit for variable compensation components?  I've activated the CMOD, and I know the include module I'm supposed to add my code to is zxcmau09.  However, I have no idea exactly what I'm supposed to code in this in