Error in "niDMM Configure Measurement Digits.vi" - The session handle is not valid.

I get the error message below, when I run my LabVIEW program as an EXE, but no problem while running under LabVIEW development. Why is there any difference between the build EXE and the development environment (it uses the same VI's) and how can I debug this problem?
Running LabVIEW 2010 SP1.
Error message:
Error -1074130544 occurred at niDMM Configure Measurement Digits.vi
Possible reason(s):
The session handle is not valid.
TIA
Bent
Attachments:
ErrorMessage.png ‏7 KB

Dear All
I also got this problem while using GPIB to control my function generator(HP33120A).
Here's my error message
Mode.vi<ERR>Driver Status:  (Hex 0xBFFA1190) The session handle is not valid.
And my code was from the modified example of driver as following:
please help me to figure it out. Thanks a lot!!

Similar Messages

  • -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

  • 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

  • "Activity type 420 1002 2393074 in the fiscal year 2010 not valid" PM03

    We have an issue with the PM03 for the year 2010. "When the scheduler tries to schedule the pm..He gets an error "Activity type 420 1002 2393074 in the fiscal year 2010 not valid" The planner will close the work order then re-open it. The error will go away, but when the work order is scheduled there is 0 hours scheduled.. This will be a big issue if there are not any hours assigned to work orders.
    Can you help me?
    Thanks!

    Davison,
      Please maintain the prices for the activity type, Cost center combination for the fiscal year 2010 using transaction KP26. The log generally disappears after you save and leave the transaction. You will see the log again only when you reschedule the order and are in the same transaction.
    Also check whether "scheduling" has been activated for the PM03 control key for scheduling to be taken into consideration for the operation.You can view the same by using the drop down for the control key on the transaction.
    Regards
    Narasimhan

  • Parse failed: Exception DBD, The supplied XML is not valid[Measures].[SAP_OBJECT_NAME] State:N/A error for hidden KFs when migrated to HANA

    Hi All
    Please help me with the following query. We are migrating SAP BW 7.4 on Oracle to HANA. We have few WEBI report's universes built on BEx queries. In one of those reports there are some hidden RKFs, these works perfectly fine in reports based on oracle. Now we migrated to HANA in development system and when i refresh the universe structure they started giving errors like "Parse failed: Exception DBD, The supplied XML is not valid[Measures].[SAP_OBJECT_NAME] State:N/A". The object giving this error is in hidden state. I tried to unhide it and run the report then it runs fine but that not the client want as there might be so many hidden KFs in other reports also. BO version is 4.1 SP 2. We are on SAPKW74006 support package on BW side. Is there any notes to correct this error. Please pass me the relevant links. Highly appreciate your help.
    Thanks
    Dwaraka

    DCA-40012: The Web Service call failed. A connection to the target Web Service could not be created.
    First of all test the web service you have created in model project. Right click the web service name and select "Test WebService". If you see any issue(s) while testing fix it first before you run the jspx page.
    Check the port number in the URL and connections.xml, it have to be same.

  • Error "The serial number is not valid for this product" | Creative Suite

    HI together,
    I'm very annoyed about the fact that I payed for Adobe Creative Suite Production Premium 5 (EDU version) and now I'm not able to use it on my new Mac. The Support team (Chat) from Adobe told me several times that the product/serial or whatever was canceled but this doesn't help me to get the product working and I won't pay again for this software. So what's the reason for cancellation? I can't see reasons for this and I don't understand why Support team can't help me. Already found Error "The serial number is not valid for this product" | Creative Suite but this doesn't helped me.
    Regards
    René

    Maybe this is also useful... They told me I canceld this by myself which is not the truth. I had a Windows machine and used Creative Cloud as well but I only canceld the Cloud, not my Serial Number for Production Premium...
    So who is able to reactivate my Serial Number so that I'm able to use my product?
    info: Thank you for your patience.
    While you wait, you can try our community forums where experts are available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info: You are now chatting with Richa.
      Richa: Hello! Welcome to Adobe Customer Service.
      Richa: Sorry for any inconvenience this has caused
      Richa: May I get the serial number?
      Richa: Are we still connected?
      Richa: We have not heard from you for some time.  Do you wish to continue to chat?
      Richa: Are we still connected?
      Rene Pardon: hi
      Rene Pardon: for sure
      Rene Pardon: sorry, i took so much time for your answer that i decided to do anything else at this time
      Rene Pardon: <Deleted >
      Rene Pardon: i registered for the education version of production premium 5
      info: Your chat transcript will be sent to r*@*.de at the end of your chat.
      Richa: ok let me check
      Richa: please wait
      Richa: Thanks for your patinece
      Rene Pardon: do you also need my "authorization code" for this product?
      Richa: I need to transfer the chat to
      Richa: tech rteam
      Richa: please wait
      Rene Pardon: ok
      Richa: I am sorry
      Richa: But I will not be able to transfer the chat
      Rene Pardon: is there a phone number i can call?
      Richa: As the serial number is canceldd
      Richa: and we do apologise
      Rene Pardon: why was it canceled?
      Richa: but there is no phone support for this product
      Rene Pardon: i don't understand because i payed a lot for this
      Richa: Its showing canceled
      Rene Pardon: so what are the options?
      Rene Pardon: i need this product right now and i payed for it so why can't i use it?
      Rene Pardon: Your file '2015-03-30_Personalausweis_*.pdf' was successfully uploaded.
      Rene Pardon: as you can see, i'm the person who payed for this software
      Richa: I am sorry I just checked it
      Richa: it is canceled thats why you are getting invalid error
      Rene Pardon: yeah, that's what i see but i dont understan. why was it canceled? who is responsible for this mistake? it doesn't help me to tell me what i already see i need a solution to use the product
      Richa: I am sorry Rene
      Richa: But its showing canceld
      Richa: so cant help you with that
      Richa: I wish I could help you, but my hands are tied
      Rene Pardon: that's what you told me several times so who can help me?
      Rene Pardon: i'm very annoyed about this fact that i can't use the software i payed for and noone is able to help me getting this working
      Rene Pardon: so please tell me who is able to help me
      Richa: You need to place a new order?
      Rene Pardon: no, i won't pay AGAIN for this software i want a solution to use my already payed product
      Rene Pardon: please get someone in your team who can help me
      Richa: I am sorry Rene..
      Richa: But unfortunately my team can not help you on this.. as the sersil is expired
      Richa: I mean canceled
      Richa: Sorry but we can not help Rene..
      Rene Pardon: BUT WHY CAN'T YOU TELL ME WHY IT WAS CANCELED?
      Rene Pardon: Help me understanding...
      Rene Pardon: You're wasting my time!
      Richa: I am sorry
      Richa: I found the reason for cacnellation
      Richa: and its canceldd
      Richa: because you requested to cancel.  in year 2013
      Richa: On 30th april 2013
      Rene Pardon: but i only canceled the creative cloud, not my creative suite
      Richa: so we have refund and canceled it
      Richa: Its showing for this oserial?
      Rene Pardon: one moment
      Rene Pardon: i log into my account
      Rene Pardon: Your file 'Bildschirmfoto 2015-04-09 um 13.31.53.png' was successfully uploaded.
      Rene Pardon: As you can see the product is displayed as "non-canceled"
      Rene Pardon: I also bought the Createive Cloud during my time I had a Windows machine and this was the one i canceled - or I expected only this to get canceled
      Richa: I am sorry but the refund was given and requested for this
      Rene Pardon: There was only a refund for the Creative Cloud but not for the Creative Suite i bought
      Rene Pardon: And why should I need a serial number for the Creative Cloud?
      Rene Pardon: Please reactivate my Serial Number so that I'm able to use my product
      Richa: I can not do that?
      Rene Pardon: But i guess someone in your Team can
    Richa: can not help you

  • SSRS runtime error - The specified operation is not valid

    I found a similar post here, but it didn't solve my problem. so i re-post it.
    i develop a report with vs2008. i have sql 2008 r2 on my local machine. when i preview the report on my local machine all fine. but when i deployed the report to sql 2008 ssrs server, i got "#Error" in my subtotal field. i opened the log file and found the
    error message:
    The specified operation is not valid. , ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: The specified operation is not valid.
    i used a formular in the expression:
    =Sum(IIf(Fields!flag.Value="S",Fields!Size.Value,0))
    can someone help?
    thanks

    I want to make my problem more clear:
    1. with the original formula: =Sum(IIf(Fields!Fundflag.Value="S",Fields!FundSize.Value,0)) works very well on my local machine with clicking on Preview. Once deploy to server, i got error.
    2.Shahfaisal, your formula works on both side, but not the result i except. because the size field in sp unioned from different source. i only want to subtotal when flag is "S".
    any help will be appreciated!
    Try this
    =Sum(IIF(IsNumeric(Fields!Size.Value)
    AND Fields!flag.Value="S",Fields!Size.Value,0))

  • I'm trying to reinstall photoshop CS5 in a new laptop but i have an "The serial number is not valid for this product" error

    I'm trying to reinstall photoshop CS5 in a new laptop (pc) but i have an "The serial number is not valid for this product" error.
    I have deactivated photoshop in the old computer.
    The old laptop have photoshop installed with the DVD but the new laptop don't have DVD so i downloaded cs5 from Download CS5 products. ¿Maybe doing this is an error?

    the installation files work the same whether from a  disc or download, but there are other ways to mismatch a serial and installer.
    Error "The serial number is not valid for this product" | Creative Suite

  • Error When Adjust Width in Custom Table Headers "The width key is not valid"

    I tried to custom headers for a table of MAC Addresses. I used the following expression and it worked fine.
    Get-WmiObject win32_networkadapterconfiguration -Filter "DHCPEnabled=True" | Select-Object @{Expression={$_.DNSHostname};Name="Workstation"},@{Expression={$_.Description};Name="Adapter"}, @{Expression={$_.MACAddress};Name="MAC"}
    When I tried to adjust the width of the columns by including that in the Custom Headers I got an error.
    Get-WmiObject win32_networkadapterconfiguration -Filter "DHCPEnabled=True" | Select-Object @{Name="Workstation";width=25;Expression={$_.DNSHostname}},@{Name="Adapter";Expression={$_.Description}},@{Name="MAC";Expression={$_.MACAddress}}
    Select-Object : The width key is not valid.
    At line:1 char:78

    You have a couple of useful options:
    #1
    Get-WmiObject win32_networkadapterconfiguration -Filter 'DHCPEnabled=True' |
    Select-Object @{E={$_.DNSHostname};N="Workstation"},
    @{E={$_.MACAddress};N="MAC"},
    @{E={$_.Description};N="Adapter"} |
    Format-Table -Auto
    #2
    Get-WmiObject win32_networkadapterconfiguration -Filter 'DHCPEnabled=True' |
    Format-Table @{N="Workstation";W=25;E={$_.DNSHostname}},
    @{N="MAC";W=18;E={$_.MACAddress}},
    @{N="Adapter";E={$_.Description}}
    ¯\_(ツ)_/¯

  • I'm installing PS CS5 Exteneded on my new laptop. I get an error saying the serial number is not valid for this product. Help!

    I'm installing PS CS5 Exteneded on my new laptop. I get an error saying the serial number is not valid for this product. Help!

    If you purchased it from Adobe, it is registered and that would prove ownership as well as the emaill they sent with the serial number.
    https://www.adobe.com/account/my-products-services.html#MyProductsHeader
    Sign in with the email and password that you bought it under.
    Click on the triangle next to your product and you will see the serial number assigned to you.
    You have a valid record and proof of ownership. Try again.
    Gene

  • When i want to ask the guaranty status of my apple wireless keyboard, i got an error: apple keyboard We're sorry, but this serial number is not valid. Please check your information and try again.

    When i want to ask the guaranty status of my apple wireless keyboard, i got an error: apple keyboard We're sorry, but this serial number is not valid. Please check your information and try again.

    If you purchased the iPhone from Apple or an authorized Apple reseller,
    contact them for assistance. If you purchased elsewhere, go back
    to that retailer and get them to give you a new iPhone or your money
    back.
    If you have checked the serial number carefully and re-entered it
    and that gave you the same error message, contact Apple if purchased
    from Apple or authorized retailer; otherwise you have been scammed
    and need to pursue the matter with the business you obtained the
    iPhone from.

  • Error in InfoView "The Parameter Value is not Valid"

    Hello,
    I have developed a Crystal Report in CR2008 and uploaded in the InfoView. Now when i run the report via scheduling or load the report with the data and try to change the parameter (editable set in CR) from the drop down list and hit apply i get an error dialogue box "The parameter value is not valid" and message says "null".
    Also another issue is that i cannot execute the report directly in InfoVIew, i have to schedule it to run the report. Report is connected to the SAP InfoSet.
    Any input would be much appreciated.
    Thanks.

    We have rebuild new servers for InfoVIew and it just works fine. Both the problem solved.

  • Getting "The product key is not valid. INS00140" error during Crystal Report 2013 installation

    We are getting “The product key is not valid. INS00140” error during Crystal Report 2013 installation. We are trying to install crystal report on Windows 7 64 bit OS.
    Can anyone help?

    What is CrystalReportsJava-2013? Where did this come from - download link? CD?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
      Follow us on Twitter

  • While trying to import photos from my Canon 5D markIII, iPhoto displays an error message which says unreadable format and the following files could not be imported. Please advise???

    While trying to import photos from my Canon 5D markIII, iPhoto displays an error message which says unreadable format and the following files could not be imported. Please advise???

    the screen shot does not display (a Forum bug ) and if it did it does not answer the questions
    Seriously we can not see you and if you refuse to answer simple questions we can not help
    Need information to help
    what version of iPhoto? Is OS X 10.8 as you state correct for the OS? Has it ever worked? What has changed since it worked? Will Image Capture  ( in your applications folder) import the photos? How are you importing - USB to the camera? USB card reader? built in card reader?
    Any other clues that would help a total stranger who can not see you or your computer assist you?
    LN

  • I am trying to sync my 5th gen. nano. However, I keep getting an error message.  The message says:  The iPod, "whoever's" iPod cannot be synced. The file format is not valid.  Don't know what to do except restore factory settings.

    I could not find anything on this particular problem on apples support site.  Any suggestions would be greatly apprecaited.

    liddie_bug1970 wrote:
    Windows
    You need to be very specific.  Exactly what are you syncing over to your iPod Nano?  Can't help you unless we know which files are problematic.
    Are you manually syncing or automatically syncing?  If the latter, try syncing manually.
    If you are getting the "the file format is not valid" message, suggest that you check out KB Article:  http://support.apple.com/kb/sp569 which will tell you which files are "acceptable."

Maybe you are looking for

  • Why does my App Store app keep crashing in iOS 6?

    I updated my iPhone 4 to iOS 6 and my App Store launches and as soon as I scroll and check out apps, it crashes. Any thoughts? I typically only have one or two Apps open at the same time. I close apps when I don't use them. Could it be a memory probl

  • MS Word 2007 form fill in

    I have a document in MS Word 2007 that is a fillable form.  I want to save it to Adobe Pro and retain the form fill in capabilities.  I just downloaded ADOBE Premier Pro.  I would like instructions on how to do this.  Thanks.

  • Merge pdf's forms, change text field name and Acrobat x pro closes automatically

    I merged 20 pdfs in one interactive pdf, but when I try to change the name of the text fields (in orden to make the interactive independent from the other fields) the program close automatically. I tried to change the name of the text fields in each

  • Forecast for planning over the Cost element/Cost center with KP06

    Hi all I'm searching a idea: one of our chief controller need to insert a "forecast" of budget inserted over the various cost elements/cost centers using the transaction KP06. THe problem is that he don't want lost the budget because he can need the

  • How do I get the activation serial number for

    I've downloaded Photoshop CS6 Extended trial version. How do I get the activation serial number for this software