Building Dll for labVIEW RT gives errors

Hi All
Does building dll for labVIEW RT using CVI require labview runtime engine to be installed?
becuase i get some errors of unsatisfied referances to some library while building the dll with target selceted to "labVIEW real time only".
Regards
Arun

Hello Arun,
You don't need to have LabVIEW Run Time installed on your machine. Please check the link below to see the function that are supported by exporting the LabWindows/CVI LabVIEW RT Engine
http://digital.ni.com/public.nsf/websearch/D3EFE7C6F073384886256FDD005FBCDA?OpenDocument
Ame G.
National Instruments

Similar Messages

  • Whenever i put my iphone for restoration itunes gives error that disk is full what do i do?

    whenever i put my iphone for restoration itunes gives error that disk is full what do i do?

    Is your PC disk full?

  • How to build a dll for labview pda, which uses the intel ipp primitives in it

    Hi all,
    For my application, I need to call a c dll from Labview PDA, and in the c function i need to use intel IPP function. When i call my dll, i get an error saying the ippfunction i use, say "ippsCopy_16s missing c or vi file". Can someone tell  me what I might be doing wrong?

    Hi Vani,
    When using a DLL in a PDA there are some special considerations you have to take. Please take a look at the following knowledgebase describing the process.
    Eli S.
    National Instruments
    Applications Engineer

  • How to create a DLL for LabVIEW in MatLab

    I want to use MatLab-Code from an M-file in LabView without MatLab. So i decide to use external code in a DLL. Can anybody give me some hints - how to do? (How to create, how to use?)
    Used System Windows 98, LabVIEW 6.1, MatLab 6.1 R12.1
    Thanks

    Hi,
    I use Matlab-Code in Labview and it's don't need create a dll. The LV was a tool, matlab script, you can write your code Matlab here. see the examples of LV.I think the lV 6.1 have.
    Dll it's very complicated

  • Call a dll for Labview: Function not found in library

    Hello,
    I am trying to call a very simple .dll form Labview. I compiled the .dll for x64 using Visual Studio 2010, because I am using Labview(64-bit). I did everything exactly the way I read it in several Tutorials. But the "Call Library Function Node" doesn't create a popup menu with the avalible functions like it is supposed to do. The Import Wizard doesn't find any functions neither. What is wrong with my .dll?
    I added a block marked 'extern "C" ' into my source file, but it still won't work.
    Thanks
    Matthias
    Solved!
    Go to Solution.
    Attachments:
    DynamicLibrary.zip ‏2452 KB

    You need to define an entry point to the DLL
    BOOL APIENTRY DllMain( HANDLE hModule,
                            DWORD  ul_reason_for_call,
                            LPVOID lpReserved )
        return TRUE;
    Also add extern "C" __declspec(dllexport) to your functions
    More details here: http://www.ni.com/white-paper/3056/en
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Teststand deployment with LabView VI gives error code 1035

    Using Teststand 3.0 deployment tool. My test sequence uses LabView 7.0 VIs. When I build, error code 1035 is output after several minutes along with the message :-
    Error Code:1035
    Could not process LabVIEW VIs. Fix any broken VIs before rebuilding. Labview error:
    Invoke Node in Teststand - Diost Chg and Save VIs-> TestSTand - Dist Build LLB Image ->TestStand - Build VI
    Distribution.vi->TestSTand - Build VI Distribution AX Wrapper.vi-> TestStand - Build VI DIstribution AX Wrapper.vi.ProxyCaller
    ++++++++++++++++++++++++
    I tried a LabVIEW mass compile of my VI directory and it reported no errors.
    I have tried this website for an explaination of this error but there appears to be nothing. System is Windows N
    T4 SP6.

    Jon, you mentioned this problem got solved in TestStand 3.1. Right we are using TS 3.0 and have that problem caused by LabView's own locked VI's (not to mention LabView VIs with the "/" character in the filename, i had to save those under a different name) . Is there any documention about this problem being fixed in 3.1? This would help me explain the need for the upgrade to the powers that be.
    Thanks,
    Fernando Marquez
    Project Engineer
    CSI
    Jon Bowers wrote:
    There can be a problem in Teststand 3 when deploying with the "Lock vi Diagrams" option checked when your sequence contains vi's that already have locked diagrams. Un-checking this option or removing the vi's which have locked diagrams should allow you to build successfully. This has been fixed in Teststand 3.1.
    Jon Bowers
    Applications Engineer
    NIUK

  • 9i Jdeveloper for Oracle Applications gives error when running hello world

    The following is the error
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.apps.jtf.cache.CacheLoaderNotFoundException; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at OAErrorPage.jspService(OAErrorPage.jsp:35)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
         at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:547)
         at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:518)
         at test_fwktutorial._jspService(test_fwktutorial.jsp:72)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.jtf.cache.CacheLoaderNotFoundException
         at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
         at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
         at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
         at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
         at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at test_fwktutorial._jspService(test_fwktutorial.jsp:45)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.jtf.cache.CacheLoaderNotFoundException
         at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
         at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
         at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
         at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
         at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at test_fwktutorial._jspService(test_fwktutorial.jsp:45)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    THe following is the OAFramework version
    OA Framework Version InformationOA Framework Version 11.5.10.5RUP.
    MDS Version 9.0.5.4.89 (build 555)
    UIX Version 2.2.24.1.0
    BC4J Version 9.0.3.13.97
    I use JDeveloper that comes with the patch 4725670
    The project settings for Oracle applications, the dbc file, userid/password, responsibility details are correctly set.
    Data base connection is also defined.
    I tried the patch 6012619 as well. No change and the same error
    Any clues please.

    user589898 ,
    Search on old threads before posting issues. Search on keyword CacheLoaderNotFoundException and you will find this issue has been discussed earlier.
    --Shiv                                                                                                                                                                                                                                                                                                                                                           

  • LabVIEW PDA gives error 12 when opening file

    I can create a file with LabVIEW PDA with Pocket PC 2003, but when I try to open the file I always receive error 12 "Some system capacity necessary for operation is not enabled."
    Can someone help me to solve this error ?
    thanks in advance for your help.
    Nico

    On the PDA, File Open returns error 12 when you are trying to open a datalog file and the datalog type you specify on the funtion does not match the datalog type on the file header.
    Regards,
    miko

  • SourceGear Vault with LabVIEW 2009 gives error

    Hi,
    I try to evaluate SourceGear Vault for version control in LabVIEW 2009.
    At their website they say that Vault is compatible with Microsoft SCC interface, but as soon as I select  "SourceGear Vault Classic Client" as provider in LabVIEW I get the error "Error -2924 occurred at prefPage_Source Control.vi".
    Does anyone successfully use Vault with LabVIEW?
    Any ideas of things I might need to do to get i to work?

    The text of the error is "An error occurred while opening a source control project or accessing a file.
    The specified path is invalid." Some providers are expecting certain values in parameter calls based on assumptions on how they will be used by various IDEs (mainly Visual Studio). It is possible that valid information passed by LabVIEW to SourceGear's provider does not match what they expect. This would require testing on both LabVIEW's and SourceGear's side to determine what is going on. It would probably be a good idea to start with SourceGear's support to see if they can identify what is invalid.
    George M
    National Instruments

  • TI USB-to-GPIO interface EVM adapter. Dll for Labview driver

    I am looking for way to send commands via Texas Instrument USB-to-GPIO using Labview. TI support only .dll file. No .h or .c file. So when I configure "Call Library Function Node" then .DLL is not enough. All nodes are closed.
    Solved!
    Go to Solution.

    You need to open (instantiate) the .Net object before you can attempt to do anything on it. As it is now you try to operate on a NULL object meaning there is nothing to perform your methods on. Look at the .Net Constructor node.
    Message Edited by rolfk on 05-11-2010 05:10 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions
    Attachments:
    Net Constructor.PNG ‏20 KB

  • Using predefined WSDL for synchronous client gives error

    Generated a new BPEL project and attached our own WSDL (channelInterface.wsdl) to the client partner link. Specified the one and only operation in the receive and reply activities and auto created the variables in each. All simple stuff and the 'validate' reports 0 errors but upon a Project 'make' the following errors are reported.
    Rather surprised as this seems to be very simple but the generated code does not seem to auto resolve the types. Any help much appreciated.
    Error(19): [Error ORABPEL-10007]: unresolved messageType [Description]: in line 19 of "C:\temp\bpel\Test\BPELProcess1\BPELProcess1.bpel", WSDL messageType "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1RequestMessage" of variable "inputVariable" is not defined in any of the WSDL files. [Potential fix]: Make sure the WSDL messageType "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1RequestMessage" is defined in one of the WSDLs referenced by the deployment descriptor.
    The generated .bpel code is:
    <process name="BPELProcess1" targetNamespace="http://xmlns.oracle.com/BPELProcess1" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://channel.abi.ukps.sbs" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:client="http://xmlns.oracle.com/BPELProcess1" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="ch" partnerLinkType="ns1:ChannelInterface_PL" myRole="ChannelInterface_Role"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/><!-- Reference to the message that will be sent back to the
    requester during callback
    -->
    <variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>
    <variable name="Receive_1_SubmitApplication_InputVariable" messageType="ns1:AbISubmissionRequestMessage"/>
    <variable name="Reply_1_SubmitApplication_OutputVariable" messageType="ns1:AbISubmissionResponseMessage"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in BPELProcess1.wsdl
    --><!-- Asynchronous callback to the requester.
    Note: the callback location and correlation id is transparently handled
    using WS-addressing.
    -->
    <receive name="Receive_1" partnerLink="ch" portType="ns1:ChannelInterface" operation="SubmitApplication" variable="Receive_1_SubmitApplication_InputVariable" createInstance="yes"/>
    <reply name="Reply_1" partnerLink="ch" portType="ns1:ChannelInterface" operation="SubmitApplication" variable="Reply_1_SubmitApplication_OutputVariable"/>
    </sequence>
    </process>
    The deployment descriptor (bpel.xml) is:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BPELSuitcase>
    <BPELProcess id="BPELProcess1" src="BPELProcess1.bpel">
    <partnerLinkBindings>
    <partnerLinkBinding name="ch">
    <property name="wsdlLocation">ChannelInterfaceRef.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    </BPELProcess>
    </BPELSuitcase>

    when you create a new process (and not choose empty type) we create input and output variables for you
    <variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>
    and those still point to the old messagetypes ..
    The easiest way is on you left down side in jdev, when the bpel process is opened in the diagram mode you should see the structure (structure pane).. expand variables node and edit those 2 variables, within them right click on the part named payload and choose the new messagetype it is supposed to have
    hth clemens

  • CS6 upgrade for photoshop CS5 gives errors

    I recently purchased your Photoshop CS6 upgrade.  I had been using Photoshop CS5 previously.  When I entered my serial number I got a message stating that no qualifying product can be found on my computer.  In the product drop down box I found and selected CS5 but when I enter the serial number of my CS5 Master Collection (which Photoshop was part of it) I get a error saying that serial number is not for a qualifying product.
    What should I do?

    You cannot upgrade a component of a Creative Suite to the next version - which is what it sounds like you're attempting.
    e.g. you cannot upgrade to Photoshop CS6 using the Photoshop CS5 from Master Collection CS5.
    http://www.adobe.com/products/creativesuite/faq.html#upgrade-eligibility
    "Am I eligible for upgrade pricing from an earlier Creative Suite edition to an individual CS component?
    No. Adobe does not offer upgrade pricing for customers wishing to move from a suite edition to an individual CS component. For complete upgrade information for the product you are interested in, consult the upgrade eligibility chart on that product's buying guide page."
    From Master Collection CS5, you can only upgrade to a CS6 Suite (does not have to be Master Collection CS6).
    If Photoshop CS6 is all you want then either purchase a full version of CS6 or consider joining the Cloud.

  • Building DLL for FDK API

    In the FDK Programmer's Guide, it says
    <quote> 
    Compiling and registering your own FDK clients
    With Code Generation still selected, choose Single-Threaded from the Runtime Library
    popup list.
    </quote>
    However, in Visual Studio, there are only 4 options for Multi-threaded and no option for Single-threaded.  I'm running Visual Studio Express 2010, v10.0.30319.1.  The instructions are quite detailed, so I think I am looking in the correct place.
    Any suggestions?

    Hi fmEveryDay,
    First, sorry for the delay. I like fm Every Day too but it was a three-day US holiday and I stayed away from the computer.
    Indeed, the documentation is out of date. Assuming FDK11, you need to set this to "Multi-threaded DLL (/MD)". That is the correct setting and no other setting will work. Older versions of the FDK use a different setting, but I'm guessing you are on FDK11.
    It can be tricky to get a project set up correctly, so let me know how it goes. I use Express version 2010 as well, so I know it can work. I seem to recall something about a requirement to manually create a resource file when using Express. But I'll leave it here for now and see how you get along.
    Russ

  • Malfunctioning printer call to DLBAPRP,DLL FOR DELL PRINTER A940, ERROR 126. This error occurs when pressing properties button. Is there a patch to fix this?

    This error does not occur with any of my other programs employing this printer when pressing properties button. The complete error message I get is as follows:
    '''DELL PRINTER A940 PROPERTIES'''
    Function address 0x0 caused a protection fault (exception code 0xc0000005). The application property sheet page(s) may not function properly.
    |OK|

    Perform the suggestions mentioned in the following articles:
    * [[Firefox prints incorrectly#w_reset-firefox-printer-setting|Reset Firefox Printer Setting]]
    * http://kb.mozillazine.org/Problems_printing_web_pages
    Check and tell if its working.

  • Building DLLs from VIs with array as output

    Is there any special way to build DLLs from VIs having arrays as outputs. Suppose I have a VI "Random" with input "nrand" and output an array "the_random2". When I build DLL from the VI, I have something like this in my header file
    void __stdcall Random(long nrand, double the_random2[]);
    Now it returns void. So I have to pass the array as pointer and retrieve it. If I use Mathscript to load the DLL and call this function, how do I pass the pointer to the array "the_random2"? Simply speaking, any useful method to build DLLs with array outputs and the right way to call them from Mathscript would be appreciated.
    Regards
    NRK

    Hi,
    Building DLLs in LabVIEW is described in this tutorial.  
    Mathscript can call shared libraries such as DLLs, however make sure
    that they are compliant with the supported data types as stated here in
    this help page.  All supported functions for calling/loading shared libraries is described here. 
    Note that these functions are not supported with the base package.  The
    details of the sytax of each function is described in their specific
    help page.
    Hope this helps!
    Regards,
    Nadim
    Applications Engineering
    National Instruments

Maybe you are looking for

  • Bpelx:exec - how to get Schema document.

    Hi ALL, I am using FileAdpter to read a file. I have few Schemas defined which are not coming through file. I have to initialize schema and I am adding value to their node. Mostly schema elements are boolean so either "true" or "false" comes. Here is

  • Using JAXB 2.0 with JDeveloper 10.1.3

    Hi there, I'm having a wee bit of trouble getting JDeveloper to load my version of the JAXB 2.0 libraries. Everything compiles o.k. However when I run my application (on the embedded OC4J container in Jdeveloper), I get runtime errors that the OC4j c

  • Re-creating User in 10.3.9

    Hello; I've successfully used the method below to re-create a User in a fresh-install of OS X in tiger, but doesn't seem to "want" to work in Panther. one thing that doesn't happen is I'm never asked if I want to use that Old User folder when I creat

  • 6th gen nano - headphone jack won't hold.

    I just got the shiny new 6th gen nano from the 1st gen replacement program. I tried 3 different headphones and the connector won't stay in. It feels like the jack is too big. I was  using these headphones just fine with the 1st gen nano. Is the jack

  • How can I sync lightning with iphone calendar?

    how can I sync lightning with iphone calendar? I saw online that I need to use a google calendar? I added the google calendar as they described but I have no idea where to go from here