Session handle with PXI2503

Hello
I have created DLLs with Labwindows 7.0 on windows 2000 operating system. Those DLLs are used by another application developped with Powerbuilder software. I use this application to program PXI materials: MXI3 kit, PXI-1042 chassis, PXI2503, PXI6527 and PXI-GPIB. With my user profile, I can program those materials through the application I have implemented. The other users can't program PXI materials with my application. This application uses niSwitch_init function. When the application encounters this function, it can't establish a session handle. The session value is zero and the returned status code is BFFFA002B. Programming directly the PXI2503 card with NI examples woks with everybody.
I would like to know if there is a link between user profile and programming PXI materials.
Is there any solution to my problem?

Hi,
I answered a similar question on another thread in french.
Actually, it is not usefull to duplicate questions (french & english) on the forum.
Thanks in advance for that,
Regards,
David D.

Similar Messages

  • Trouble with session handle???

    Hi everybody, its me again... i solve part of my problem but now i have another problem thats bothers me....my scenario is the follow: i have an app running in a portal, then i have a link in the portal who bring me a pop up of the active page of that app, that is shown on the portal in that moment. when i call the pop up, some class attributes change its values for do something, when i close the pop up, those class attribute refresh and take its initial values (values necessary to run correctly in the portal) BUT, when i minimize the window (no close it) and start to manipulate the app in the portal (the app is statefull), the values stay the same as if i was operating the app in the pop up and obvious do something that it should'nt do. My question is: there is some way...may be with session handler like sap-sessioncmd (i test it but it doesnt work), that help me to manage diferent session for the pop up and the app running in the portal...or may be some parameter (that is pass it via url) that help me to create another object of the class when i calls the pop up

    thanks for the help. I thought Id tell you more about what I
    am doing and see if you have comments - we use google to market our
    company so clicks are costing us big bucks. currently, our sites
    rely on session management to operate, so I realize that folks
    having cookies off is really hurting us. All the references I can
    find tote passing the session.URLToken around the site to make it
    cookie independent. I havent done this yet, first im trying to get
    a handle on how many people have cookies off (like you are), and
    where people are coming from to see if we are having click fraud
    (which we are very suspicious of).
    Is this what you would do (passing the URLToken around)? Any
    other comments you have would be very much appreciated.

  • Handle Session data with JAX-WS web services

    Is it posible to to handle session tracking with JAX-WS web services without implementing my own session logic.
    If posible how do we put values in to session and get them back.
    And also assuming that sessions are supported is it posible to share the same session between two web services on the same web application.

    Hello!
    Do you have any solution to your problem now? I also need to maintain a session bean between 2 webservices. If you solved this, can you please tell me how?
    Thanks a lot!

  • Vi session strategy with LV 7 in Test Stand

    Hi all, Im a producing a set of vi's(LV7.1) which will be strung together in a Open Visa, Write visa ..., Read visa , Close visa, over several instruments.
    I wish later to use Test Stand(3.1) to slice these routines, but I am not sure how test stand handles the session references when I break the flow.
    Im thinking of a first step that initialises all instruments , then later steps that grab the session references and perform tests.
    Do I need to store the sessions as varables in Test Stand?, or is there a better way?.Is there any examples that cover this topic?
    thanks

    I guess that a better way is NI Session Manager.
    NI Session Manager is the software component (of NI TestStand) from which you obtain instrument sessions. Session Manager returns a reference to the session object with the name you specify. If the session object you specify does not yet exist, Session Manager creates it and returns a reference to the new session.
    Session Manager also allows you to close all opened sessions automatically.
    "Only a life lived in the service to others is worth living..." - Albert Einstein
    Attachments:
    SMgrRef.chm ‏121 KB

  • Error - session handle nor valid for ivi

    Hi All
    I have posted this question in existing thread also I guess.
     I am trying to control TDK lambda power supply through LabVIEW using IVI drivers.
    logical name set in a MAX is same as what I am giving in VI to InitializeWithOptions.vi . However I am ending up with this error "IviDCPwr Initialize With Options.vi<ERR>
    Primary Error: (Hex 0xBFFA1190) The session handle is not valid."
    Not sure why this error is coming.
     Can anyone help me with this error?

    You might be using an IVI-COM driver and trying to use IVI-C Class driver VIs without having installed the IVI-COM adapters.
    As mentioned in the knowledge base below The IVI-COM adapters are included with IVI Compliance Package 3.2 and later, but must be enabled in the installer's feature tree.
    IVI-C Class Driver Support for IVI-COM Specific Drivers
    http://digital.ni.com/public.nsf/allkb/5499F9DBD07522F686256F260066BA86?OpenDocument
    duplicate post
    http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/TDK-Lambda-Power-Supply-error/m-p/3118149#M68...

  • Implementation of session handling for using web services

    Hi,
    I would like to use session handling in web services using ABAP stack in order to start the session with an user login function followed by other RFC calls till a user logout. So far, I found only the following help note in the SAP online help:
    Interface Profile
    In the interface profile, choose the required processing type: Stateful or Stateless.
    A stateful service retains its status within the framework of a HTTP session throughout several calls form the same service consumer. The standard value for services is Stateless.If you require stateful communication, you can choose this instead.
    [http://help.sap.com/saphelp_nwpi71/helpdata/de/45/25291b5a2657c0e10000000a1553f7/content.htm |http://help.sap.com/saphelp_nwpi71/helpdata/en/45/25291b5a2657c0e10000000a1553f7/content.htm]
    Please, could someone explain me the further required steps of SAPs session handling idea cause just settting the status to stateful is still not the solution itself...
    Regards,
    Jens

    Now, I found the possible scenarios, suggest by SAP Help, regarding security for Web Services ([http://help.sap.com/saphelp_nw73/helpdata/en/48/8ebbba66be06b2e10000000a42189b/content.htm|http://help.sap.com/saphelp_nw73/helpdata/en/48/8ebbba66be06b2e10000000a42189b/content.htm]):
    - SAML & WS SecureConversation -> SSO
    - WS Security UsernameToken & WS SecureConversation
    - User ID and Password in HTTP Header & HTTPS
    - SAP Authentication Assertion Ticket & HTTPS -> SSO
    - X.509 SSL Client Certificate through HTTPS
    - WS Security: X.509 Certificate Authentication at Message Level
    Are scenarios with SSO the solution for creating sessions!?

  • What are default Zend Session handling best practices to prevent Cross Site Request Forgery?

    I have enjoyed the David Powers book Adobe Dreamweaver CS5 with PHP:  Training from the Source - and have put many of the examples into practice.  I have a security related concern that may be tied to the Zend::Auth example in the book.  While this is installed an working on my site:
    <?php
    $failed = FALSE;
    if ($_POST) {
      if (empty($_POST['username']) || empty($_POST['password'])) {
        $failed = TRUE;
      } else {
        require_once('library.php');
        // check the user's credentials
        try {
          $auth = Zend_Auth::getInstance();
          $adapter = new Zend_Auth_Adapter_DbTable($dbRead, 'user', 'login', 'user_pass', 'sha1(?)');
          $adapter->setIdentity($_POST['username']);
          $adapter->setCredential($_POST['password']);
          $result = $auth->authenticate($adapter);
          if ($result->isValid()) {
            $storage = $auth->getStorage();
            $storage->write($adapter->getResultRowObject(array(
              'ID', 'login',  'user_first', 'user_last', 'user_role')));
            header('Location: /member/index.php');
            exit;
          } else {
            $failed = TRUE;
        } catch (Exception $e) {
          echo $e->getMessage();
    if (isset($_GET['logout'])) {
      require_once('library.php');
      try {
        $auth = Zend_Auth::getInstance();
        $auth->clearIdentity();
      } catch (Exception $e) {
        echo $e->getMessage();
    Apparently, there is  very limited protection against Cross Site Request Forgery, where the resulting SessionID could be easily hijacked?  I am using the Zend Community edition (I have 1.11.11).     I have an observation from a client that this authentication is not up to snuff. 
    To boil it down: 
    1.  Is there a Zend configuration file that might have some settings to upgrade the Session and or authentication security basics? I'm wondering specifically about the settings in /library/Zend/session.php? Ie secure the session against a changing user IP, and invoking some other session handling stuff (time-out etc). 
    2.  If I understand it correctly, "salting" won't help with this, unless it's added/checked via a hidden POST at login time? 
    Ideally, the man himself, David Powers would jump in here - but I'll take any help I can get!
    Thanks!

    Might ask them over here.
    http://forums.asp.net/1146.aspx/1?MVC
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • ERP2004: ESS JCO session handling in Web Dynpro apps?

    Hello,
    we run ESS/MSS Web Dynpro scenarios, running on WAS 6.40, SP12 in
    Enterprise Portal EP6 SP2 Patch 32. Our go live will be with > 1000 ESS users.
    1. When will the sessions in R/3 backend system be terminated by the
    Web Dynpro Application?
    How is the session handling in FPM (Floor Plan Manager) implemented?
    2. Are there any recommendations regarding the JCO connection settings
    in Web Dynpro Content Administrator (Maximum Pool Size, Maximum Connections,
    Connection Timeout, Maximum Wait Time) to reduce / optimize the load for the
    backend system? I found a documentation in SDN but it is not
    specific for ESS / MSS based on Web Dynpro.
    Background of questions above: The customer is worry about the load on
    SAP R/3 backend side: too much current users in the R/3 backend system,
    possibly bad performance etc. because the JCO sessions are open a long time.
    Are there any experiences with customers running productive ESS / MSS scenarios
    based on Web Dynpro?
    Thanks & Best regards,
    Daniel

    Hi,
    1. For best practices on JCO settings follow the tutorial below and do it accordingly for your no of users. YOu might have to do some trial and error procedure.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1
    2. For standards, security settings, cache management etc, SAP will give a TODO list after a remote audit of your project.
    regds,
    Sukanta Rudra

  • Session control with multiple web servers in IE

    to understand my problem do the following:
    make a page with this code:
    <%
    out.println("sessionID = "+session.getId());
    %>
    Run two (2) instance of web servers (can be a tomcat) in different ports...
    open IE and access the URL: http://localhost:8080/test/mytest.jsp
    see id number...
    access http://localhost:8081/test/mytest.jsp
    see id number...
    now access http://localhost:8080/test/mytest.jsp again
    and will see that IE lost the session and has a different session id.
    if you make this test in Nestcape it will keep the same session id when you access the 8080 server again, and is what i want :)
    anybody knows a solution to this?
    in the real world, my application has a frame with a menu that runs in 8080 server port and the application that are called by this menu will run in different ports in another frame. the problems is that when a call a application in another port, with IE i lost the session from the menu that runs on port 8080. With Netscape work perfect!
    somebody can help?

    this seems to have to do with the handling of sessoin cookies. IE creates one cookie for every browser instance whereas Netscape creates one session cookie for all browser instanced. Linke this Netscape shares a session cookie with the whole application wheres as IE does not.
    Just to make it clear: none of the both handling methodes are right or wrong. In my opinionen from the point of security, the IE solution is better.
    The only workaround i see is to implement a session id your own. Store it in the session object and the session object into a session manager that can be accessed from both application.

  • Session handling in Flex

    I am using remote object for the flex and service communication. After multiple time log in and log out , which is done by remote object call also, I am getting different session id for browser and from the client side. Is there any way to restrict this session id conflict

    I think you are getting confused by comparing flex
    development with jsp serverside development, its completely
    different thing,
    1. How to pass hidden variables using flex.(In jsp we pass it
    throuth hidden field, is there any mechanism similar to that one)
    -- honestly, where do you really want to pass hidden field to
    ? (hidden fields is a hack implemented to overcome the way http
    protocol works , in flex you don't need that hack) .
    2) you can implement exception routine same way (even easier
    in flex) if error occures show this and this page(for example error
    canvas. with error mesage thats it,
    3) How to do session handling in Flex.
    -- question is too vague, do you ave concrete problem that
    you think of?

  • -1074130544 The session handle is not valid.

    I am using LabView 2011 on Win7.
    I am trying to work my way through the "Verification Procedure" part of the "NI PXI-4071 Calibration Procedure".  Step 3 of the Verification Procedure states "Call the niDMM Reset VI." and displays Figure 1. The Device, NI PXI-4071, displays OK in NI-MAX (Figure 2) and works OK with the "NI DMM Soft Front Panel" program. When I run what I think is the correct code, the error -1074130544, "The session handle is not valid." is displayed. The BD and FP are shown in Figure 3.  
    Solved!
    Go to Solution.
    Attachments:
    Figure 1.jpg ‏26 KB
    Figure 2.jpg ‏91 KB
    Figure 3.jpg ‏42 KB

    Hi Ed,
    If you want to call niDMM Reset, you will need to provide an instrument handle rather than an instrument descriptor.  
    To start a session to your DMM and generate an instrument handle that you can use with other NI-DMM functions, you will first need to call niDMM Initialize or niDMM Initialize with Options.  You can wire the "Dev1" to the "Instrument Descriptor" pin and the function will return an instrument handle.  You can then wire the "instrument handle out" pin to the "instrument handle" pin on the niDMM Reset VI.  Whenever you initialize a session to an instrument, it is also good practice to close out the session by wiring the instrument handle to a niDMM Close function.  The snippet of code below shows what I've described:
    I also included a Simple Error Handler VI to report any errors that occur.
    Also, it looks as if you are calling niDMM Reset with Defaults instead of niDMM Reset.  If you haven't assigned any user-defined default values to your device's logical name then the two calls should be functionally equivalent.  
    If you make these changes you should no longer generate the error.
    Good luck!
    Regards,
    Jared R.
    Precision DC Product Support Engineer
    National Instruments

  • 'MAPI Session Handle' of the NGW 'Object Request Broker' could not be accessed (0x80004005) on attempt to get an address book

    Hi!
    When I try to access GW address book by calling
    DIGWAccount6::GetSystemAddressBook, or DIGWAccount6::AddressBooks, or even
    DIGWMessage::Send, I'm getting messagebox with title "Address Book Error"
    and message: "The 'MAPI Session Handle' of the Novell GroupWise 'Object
    Request Broker' could not be accesses. The address book cannot run (error:
    status: 0x80004005)."
    I'm using .NET and I only get this error when I create a console
    application. With windows application everything goes fine.
    I've tried reinstalling GW client, running fixmapi utility, installing
    different versions of MAPI CDO, but still got this problem.
    Any ideas?

    In the Application object.
    >>> On Monday, July 26, 2010 at 4:16 PM,
    shutchinson<[email protected]> wrote:
    > Where would we set this?
    >
    > Thanks!
    >
    > Scott
    >
    > Preston Stephenson;1755943 Wrote:
    >> Do you need to use the MAPI address book providers?
    >> Can you use MultiLogin and set MultiLoginAddressBookSupport = TRUE?
    >>
    >> Preston
    >>
    >> >>> On Tuesday, November 11, 2008 at 4:22 AM, Vladimir
    >> Iofik<[email protected]>
    >> wrote:
    >> > Hi!
    >> > When I try to access GW address book by calling
    >> > DIGWAccount6::GetSystemAddressBook, or DIGWAccount6::AddressBooks, or
    >> even
    >>
    >> > DIGWMessage::Send, I'm getting messagebox with title "Address Book
    >> Error"
    >>
    >> > and message: "The 'MAPI Session Handle' of the Novell GroupWise
    >> 'Object
    >> > Request Broker' could not be accesses. The address book cannot run
    >> (error:
    >>
    >> > status: 0x80004005)."
    >> > I'm using .NET and I only get this error when I create a console
    >> > application. With windows application everything goes fine.
    >> > I've tried reinstalling GW client, running fixmapi utility,
    >> installing
    >> > different versions of MAPI CDO, but still got this problem.
    >> >
    >> > Any ideas?

  • Session handling

    Hi,
    I have some doubt about session handling in servlet
    1. Who creates session ?
    When first request come to the servlet , is it a browser which sends session id (jsesessionid) to the servlet or
    WebContainer/Server creates it ? If it is created by browser , plz provide me code for that.
    2. If i open up two firefox instance , I am getting same jsessionid at server side ? how it is possible ?
    Thanks

    1. Who creates session ?The container.
    When first request come to the servlet , is it a browser which sends session id (jsesessionid) to the servletNo
    or WebContainer/Server creates it?Yes.
    If it is created by browser, plz provide me code for that.That request doesn't make any sense. The code concerned would have been in the browser if it worked that way. But it doesn't.
    2. If i open up two firefox instance , I am getting same jsessionid at server side ? how it is possible ?Because the server is associating your IP address with a single session.

  • Session handling missmatch - Integrated ITS

    Hi,
    we use integrated ITS (ERP 2005, Web dispatcher 7.00.11 Patch Number 167) and have problems with the session handling. Sometimes (Probability 1 to 1000) one user receives information of other sessions (other user).
    The problems occurs even with standard services like PZ02.
    Are there any service parameters in SICF to avoid this?
    Who had similar problems with session handling?
    Did anybody solve this problems?
    Best regards
    Thomas

    Hi,
    we use integrated ITS (ERP 2005, Web dispatcher 7.00.11 Patch Number 167) and have problems with the session handling. Sometimes (Probability 1 to 1000) one user receives information of other sessions (other user).
    The problems occurs even with standard services like PZ02.
    Are there any service parameters in SICF to avoid this?
    Who had similar problems with session handling?
    Did anybody solve this problems?
    Best regards
    Thomas

  • Session handle is not valid in niDMM Configure Measurement Digits

    I am trying to communicate to a NI-PXI4065 DMM and I am getting the error -1074130544 (niDMM Configure Measurement Digits.vi<ERR>The session handle is not valid) for some reason.  Does it have to do with the instrument handle input going in  the niDMM Configure Measurement Digits. vi or not?
    I achieved the instrument handle after initializing the DMM with the niDMMIntialize.vi, so I believe the instrument handle that I am using is correct. 
    Thanks a lot to anyone who can help.

    Hi Gjoraas,
             I'm curious about how your assigning the instrument handle- you'll want to make sure that it matches the name in Measurement and Automation Explorer (that name will be found in Devices and Interfaces»DAQmx Devices- you'll want to use the name in quotations).  Otherwise, is it possible that you are running two programs or projects that both use your DMM?  If so, you'll want to try only running one program at a time.  My last suggestion would be to reset the device in Measurement and Automation Explorer, by right-clicking on it and selecting 'reset device'.  Hope this helps, let me know how it goes.  Have a great day!
    aNItaB
    Applications Engineer
    National Instruments
    Digital Multimeters

Maybe you are looking for

  • Sales Order Text Lines in SAP Query

    I have a requirement to output several text lines into a SAP query based around sales orders. I have included some code to read the details into my query and get no syntax errors, however the report gives a blank output for each of the text fields in

  • Can't use time machine due to corruptness even after reinstalling snow lepoard how to fix?

    Yes, someone stole my original apple id in 2009. Now i bought another iphone in late 2012 , Created another apple id due to Apple not being able to help me access my original apple id. Which now since 2 months ago someone or company, or bank stole my

  • Saving as a PDF with Active Web Links

    I need to save Word documents that have active web links in them to PDF files. When I save them to PDF, the links are no longer active. How can I save them with the web links in tact?

  • How do I arrange tracks in a proper order after a purchase?

    I recently purchased a recording of a complete opera on itunes, and the tracks show up on the purchased list in completely the wrong order. There are 43 tracks and it's virtually impossible to be absolutely certain what the correct order is for many

  • WHAT? 24 HR BATTERY LIFE FOR THE TOUCH, YEA RI

    i've had it plugged into teh cpu for about 5 hrs (more liek 3.5 but we'll say 5) and its already down to one tick of battery left. And i fully charged it (left it charging all last night). another thing, it came with teh adapter thing for recharging.