Lack of SubVis error 1003 when VI called Via a server VI

I have a Labview application that 12E DAQmx functionality to acquire data and uses analysis contained in records vi.lib Labview vi.  The application is compiled in a Bachelor's degree in law with a high-level vi model. I used successfully the VI server technique to launch and control the high level vi using Labview 7 and 7.1.  This technique allows me to open, run, and the façade of access control during execution.  In fact, we have compiled the functionality of separate (implemented in vi) VI in a DLL server and applications such as VB6 to launch the VI, control and he abandoned. This technique worked very well for many years for us.

Now, we have improved our Labview 2009 application and implemented NI Scope to acquire data from a digitizer PXI-5922.  We use the same functions of analysis like the previous version.  I can run this as a standalone VI, and I can also write another 'Launcher' VI which uses the VI of my VI server solution to launch the application (open, execute, and control).  The problem comes when I try to run the application outside of the Labview development environment. With the help of VB6, I can open the VI, but when I use the VI server to run it I get the error code 1003 (VI not executable). The vi appears with a broken arrow.  By clicking on the broken arrow gives me an error "Missing Subvi.

To eliminate the 'my' application of the problem, I copied one of the models OR simulated (GenerateDisplay.vit), moved to a test directory and renamed.  I can start and run this vi of the environment of Labview development, as well as using my server VI 'Launcher' mentioned above when running in the Labview development system.  However, I get the error of missing VI again when my new test VI is launched using another application.  I have compiled my application launcher in an executable file (using project folder) and can run the executable file.  However, when my application launcher tries to run my test vi I get the same error of VI missing.  The missing vi is \vi.lib\express\express input\SimulateSignalBlock.llb\subSigGeneratorBlock.vi.

Thus, it seems that the VI server runs the OK application executing in the Labview development system.  However, when it is launched, apart from that the vi launched test cannot locate its dependencies, which leads me to think there must be a connection problem during execution when executing.  I see all the dependencies in the project file, and these are listed in their correct location.

Has anyone had a similar experience, or had no idea what goes wrong.  As noted above, this technique worked ok in Labview 7.x using DAQmx so I'm wondering if something changed in the way the runtime throws the dependencies?

Kind regards

David

HI Vivek,

Thanks for your suggestions.  Solution 2 of the first link (creating a source distrubution) allowed me to create a LLB containing all the dependent inside vi.  I am now able to open and run my test vi without errors by using Server VI of VB6 functions.  I have rebuilt my main application, but have a huge file (> 40 MB) when you include all the dependencies, the vi.lib, the instr.lib and user.lib files.  The application can run ok, but I am now working to optimize its size.  His looks as if I have a good working solution.

Thanks for your help,

David

Tags: NI Software

