Stand-alone MeasurementStutio DLL

is it possible to create a 'stand-alone' dll for a specific device like DIO-96 or other?
stand-alone which i mean that without installing National Instrument Driver Software the one with MAX.

actually i am using a Dll to control the Read/Write functionality of the board, i made that Dll using Measurement Studio for MSVC++ .NET2003.
And sometimes when i access such functionality my Client Application pause for a while (maybe the DLL start DAQ tasks). It may be Ok if im using my board as DAQ for instance.
But unfortunately i use it for Clocking and data_transfer.  A simulated clock in one pin of the device (hehe) about 0.01 ms wide.
but i am thinking now that the problem i had faced was not the Dll not NiDAQDriverSoftware but rather the client application which is built on Visual basic.
because when i did the same chore to c++ and see the results (of the clock) its much accurate than when i use VB.
anyways RLP is not a good idea anyway since there's an available driver already ^^

Similar Messages

  • Stand-Alone Application including ocx, dll and Word template folder

    Hi,
    I try to create an Stand-Alone Application with labview 2011. My problem is how i can include ocx and dll file in my executable to be run by others computers (the other computer don't have the dll and the ocx using in the application). My program use Word template who is in a folder. How i can integrated this Template folder in my executable folder.
    This is the first time I create an executable, so please help me -_-.
    Nki
    Solved!
    Go to Solution.

    Hi nki,
    To include the ocx and dll files you will need to build an executable for your VI and then create an installer for the additional files. I have linked 2 documents that will explain each of these steps. If you have any questions with this let me know.
    http://zone.ni.com/reference/en-XX/help/371361E-01/lvhowto/exe_ex/
    http://digital.ni.com/public.nsf/allkb/E09BA0E2F31D304F86256A640070058E?OpenDocument
    Patrick H | National Instruments | Software Engineer

  • How to include dll into a stand-alone application

    Hi, I wrote a vi to process images from my camera, and I want to build a stand-alone application(exe), so I can share the application with my friends. I just do as wht's in  the Labview help, but when I run the exe file in other PC, it  tells me I haven't nivision.dll etc. My question is how to find out the dll files in my vi and include these files in the stand-alone application?  

    To be honest I am not sure. Its been a while since have used the vision run-time engine. Before I installed it on the target computer. I ddn't include it with my application build.
    Take a look at this http://digital.ni.com/public.nsf/allkb/1A9A18AA574ABEDF86256F780062C240 it might help. Also look at the documentation supplied with the vision deployment license.
    David

  • Dependency list in project shows 2 DLL files. What do I need to do when creating a stand-alone executable file to ensure that it is included?

    When the executable that I created is run on a stand-alone machine, a search is instantly launched to locate the missing *.DLL files along with about 20 other sub vi files from an example vi file that I downloaded last week.  Once the exampe vi was open, I modified the block diagram and the front panel and then I resaved it with a new name. 
    The missing sub-vi files are the same files that I saw listed in the Dependencies list of the project along with the 2 DLL files.  This problem shouldn't be happening because I included the top level vi file that contains the sub-vi files into the source files list under the Start-Up VIs window of the application properties.  What needs to be done to make this stand-alone executabale complete?
    /BCU002
    Hardware Engineer•Design Reliability/Performance and Validation Group•Wavecom, Inc. - Research Triangle Park, N.C.•http://www.wavecom.com

    OK...So it's not a simple as clicking the mountian icon  above and inserting the location of the picture file on my PC huh?  It works on my end just fine, but I understand you all don't see it. 
    I really don't understand why this is such a complicated process in this discussion forum, but your explanation isn't working for me.  SO, I'm going to write what I understand to be the proper procedure and you tell me if it's wrong.
    Attach my image using the Browse button below.  That makes sense.  Done that.
    Edit my post - Edit it?  How is typing this message in the window any different from editing my post???  Are you sugesting that I Edit As HTML(http://forums.ni.com/ni/board/post?board.id=170&message.reply_to_id=244152#) using the shortcut in the lower right hand side of the frame???  I not, please explain a different way.
    I right clicked the adress in the window under the Attachment  heading below the lower left hand side of the frame, copied it and pasted it into the Script Prompt: dialog pop-up that appeared when I clicked on the mountain icon in the tools menu.  By the way,
    Now I see my image in the post just before I sent it.
    Don't you see it now?
    As for the DLL file - the ONLY way I can find the DLL file that I need is to refresh the dependencies list in my project.  As I explained in my previous posts, those two DLL files came with an example vi that i downloaded from the NI website last week and they must have been embedded inside of the example because I didn't create them myself and I've since resaed the original example vi as one that's been renamed by myself.  In doing so, I presume that the DLL file was inherited from the original example vi file to my own vi file.  However, that's clearly not the case because every time I run the executable file that I created with the renamed example vi file in my project, it immediately launches a searchfor the DLL files that it claims are missing!!!  SInce the DLL files are ONLY visible in the dependencies list, I can't transfer them to the Dynamic VI and Support files window in the Application Builder.  SO, I drag them up the Source Files tree in the Application Builder to the top of the tree where the Start-up vi is located and then I can move them to the Dynamic VI and Support Files window.  Those DLL files don't appaer inthe top level of the tree where the Start-up vi appears before I move it to the Start-up vi window of the Application Builder.  I'll try it again.
    /BCU002
    Hardware Engineer•Design Reliability/Performance and Validation Group•Wavecom, Inc. - Research Triangle Park, N.C.•http://www.wavecom.com
    Attachments:
    FTM1-BlkDgrm.jpg ‏780 KB

  • How to use matlab codes in a stand alone application without matlab license?

    Hi,
    I am not an expert in programming and i don't know about C++, i have a program using matlab codes and now i want to transfer it to a computer without matlab license. I've read something about using DLL, but i think i have to know C++ programming  to wrtie "WRAPPER" and add some lines to the program, now transformed in C++.
    I just would llike to know that really isn't any other way to integrate matlab for a stand-alone application? i read somethings in Matlab help about using COM (Common Object Model ) but i am not sure that labview works with it, and also about runtime engine and "mglinstaller.exe".
    my labview version is 8, matlab is 2006, and the real problem is using matlab codes in another computer without matlab license.
    Thanks
    Amir

    Hello Amir,
    There is a MatLab script node in the LabVIEW function palette (see screenshot of the help topic) but as you can see this structure is not in the "Base LabVIEW", you might need to purchase the FDS (Full Developpment System) or the PDS (Professionnal Developpment System) of LabVIEW...
    Do you know which one you have ?
    Hope this helps
    Message Edité par TiTou le 11-24-2006 06:38 PM
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    mlab.png ‏71 KB

  • Ni-daqmx stand-alone matlab

    Dear all,
    I am about to compile my matlab code into a stand-alone program, which works fine. However, as soon as I start the data acquisition the program fails to initialize the DAQ-board.
    I'm using the NI-9201 USB-ADC in combination with the NIDAQmx driver.
    I localized the problem: When trying to initialize the ADC the program fails, since the required dll's are not available. I also localized the dll's and copied them into reach for the stand-alone, but it doesnt work.
    As long as the MATLAB\toolbox\daq\daq\private folder is reachable for the programm/Windows, the software works. However, on the custumers computer I dont want to have MATLAB installed (what sense does it makes to have the option for distributing a stand alone version if the customer has to buy a MATLAB licence?). 
    Can anybody help me solving this problem?  Are there any dll's I may copy into reach of the stand-alone? 
    (Just as information:  The NI - Measurement and Automation was installed on the "customer-computer", In fact it was the exact same computer with the only difference that I renamed the MATLAB folder)
    I'm looking forward to your suggestions!
        Bastian

    The MTALAB toolbox of question is the dataacquisition toolbox, everything else works fine
    The Matlab run-time is not the problem in generell, since everything except of the NIdaqmx-dll's is linked in the program. Here a short description how it works in matlab. 
    - you write code, GUI's etc. and test the program in Matlab
    - then you compile the application into a stand-alone
    - if you hand it to a thrid person that has no Matlab licence, you also distribute the MATLAB-Runtime-Environment (MRE)
    - the person installes this freely-distributable MRE on his computer and then runs the compiled program
    All functions in the program are able to run, except of the NIdaqmx. As soon as I the program tries to communicate to the ADC (i.e. open a channel) the program fails. However, when I provide the dll's mentioned in the exact same directory as they were in Matlab, it works. So I'm not sure what tells the MRE that the dll's are in that folder, since it didn't work, when I just copied the dll's in the run-time directory of the stand alone. 
    Since the program that I would like to distribute is quite complex, re-writing the hole thing in LABView is not an option for me (also, I have no experience with LabView at all, which would require some time to get into it).
    The solution I aim for would be:
    1st (best solution)
    I just do something in the program to have the dll's compiled and linked to in the stand-alone
    2nd
    when installing the program I provide the dll's. (But I dont want to provide them in the folder ..\MATLAB\...\daq\daq\private\...)
     If you dont have the experience with matlab, do you know someone I could ask for this?  Maybe a Matlab forum that addresses NI-ADC questions?
    Thank you for your support!
       Sebastian

  • Using stand alone executables to send data to the parallel port

    I have a executable that uses the parallel port to activate an alarm. The program works well on the base machine which is running windows XP. However when I try to run the stand alone executable on a windows NT machine there is nothing sent to the parallel port. I have updated the Cvirt file on all machines. I don't get any error messages when running the stand alone executable.

    I have the same situation using parallel port to control a hot swap PCI extender card and no error showed.  I can turn on/off and read correct voltages from the card in base machine.  After creating executables, I can turn on/off the card, but got wrong voltages in target machine.
    I've installed AccessHW in both machines and copied AccessHW.dll and cvirte.dll to system32 folder and the folder same with executables.  I also tried installer with port support and serial support checked. 
    Windows XP is in both machines and LV 7 in base machine.  I use "Output Byte to Port.vi" and "Input Byte from Port.vi" in AccessHW lib.
    One thing I observe is initiation.  The card manufacturer provides a program with same functions.  After running their program, the voltage readings from the executables become correct.  The readings remain good after closing their program.  I close the executables and run the executables again and still see good results unless restarting the target machine.
    Any solution for the problem? Thanks in advance!

  • Stand-Alone application with LabView 7.0 getting error can't find DAQmx clear task.vi

    I have attempted to create a stand alone vi with the Build Application or Shared Library(dll) in LabVeiw 7.0
    When I put it on another PC to test it I get the error "can't find DAQmx clear task.vi"
    the other PC has Labview 7.0 and DAQmx 8.1 also.
    I believe my problem is in the source tab where you are supposed to add support and dynamic vi's I have search the forums and Ni's data base and have not found a solution.
    Solved!
    Go to Solution.

    Hi LabTech09,
    When you run the executable on the other computer is when you get this error?  Do you have the exact same versions of LabVIEW and DAQmx on both computers?  Does the dialog allow you to navigate to the DAQmx clear task.vi?  If so, you can find these VIs in C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\DAQmx\configure\task.llb.  Does the executable work on the development machine (the machine it was compiled on)?
    Regards,
    Jim Schwartz

  • Stand-alone application generates error with function 'Ramp Pattern' (bug in application builder?)

    Hello,
    in my program a main.vi links to a sub-VI via 'open VI reference' and 'invoke node'. In this sub-VI the function 'Ramp Pattern' is used. The program itself runs normally, but if I build a stand-alone application using application builder I get an error message 'error 1003 occurred ..'. I believe this error is directly related to the build specifications which are as follows: the main.vi is referenced in a main build specification, the sub-VI in its own specification where the target is a LLB.
    I appended an example-program that exhibits the error (when executing 'Application.exe' and pressing 'calculate ramp'). The error does not occur when disabling the 'ramp pattern' function and rebuilding the application.
    I would rate this to be a bug in the application builder and would appreciate any help on how to solve this problem. However, due to the structure of the whole program the sub-VI has to remain in its own LLB.
    Attachments:
    RampPattern.zip ‏198 KB

    There can be reasons why a VI might appear broken when loaded from an executable. For example, if you have different versions of the same VI or enum that differ in such a way as to break the calling VI, that can cause a broken arrow when loaded from the executable. If you have DLLs being called and the runtime engine can't find the DLL, that can cause a broken arrow that you might not see otherwise. Finally, there is a bug related to a VI appearing broken when its not.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Stand alone labview application (.exe file) does not run properly

    Hi all,
    I am trying to make a stand alone labview application to run on another computer ( I have never done this before).
    I went through the tools->build application prompts and was able to build an exe file.
    the program is supposed to control a power meter and make power measurements then save them to a text file.
    When I run the exe file, on the same computer I compiled the exe file on, the program generates a text file to save data to but it can not communicate with the power meter.
    There are some sub-VIs and a dll file that are used to communicate with the power meter. Could it be that I am not telling labview to correctly
    include these files when I create an executable?
    What are some common problems that occur when generating stand alone applications that could be causing my issues?
    And does anyone know of any good tutorials on generating stand alone applications in labview other than the NI help files?
    Thanks for your help,
    Solved!
    Go to Solution.

    edCubed wrote:
    Hi Bill, thanks for your suggestions.
    I haven't tried to run this app on another computer yet. I'm just trying to run it on the computer it was developed on.
    The computer I developed it on has all the drivers/resources I need to control the power meter.
    Also, I don't know how to include the VISA runtime with my installer. could you explain how this is done?
    This is the first time IV tried to turn any labview programs into stand alone exe files so I don't anything about how to do it other than what I've seen in youtube videos and help files.
    If you know of any good tutorials that will help me figure this out I would appreciate it.
    Thanks,
    My fault - I didn't read that this was the same computer.  I know the very end of Core 3 studies shows how to build an executable and installer, but even that is very general.  I'm not sure if there exists a tutorial on how to do it.
    As for including the runtimes, when you build an installer, you have to include the runtimes that your executable will need.  It's fairly straightforward.
    Since it won't run on the machine that built it, I'll have to think about it a little bit...
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Why will a stand alone executalbe with an installer work on windows 2000 and crashes on windows xp professional?

    When I run the setup.exe file on a Windows 2000 system it installs properly, but the same file run on a XP Professional system I get an error stating Fatal Error: Installation ended prematurely because of an error.
    See here for more information on the specific installer I'm trying to use.
    In fact I get this error for any stand alone executable I try to install on any XP machines. I am using LV 7.1. Is there a way to manually install eve
    rything?
    Thanks

    Sure you can Install a lv application manually. just copy the exe-file,
    support files in a folder. For the runtimeengine just copy the file
    lvrte.dll in the folder of your application or in the windows system folder.
    Hope that helps, Niko
    BB Herman wrote:
    > Why will a stand alone executalbe with an installer work on windows
    > 2000 and crashes on windows xp professional?
    >
    > When I run the setup.exe file on a Windows 2000 system it installs
    > properly, but the same file run on a XP Professional system I get an
    > error stating Fatal Error: Installation ended prematurely because of
    > an error.
    >
    > See
    > HREF="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000...
    for more information on the specific installer I'm trying to
    > use.
    >
    > In fact I get this error for any stand alone executable I try to
    > install on any XP machines. I am using LV 7.1. Is there a way to
    > manually install everything?
    >
    > Thanks

  • Can't install Lightroom 5 on a second computer, I am NOT a creative cloud customer, I am a stand-alone user.  How do I enter my serial number???

    I can't install Lightroom 5 on a second computer, I am NOT a creative cloud customer, I am a stand-alone user.  But when I try to install on my laptop, it always trys to sell me the monthly membership.  How do I enter my serial number in the second copy of lightroom?  It won't ask me for it, and I cannot enter it anywhere in the settings?  I am stuck

    You probably downloaded the Cloud version.  Get the licensed version thru the following linked page...
    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • Migrating stand alone programs to web based application

    Hi,
    I have a small application consisting of .class files. I created these using Swing components and it's based on Client/ server model where it accesses Oracle Database.
    I want to deploy these programs in Java App Server so that it can be accessed thru web browser.
    Please tell me how to do it.
    Thanks in advance.
    Rajeev.
    Message was edited by:
    Rajeev.Asthana

    If this was the thing, Sun, Microsoft and IBM
    wouldn't have even giving a thought of migrating
    legacy application (I'm talking about Mainframes and
    AS/400 here). If this kind of migration is possible,
    can't we migrate a java code from stand-alone
    "version" to web enabled.
    Migration is not really a term to use to for converting a stand alone application to a web application. Unless of course again you are prepared to turn it into an applet.
    The flow and control of a web application are entirely different from a stand alone app. You will not be able to reuse Swing GUI's from a web server. I don't know how to make that any clearer.
    Hopefully you have a good design for your existing application and you can relatively easily reuse your existing business logic components.

  • Need help in creating a web application that runs on a stand alone sys.

    I am planning a small java web application complete with database. I need to know if there are any ways to deploy that application on a stand alone system and that if there is any way to make an executable for that application so that the user need not go through the process of deploying the app and starting the server whenever he restarts the system. Can anyone help me in this regard? Thanks in advance.

    Hi Alex,
    Since I had a Gmail test servlet kicking around, I ran it on the latest V3 nightly build.
    On the first run, I encountered the following nested exceptions:
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465
    --> java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
        --> java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
            --> java.security.UnrecoverableKeyException: Password must not be nullThe UnrecoverableKeyException is a manifestation of [https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938|https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938]
    I worked around this by adding the following JVM config options to domain.xml
    <jvm-options>-Djavax.net.ssl.keyStorePassword=changeit</jvm-options>
    <jvm-options>-Djavax.net.ssl.trustStorePassword=changeit</jvm-options> (Note: the default master password is "changeit")
    These lines are placed in /domain/configs/config/java-config of domain.xml for the particular server config you're using. There's only one server config in the default domain.xml shipped with V3. Then restart the server.
    I retested the code on both port 465 and 587, with and without the above config changes. Without the change, they both fail the same way, and with the change, they both work. Let me know if this helps.
    -Peter

  • SAP PI Installation on Stand alone machine

    Hi,
    Thanks to one and all for having such a nice forum as it has answer to all the questions which I have posted.
    I have been given a very interesting work for anlying if SAP PI could be installed on a standalone machine without having any SAP box. My requirement is to install SAP PI tool for non SAP integration.
    I will distribute my question in 2 parts
    1. Can I install SAP PI in a stand alone desktop?
    2. Is is important to have a SAP R/3 system to install SAP PI tool?
    Please do share your thoughts and if possible please share the document which could be used as proof.
    Thanks in advance.
    Gautam

    1. Can I install SAP PI in a stand alone desktop?
    Yes.
    2. Is is important to have a SAP R/3 system to install SAP PI tool?
    No.
    If you are trying to install 7.1 then have a look at the video blog (easily available on SDN) for the same....will help you.
    Regards,
    Abhishek.

Maybe you are looking for

  • Windows SDK for Facial Expression Detection!

    Hi, I am new to Windows SDK, and working on a project that requires to detect facial expressions (mainly sad, happy). I found about Windows SDK, but not sure whether this will suits to my requirements. Can I use it for Facial Expression Detection? Th

  • Workflow Procudures

    Good day everybody I am new to workflow and I got one urgent requirement in HR workflow, This is a customized HR requirement for company employees leave form. I started developing form in dialog program, this is ok, and my questions are 1. How I can

  • Siteminder authentication on j2ee Dialog Instances only but not on C.I

    I am doing an Siteminder external authentication implementation on SAP Enterprise Portal 6.40 SP16.I have a configuration that want somehow to validate. The issue is that the J2EE Dialog Instances should be protected by SM Agent (they are the load-ba

  • Macbook pro late 2009 turns on twice and black screen with no booting

    my macbook pro late 2009  (10.6.7) when i press the power button it turns on, then it turns off by itself and then on again and gets a black screen and nothing more no booting sound and i just hear the fans or the Hard Drive going... i really need he

  • Why can't I print some emails in Apple Mail?

    Why can't I print some emails in Apple Mail?