"bad argument was passed" message error

Hello,
I have a message "A bad argument was passed to a manager function. VI "VI name" was stop at node 0x1CA94 of subVI "SubVI name".
I work with LabVIEW 6.0.3.
I develop the application on my laptop and test it and there are not problem to execute the application.
But on the industrial PC, the application plant and post this message when the application compiled but not when I lauch the application with the source code.
If I delete the subVI and I recall it in my VI, that resolve my problem ?
Thanks.

I think what I stated earlier is almost definitely your problem.  I see in configuration cycle .VI and the Initializer case a case where you use a global variable called VI path.  I'm not sure where the global variable gets written to.  But the path of a VI looks different in the development environment then it does in a compiled executable.
Development environment:   c:\myfiles\mysub.vi
Compiled environment:   c:\myfiles\myexecutable.exe\mysub.vi
By the way, when posting a large zip file like this with numerous sub-VI's.  It is helpful if you state which one is the main or toplevel VI.    It is even harder for someone who doesn't know your project to figure out which is the top VI when everything is written in a foreign language.
Message Edited by Ravens Fan on 08-22-2007 11:24 AM

Similar Messages

  • Message d'erreur "bag argument was passed..."

    Bonjour,
    Lorsque j'exécute mon programme sur le PC industriel, j'ai le message suivant : "A bad arguement was passed to a manager function. VI "Nom du VI" was stopped at node 0x1CA94 of subVI "Nom du sous VI".
    Ce que je ne comprend pas, c'est que je travaille sur mon PC portable pour le développement de l'application, je n'ai aucun problème pour exécuter le code que ce soit via un exécutable ou directement avec le code source.
    Mais sur le PC industriel, lorsque je fonctionne directement avec les sources, je n'ai aucun problème par contre lorsque je tourne avec l'exécutable j'ai le message d'erreur qui s'affiche.
    Mon sous-VI ne contient aucun "property node", il ne fait que gérer un tableau de chaîne de caractères.
    Que dois-je faire pour résoudre ce problème ? Je travaille sous LabVIEW 6.0.3.

    Bonjour,
    J'ai quelques questions a vous poser :
    - Sur le PC industriel, vous disposez bien de la même version de LabVIEW que
    sur le PC de développement?
    - Dans votre VI est ce que vous faites appel a des VI par l'intermédiaire de
    path mis en constante (en dur) ?
    Cordialement
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

  • Bad argument #1 to "ipairs" error

    Hi,
    I use LR 2.1 on a Mac X 10.5.5.
    I've been getting this error message: an internal error has occured, bad argument #1 to 'ipairs' (table expected, got userdata) when I try to use the create slideshows button in the Collections Panel in the Slideshow Module.
    This happens mostly when I have reordered images to do the slideshow. The problem is intermittent, occurring about 95% of the time, so that I think it is fixed when it isn't. It occurs, though somewhat less frequently (maybe 85% of the time) if I have not reordered the images. It remains a major annoyance.
    BTW, sometimes I can (and sometimes I can not) reorder the images in the slideshow module. Sometimes only in the Library module.
    I have tried ALL that Adobe recommends both working with their tech support folks for hours and hours on the phone and by e-mail and on my own...
    I've replaced the preferences file (any number of times), I've created any number of new catalogs, I've tried creating a new administrator file, I've created a tiny catalogue and just imported a few images etc, etc, etc. Each time I think it's resolved it's not.
    Does anyone have any ideas about how to fix this or does anyone have any ideas for workarounds?
    thanks
    stephanie

    'IPAIRS' -Bad argument #1 ERROR UPDATE...
    I originally posted here on 11/23 and after lots of long conversations with the good folks at Adobe and being "bumped up" to higher level tech support there is good news and bad news and I'm not really sure which is which :-)
    The higher level tech support guy logged onto my computer, watched what I did (new catalog, safe mode, new admin file, 2 of adobe's images) and, after watching me, was able to recreate the error on his machine. I guess that's the bad news because the problem is now, clearly, not a bug that is in each of our hardware. Rather the bug is, as we were all figuring, in the program. It seems that the create web collection or create print collection or create slideshow collection, either on Mac or Windows, all give the same ipairs error.
    (Oh, the good news is that means that I don't have to reinstall my OS).
    Tech support's plan is to take this info to other people and at some point they'll decide whether to create a fix for the problem in the next, or later down the road, version of the program.
    I'm told that the best way for the fix to end up happening is for EVERYONE who is having this problem to go to www.adobe.com and file feedback or a bug report. Squeaky wheels get the oil, as they say.
    Stephanie

  • Help! I have recently updated LR5 and before doing so I was able to email files to clients! (Very Convenient) Now my problem is I have not been able to get pass this error message reading "failed to send" which gives no further detail about what to do to

    Help! I have recently updated LR5 and before doing so I was able to email files to clients! (Very Convenient) Now my problem is I have not been able to get pass this error message reading "failed to send" which gives no further detail about what to do to rectify the situation. Someone please guide me through this! Thanks in advance!

    Did this ever get resolved, as I am having the same issue.  Trying to learn LR5 AFTER a decade using Aperture.   I was able to set up a validated account but when I try to send an e-mail or photo I get the simple " Failed to Send " message.   Using latest version of Mac OS X.

  • I was working on numerous songs in Logic Pro 9, and for some reason 2 of the songs would not bounce. I get an error message: Error in parameter list / Not an existing volume, and no default volume / Bad positioning information / Bad drive number

    I was doing some minor editing in Logic Pro 9.1.8, like adding some plug-ins to audio and midi tracks on numerous songs. Most of the songs I had no problem bouncing. For some reason 2 of the songs I tried to bounce kept showing me this error message:
    "Error in parameter list / Not an existing volume, and no default volume / Bad positioning information / Bad drive number" result code=-50.
    The songs open and play fine, but won't let me bounce. I've worked with Logic for a few years and this has never happened. Any suggestions?
    Thanks,
    Johnny

    Fixed! Ran disk utilities and repaired my external HD.

  • Error when running script to reset size - bad argument gettokenmanager

    Hello,
    I use RoboHelp HTML 8 (currently on 8.0.2.208) and have a project with a number of user interface images that are going to be translated. The translated images will likely be of different size, so I need to have a fast way of reseting all the image sizes in my project.
    I discovered Chasnikov's script "reset all images" on the thread:
    http://forums.adobe.com/message/2128583#2128583
    which seems just perfect for my situation.
    Not wanting to test this on my real project, I made a copy in a different location and tested out the script. The script ran for a while, but then abruptly ended with the following message:
    Bad argument getTokenManager
    In looking at the output window it seemed like it stopped in the middle of a topic after going through a number of topics. For my test situation, I only replaced a few graphics in a few topics and when I checked this limited sample, they all seemed to be correctly resized.
    However, my concern is that if I use this script in my real project, it won't actually resize all of the images.
    Any ideas why the script is terminating abruptly?
    By the way, I did find a similar question about this error message in the thread http://forums.adobe.com/message/2551147
    however, the solution to add the line msg(filepath); to the script resulted in another error -- RH did not recognize 'msg' as a valid command.
    Thanks, Rose

    Thanks Willam for the advice. In the meantime I realized that there was something wrong with my project--because the word count script also gave me the same error message -- so I ran it on another version of the project and it was just fine.
    There are two questions that your response brings to mind:
    1. How are you able to see the line numbers in the script?  When I edit the script, it opens in Notepad and I can't turn on line numbers. I have discovered, that if I have word wrap off, I can use Goto and specifiy a line number to go to.  Are you using a different text editor?
    2. The reset size script doesn't announce that it is finished.  It just seems to stop displaying things in the output window, but it doesn't give me a message to say it has finished.  Can you recommend some code I could add to the reset size script to output that it has finished processing sucessfully?
    Thanks in advance.
    Rose

  • Outlook sync error: invalid ENTRYID was passed in

    Okay, I've looked through the forums for the last hour and can't find an answer:
    When I got my iPhone and did my first sync all of my outlook contacts were moved to my iPhone just fine-this was 2 days ago. Today I wanted to sent an email to multiple contacts I brought up my address book. All the contacts that WERE there are not. It seems as though the contacts from my phone were moved to outlook so I lost some email addresses in the contact lists, but they are on my phone. When I double click on the contact to edit it I get this message: "The properties dialog ox cannot be displayed. An invalid ENTRYID was passed in." I tried going around this error and created a new contact with my name, number and email address. I saved it and tried to open the new contact I just made. It opened fine. I tried to open a contact I did not edit and I got the same error message again.
    I did a sync with the phone again and the new contact I test created was no longer there. It is in my iPhone however. I tried to create a new contact again and now the new contact doesn't show up in my address book but they show up in my phone again.
    So I can send info to the phone via my outlook 2007 addressbook but cannot send updated info from my iPhone into outlook.
    I cannot use my address book to email a contact in outlook because of the above error.
    Here are some the facts on my system:
    I am running Vista on an HP notebook
    I'm using Outlook 2007
    When I go into the Add in's section I only one add in from iTunes, "iTunes Outlook Addin"
    Newly created contacts created in Outlook do not appear there, but show up on my phone when I sync it
    Edits I create on my phone do not map into Outlook contacts.
    Does anyone know how to fix this? The posts I read seem to handle not being able to sync contacts at all...and I keep reading about two addin's in Outlook and I only have one. Could this possilbly be the issue?
    I did not do any resets on the phone yet because I don't want to lose the contact info in my phone since I don't have them anywhere else except Outlook, so I wanted to ask you guys first.
    Thank you for your help in advance!

    Chocomonsters,
    Have you tried the steps in article http://support.apple.com/kb/HT1692 to further isolate the issue, in particular testing in a new user? If the issue occurs in the new user as well, it could be damaged data on the iPhone. You might want to try syncing your known-good contacts to your iPhone opting to "Replace Data", and if that doesn't correct the issue, try a restore of the iPhone setting it up as a new phone.
    To sync replacing data, simply check Contacts under the "Advanced" portion of the Info tab.
    More information on restore process: http://support.apple.com/kb/HT1414
    Hope this helps,
    Raleigh

  • [Solved]{scheme} Error: (/) bad argument type: # unspecified

    I'm working through Structure and Interpretation of Computer Programs, and I've run into some behaviour I don't understand.
    The code:
    (define (average x y)
    (/ (+ x y) 2))
    (define (refine r g)
    (print "["r"]["g"]")
    (average (/ r g) g))
    (define (sqrt-guess rad guess)
    (define oldguess guess)
    (define guess (refine rad guess)) # problem line
    (if (= oldguess guess)
    guess
    (sqrt-guess rad guess)))
    It seems that when refine is called in the problem line the second argument is not being 'received' as I would expect.
    #;1> (sqrt-guess 9 1)
    [9][#<unspecified>]
    Error: (/) bad argument type: #<unspecified>
    Call history:
    <syntax> (sqrt-guess 9 1)
    <eval> (sqrt-guess 9 1)
    <eval> [sqrt-guess] (refine r g)
    <eval> [refine] (print "[" r "][" g "]")
    <eval> [refine] (average (/ r g) g)
    <eval> [refine] (/ r g) <--
    I tried (define guess (refine rad oldguess)), same outcome. At this point, I figure it's some consequence of applicative-order processing that I don't understand. But things got more interesting when I added a standalone call to refine:
    (define (sqrt-guess rad guess)
    (define oldguess guess)
    (refine rad oldguess) # new line
    (define guess (refine rad oldguess)) # (define guess (refine rad guess)) also works
    (if (= oldguess guess)
    guess
    (sqrt-guess rad guess)))
    Now the code runs as expected and returns an answer. However, if I change "oldguess" to "guess" in the first refine line:
    (define (sqrt-guess rad guess)
    (define oldguess guess)
    (refine rad guess)
    (define guess (refine rad oldguess)) # (define guess (refine rad guess)) also fails
    (if (= oldguess guess)
    guess
    (sqrt-guess rad guess)))
    the original error re-occurrs. In every case the 'standalone' call to refine gets both arguments as expected; it's the one in "define guess" that has issues.
    I'm not looking for help fixing the code, but for an explanation/breakdown of what's going on. Thanks.
    Last edited by alphaniner (2013-06-20 13:20:34)

    I believe that redefining 'guess' is confusing the compiler.
    You're right. That was my first thought too, but I swear I tried something like (define foo (refine rad guess)) which didn't work either. I just tried it again and it works just fine.
    I haven't been introduced to let yet, and the way it's parenthesized I don't really understand how it works. I think of let in bash terms (ie. let x++) so maybe that's my problem. Anyway, I'll wait 'till I come across it in the text.
    Using your suggestions I got it to work using only stuff I know:
    (define (sqrt-guess rad guess)
    (define newguess (refine rad guess))
    (if (= newguess guess)
    guess
    (sqrt-guess rad newguess)))
    Definitely cleaner. Thanks!

  • Help! LR4.2 Anyone else getting Heal tool errors? error bad argument #1 to 'ipairs'

    I have been doing lots of healing on a shoot tonight and all of a sudden, I started getting an error every time I click with the heal tool. It also appears, that some of my past heals, are not being saved.
    Any ideas of what I should do?
    Thanks!

    'IPAIRS' -Bad argument #1 ERROR UPDATE...
    I originally posted here on 11/23 and after lots of long conversations with the good folks at Adobe and being "bumped up" to higher level tech support there is good news and bad news and I'm not really sure which is which :-)
    The higher level tech support guy logged onto my computer, watched what I did (new catalog, safe mode, new admin file, 2 of adobe's images) and, after watching me, was able to recreate the error on his machine. I guess that's the bad news because the problem is now, clearly, not a bug that is in each of our hardware. Rather the bug is, as we were all figuring, in the program. It seems that the create web collection or create print collection or create slideshow collection, either on Mac or Windows, all give the same ipairs error.
    (Oh, the good news is that means that I don't have to reinstall my OS).
    Tech support's plan is to take this info to other people and at some point they'll decide whether to create a fix for the problem in the next, or later down the road, version of the program.
    I'm told that the best way for the fix to end up happening is for EVERYONE who is having this problem to go to www.adobe.com and file feedback or a bug report. Squeaky wheels get the oil, as they say.
    Stephanie

  • I have Acrobat 10 and was getting update error messages so I finally did what Adobe recommended and uninstalled Acrobat.  Now I can;t re-install the program and get a number of different error messages.  Help I need to read pdf docs!

    I have Acrobat 10 (10.1.9) that came in the Creative Suite CS5.  I have received numerous messages about failed updates so finally did what was recommended by Adobe and uninstalled the program.  Now I can't re-install it.  These are the error messages I get.  Help! 
    Exit Code: 6
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ... WARNING: DW065, DW066 ...
       -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 3 error(s), 2 warning(s)
    WARNING: DW066: OS requirements not met for {AC76BA86-1033-F400-7760-000000000005}
    WARNING: DW065: Display requirements not met for {53CF3920-648B-4F99-8D05-6A6C5298F57B}
    ----------- Payload: {AC76BA86-1033-F400-7760-000000000005} Acrobat Professional 10.0.0.0 -----------
    ERROR: Error 1328.Error applying patch to file C:\Config.Msi\PTDB05.tmp.  It has probably been updated by other means, and can no longer be modified by this patch.  For more information contact your patch vendor. 
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 1328.Error applying patch to file C:\Config.Msi\PTDB05.tmp.  It has probably been updated by other means, and can no longer be modified by this patch.  For more information contact your patch vendor. 
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Acrobat Professional: Install failed

    I did it through CS, I think.  I used the installation disk and selected Acrobat.  It loads and then gives me all kinds of error messages and then uninstalls itself.

  • I tried updating to itunes 10.5 and now when i try to open itunes i get a message saying "Apple application support was not found" error 2 (windows error 2)

    Ok so I went to update my itunes 9 to itunes 10.5 and now I get and error message "Apple application support was not found" error 2 (windows error 2) when ever I try to run itunes and iv been trying to fix this for like a month and let me tell you iTunes for windows is **** and I really want Icloud for my iphone 4 and yes iv tried uninstalling everything by apple in the correct order and reinstalling them after restart atleast honestly 20 - 30 times but nothing worked so if anyone can please help me I have windows 7 and a hp intel pentium computer 

    Install 7-Zip (free), or a free trial of WinRAR, and use one of them to extract the contents of the iTunesSetup.exe or iTunesSetup64.exe installer file, then try installing AppleApplicationSupport.msi as a standalone component. Even if it won't install you may get a more useful error message as to why not.
    tt2

  • I was geting an error message and now I have nothing on itunes. Does anyone know how I can recover my music, apps, and so on??, I was geting an error message and now I have nothing on itunes. Does anyone know how I can recover my music, apps, and so on??

    I got a new Ipad today and I was using itunes to manage the content and sync the apps (I also have an ipod and an iphone) and I was getting an error message when using the search. All of a suden I was going to sync the ipad and I get the message saying that the library from itunes is empty!!!
    I still have my apps in the ipad and the iphone, but nothing on itunes. Do you know how I can recover itunes?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Creating project as Disc Image after 1 1/2 hours it appeared to be finished but there was message that there was a multiplex error.  Checked and no yellow triangles, music on computer,  any ideas.

    Creating project as Disc Image after 1 1/2 hours it appeared to be finished but there was message that there was a multiplex error.  Checked and no yellow triangles, music on computer, and all resources on computer,  any ideas??

    Hi
    And
    • free space on Start-Up hard disk ? How Much ?
    • Brand and type of DVD used
    • Burn Speed ?
    • Did You try to first do a "Save as a DiskImage" ? If so - Did it work ?
    Yours Bengt W

  • I have re-installed Adobe Reader on to my Windows 7 PC. When I open a PDF I was getting an error message containing  . . . .Acrord32.exe application error . . . . I now cannot open any PDF's. Adobe seems to be unresponsive.

    I have re-installed Adobe Reader on to my Windows 7 PC. When I open a PDF I was getting an error message containing  . . . .Acrord32.exe
    I now cannot open any PDF's and Adobe seems unresponsive. I have tried to follow a step by step guide on how to fix this but Adobe won't stay open long enough for me to complete the steps. When I open Adobe it stays open for a matter of seconds then minimises to the task bar and when I click on it again I can't do anything with it and have to close it via task manager
    Please help!?

    Disabling Protected Mode should fix the problem.  But since you cannot even open Adobe Reader by itself, you need to do it via the Windows registry.  If you tell me your installed Reader version, I can give you a registry script to do that.

  • HT1751 I was installing iTunes 11.1.4 and it was unsuccessful. I get a message 'Error 7 (Windows error 126). If I now try to open iTunes I get the message that 'MSCVR80.dll' is missing from my computer. Trying to download again has not solved the problem.

    I was installing iTunes 11.1.4 and it was unsuccessful. I get the message 'Error 7 (Windows error 126). If I now try to open iTunes I get the message that 'MSCVR80.dll' is missing from my computer. Trying to download again has not solved the problem.

    Troubleshooting issues with iTunes for Windows updates - MSVCR80

Maybe you are looking for

  • Installation problem for Weblogic Server 1035 Generic

    Running 11G database on Win 2008 Server 64 bit. I downloaded the 1035 version of Weblogic, following the step by step installation guide provided by Oracle Support and additional documentation such as: http://download.oracle.com/docs/cd/E2176http://w

  • Recording on CD pla

    I just bought Creative Lab Nano Plus. I should be able to dwonload songs fdrom CD player to the Creative Lab instead of the computer but have not been able to find out how to do it. It doesn't say how in the booklet that came with my Creative Lab and

  • Copy new iCloud contact to my local iPhone 4 contacts

    How can I get a new iCloud contact to my local contacts on my iPhone 4 to be independent from iCloud?

  • 30fps

    Does it matter if video is 29.97 drop drame or 30 fps non drop frame, when making a DVD? Thanks Bob

  • Statistics in iPad - Using R in iPad

    Hi, Does anyone know if there's a distribution of R for iPad? Thanks, Sérgio.