Deployment error with LabVIEW 8.0 using a Desktop PC as a RT Target

Hello!
I am attempting to use LabVIEW Real-Time 8.0 with a desktop PC as the RT Target.
Everything appears fine when I look at the computer using MAX. I can fiddle with the Target’s IP, install software and transfer files between my Windows machine and the RT machine without any difficulties.
To get started with LabVIEW I have followed the instructions in NI’s document: "Getting Started with the LabVIEW Real-Time Module".
( A copy may be found at this location: http://www.ni.com/pdf/manuals/371375a.pdf )
My difficulties arise under the "Creating a Real-Time Project and Application" subsection, which begins on page 8 of the document.
I follow the instructions to create a project using the Real-Time Project Wizard and all goes well – I can connect to the target without issue in LabVIEW and monitor its performance with the Real-Time System Manager – until I try to deploy and run the VIs on the RT Target.
The deployment process fails nearly without exception every time I try to deploy any of the dependent VIs using the Project Explorer (I say nearly because maybe 1/100 times a VI is deployed successfully). I believe all the permissions have been properly set (in both LabVIEW and Windows) to allow the host and the target to communicate and collect data so I am not sure what the problem is.
Interestingly enough, VILIB dependencies always deploy successfully -- And the intrigue does not end there! If I build a standalone Real-Time application (like that detailed on pages 18-21 of the manual linked above) I am able to deploy to the RT Target. Setting the application to run on startup, the RT computer successfully reboots and is able to generate a sine wave and I can view using the host VI on My Computer.
I would like to be able to build and deploy VIs freely using the Project Explorer but am not sure how to achieve this seemingly simple goal. If anyone has encountered a problem similar to mine even feels that they know if the problem is related to hardware or software the help would be much appreciated.
Thanks,
Tom

Bob,
My System uses Windows XP. I use MAX 4.0.0.3001 to install software on the Real-Time computer. I am using LabVIEW 8.0 to deploy VIs to the Real-Time System. Also, if its any help, I am a D-Link DGE-550T Gigabit Ethernet Adapter.
The Remote System uses LabVIEW Real-Time 8.0. Note that a fair amount of software to add functionality to the system has also been installed here from My System via MAX.
Here is an example of how my Deployment fails:
I follow the instructions in "Getting Started with the LabVIEW Real-Time Module" and create a project using the Real-Time Project Wizard. (The contents of such a program may be viewed in a picture that is included in the ZIP file I have attached.)
I open the LVPROJ window and proceed by connecting to my RT device. I right click on the target and choose 'Connect'.
A Deployment window will pop up and display the following text:
Deploying RT (successfully deployed target settings)
I close the window and proceed to deploy my primary VI titled 'target - multi rate - variables - fileIO.vi. I right-click on the target and choose to deploy. Again, a deployment window will pop up - this time with the following text:
Deploying My Computer
Deploying variables - network - RT.lvlib
Deploying variables - network - RT.lvlibistop \\192.168.1.2\ variables - network - RT\stop.
Deploying variables - network - RT.lvlibidata \\192.168.1.2\ variables - network - RT\data.
Deploying RT (successfully deployed target settings)
Deploying support - acquire data.vi (3.20K)
Deploying Trim Whitespace.vi Failed to download Trim Whitespace.vi
The deployment usually, but NOT always, fails on Trim Whitespace.vi. In any case, the deployment will always fail for some VI and continue to fail in the same manner until My System is rebooted. Attempting to individually deploy any of the VIs also fails the vast majority of the time and if any VI fails it will continue to do so (...until a hard reboot, in which case it may or may not fail assuredly).
Attached to this post is a ZIP containing all the files associated with this RT Project (not including the libraries of dependencies associated with LabVIEW, of course).
If you feel that more information about hardware or software in use would be useful, please ask.
Thanks,
Tom
Attachments:
LabVIEW RealTime Project.zip ‏193 KB

Similar Messages

  • Keyboard error with '@' when in WindowsXP (using Parallels Desktop for Mac)

    When I go to type '@' when in WindowsXP (using Parallels Desktop for Mac) the symbol ' " ' appears; I have to type ' " ' to achieve the ' @ ' symbols. Can anyone help?

    Try switching the keyboard layout in XP to other countries. Maybe US from UK.

  • Deploy teststand with labview ui

    Hi,
    I'm using teststand now since 9 months and now I have to distribute my application to a testing machine. I have some questions about this process. But first I discribe my application:
    I have a labview ui, which has 3 main tasks:
    1.) Start selected teststand sequences for automatic testing.
    2.) Give operator the possibility to manually control the testing environment (purely written in labview)
    3.) Run continous data aquisition, which provides data for teststand and manual testing.
    Sharing data between labview and teststand is done mainly via global variables (e.g. reference to tdms file). Because of 1.) and 2.) above teststand and labview share a lot of VIs for communicating with the testing environment.
    OK, now my questions:
    I'm searching for the best way to deploy this application via an installer. I know, that there is a teststand deployment tool (which I havn't used, yet) and I know how to build installers with the labview project manager.
    1.) What about sharing of VIs and global variables between my teststand sequences and my generated labview exe? When I place my sequences in the workspace file for the teststand deployment tool, all referenced VIs are included in teststand. But Some of these VIs are also included in my generated labview ui. Will this generate a conflict?
    2.) I was thinking about to create a teststand deployment without a workspace file. The sequences and all required VIs would be placed in the generated labview ui instead. Will the teststand sequences find the VIs inside of the ui exe?
    3.) What about required drivers (e.g. daq-mx)? Should I create a labview installer of my ui with the required drives and install this, then create a teststand installer (perhaps including the ui, too) and install this, too?
    Thanks for any help in advance.
    Marc
    CLD

    Hi,
    I would recommend the Deployment Tool for your TestStand and OI. I would also keep your Test Sequence files seperate from your TestStand Engine amd UI deployment.
    [1.) What about sharing of VIs and global variables between my teststand sequences and my generated labview exe? When I place my sequences in the workspace file for the teststand deployment tool, all referenced VIs are included in teststand. But Some of these VIs are also included in my generated labview ui. Will this generate a conflict?}
    This is going to cause you a problem because LabVIEW doesn't like / will not load the same VI into memory from two different locations.
    The Deployment Tool will probably object as well therefore you will not beable to create a deployment package.
    The Deployment Tool will place all the VIs that are called directly from TestStand Sequence Files as seperate VI's (not in a LLB) into the target folder. It will then create a support LLB containing all the subVI's used by the directly called VI's. If you have VI's that are called directly from TestStand and are also used as subVI's you will again have problems because the same VI can be loaded from two different locations. 
    2.) I was thinking about to create a teststand deployment without a workspace file. The sequences and all required VIs would be placed in the generated labview ui instead. Will the teststand sequences find the VIs inside of the ui exe?
    No Teststand will not beable to find your VI's in the EXE. If you need to use the same VI's in both your OI and TestStand sequence file then create a DLL.
    But I would recommend you keep the OI code seperate from your Test Code.
    3.) What about required drivers (e.g. daq-mx)? Should I create a labview installer of my ui with the required drives and install this, then create a teststand installer (perhaps including the ui, too) and install this, too?
    Install your drivers first. The IO should be installed as part of the TestStand deployment as this will register the various components correctly.
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 08-06-2008 01:02 PM
    Regards
    Ray Farmer

  • Deployment error with sun app server 8.2

    hi,
    i'm a newbieto java programming.
    i'm following the j2ee tutorial.
    but i'm stuck when deploying
    could anyone help me on this?
    thanks in advance.
    Distributing /opt/CustomerBook/dist/customerbook.ear to [localhost:4848_server]
    Unable to construct properties list for: getConnectionPoolProperties
    deployment started : 0%
    Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    /opt/CustomerBook/nbproject/build-impl.xml:219: Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    BUILD FAILED (total time: 2 minutes 54 seconds)
    EXECUTION SECTION
    =================
    line 219:
    ** <nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}" debugmode="false"/>**

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • Measuring Low Frequencies with LabVIEW and FieldPoint Using [c]FP-CTR-500/502

    I am trying to use this example in a LabView 8.0 and a Field Point FP-CTR-502 module but without any sensor I get frequency and period values.
    Is that possible to use this example with LabView 8.0 or not?
    I am trying to use an anemometer Campbel Scientific A100R.
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3ED7556A4E034080020E74861&p_node=174404&p_source=External
    Attachments:
    Low_Frequency_Measurement_CTR_LV71.vi ‏193 KB

    You can launch MAX from start\programs\National Instruments\Measurement & automation.
    Concerning source signal wiring, you can have a look to the following link : http://zone.ni.com/devzone/conceptd.nsf/webmain/01F147E156A1BE15862568650057DF15?opendocument
    Hope this helps,
    Manuel R
    AE dans une autre vie

  • CS6 deployment error with Application Manager Enterprise 3.1 Edition

    Hello everyone,
    I am currently trying to create a DesignWebPremium and Master Collection CS6 deployment package with AMEE 3.1 (Application Manager Enterprise Edition) on Windows 7 EE x64 without any luck.
    I keep getting the following error log:
    11/16/2012 06:35:51[INFO] AdobePackageBuilder - Build Version - 3.1.105.0
    11/16/2012 06:35:51[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    11/16/2012 06:35:55 [INFO] AdobePackageBuilder - Successfully retrieved TargetName from OptionXML.
    11/16/2012 06:35:57 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copying the content of 1 disk
    11/16/2012 06:37:31 [ERROR] AdobePackageBuilder - Failed to create Setup.ini file for Acrobat Customized Wizard.
    11/16/2012 06:37:32 [ERROR] AdobePackageBuilder - Failed to create the zip file.
    11/16/2012 06:37:32 [ERROR] AdobePackageBuilder - Error zipping PkgConfig.xml.
    so I thought I could be smart and just take out Acrobat from the install package, but still no luck:
    11/15/2012 07:39:41[INFO] AdobePackageBuilder - Build Version - 3.1.105.0
    11/15/2012 07:39:41[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    11/15/2012 07:39:46 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copying the content of 1 disk
    11/15/2012 07:42:10 [ERROR] AdobePackageBuilder - Failed to create the zip file.
    11/15/2012 07:42:10 [ERROR] AdobePackageBuilder - Error zipping PkgConfig.xml.
    I have tried creating the deployment package as both 32-Bit, 64-Bit, including updates and not including them, running AMEE 3.1 with administrative access and without - it just doesn't work...
    I'll be grateful for any constructive help.

    Hi,
    I just did come across this error today, and thought of sharing with the solution. This error is due to insufficient previlages of user, while he is trying to configure the hyperion Products. So all you have to do to solve this is, while you try to configure, right click on the configuration utility and run as administrator, and do the configuration as usual.This would solve this issue. I did not have this issue with Windows 2003 Server, but faced this while installing on Windows 2008 Server.
    Thanks,
    Leo Jose.

  • Deployment Error with VS2012/3 and Lightswitch

    I'm getting an error every time I try to run my Lightswitch app via debug mode  (F5) in both VS 2012 and 2013.
    I have a simple app that takes as its data source a SharePoint list in sp2010. I have managed to link to my site collection and checked the list I want. The columns are imported into LightSwitch and I build a screen from these.
    I then enable SharePoint in LightSwitch
    I press F5 and then I get this error (I get the same error in both VS2012 and 2013) no matter which site collection I use or which lists:
    There are deployment errors. Continue?
    I click No
    I then this error
    Error occurred in deployment step 'Uninstall app for SharePoint': Method "GetAppInstancesByProductId" does not exist
    Any ideas? Thanks in advance

    Hi,
    According to your post, my understanding is that you got error when using the visual studio lightswitch.
    You can check the errors in the stack trace to see if anything unexpected occurred.
    You can get the stack trace by following article:
    http://blogs.msdn.com/b/mthalman/archive/2013/08/16/how-to-get-a-stack-trace-in-lightswitch.aspx
    What’s more, to ensure whether it is the code issue, you can create a new and clean app to check whether it works.
    http://blogs.msdn.com/b/bethmassi/archive/2011/06/29/using-sharepoint-data-in-your-lightswitch-applications.aspx?Redirected=true
    As the issue is related to LightSwich, I recommend you post the question to the forum of
    Visual Studio LightSwich.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=lightswitch
    More experts will assist you, then you will get more information relation to LightSwich.
    Thank you for your understanding and support.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Deployment error with netbeans vwp

    when i try to run my vwp project i get this error.
    Starting server Bundled Tomcat (5.5.17)
    Starting of Tomcat failed.
    D:\Documents and Settings\Erdal\erdalWEB\nbproject\build-impl.xml:475: Deployment error:
    Starting of Tomcat failed.
    See the server log for details.
    all i do is to open a new Visual Web Application project, drag and drop a label and deploy it. nothing complicated but couldn't found where the problem is. please give me a hand, a hint, a way to get over this...

    Read this, as it says:
    See the server log for details.

  • Deployment error with JAX-WS using NB 5.5 and SJAS 9.0

    Hi,
    I'm trying to expose a session bean as a web service. My service parses MPP files. When a few specific classes are used, the service fails to deploy with a java.lang.NoClassDefFoundError (the class is very much in the classpath). All the other classes used in the bean are taken from the same jar! Removing the offending classes remove the problem. Pls help.
    Bean:
    for (ResourceAssignment a : allAssignments) {
                    net.sf.mpxj.Task task = a.getTask();
                    System.out.println("Task name: " + task.getName());
                    System.out.println("Outline number: " + task.getOutlineNumber());
                    System.out.println("Outline level: " + task.getOutlineLevel());
                    System.out.println("\nWBS: " + task.getWBS());
                    System.out.println("WSB level: " + task.getWBSLevel());
                    task = task.getParentTask();
                    if (!task.getNull()) {
                        System.out.println("Parent task name: " + task.getName());
                    System.out.println("\nAdding listener...");
                    task.addFieldListener(new FieldListener() {
                        public void fieldChange(FieldContainer container, FieldType type, Object oldValue, Object newValue) {
                            System.out.println("Inside listener...");
                            System.out.println("Data type: " + type.getDataType());
                            System.out.println("Name: " + type.getName());
    Stacktrace:
    Exception occured in J2EEC Phase
    java.lang.NoClassDefFoundError: net/sf/mpxj/listener/FieldListener
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
    at java.lang.Class.getMethod0(Class.java:2611)
    at java.lang.Class.getMethod(Class.java:1579)
    at com.sun.xml.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:455)
    at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:355)
    at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
    at com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:633)
    at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:538)
    at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:56)
    at com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:44)
    at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1820)
    at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2089)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:396)
    at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:138)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)

    Update: It is working with SJAS 9.1 :). Now I'm sure it is a bug with SJAS 9.0. Still any clue will be appreciated.

  • "Hi,I'm having problems controllin​g the Agilent E4422B Signal Generator with Labview. When using the Labview driver functions such as initialize instrument I always get an Error -107413504​0.

    I can query the device through the measurement and automation tool. I can also Identify the instrument by issuing a *IDN? with VISA write and read. Why do I get this error while using the drivers supplied by NI for this equipment? Any Ideas?

    Hi, Brooks.
    Attached please find the files containing all the information concerning my attempt to control the Agilent E4438C. Hope you can make sense of it and help me.
    Regards
    isaac
    Attachments:
    nireport.txt ‏2 KB
    Capture.spy ‏5 KB
    CaptureSpy.doc ‏117 KB

  • Report error with the input form using the VC BI integration wizard

    Hello All,
    I've created a report using the BI integration wizard in visual composer. I've configured the query with the 'Free Form' query template also I've defined the filters there. This is working fine and giving me the report output. When I deploy this , I could see
    a start point for the data service.
    But instead of the start point with the default values for the filters , I want to have an input form for the users to enter the field values. I added the input form in place of start point. But it's not working even though it doesn't give any error while deploying this report. It gives the following error when I run this report.
    " Data service error occurred,cannot execute OLAP queryCannot get data set: Cannot get data set".
    Could anybody help on this.
    Thanks
    Alok

    Hi Sandeep,
    I'm already draging it from the query input port. Are you referring a different way? How I could have the input variables in the query which I'm creating using the BI integration wizard.  To get this input variable I'm trying to add the input form.
    Am I doing anything wrong here ?
    Pls help.
    Thanks
    Alok

  • Deployment Error with jdk 5 and oc4j_extended_101320.zip

    Hello,
    I get the following error when I try to deploy my application using jdk 5 and oc4j (oc4j_extended_101320.zip) . I am sure no references of jdk1.4 are being used anywhere. I also tried deleting the persistence directory to make sure there are no lock files anywhere , but in vain. I am stuck with this problem and I urgently need a solution to get past this. Any help in this regard is appreciated. Thanks. Here is the stack trace.
    This load was initiated at sim.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    07/12/31 01:19:17 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: sim is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:497)
         at com.evermind.server.Application.setConfig(Application.java:340)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [sim:oracle_sim_closed_ejb:Transfer] - Unable to load ejb-class oracle.retail.sim.closed.transfer.ejb.TransferEjb, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.retail.sim.closed.transfer.ejb.TransferEjb
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdk5andOc4j/OC4J/oc4j_extended_101320/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in D:\jdk5andOc4j\OC4J\oc4j_extended_101320\j2ee\home\oc4j.jar

    For internal questions please use the internal mailing lists...
    --olaf                                                                                                                                                                                       

  • Error with TDM add-in using COM automation ImportFile

    The importer works fine within Excel. However, when using automation from within LabVIEW I keep getting error "-2147417851" on the output of method "ImportFile".
    Code snippet below.
    The PC I'm using has...
    OS = Windows 7 
    Excel 2010, all latest service packs and Office updates.
    LabVIEW 2009
    TDM for Excel Add-In v.3.5.1
    The exact same calls work on another computer with the following:
    OS = Windows XP
    Excel 2007, all latest service packs and Office updates.
    LabVIEW 2009
    TDM for Excel Add-In v.3.5.1
    Can't seem to find any docs or reason for it not to work. The libraries show up as registered from the dropdowns. The Importer works from within Excel. I've rebooted updated and reinstalled and rebooted what feels like a million times already. What am I missing here? Any ideas?
    Solved!
    Go to Solution.

    Mavis: Thank you not only for a meaningful reply , but the actual solution!
    A small detail: I found that I could not disconnect right away or I'd get another error - waiting to disconnect until after I had a chance to save the file ensured that it was fully loaded.
    Is this documented somewhere? The VBA code example on this page http://www.ni.com/white-paper/10207/en/rating/2 shows the call to connect, but there doestn' see m to be any doc on the method.
    Also, this solution begs the question: how did the code with the earlier version of the add-in work correctly without specifically calling 'connect' first? I'm sure someone will say it doesnt' matter, but that's what threw me for a loop all along;  it might very well matter to the next person that runs into the same problem. Worked in Case A, how is Case B different?
    Thanks again, Mav.
    Can I call you Mav? 

  • C++ build error with LabVIEW DLL

    Hi, I'm a student at UC Irvine learning to use LabVIEW.  I am working on a practice project for which I have to use a PID system to control the temperature of an object.  Things are starting to get a little messy with nested control statements, loops, etc., so I figured I'd export a LabVIEW DLL with all the hard to code stuff, such as interfacing with my instruments, and plotting data or whatever, and do the number crunching and keeping track of stuff in C++.
    The DLL file I made in LabVIEW went off without a hitch as far as I can tell, but when linking it to my C++ test program (which at this point is just including the LabVIEW's .h file for the DLL and an empty main() function), I get a lot of build errors.  I am using Dev-C++ which uses g++ to compile the code.
    Here is a pic of my build errors:
    Solved!
    Go to Solution.
    Attachments:
    LabVIEW_compile_error.JPG ‏184 KB

    Normal windows apps are not as forgiving about where you can put your DLL as LabVIEW. You have to have a DLL either in the direcotry where the executable file itself resides (that would be your build directory, not the source directory), the windows or system directory, or any directory that is set in the PATH environment variable. Anythin else will most likely not work, or at least not reliably.
    No need to add the cintools directory into your include file paths nor the library file paths. you would only need that if you decided to let the DLL export native LabVIEW data types in which case you would need the LabVIEW manager functions to prepare the correct data buffers.
    Rolf Kalbermatter
    Message Edited by rolfk on 07-30-2009 07:49 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • 6011 port error in labview (2010) while using a sit

    i want to transfer my signal from MATLAB (2010a) to LABVIEW 2010 using simulation interface toolkit, during transfering my signal i am facing a problem "unable to connect to the SIT server in the simulation environment" 
    error window is attached with a question.
    Attachments:
    10988823_934016639944737_1523643170_o.jpg ‏70 KB

    Hi,
    As my Simulation toolkit is still not working but when i first run NISITServer it shows this message ( attached in figure 1) when i run it second time NISITserver after doing some work on matlab or even when i make my mdl file (MATLAB) connection on labview through SIT connection and runs NISITServer it shows this message both times (attached in figure 2).
    What does these means? and how can i resolve these errors??
    I am trying an example given in a http://www.ni.com/white-paper/3057/en/ ..
    Attachments:
    11012228_942613192418415_1467660118_n.jpg ‏32 KB
    10405392_941226629223738_9044642262331052110_n.jpg ‏16 KB

Maybe you are looking for

  • R/3 Transactions into VC

    Hello, I would like to integrate some R/3 transactions into VC. I was going to create a set of iViews using SAP GUI for HTML and point them to the relevent transactions. Next, I would like to create a form and embed some pushbuttons, the idea being t

  • Opening the file in original res with Aperture changes

    I am working with RAW files from a Phase One camera back. The file size in aperture shows correctly 35.6 MB for the file. When I open the image or export it I only get the preview sized file instead of the referenced file on the external disk. I assu

  • Besides a PDF Portfolio is there another way to add Pages to a PDF that have fields of the same name and still have them Unique?

    Besides the PDF portfolio is there another way to add pages to a PDF file that have the same name in form fields and still keep the different pages unique

  • Anti deconvolution - ACR Capture Sharpening

    anti deconvolution - ACR Capture Sharpening I cannot remember where I came across this word "anti deconvolution" (likely years back debating here about how best to use Capture Sharpening). I am considering making training videos on "The Ultimate Shar

  • Ant servicegen error

    Hi, I am trying to generate .ear file for my webservice. And I am getting the below error. I had generated all .java (serialization etc ) using JDeveloper. And FTPed those files to Unix box where my weblogic 8.1 servier installed. I have converted my