Downloading DLL to RT target

I am very new (as in a few days!) to working with a LabVIEW realtime system.  Apologies if the answer to my question seems obvious :-)
I have a project and have added to the target a VI which uses the Call Library Function Node. 
This node accesses a DLL (which will read an ini file and then access another DLL).
I added the DLLs to the project, but I do not see that they are downloaded with the VI.
How do I download these DLLs?  I am not discussing final deployment now, but during development.
How do I download the ini file?
How do I determine where to put these files?  One DLL must be found by the Call Library function node.  The INI file in the same directory as that DLL, and the third DLL can be anywhere but its path must be put into the ini file.
Thank you.
Batya
Solved!
Go to Solution.

Thank you, I'll try that, when I can figure out what you mean
OK, I'm exaggerating; I have a basic idea what you mean and just have to figure out what it means in practice.
BTW, I only have an eval version of the application builder (I have the full development system, not professional.  Hey, they just upgraded me from basic!). 
  Is that going to be a problem when my eval runs out? 
Now, how do I make sure that the dll will be in the right directory for the VI to find it when I run it in development?
(For anyone else out there, I'd love to know how do do this via MAX -- I looked in MAX but it seems to let you add/remove software packages and not your own files.)
Thank you very much.
Batya

Similar Messages

  • Link to download and choose save target as...

    How do i creat a link where when the user click on it, it
    will download the file and give the option to choose save target
    as..

    Thanks Walt.
    so for your pc to open a dialog box asking you if you want to
    save that file as a target ... when you click in a link that file
    should be diferent then standards pdf, gif, jpg, etc...????
    But in some pages for example the video is playing and bellow
    there is one link saying click here to download and choose save
    target as...
    that is what i want to do and still didnt understand. I know
    if the user has a realplayer for example, the realplayer can give
    already the option to do it. but those that dont have a
    realplayer...
    is it making any sense...
    Sorry if a bit silly, but i am new in Dreamweaver.
    Thanks anyway.

  • How to link a wrapper DLL to the target DLL

    I appreciate your help!
    Question:
    In my project, I need to deal with a hybrid programming of C++ and Labview. The C++ part has been encoded into a DLL, which aims to do a complex mathematics. The main function in the DLL has the following form:
                              float RateEqCalculate(class CLaserPulse *Pulse, class CMaterial *Material, class CThresh *ThreshPara, class CRateResults &r);
    The four arguments are all of the class type. The first three arguments are used to input parameters to the function and the last one is used to record the process of computation. For example: class CLaserPulse is composed by several numerics and two functions as the following form:
    class CLaserPulse
    public:
     float fDuration;  
     float fWave;  
     float fNA;   
     float fRefrIndex;                                     // Refractive Index
     float fAbsCoeff;                                     // Absorption coefficient [1/m]
     CLaserPulse();
     virtual ~CLaserPulse();
     virtual double Shape(double dTime);       // gives Temporal Shape
     float SpotDiameter();                            // Calculate Spotdiameter
    As in labview "class" cannot be accepted as an argument of the "Library Function Node" directly, a wrapper DLL is required to translate the "class" to the type labview can understand. The following link is a good illustration of this process. http://labviewwiki.org/DLL/shared_library Given the argument class CLaserPulse has been converted into the wrapper DLL by the method from the link, how can I later link this wrapper DLL to the target DLL. My understanding is like this:
                                                                                                 Target DLL
                                                                                    float RateEqCalculate(
      class CLaserPulse  ->   wrapper DLL       .........linking.........        class CLaserPulse,
      class CMaterial      ->   wrapper DLL       .........linking.........        class CMaterial,
      class CThresh        ->   wrapper DLL       .........linking.........        class CThresh ,
      class CRateResults  ->   wrapper DLL     .........linking.........        class CRateResults );
    Am I right? Four wrapper DLL to four class type arguments?
    Many thanks!!!

    Hello Rolf and Christian: 
    Thank you for your suggestions! I'm now working on it. I appreciate your continuous help!! 
    I'll briefly summarize my question here:
    In the original DLL, which is compiled by VC++ 6.0 and named RateEquation.dll, three class types (CLaserPulse, CMaterial& CThresh) are inclueded to do parameter exchanges; one class type is designed to save the calculation results(CRateResults);one main function to do the calculation and save the results as following form:  
     float RateEqCalculate(class CLaserPulse*, class CMaterial*, class CThresh*, class CRateResults &r); 
    My question now is the initialization of the struct type and the communication between this type with labview. 
    I'll take class CMaterial as an example to show how I made it into wrapper DLL.Original class CMaterial is defined as following:
    class CMaterial
    public:
     float AbsorberGap;
     float BandGap;
     float CollTime;
     float ElDensity; float RefractiveIndex; 
     float AbsorptionCoeff;  
     float MoleculeMass;  
     float Density;  
     float HeatCapacity;  
     float HeatConductivity;  float TAmbient;  
     CMaterial();
     virtual ~CMaterial();
      In a wrapper dll it's like this: 
    WrapperDll.h
     extern "C" { /*using a C compiler*/            //Using a C compiler to write the wrapper DLL
    #endif 
    struct RATEEQUATION_API CMaterial{                  
      //Electronical properties
      float AbsorberGap;
      float BandGap;
      float CollTime;
      float ElDensity;
      //Optical properties
      float RefractiveIndex;
      float AbsorptionCoeff;
      //Other properties
      float MoleculeMass;
      float Density;
      float HeatCapacity;
      float HeatConductivity;
      float TAmbient;
      typedef struct CMaterial CMaterial;                                             /* make the class opaque to the wrapper*/
     RATEEQUATION_API CMaterial* creat_CMaterial(void);           
    RATEEQUATION_API void destroy_CMaterial(CMaterial* LV_ref);
    #ifdef __cplusplus
    #endif  
    WrapperDll.cpp
    RATEEQUATION_API CMaterial* creat_CMaterial(void)
           return new CMaterial();                              
    RATEEQUATION_API void destroy_CMaterial(CMaterial* LV_ref)
           delete LV_ref;
     In function creat_CMaterial(), one can see the constructor of class CMaterial is called. As struct type CMaterial has the same memory layout as class type CMaterial, so it’s safe and possible to return a class CMaterial* to struct CMaterial* and it’s initialized by the default values in the class constructor. Now I’m confused by how one communicates between labview and struct CMaterial. For example, if I would like to change the parameter _CMaterial-> BandGap=6.5eV to 8eV. How to make it? My feeling is I need a cluster type from Labview as an input in the function creat_CMaterial:
                              CMaterial* creat_CMaterial(cluster_LV*)
    Many thanks!
    Message Edited by Kuo on 09-15-2009 09:56 AM
    Message Edited by Kuo on 09-15-2009 09:59 AM

  • [SIT 5.0] Problem with running Simulink model dll on RT target

    Hello!
    This a continuation of my problem described here: http://forums.ni.com/ni/board/message?board.id=170&thread.id=431616
    At the moment I am using following versions of software:
    LabVIEW 8.6.1
    LabVIEW Real-Time 8.6.1
    NI-RIO 3.1.0
    Simulation Interface Toolkit 5.0.0
    Microsoft Visual C++ 6.0
    MATLAB 7.4.0 (R2007a)
    NI cRIO-9014
    I have done everything mentioned in http://digital.natinst.com/public.nsf/$CXIV/ATTACH-AEEE-7JSQXS/$FILE/readme_sit_vxworks.txt
    After that I was able to build nidll and nidll_vxworks using Matlab. Then I have configured SIT Connection manager, mapped controls and indicators, selected model dll etc. But when I have tried to deploy it on RT target I got following error message:
    Initializing...
    Calculating dependencies...
    Checking items for conflicts. This operation could take a while...
    Preparing items for download. This operation could take a while...
    Deploying NI_SIT_Replay.lvlib
    Deploying NI_SIT_driversupportVIs.lvlib
    Deploying NI_SIT_ClientConnMngr.lvlib
    Deploying NI_FileType.lvlib
    Deploying NI_SIT_Data Log.lvlib
    Deploying XDNodeRunTimeDep.lvlib
    Deploying NI_SIT_util.lvlib
    Deploying NI_SIT_SITServer.lvlib
    Deploying project01_Driver.lvproj
    Deploying NI-cRIO9014-00E9D6B1(successfully deployed target settings)
    Deploying MD5Checksum pad.vi(8,86 K)
    Deploying NI_SIT_Replay.lvlib:Read Select Data Packet FIFO.vi(24,89 K)
    Deploying NI_SIT_driversupportVIs.lvlibIT Driver FP Strings.vi(2,39 K)
    Deploying NI_SIT_Data Log.lvlib:Allocate Data Log State Machine Buffers.vi(10,17 K)
    Deploying compatWriteText.vi(9,04 K)
    Deploying NI_SIT_Replay.lvlib:Wait for Ack.vi(5,29 K)
    Deploying NI_SIT_SITServer.lvlibITs Read Data Buffer.vi(20,24 K)
    Deploying NI_SIT_ClientConnMngr.lvlib:Find Channel.vi(8,23 K)
    Deploying NI_SIT_Data Log.lvlib:Get Current Configuration from Queue.vi(9,46 K)
    Deploying NI_SIT_Data Log.lvlibend New Group Probe List.vi(5,82 K)
    Deploying NI_SIT_Replay.lvlib:Write to Active FIFO.vi(8,71 K)
    Deploying NI_SIT_Replay.lvlib:Create Configuration FIFO.vi(6,29 K)
    Deploying NI_SIT_driversupportVIs.lvlib:sit Microsecond Timer.vi(9,62 K)
    Deploying NI_SIT_Data Log.lvlib:Get All Configurations from Queue.vi(9,30 K)
    Deploying NI_SIT_Data Log.lvlibwitch Active Configuration.vi(9,77 K)
    Deploying NI_SIT_Data Log.lvlib:Update Current Configuration Log Filename.vi(8,85 K)
    Deploying NI_SIT_SITServer.lvlibITs Send Packet.vi(26,80 K)
    Deploying Invalid Config Data Reference.vi(2,86 K)
    Deploying NI_SIT_driversupportVIs.lvlibIT Set Project Directory Path.vi(16,94 K)
    Deploying NI_SIT_Replay.lvlib:Update TCL Position FIFO.vi(16,39 K)
    Deploying XDNodeRunTimeDep.lvlib:loadlvalarms.vi(32,39 K)
    Deploying NI_SIT_driversupportVIs.lvlibIT Task Loop.vi
    Failed to download NI_SIT_driversupportVIs.lvlibIT Task Loop.vi
    LabVIEW:  Failed to load shared library SITs.*:TaskTakeOneStep:C on RT target device.
    Deployment completed with errors
    I was hoping that upgrading my software will fix all problems. But sadly, it didn't. Any idea? Many thanks for help!

    Hello,
    I also had quite a lot of problems using Labview 8.6.1, RT and SIT 5.0.1. I upgraded a software using Labview 7.1 and SIT 2.0.3 beeing used for 5 years now and it was real pain.
    I not using the SIT as you are (just load the model from a DLL, use a timeloop to step the model and finally close the model) but it seems that SIT 5.0.1 has a bug (confirmed recently by NI tech support) concerning inputs and outputs if you are using an array.
    It seems that if you use an array for the input during the transcoding of the simulink model to the DLL an index is not well taken into account resulting in a model not beeing able to read its intputs. In my case whatever the inputs data could be the outputs were always 0.
    The model has been changed to use only scalar data and everything works fine, ... well using the developpement software :
    I cannot generate an RT target executable as during the deployment it fails all the time.
    I saw once a message concerning SIT VIs deployment errors and it happened shortly after i upgraded my target : SIT 2.0.3 was still installed after SIT 5.0.
    I spent a few years without updating Labview and i am amazed at how many problems occurs with all versions above 8.0.
    Good luck,

  • Jinitiator - Can i usee it to download dll in my client

    Can i use jinitiator to download my dll from App server to client .
    we use it to download webutil dlls and register them . I wan to do it for my dll.
    Thanks

    This is a Forms issue which is best handled in the Forms forum:
    Start/Stop AS Instance & AS Control
    Anyhow, please read the WebUtil documentation and you'll see how to use WebUtil to automatically download and register ddl's.
    Regards,
    Martin

  • Download option preferred on target request.

    Hi,
    My dashboard page contains summaries. I do not want Download option for the summaries. But when user clicks a cell, on the navigated detailed request I want the Download option (along with the default Return option).
    When I tick the Download option using Page Options >> Edit Dashboard >> Properties >> Report Links for the concerned summary request, then the Download option is available for both the Summary as well as the Detailed Request (which is a Navigation Target request). When I untick the Download option, then it's not available for the Summary as well as the Detailed request.
    Can I turn the Download option off for the calling request and turn it on for the target request?
    Please let me know. And if yes, how?
    Thanks and regards,
    Manoj.

    i never faced this issue with presentation variables but i am on 10.1.3.4. I dont know if it is a known bug with oracle but just wanted to check if any of you guys raised a Service Request with Oracle??
    I had problems if i have special characters lile *, - in the dashboard prompts but definitely not with Presentation variables. I would suggest to search in metalink to find some inputs
    Thanks
    Prash

  • Failed to download dll files...

    Hi,
    Server O/S windows 2003
    Client windows 7 32bit
    OAS 10.1.2
    Java Plug-in 1.6.0_31
    Using JRE version 1.6.0_31-b05 Java HotSpot(TM) Client VM
    Browser Microsoft IE 9
    ==================
    Problem : can not download the jacob.dll, JNIsharedstubs.dll and D2Kwut60.dll
    I'm able to download and save the file on client direclty by putting the download in browser, but through application, it gives and error
    ERROR>WUC-19 [URLDownload.pullFile()] Unable to write to local file C:\PROGRA~1\Java\jre6\bin\JNIsharedstubs.dll. Failed to download URL http://150.149.148.2:7779/forms/webutil/JNIsharedstubs.dll
    ERROR>WUC-19 [URLDownload.pullFile()] Unable to write to local file C:\PROGRA~1\Java\jre6\bin\d2kwut60.dll. Failed to download URL http://150.149.148.2:7779/forms/webutil/d2kwut60.dll
    [* I tried downloading the jacob.dll using the download link directly putting it in browser, and it does find it and downloaded, I copied it manually to jre/bin folder so it does not show it failed to download]
    So how can they be downloaded automatically on all client? Any clue please what I should look for?
    Best Regards,

    Well, first is that IE9 is not supported to be using with Forms 10.1.2.x. Second, if you want to use Win7 as the client, you must be using 10.1.2.3 plus the Forms Bundle Patch (ID 9593176). Part of the problem is that Win7 will not allow permission to the JRE to download and store the files to the JRE\bin directory which it does by default. To overcome this, the Forms product developers added a new feature to the Bundle Patch and newer versions which allows you to configure an alternative download location. For example, into the user home directory. Details can be found in the following MyOracleSupport document:
    +How To Change The Default Download Directory For Forms WebUtil Client Files     [Document 783937.1]+

  • H264 download .dll file on my computer?

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/1030183 /questions/1030183]''
    Hello guys
    I have this problem with the H264.
    My add-on window in the Mozilla Firefox always shows the H264 plugin will be installed shortly message. When i try to update it then two files get downloaded. One is gmp-**.dll and another is a .info file. I don't know what to do with them.
    Thanks

    Are you sure .mov files worked on the iPhone without a third part player? I'm just not sure...
    Try these instructions from Apple:
    Convert a video to work with iPhone:  Select the video in your iTunes library and choose Advanced > “Create iPod or iPhone Version.” Then add the converted video to iPhone.

  • Installed vi dll on a target PC doesn't return results

    I have developed a VI that reads data from a NI-9215A, filters it, FFTs it, and picks out a single peak.  The vi returns two doubles, for frequency and amplitude.  Using Application Builder I created a DLL that I call from the C++ application.  All of this works fine on the Labview development PC.  Next, I need to install the DLL on a different PC where my Visual Studio development environment exists.  So I created an installer to install the DLL on a different PC that doesn't have Labview installed.  In the installer I included the LabView Runtime Environment and the DAQmx driver. 
    On the target PC, my C++ app seems to access the DLL (pauses the expected length of time to get data back), but then invalid data is always returned -- "0" for the frequency and "-1.$" for the amplitude.  I can remove the DLL and the application throws an exception because it can't find the DLL, so I know it is accessing the DLL.  I just can't get it to return correct data.
    I have copied the following files from my DLL installation folder on my Labview PC to the executable folder for my C++ application on my Visual Studio PC:
    DllFileName.aleases
    DllFileName.dll
    DllFileName.h
    DllFileName.ini
    DllFileName.lib
    data\lvanlys.dll
    Any idea what I might be missing or why I can't get it to return valid data?  I do have a valid signal going into the 9215A.

    Hi SilverTop,
    How do you have the NI-9215 connected to the second computer?  Are you using a cDAQ chassis or USB?  If you are using USB, you will also need to include the NI-VISA driver in your installer.   
    --Starla T. 

  • Very hard to implement a long process dll or applicatio​n in TestStand such as firmware download task.

    Hi All
    In my daily projects there are many firmware download tasks on mass production for kinds of products sucha s phone, mp3, game box and so on. The common download is performed via USB or serial port.
    Firmware download is often a long process what will take up to hundreds of seconds. The download application or dll is often provided by customer or the chipset supplier, I have ever call a download dll in TestStand, the only way is to run the dll in another threading and at the UI threading I monitor the dll's log file for status, it looks a very stupid way to do, things oftn lose control.
    This time I have to automatically download firmwares to a mp3(Sigmatel chipset), Sigmatel provided an application for parallel downloading what is very unstable, the application often hangs or crash, I tried to update the application source code but Sigmatel says they will not support if I change something.
    If someone use the application, he needs to press the START button, if fail, press the STOP firstly, if crash..... everything lose control. In my opinion, even if I change the application to a dll, there are still long processes, I must let TestStand wait there for the log file information? I do not think that is a good idea.
    My thought is this is a usual task in manufacturing, could someone please advice me how do you handle this kind of testing in your test station? How to run a long process task in TestStand and communicatio with it and keep everything in control.
    Thanks.
    帖子被paulbin在04-06-2008 07:49 PM时编辑过了
    *The best Chinese farmer*

    Hi,
    I have used a VC++ dll
    Here are some snipptes
    void CProcessLoaderApp:ostMessageToProcess(LPPROCESS_INFORMATION lpProcessInformation,UINT Msg, WPARAM wParam, LPARAM lParam)
     FINDWINDOWHANDLESTRUCT fwhs;
     fwhs.ProcessInfo = lpProcessInformation;
     fwhs.hWndFound  = NULL;
    EnumWindows ( EnumWindowCallBack, (LPARAM)&fwhs ) ;
     PostMessage ( fwhs.hWndFound, Msg, wParam, lParam );
    BOOL CALLBACK CProcessLoaderApp::EnumWindowRcs5SystemTestCallBac​k(HWND hwnd, LPARAM lParam)
     FINDWINDOWHANDLESTRUCT * pfwhs = (FINDWINDOWHANDLESTRUCT * )lParam;
     DWORD ProcessId;
     CString Title;
     GetWindowThreadProcessId ( hwnd, &ProcessId );
     // note: In order to make sure we have the MainFrame, verify that the title
     // has Zero-Length. Under Windows 98, sometimes the Client Window ( which doesn't
     // have a title ) is enumerated before the MainFrame
     CWnd::FromHandle( hwnd )->GetWindowText(Title);
     if ( ProcessId  == pfwhs->ProcessInfo->dwProcessId && Title.Compare("MyApplicationName_ReplaceThatStuff"​) == 0)
      pfwhs->hWndFound = hwnd;
      return false;
     else
      // Keep enumerating
      return true;
     MainStuff:
    SetCursorPos(10,23);
     m_App.PostMessageToProcess(&g_pi,WM_LBUTTONDOWN,0​x01,0x000A0017);
      WaitForSingleObject(Event,200);
     m_App.PostMessageToProcess(&g_pi,WM_LBUTTONUP,0x0​0,0x000A0017);
      WaitForSingleObject(Event,200);
    Greetings
    juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • What is the proper method to access exported functions in a DLL compiled for a CE (Arm) target?

    I have been trying without success to access functions in a DLL that is targetted for Windows CE.  My Labview application target is an Arm-based TouchPanel device.
    Solved!
    Go to Solution.

    Well, you can't load an ARM DLL into a VI that is loaded on Windows. The ARM DLL has a different object format, that the Windows loader doesn't know and even if it did, the Intel CPU can't interpret the ARM opcodes in that DLL.
    In order to be able to load and debug your application on your host system, you need to create a so called stub library. This is a DLL, compiled for the host system, that provides one equally named function for every function in the target DLL, that you want to call. You create such a DLL in Visual Studio, by taking the header file and adding an (empty) function body to each function you want to call, and then compiling this into a DLL.
    Of course you won't be able to debug the DLL call itself on the host system, unless you fill in some sensible functionality into the stub function yourself, but you can load the VI hierarchy and debug other aspects of your application.
    I haven't played with this specific part of mobile development yet but I believe that you can debug the VI in question from your host system when you start it under the mobile target. But you still need to provide the stub DLL, so that LabVIEW can load the VI into memory. The actual execution happens on the target and the data is transfered back to the host  system through a debug channel to be displayed in that VI, but the stub DLL is required so LabVIEW can load the entire VI hierarchy to allow debugging the VI.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Creating a CompactRIO compatible dll using Borland

    Hello
    I am trying to get a dll running on a CompactRIO 9004 using Labview8.5 developer's suite. The dll works fine when I run the VI on Windows, but when I copy the vi (called host.vi) to the CRIO target and try to run it I get the following message in the deployment status box:
    Deploying host.lvproj 
    Deploying Jag1
    LabVIEW:  Failed to load shared library c:\ni-rt\startup\data\extractor.dll on RT target device.
     (successfully deployed target settings)
    Deploying dllclone.vi  (3.20 K)
    Deploying RT board LEDs.vi  (11.66 K)
    Deploying RT LEDs.vi  (7.05 K)
    Deploying host.vi
    Failed to download host.vi
    LabVIEW:  Failed to load shared library e.dll:getaddress:C on RT target device.
    Having read some other posts on the forum, I am working from a folder called ni-rt\startup to mimic the CRIO's directory structure when configuring the call library function node and the dll is called e.dll to be certain of being filename compatible and the function being called is 'getaddress'. The dllclone.vi is a vi that performs exactly the same operation as the dll, to get an idea of speed difference. Jag1 is the name of the CRIO.
    I have run 'DLL Checker 8.2.exe' and it gives two bad imports: one in kernel32.dll (GlobalMemoryStatus) and one in user32.dll (EnumThreadWindows). I am using Borland Builder 5 as the compiler and even running this from the command line pointing explicitly at the lib files in 'cintools' and making the dll 386 compatible gives this result. Would changing to MSVC++ make a difference?
    I have been running the CompactRIO successfully up till now. Can anyone help with this?
    Thanks,
    Nathan

    Hello Tom, thanks for the reply.
    I haven't tried re-installing - my other apps still work on it, so I don't think it's broken. We only have the one CRIO at the minute - I need to get this problem fixed before we go buying any  more! I haven't tried any other dlls yet. As you will see, the one I am using is almost as simple as a dll can get and the application I am running is to test the loading/calling time of the dll and to experiment with passing structures. I've attached the full directory of the project but there are not many files. The dll was originally called extractor, but after building this I've tried renaming it as e.dll as I saw the message in another post about long filenames, though I understand this is an old problem and not an issue any more.
    I hope this all makes sense,
    Nathan

  • Failed to load shared library on RT target device.

    I am using 7030 RT target. When I use Call Library Function Node with specified DLL library the application is working properly on Windows target. When I try to download the application on RT target PCI 7030 I get the following error messages: Failed to download useDLL.vi. Failed to load shared library EasyDLL.dll on RT target device. Because the application (attached to the question) is distributed with NI product I would suppose it is written OK. I would like to know what restrictions are imposed on DLL libraries which should be targeted on PCI 7030 RT target. Why the application useDLL.vi with EasyDLL.dll can't be loaded on PCI 7030? Does it mean that Call Library Function Nodes are not compatibel with PCI
    7030 target?! Thank you for any explanation.
    Attachments:
    useDLL.vi ‏15 KB
    EasyDLL.dll ‏80 KB

    OK I downloaded your files and tried them with a PXI real time controller and the error you mentioned happened for me as well. After digging for awhile, here's the best explanation I could find:
    1 - useDLL is calling other DLLs that are failing to download
    2 - useDLL is accessing some of the Win API that is not supported by the RT OS.
    Read more about this at:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000...
    ~cheers,
    Darin G

  • Step to rename a DLL library

    I am trying to use on LabVIEW-RT some examples which are calling a DLL library. But the library has a file name greater than 8 characters and for this reason I can't download it on the target system which supports only 8.3 filename.
    First, I have renamed the DLL to use a 8.3 filename.
    Second, I have open all the vi and sub-vi to define the new DLL path. But when I try to download the vi to the target, I still have a "load failed" error with the original name of the DLL.
    What is missing ?

    In fact, it is examples to use a third-party controller. This controller has a VISA driver, a DLL to interface the VISA driver and some LabVIEW examples to use it on LabVIEW.
    I have solved the name problem, but I have still the load error (now with the good DLL name) :
    "Failed to load shared library pipx40.dll: pipx40_error_message on RT target device"
    where pipx40.dll is the name of the library and pipx40_error_message is the function called by the VI that I am trying to download.
    I don't know why this load fails :
    - Does LabVIEW not find the library on my host system ?
    - Should the library be already on the target system, and in this case where ?
    - Other reasons ?
    I have tried to use 2 LabVIEW examples using DLL : hostnames.vi and Pl
    ay Sound.vi .
    When I try to download these 2 examples on my target system, I have the same type of error, but with hostnames.vi, the letter after the function name is "C" instead of "D".
    What does this letter mean ?
    Regards
    Hubert Robitaille

  • Creating dll in Labview

    Hello All,
    How do i create a dll in labview? I want to use it as a plug in into an application.
    Demmy

    Hi Demmy
    What LabVIEW version are you using? If you are using version 8 and higher then you have to have your VIs loaded into a LabVIEW project and you use the project build specification. You can access the LabVIEW 2009 help on how to build a dll here.
    Here is a quick summary:
    In the project window right click build specifications and choose New -> Shared Library (DLL). This will open the window to create the dll.
    Go to the Source Files category and use the arrow to take the VIs that you want into exported VIs, a dialog will then come up to define the function prototype for that vi. Do this for each vi you want to access in your dll.
    You will need LabVIEW professional version to create dlls and the target computer where you are using the dll must have the LabVIEW run time engine installed.
    Message Edited by Karissa on 03-03-2010 09:05 PM
    Systems Test Engineer
    Certified LabVIEW Architect (CLA)

Maybe you are looking for

  • BT Vision Box unable to show Freeview HD channels ...

    I have been sent a BT vision box due to the fact my Youview Box is unable to have the skysports channels I was told this was a newer box I was told on the phone and my youview box was outdated when I suscribed to the Skyports channels just last week.

  • How to add a row-selector to an existing SQL Query (updatable report)

    Hi, I screwed up an extensive updatable report in Apex 4.2 region by one time indicating the page may be parsed at run time. After setting this back (to validate query) a lot of the columns setting were gone, and also the row-selector I actually don'

  • DISM Windows 8.1 Font to an Offline WIM file?

    Hi Guys Really hoping for some advice. I have an Offline image of Windows 8.1 x64 (.wim) file which I built, really dont want to have to rebuild it. Anyway can I DISM (or similar) a Font to the right location. The font is Gill Sans. I needed to set t

  • Development/configuration to get some Pricing data from interface

    Hello, Although I have been  7 years in SAP but have not worked much on pricing interfaces. Wanted to know what determines that a value for a particular conditon type within the pricing procedure is determined from an interface not the R/3 system you

  • Aperture 2.1.4 thumbnails problem

    aperture 2.1.4 does not halt thumbnails--cannot export nor see images on 970! How to stop? as I maylose 100's of hours...