Similar Questions

  • PC cut his all when I called via Skype or use other programs

    A few months ago I bought a new desktop pc HP Envy and I'm really deal with it, but recently I'm under problems.

    A couple of weeks, my PC started all my audio muting for no reason when I got a call via Skype, at first it wasn't a problem because I could use other programs such as Teamspeak or mumble, but recently these programs get the same problems as well.

    The standard solution to make sure that the checkbox in the communication tab is set to "to do nothing" is checked as seen on this page, http://www.askvg.com/fix-windows-7-automatically-reduces-system-volume-for-games-pc-calls/

    I tried all possible combinations in the tabs in my reading and recording, but it still doesn't work.

    I added some screenshots that show what it looks like.

    Hello @Archangel52210,

    I understand that you are having problems with your new computer running Windows 8.1 where the audio is automatically inhibition. I'm you provide a document from HP support: use of the Recovery Manager to restore the software and drivers (Windows 8), which allows you to restore the original supplied with your computer drivers. As these drivers and their settings are working I think they once again and I hope when they are updated the next time Hey take better.

    Please re-post if you need extra support. Thanks for posting on the HP Forums. Have a great day!

  • Error package when creating package via onTables methods

    Even though I am an APEX developer for 3 years, I just found out about methods on utility Tables in SQL Workshop demo of Dan McGhan. I tried to create a package for about 7 tables in one package. When the package has been created, it was invalid. I tried to compile it, and she has produced several errors. I noticed that the table UPDATE procedure is incomplete since it did not provide the parameters even if the procedure uses.

    I was able to replicate at the APEX. ORACLE.COM.
    WORKSPACE: RGWORK
    PACKAGE: CSRSR_DML
    USER: TESTER
    Password: test123

    Is this a bug? Is there a solution? Did anyone experience similar results?

    APEX 4.1
    Oracle 10g Rel 2

    Robert
    http://apexjscss.blogspot.com

    sect55 wrote:
    Come on gurus and the APEX team, please help...

    As far as this 'guru' is concerned, it is not something that I would never use:

    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:672724700346558185
    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:25405782527721

    Given opposition well known Tom for this approach, I was more than a little surprised when it appeared in the APEX because he also seems to have ties with the APEX team. I'd really rather have seen development efforts elsewhere.

    I certainly advocate to build applications based on the PL/SQL API, but not on those focused on the table, line-by-line...

    I tried to create a package for about 7 tables in one package.

    Why?

    One of the main goals of packages is to modularize an application. Collage of methods for all entities in a package he conquers and complicates the development, testing and maintenance. If you must use the defective TAPI concept, create a separate API for each table - combine to more only those where there is mandatory dependencies, for example a command with methods for orders and order_itemspackage.

    The immediate issue, it seems to be the lack of primary key definitions on some of your tables. This means that the generator is unable to identify the columns to use as unique row identifier.

  • 0xd59 error code when I download Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB24633320xD59

    I get this error when I download... Under XP...

    Hi Mad_Ducks,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT audience Pro on MSDN. Please post your question in the TechNet MSDN forum.

    http://social.msdn.Microsoft.com/forums/en-us/category/SQLServer

  • Subvis call go dynamically within an exe file (avoiding the error 1003)

    Hello

    I use an architecture where the main program (compiled into an exe) can be supplied with a user-'plugins', which are collections of screw types inside a folder named especially compared to the exe. They can be called in the exe via 'open reference vi' provided by the corresponding strict vi types and corresponding relative paths.

    I want to avoid having to include one of the plugins in some way in the application builder, because users must be able to create own plugins that the request is totally ignore during the generation.

    In principle, this approach works rather well, since these plugins are not extremely complex, but sometimes, I get an error 1003 when loading a plugin.

    I have read many old posts on this error in this particular situation, mainly using versions of LV 7 or 8 (I use 2012). It was suggested to build a source distribution for each plugin, including everything that is used from vi.lib, instr.lib and user.lib. Indeed, it helped in my particular case - however, it bloats the plugin 'distribution' (which consists originally only a couple of the screws of the user) extremely and complicates the development user side.

    Now some good plugins run from in the exe without having to build a distribution source for them (they still use many vi.lib live) while others don't, and I have no idea why...

    These plugins are wrappers for hardware drivers that allow to control any hardware instrument within the main application via a certain API. So, in a particular case, a plugin that produces the error 1003 uses VISA series features (everything inside... \vi.lib\Instr\_visa.llb) and one without error doesn't (yet he uses several features of... \vi.lib\Utility\...).

    I can solve VISA problems in a simple way by including (only) the VISA-vis opportunity (and typedefs) inside the plugin folder and explicitly link to them (i.e. replace the VISA-vis of vi.lib with those copied to the folder of the plugin - I guess that's also what the source distribution).

    However, I'm confused why certain plugins with work of related vi.lib while others screws produce an error 1003 unless these special screws are explicitly distributed and connected with them...

    Oh and just for completeness: all plugins are working fine if the callee in the development system, the problem occurs only if called from an exe file.

    Novgorod wrote:

    However, I'm confused why certain plugins with work of related vi.lib while others screws produce an error 1003 unless these special screws are explicitly distributed and connected with them...

    Oh and just for completeness: all plugins are working fine if the callee in the development system, the problem occurs only if called from an exe file.

    Do plug-ins that work depend on the screw in vi.lib who are already part of your executable file because the main program uses these same screws?

    All the screws that your plugin needs must be available, if applicable can mean to be already loaded into memory (for the main of the application or another plugin), or can be found on the disk and load.  An executable includes all the screws of vi.lib - it includes only those he uses (and the screws that are marked always 'include' in the build specification).  I suspect that the plugins that work only dependent vi.lib screws which are also used by the main executable file.

  • Internet Backgammon no work, receive error message: "a network error occurred during communication with the game server.

    Original title: All of a sudden internet backgammon works not

    Just your portable Windows 7 computer base. Everything worked well. Started playing internet backgammon... has won EACH game Yes! Took a break for an hour or so... came back and now have message saying a problem to connect to the internet game server.  Someone knows what's the problem?  What it says is specifically "a network error occurred when communicating with the game server". That the devil which means?

    Hello

     

    1. what browser do you use?

    2 are you facing the same issue with other games like asset stings on the internet?

    I suggest you follow these methods and check.

    Method 1: You can check if the problem appears in a clean boot state.

    Refer to this link: http://support.microsoft.com/kb/929135

    If the problem is solved, check which service non-Microsoft is the source of the problem; referring to article and following the other steps.

    Note: After you check the clean boot feature configure Windows to use a Normal startup using step 7 proposed in the above mentioned link.

     

    Method 2: Temporarily disable the security software and check if the game works very well.

    Refer to this link: turn off the antivirus software

    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    When you disable the Antivirus: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

     

    Method 3: If the previous step fails, temporarily disable the Windows Firewall and check if the game works very well.

    Refer to this link: turn enable or disable Windows Firewall

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-Firewall-on-or-off

    Note: After checking the functionality enable the Windows Firewall.
     

    I hope this helps!

  • LabVIEW:EXE generates the error 1003 calling plugin with the type definition

    Hi all

    I am running LV 2012 on a Win 7 machine. I had this same problem with LV 2011, so I'm sure that's not associated with version/upgrade.

    Go to a LV-built EXE, I try to call a dynamically loaded Subvi. I did it several times with success before, so I think I know how. I prefer to use the call by reference, but I get the error 1003 Open Ref VI (with the type specifier). If I use the type specifier, can I open the Subvi, but the State is listed as 'bad '. Then, I went to recursively through all the subVIs (~ 25 in total) and concluded that the only item with a status of 'Bad' was a type definition.

    I checked several times, several different, that all ways the subVIs (and the definition of Type 'bad') are available to the Subvi dynamics. I did that the type definition is correct. I have also made sure the subVIs are stored as .VI files in the same directory and not within an EXE file. When I try to run the VI run call node, I still get the error 1003. I checked the path that displays in the error dialog box is the exact path for the Subvi (it would be for other VI properties and methods working properly).

    Why can't I run a sub - VI loaded dynamically from an executable if it has a type (a group of 3 trails) as output parameter definition?

    I just tested an idea: rename the library from project to project A create script. Now when it loads, it does not disturb what he must internally with externally called Subvi (dynamic). It worked the first time!

  • Error 1003: I get this error when you try to connect to a Web site. I have revived the iPad and was able to do, however, when I left the game I got error 1003. I tried

    Error 1003: I get this error code when I try to connect to a Web site. I have revived the iPad and was able to do, however, when I left the game I got error 1003. I tried to reconnect and automatically received this error message. This happens with all browsers on my iPad. I deleted the cookies, cache, etc, it may not always connect. Help, please.

    You can try this by using a different connection? If possible cell or another location of WiFi?

    If it goes with several browsers - it's probably your network

  • Error 1097 when calling DLLS in LabView

    I get an error 1097 when calling the LabVIEW provider library. Curiously, the error, the DLL routines still seem to do what is asked of them.  This is the test code.  It opens an Ethernet connection to a controller of axes Galil, he asks (possibly) the value of its internal clock, and then closes the connection.  Each call library function returns error 1097 but "valve function" I32 error number is always zero. Open function causes the connection to be opened, the command function causes the send command and receives a reasonable answer, narrow funtion seems to cause the connection to be closed.

    Here is what I see when I run the test:

    Also directly configure call-library functions, as I did in this VI, I also tried using the import-shared-library Wizard to create a vilib of functions of the DLL and I get the same behavior and errors when I use these functions.  I tried to tweak some of the data types in my configured manually call library functions to see if I could find a combination that worked better with the library, but had no luck there.

    I use the x 86 version of the DLL with v2014 LabVIEW 32-bit on a 64 bit windows system 7.  I see that the error on the two computer systems of different work configured in this way. I see a similar error on a home computer with just the RTE of 2014 installed. The manufacturer says they can not reproduce the error. I always saw the error over multiple versions of their library DLL.

    In the attachment ZIP it has a link to the DLL library on the manufacturer's website. There is also a copy of the VI, the DLL and a large part of how-to-use documentation that accompanies the DLL.

    I was hoping that someone who was familiar with the use of the call-library function might take a peek at what I do and see if an error could be spotted.

    Unable to find an error, I did, I would be happy to suggestions on how I could solve this. Little seems to me like there may be a problem with the library. The manufacturer, Galil, said that they have opened a log with OR to see if NEITHER could help but since Galil said they can not reproduce the problem and provide an example of the NC, it really went anywhere.

    Given the decoration of symbol names as exported by the DLL I "m convinced that you must change the stdcall calling convention.

  • Why do I get an error when I call tool captures with Exec System?

    Hi all, I want to call Snipping Tool of LabVIEW by using System Exec VI, but I always get an error 2. This doesn't happen when I call other executables like calculator or painting; I hope someone can help me or tell me why this error occurs.

    Thank you in advance, I have attached some pictures of the VI I've done so far.

    Hey there;

    I assume you are using the command: SnippingTool or SnippingTool.exe, just like you would use mspaint. but it's giving you 2 error; It's a matter of Windows than a LabVIEW, you can try to use the command:

     

    C:\Windows\Sysnative\snippingtool.exe;

    It worked for me; I found this info in the KB below.

    Command not recognized when using System Exec VI

    Good luck

  • Error occurs when calling remote ADFService11G service. Details: ADFException-3007: The ViewObject "AppModule.VO3" is used as a destination more than a ViewLink. (HY000)

    Hello

    Thanks in advance for helping me to solve after publication:

    I tried to run a report of OBIEE including data model comes from the layer of the ADF.

    In my module of the application, I have 5 display objects:

    For Ex: VO1 VO2 VO3, VO4 VO5

    And I show the links between: VO1 and VO2 (lets say: VO1_VO2_VIewLink).

    VO2 at VO3 ((permet de dire: VO2_VO3_VIewLink)), VO4 is related to the ((permet de dire: VO4_VO3_VIewLink) VO3) & VO5 is linked to VO3 (lets say: VO5_VO3_VIewLink)

    When I deploy this application on OBIEE and run a report with objects of:

    (1) VO1 and VO2-report works fine

    (2) VO2 and VO3 -report works fine

    (3) VO4 and VO3 -report works fine

    (4) VO5 and VO3 -report works fine

    (5) VO1, VO2, VO3 -report works fine

    It is when I run the report with the objects of

    VO1 and VO2 VO3 VO4, it throws an error message:

    "Error occurs when calling remote ADFService11G service. Details: ADFException-3007: The ViewObject "AppModule.VO3" is used as a destination more than a ViewLink. (HY000) »

    OBIEE Version is: 11.1.1.7.0 (with no patches) basis data: 11 GR 2, Jdev:11.1.1.7.0

    Kind regards

    RAM.

    I was able to resolve this error by changing my AppModule datamodel application, by changing the cardinality between VO3 and any other 1: n VO (VO3) to 1 (VO3): n. making VO3 as source VO object rather than view destination object.

    Kind regards

    RAM.

  • Stream error when you call a REST Service

    I am doing a customer REMAINS with AS3, I followed this tutorial: http://help.Adobe.com/en_US/AS3/dev/WSb2ba3b1aad8a27b061afd5d7127074bbf44-8000.html

    My code is as follows:

    import flash.events.Event;

    import flash.events.ErrorEvent;

    import flash.events.IOErrorEvent;

    import flash.events.SecurityErrorEvent;

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.net.URLRequestMethod;

    import flash.net.URLVariables; 


    var url:String = "https://localhost:8443/restcomponent/tesimalex"; 


    var requestor:URLLoader = new URLLoader(); 


    function restServiceCall():void

    {

      trace("Calling REST Service...");

      //Create the HTTP request object

      var request:URLRequest = new URLRequest( url );

      request.method = URLRequestMethod.GET;

      //Initiate the transaction

      requestor = new URLLoader();

      requestor.addEventListener( Event.COMPLETE, httpRequestComplete );

      requestor.addEventListener( IOErrorEvent.IO_ERROR, httpRequestError );

      requestor.addEventListener( SecurityErrorEvent.SECURITY_ERROR, httpRequestError );


      requestor.load( request );

    }


    function httpRequestComplete( event:Event ):void

    {

      trace( event.target.data );

    }


    function httpRequestError( error:ErrorEvent ):void

    {

      trace( "An error occured: " + error.toString() );

    }

    The only difference between my code and that in the tutorial's URL variables, that I commented on, and the url used.

    My REST service is a simple GET, if I type the url in the browser, it shows me that the returned JSON.

    But in my AS3 when I call the method restServiceCall() returns the following error message:

    Error opening URL "https://localhost:8443/restcomponent/tesimalex? An error: [IOErrorEvent type = "ioError" bubbles = false cancelable = false eventPhase = 2 text = "Error #2032: stream error."] URL: https://localhost:8443/restcomponent/tesimalex? »]

    Anyone know whats wrong?

    I really don't know about this link, but in my opinion it's a security issue, because it opens in the browser, also for security reasons! as I see that you have disabled the safe browsing that of why it works in your browser, but not in flash. In any case try to download the file on the server because the good security situation be different then check if it will work there, use a text field to display the data.

  • Error #1009 when sound inside game, a movie clip that is called to the scene with child add method

    What is supposed to happen

    I have a clip that is called when the user clicks a button. When moving clip appears music is expected to play. When the user clicks the close button the music stops and the clip is removed from the scene.

    But then I get an error

    When I test the movie I get the following error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    to mc_playSong / frame2 () [mc_playSong::frame2:6]

    This is the code that calls the clip on the stage (no problem here):

    Call the video clip with the song played on stage

    stage.addEventListener (MouseEvent.MOUSE_DOWN, goButtons);

    function goButtons(event:MouseEvent):void

    {

    If (event.target is song_bnt)

    {

    SoundMixer.stopAll ();

    addChild (myPlaySong);

    myPlaySong.x = 558;

    myPlaySong.y = 384;

    Event.stopImmediatePropagation;

    }

    The following code inside the clip is called to the scene. The music is meant to play:

    Stop();

    Variables for listening to music

    var RJPlaySong:RJSong = new RJSong();

    var RJPlaySongChannel:SoundChannel;

    Music for plays

    stage.addEventListener (Event.ENTER_FRAME, startRJSong); (I think that the error in the code is in this function. When I comment on him I don't get error.)

    function startRJSong(event:Event):void

    {

    RJPlaySongChannel = RJPlaySong.play ();

    }

    Stop all sounds, sets variables to null and calls a send event that removes the clip of the scene.

    bnt_closeSong.addEventListener (MouseEvent.MOUSE_DOWN, closeCreditSongScreen);

    function closeCreditSongScreen(event:MouseEvent):void

    {

    SoundMixer.stopAll ();

    RJPlaySong = null;

    RJPlaySongChannel = null;

    dispatchEvent (new Event ("RemoveMCsong"));

    }

    Someone at - it ideas? This seems to be a pretty simple question, but I can't understand it.

    I meant that you have quoted just to be taken literally.  If it's still not clear what I say or what did your code, try the following in order to demonstrate the IT change... This code to be...

    stage.addEventListener (Event.ENTER_FRAME, startRJSong);

    function startRJSong(event:Event):void {}

    trace ("I can do this all day");

    }

    After doing this, you can see why you want to only call the function once, and you could eliminate most of it and just put...

    RJPlaySongChannel = RJPlaySong.play ();

    Instead, or as I said originally, you can change it to be...

    function startRJSong (): void

    {

    RJPlaySongChannel = RJPlaySong.play ();

    }

    startRJSong();

  • Satellite A100-237: BSOD when WiFi, USB or printer are switch on - error 1003

    Hello

    IF I PAST ON THE WIRELESS OR IF I PLUG A USB DEVICE OR IF I TURN ON MY PRINTER I GET BLUE SCREEN OF MY LAPTOP RESTARTS AND IT DISPLAYS ERROR 1003.

    THIS PROBLEM does NOT ALLWAYS APPEARS.
    I HAVE WINDOWS XP REINSTAL, BUT I HAVE THE SAME PROBLEM.

    Hello

    How do you reinstall the OS and did you use the clean Toshiba Recovery CD?

    Eventually, he is only a software malfunction. But according to some reports s of people having the same problem, it could be a memory module.
    If you use 2 modules then try to delete one and use the laptop with a module.
    In this case, you can locate the defective module.

  • Generation of application error 1003

    Hello

    I have a project and when I try to create it in an application I get an error saying a VI in broken and of course, it isn't. Here are the details of the error:

    "Error 1003 has occurred to AB_Targetfile.lvclasspen_Top_Level_VIs.vi-> AB_Build.lvclass:Build.vi-> AB_Application.lvclass:Build.vi-> AB_EXE.lvclass:Build.vi-> AB_Engine_Build.vi-> AB_Build_Invoke.vi-> AB_Build_Invoke.vi.ProxyCaller.

    I have found the problem down to a vi called Runtest in a packed library. Analyzing the Main.vi also points out the same problem. If I do not include this Runtest.vi in the Main.vi as I build my application then it is supported very well.

    I made myself the packed library so I went to the library project packed and filed an application with the Runtest.vi. This relies very well.

    Any suggestions?

    Using Labview, 2011.0.1f2 (32 bit)


Maybe you are looking for