Dll Shared lib functions not recognised?

Hi
I would like to wrap all functions of one Dll file. I am using import shared library. I have selected the dll library and the header file. After I set the following preprocessor definitions: _MSC_VER;__cplusplus; 7 of the functions are recognised. I wrote the warning messages. I added the mentioned preprocessor definitions but nothing have changed. Could you please help to resolve the problem?
Attachments:
Dll_Headers.zip ‏2433 KB

LabVIEWs call Library Node does not use header files nor library files but only shared library files. As such it simply will attempt to load the shared library you specify in the Library Path and that will fail if the DLL depends on other DLLs (which the OpenCV DLLs do heavily) that might be not in the Windows shared library search path.
Now your comments let me believe that you happen to use the Import Shared Library Wizard instead. This Wizard is likely overwhelmed by several issues in the header files, so it is likely not a good idea to even attempt to use it.
By the way IMAQ_Image may be a NI-Vision datatype, it for sure is not something you can directly interface to any LabVIEW datatype. Here is already one of the challenges of interfacing image libraries to LabVIEW.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • 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.

  • Extractvalue function not recognised

    Hello,
    I'm trying to compile a pro*c program against a 10.2.0.3.0 Oracle DB.
    The precompiler does not seem to recognise the EXCTRACTVALUE function since I'm getting the following error:
    Error at line 283, column 7 in file MainCheckNat.pc
    EXEC SQL
    ......1
    PLS-S-00201, identifier 'EXTRACTVALUE' must be declared
    The query looks like:
    EXEC SQL
    SELECT COUNT(DISTINCT EXTRACTVALUE(segnalazione, '/TransactionError/TransactionReferenceNumber'))
    INTO :hostvar1
    FROM table
    WHERE id_file = :hostvar2
    I have searched the pro*c programming manual for some hints but I could not find any.
    Has anybody ever met with this problem before?
    Or is there anything I am doing the wrong way?
    Thanks,
    Massimo

    You are right on ExtractValue. I was thinking the wrong situation. In PL/SQL you can do xmltype.extract(), but you cannot do xmltype.extractValue().
    I wasn't paying close enough attention to your SQL statement but ExtractValue can return only 1 value. If it returns more, it throws and ORA-19025 error. Since you are trying to COUNT the values, you need to use Extract.
    For me, the following statements run cleanly on 10.2.0.4
    WITH base AS
    (SELECT XMLTYPE('<TransactionError><TransactionReferenceNumber>1</TransactionReferenceNumber></TransactionError>') segnalazione FROM dual)
    SELECT EXTRACTVALUE(segnalazione, '/TransactionError/TransactionReferenceNumber') try1,
           EXTRACT(segnalazione, '/TransactionError/TransactionReferenceNumber/text()').getstringval() try2,
           COUNT(DISTINCT EXTRACT(segnalazione, '/TransactionError/TransactionReferenceNumber/text()').getstringval()) try3
      FROM base;
    TRY1     TRY2     TRY3
    1     1     1When you have multiple Ref Numbers, you get this instead of what you were expecting
    WITH base AS
    (SELECT XMLTYPE('<TransactionError><TransactionReferenceNumber>1</TransactionReferenceNumber><TransactionReferenceNumber>2</TransactionReferenceNumber></TransactionError>') segnalazione FROM dual)
    SELECT EXTRACT(segnalazione, '/TransactionError/TransactionReferenceNumber/text()').getstringval() try2,
           COUNT(DISTINCT EXTRACT(segnalazione, '/TransactionError/TransactionReferenceNumber/text()').getstringval()) try3
      FROM base;
    TRY2     TRY3
    12     1This returns a count of the number of TransactionReferenceNumber in the XML
    WITH base AS
    (SELECT XMLTYPE('<TransactionError><TransactionReferenceNumber>1</TransactionReferenceNumber><TransactionReferenceNumber>2</TransactionReferenceNumber></TransactionError>') segnalazione FROM dual)
    SELECT COUNT(DISTINCT t.refNumber) try3
      FROM base,
           XMLTABLE('/TransactionError/TransactionReferenceNumber'
                    PASSING base.segnalazione
                    COLUMNS
                    refNumber   VARCHAR2(10)  PATH '.') t;
    TRY3
    2There is also an XQuery way to do the count but that is an area I'm still working on myself. As I said, all these run cleanly on the DB itself. If they don't work when called from your pro*C code, then I can't be of much more help as I don't know pro*C.

  • Which Shared Libs are required to run ADF

    When we setup a new stand alone server, the shared libs are not targeted to that server.
    What Shared libs need to be targeted to a managed server for ADF applicaitons?
    Running WebLogic 10.3.1
    JDeveloper 11.1.1.1.0
    thanks,
    Rodger...

    You should be more specific with your environment.
    My understanding of a standalone WLS is this: a WLS installed with the plain WLS installer, no JDeveloper involved.
    If you installed JDeveloper which includes WLS and want to run a new WLS domain from this installation then you only need to run the Configuration Wizard to create a new domain. During this run you should include (set the check box) the Oracle JRF (something like Java Runtime Framework) option. Then your new domain is able to run the ADF application. You should be aware that you need to package it as an EAR file otherwise the shared libraries are not called. (Hint: See http://blogs.oracle.com/olaf/2008/10/nice_jdev_11g_feature_ear_pack.html)
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Timed Loop in Shared Lib caused LabWindow program to NOT exit

    I have a shared Lib created in LabView that I call from LabWindows.  If I create a VI with nothing but a Timed Loop and no other code, my Labwindows program will not terminate.  (Even if I don't call the library function (VI) containing the Timed Loop). 

    I have a conditional that after 3 iterations, the loop is terminated.  (tied to stop) 
    The timed loop is empty. 
    The timed loop is definitely the cause of LabWindows not terminating.
    I have attached a sample of the problem.
    Attachments:
    Timed Loop.zip ‏67 KB

  • Lightroom 5.7.1, Yosemite OS X - Synchronise Folder function doesn't work in Lr. Is there a compatibility issue? I can see the folders/images in Finder but when trying to synchronise folders in Lr it does not recognise that there are any images and theref

    Lightroom 5.7.1, Yosemite OS X - Synchronise Folder function doesn't work in Lr.
    Is there a compatibility issue? I can see the folders/images in Finder but when trying to synchronise folders in Lr it does not recognise that there are any images and therefore unable to import to catalogue. Anyone has any idea how to make it work. Thanks a lot.

    Hi Elba,
    Thank you very much for your reply. Not sure, however, that we are talking about the same problem.
    I am trying to perform the same function in Lr that I have been doing for many years in the past and has only been a problem in the last few days (possibly coinciding with upgrading to Yosemite, trying to find out whether that is the problem)
    I am not intending to sync any files with Creative Cloud but only trying to use 'Synchronize Folder' function in Lr. Normally, I would right click on a particular folder in Lr catalogue and click on that function to check that the Lr Catalogue is perfectly matching my drives where the original photos are actually stored.
    The problem that I only started to encounter is that I can see the files on the actual drives but they do not appear in my Lr Catalogue and they are completely invisible to Lr. I simply can not get Lr to recognise them and then import them to catalogue.
    If for example, I export images to Ps and then save and close them, they do appear on my drive but are invisible to Lr and I can't get them imported into the catalogue. Import to folder also not producing any results as they are still invisible to Lr.
    Completely baffled by it. Any idea what could be the reason?
    Kind regards,
    Nik

  • Shared Review Publish function not available

    I'm using Adobe Pro 9 (9.2.0) to create a Shared Review using a network folder.  I am able to create the file correctly and SOME people are able to use Acrobat Reader 9.2.0 to Publish comments.  The Publish function does not show up in Acrobat Reader 9.2.0 for many people and they are only able to save a copy.  This isn't really using the Shared Review function at all.
    How can I enable the Publish function to work for everybody on the Shared Review file?

    I found the solution and thought that I'd post it.  This question seems to come up, but never seems to get answered.  Here it is:
    If you're having this problem with Adobe Pro, then update the following registry entry:
    [HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\9.0\Workflows ] “bEnableWorkflowPart”=dword:00000000 to 1
    If you're having this problem with Adobe Reader 9, then update the following registry entry:
    [HKEY_CURRENT_USER\Software\Adobe\Adobe Reader\9.0\Workflows ] “bEnableWorkflowPart”=dword:00000000 to 1
    Hopefully, this will benefit somebody and save them hours of time and frustration chasing Forums that never get resolved.

  • How to re-configure family sharing if you're not recognised as the administrator?

    How to re-configure family sharing if you're not recognised as the administrator? I have several apple machines. Four of them use i.o.s. 8. I want to configure family sharing, but it will not start. I says that it is already configured and suggests that I ask the administrator (it uses the name of that person, which is me) to send me an invitation. It does that on all my machines using ios 8. So I'm at a loss, how to solve this.

    It sounds like you aren't logged into your (organisers) iCloud account.

  • Call library function not finding DLL in directory where my LLBs are

    I am using LabVIEW 8.6.  I have a set of VIs in several LLBs.  All the LLBs are in one directory.  Most of my VIs are wrappers for the functions in one DLL.  I was told to put my DLL in the directory where the LLBs are, and supposedly this is how the previous programmer worked (using an earlier version of LabView). 
    In the Call Library configuration, I have specified <dllname>.dll without a path.  (This is how we want it as our VIs are an API which other programmers will integrate, so I don't know where they will put things and I can't use any absolute paths).
    When I load the VIs in LabVIEW, LabVIEW can't find the DLL and asks me to located it.  It is right there in the directory with the LLBs and when I double click on it everything works fine.  However my absolute path to the DLL now appears in the Call library configuration, and we don't want that.
    Does anyone know how to make this work?  I would assume that the location of the VIs (or LLBs, in this case) would be the current directory and thus Windows would look there for the DLL.  However, it seems that this is not the case (at least, in the current version of LabVIEW).
    Thank you.
    Batya
    Solved!
    Go to Solution.

    rolfk wrote:
    Well somebody using your library should not have to dig into your VIs and do all this on his own. Instead your library should wrap that and hide the troubles of this entirely.
     That is EXACTLY what I want to do.
    The error cluster was added when the dynamic path option was added. It is not useful to hide that error output so it is always there. Together with the dynamic path there was improved error handling added to the CLN. One of them is that the level of error checking during the function call (exception handling) can be specified. I would assume that some of those options can generate an error code instead of popping up a dialog as they did before and for that the error code output can be useful even in the static call case.
    As to what you want to do, I would long ago
    I would long ago have done a lot of things differently on this project -- but no one asked me then :-)  (Good thing it wasn't me, or maybe I'd have taken offense ;-)  )
    have handled that with a wrapper DLL that has basically the same functions as your other DLLs and some initiliasation function that returns a pointer to a function dispatch structure based on the actual DLL you want to call.
    OK, I am getting the feeling that this will be a brilliant and elegant solution when I fully understand it.  I understand what a wrapper DLL is.  But do you mean that each version of my product would include a different wrapper DLL (with the same name so that CLN would always work), or the same one and it would somehow be told which actual DLL I want to call?  Who would decide which DLL, the VI or the wrapper DLL?
    By a function dispatch structure do you mean a table of function pointers gotten by GetProcAddress, one such entry for each function?
    Quite like what an object oriented function dispatch table is. Then when initilising your interface you call that initialise function and specify the interface/device type you want to use and after that all the other functions take one additional function dispatch pointer parameter as first parameter in addition to the parameters the actual function has. This function dispatch pointer would be just a pointer to a structure containing the table of function pointers for that interface and for the sake of LabVIEW would be simply a pointer sized integer.
    The wrapper function then verifies the function dispatch structure pointer for validity and calls the actual function with the remaining parameters.
    I think I understand what the wrapper functions need to do.  But I am missing some pieces for the initialize function.  It would have to do LoadLibrary and lots of GetProcAddresses -- that much I get.  But I still don't understand who decides which DLL.  Maybe you mean that the wrapper DLL's initialize function will get the DLL name and path from the registry, load it, try a different path if the load fails, etc.  Is that what you mean?  That could work very nicely.   But from where would it get the registry key?  From the VI?  This is the part that would clearly be different for each product.  I suppose that you had something in mind when you described your solution. 
    This is some C programming
    Great!  That's what I do for a living.  At least I know how to do that!  Hey, I should have thought of this idea! 
    and might require some planning and desigining of the different interfaces to facilitate this kind of dispatch technique but it will for sure pay of in the long run, and make your library even usable in earlier LabVIEW versions, as well as VB etc. without tricky dynamic loading in the high level programming environment.
    Ah, see how much I don't know in LabVIEW?  I didn't know this was a new feature...
    Thank you for the great idea.
    Batya Perlman

  • JSF jars living in Tomcat shared/lib (not)

    When I move the set of jars for JSF from the webapp/WEB-INF/lib up into tomcat's shared/lib, I get this error:
    java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:143)
    when visiting the webapp which has the FacesServlet.
    I can see that this just doesn't work with the current 1.0beta, but does anyone know why not?
    Is there any fundemental problem with having these in common/lib or shared/lib?
    And, just checking, the source is not available for this version, right (else I'd take a peek at this line).

    When these libraries are in shared/lib, the
    ContextListener added via a .tld in jsf-impl.jar is
    not located by Tomcat, and therefore JSF can't start
    itself up correctly.
    It depends on which version of Tomcat you are using. Recent versions (such as 5.0.16) do know how to recognize context listeners in JAR files stored in common/lib or shared/lib.
    I don't know Tomcat well enough to know if there's a
    way to get it to look for auto-registered .TLDs and
    ContextListeners in places other than WEB-INF/lib.
    There is nothing in the Servlet or JSP specs that
    would require that Tomcat support anything other than
    WEB-INF/lib.
    For containers that don't support looking up the class loader hierarchy, there is a workaround for this described in the Release Notes, that involves declaring a <listener> element in your web.xml file to explicitly declare the listener class.
    -- Adam WinerCraig McClanahan

  • Shared memory segment: function not implemented

    Hi!
    I tried to install Oracle8 on a dual pentium II / 233 system
    running Suse 6.0 (kernel 2.2.1, glibc6)
    Everything went fine, until I got the message
    "Database creation failed, see logfile"
    The logfile /u01/app/oracle/products/8.0.5/orainst/install.log
    tells me the following:
    - Entering database actions section.
    - Creating initORCL.ora file
    - Creating crdb2ORCL.sql database catalog and file creation
    script
    - ERROR: The 'CREATE DATABASE' statement for the ORCL
    database failed.
    egrep failed to find 'ORA-' error in the file:
    /u01/app/oracle/admin/ORCL/create/crdbORCL.lst
    /u01/app/oracle/admin/ORCL/create/crdORCL.lst tells me:
    Connected.
    ORA-27125: unable to create shared memory segment
    Linux Error: 38: Function not implemented
    create database "ORCL"
    ORA-01034: ORACLE not available
    Disconnected.
    So, I guess it3s something wrong with the kernel. I did the
    following:
    changed in /usr/src/linux/include/asm/shmparam.h:
    #define SHMIDX_BITS 16 (was 15)
    #define SHMMNI 100 (was (1<<_SHM_ID_BITS)) #define SHMSEG
    10 (was SHMSEG SHMMNI)
    checked /usr/src/linux/include/linux/sem.h:
    #define SEMMNI 128
    #define SEMMSL 32
    #define SEMMNS (SEMMNI*SEMMSL)
    Compiled new kernel, rebooted, verified that the right kernel
    was loaded, installed oracle new, but it still doesn3t work.
    Have I missed anything ?
    thanks
    Frank
    null

    Hey, I ran into this problem too. Look and see if any db
    processes failed to die last time you stopped oracle. I found a
    ps_mon daemon still going when the database was down. I killed
    it, restarted the database and everything was fine.
    StE (guest) wrote:
    : Frank Schmitt (guest) wrote:
    : : ORA-27125: unable to create shared memory segment
    : : Linux Error: 38: Function not implemented
    : : create database "ORCL"
    : : Compiled new kernel, rebooted, verified that the right kernel
    : : was loaded, installed oracle new, but it still doesn3t work.
    : Silly question, but did you check you had enabled SysV IPC
    when
    : you configured the kernel?
    : -michael
    null

  • After having updated the software on my apple tv, i cannot set up home sharing on it (let alone itunes!) simply, the apple tv does not recognise my apple id and password anymore

    i have updated the apple tv software (on one apple tv, ihave 2) after having used for 2 years withou any problem.
    i tried to log in again to watch movies already purchased but i cannot. the itunes store is not available and the home sharing does not recognise my id and password. on my pc i have alsoupdate to the latest software my itunes.
    the second apple tv where i am still resisting tomupdate the software works very well as always.
    help!?

    Hi Everyone,
    hope this message finds you all in time. The recent Apple TV update 5.1 is terrible. Apple knows it is which is why (thankfully for some relentless user -I have no idea who but I believe it was under threat) they have allowed to sign 5.0.2 again which means you can downgrade your Apple TV 2 and 3 to a 5.0.2 version via iTunes. Who knows how long they will keep the window open but I have downgraded my ATV early this morning. I couldn't post this earlier because I was out all day but I am doing it now.
    Here's how to do it:
    1) Connect your ATV to your computer via a Mini USB (not included with ATV but included with many other electronic devices) - in order for your ATV to appear in iTunes you must FIRST plug the USB cable to your computer and ATV and only THEN plug the power cable.
    2) Download your ipsw restore file from Apple.
    5.0.2 (ATV 2): AppleTV2,1_5.0.2_9B830_Restore.ipsw
    5.0.2 (ATV 3): AppleTV3,1_5.0.2_9B830_Restore.ipsw
    3) In iTunes select yout ATV, hold SHIFT and click on Restore
    4) Find and choose the downloaded IPSW file in the Open Dialog Box and hit Next
    5) As long as Apple still signs that version the Restore process will begin and will take a few minutes to complete.
    Enjoy!
    raadore

  • Desktop sharing function not optional!

    Argggg... Have a friend who just purchased new MBP. She downloaded Messages per my requesting thinking we would be able to share desktops so that I may help her. Unfortunately, the "Share My Screen," or "Ask to Share My Screen" functions are in gray scale and don't give me option to share my desktop, and vice versa. Help! Does Messages Beta disallow desktop sharing? If not, why does the option remain in gray-scale, not allowing me to exchange desktops with my fellow Apple user?

    Hi,
    The Screen Names or IDs your are using should belong to the same Service.
    That is to say you should be both using an AIM or AIM valid Name (Apple IDs ending in @mac.com or @me.com)
    Or to the Jabber Service (various Jabber servers including Google Talk and Facebook's "Chat")
    Next.
    Check the Message Menu > Preferences > Video Section > Bandwidth Limit
    This should be at least set at 500kbps.
    Can you Video Chat ?
    Audio Only and Video Chat uses the same Internet ports through your computer and router.
    If you can't Video Chat then you can't Audio Only chat and if you can't do that then the Screen Sharing (An Audio Only Chat+) also will not work.
    Follow that with an Internet Speed check
    http://www.speedtest.net/
    You need to be seeing at least 128kbps as an Upload for Screen Sharing to work.
    Higher would be better as at speeds that low you lose some to the "overheads" of maintaining a connection with your ISP and other small now and then checks from the Mail app and any Web Browser that is open.
    (This 128kbps figure is Apple's stated minimum.)
    With a computer doing nothing else then ichat will grab as much Bandwidth (It's portion of the Internet speed) as it can.
    However it is also set up to allow other apps to have priority over the Processor.
    This can mean that Time Machine will hold up Video "Production" and also disrupt any incoming Audio and Video.
    Next.
    iChat/Message beta checks the available Internet connection when you start the App.
    It writes this info to the com.apple.ichat.plist (even if you are using Messages beta)
    If you have the app starting when the computer does the checks the OS is doing may cause the app to think there is less Bandwidth than there actually is.
    Following a check by restarting the App it is also worthwhile to check what apps are actually using the Internet.
    As stated above, iChat/Messages may in fact be well down the list.
    Also other computers and devices on your (or your Buddy's) LAN can also make a difference.
    Possible "fix"
    Once you have eliminated all of those possibles then you can try deleting the com.apple.ichat.plist (As it holds the Speed found) and "reset" the .plist
    Open the Finder as the "Front" App
    Use th Go Menu
    Hold the ALT key down to See the Library
    Select the Library
    Open th Preferences and find com.apple.ichat.plist
    Drag this to the Trash ( to delete it)
    Restart iChat or Messages beta to recreate the .plist from defaults.
    9:01 PM      Wednesday; July 18, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • A function DrawGeometry not recognised in WPF

    Hello
    I'm transleting project from C# to WPF
    In C#, I have : 
    drawingContext.DrawGeometry.DrawPolygon(new System.Windows.Media.Pen(System.Windows.Media.Brushes.Black, 3), p);
    In WPF, DrawGeometry is not recognise and I have the libraries
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Data;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Imaging;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    using LibLogic;
    using System.Drawing;
    using System.Drawing.Drawing2D;
    using System.Windows.Forms;
    I have an error
    'System.Windows.Media.DrawingContext.DrawGeometry(System.Windows.Media.Brush, System.Windows.Media.Pen, System.Windows.Media.Geometry)' is a 'method', which is not valid in the given context
    Z:\WPF\Kakuro WPF 22_02_2015\UserControls\Triangle.xaml.cs
    76
    28
    UserControls
    What should I do ?

    You must add some points to aa if you want to draw a Polygon, otherwise it is just a blank geometry object. 
    Here is a complete example of a VisualHost object that hosts a DrawingVisual:
    public class VisualHost : FrameworkElement
    private DrawingVisual path;
    public VisualHost()
    Point point2 = new Point(10, 80);
    Point point3 = new Point(50, 50);
    Point point4 = new Point(30, 20);
    StreamGeometry aa = new StreamGeometry();
    using (StreamGeometryContext geometryContext = aa.Open()) {
    geometryContext.BeginFigure(new Point(1, 50), true, true);
    PointCollection points = new PointCollection
    point2,
    point3,
    point4
    geometryContext.PolyLineTo(points, true, true);
    // Draw the polygon visual
    DrawingVisual visual = new DrawingVisual();
    using (DrawingContext context = visual.RenderOpen()) {
    context.DrawGeometry(Brushes.LightGreen, new Pen(Brushes.White, 2), aa);
    path = visual;
    protected override int VisualChildrenCount {
    get {
    return 1;
    protected override Visual GetVisualChild(int index) {
    return path;
    You can add it to a window like this:
    public partial class MainWindow : Window
    public MainWindow() {
    InitializeComponent();
    stackPanel.Children.Insert(0, new VisualHost()
    Width = 250,
    Height = 250
    <Window x:Class="WpfApplication24_4.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="350" Width="525">
    <StackPanel x:Name="stackPanel">
    </StackPanel>
    </Window>
    Hope that helps.
    Please remember to mark all helpful posts that answers your question(s), and only these, as answer and please start a new thread if you have a new question.

  • LABVIEW.LIB was not called from a LabVIEW process when creating unit tests

    We are developing a DLL to be integrated in LabVIEW using CLFs. So far we have the system working, but we wanted to create some unit tests in C as part of our release process. The problem is that when I link labview.lib in VS C++ and then call the EXE generated I get an error saying: "LABVIEW.LIB was not called from a LabVIEW process". As mentioned in http://zone.ni.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/debug_dlls_and_dll_calls/:
    "Calling the shared library from another C program is also another way to debug the shared library. By calling the shared library from another C program, you have a means of testing the shared library independent of LabVIEW, thus helping you to identify any problems, sooner."
    Some of our functions, however, use LabVIEW specific instructions and we would like to test them in a realistic environment (i.e., calling to the actual functions instead of creating stubs).
    Is there any workaround to this problem?
    Thanks!!

    Hello SaraGr,
    Welcome to the NI Discussion Forums! I have a couple of questions to better determine the issue here:
    1. What is the LabVIEW version that you are using?
    2. Does your DLL uses Serial Compatibility VIs? If so, try using your development on NI-VISA instead of Serial.
    3. Are you using a Code Interface Node (CIN)? If you do, I see that from the help file you would need to compile the code for the new platform. Also, please remember that functions specifc to CINs (such as SetCINArraySize) will not work in a DLL.
    4. Be sure to include the header files in your program, like extcode.h. Please follow this white paper to link labview.lib to your program, or follow the Alternate Method.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

Maybe you are looking for

  • Bridge CS5 Windows crashes when I command/move or drag/drop files internally

    Bridge CS5 crashes with a Microsoft "report error" dialog whenever I drag images from one folder to another inside of Bridge, or use the right-click "Move To . . ." mouse command.  After months of successful use of the Bridge CS5, this behavior sudde

  • Trying to set up new AirPort  Express to stream music

    I just purchased Airport Express in order to use our home stereo system with our iTunes located on another computer. I am not techie at all but usually can follow the directions with no problem! It looked like all I had to do was plug the AirPort Exp

  • How to search records in a standard table with * ?

    Hi everyone, Can anyone tell me how to search records in a standard table with * ? That is, in screen if user type * abc * for searching the records in which the field MC_STEXT contains 'abc'. What the code should be? How to complete the code below?

  • Can you downcovert HDV footage to SD without camera?

    Hi, I am editing an HDV project that I need to downconvert to SD for a DVD. The project was shot and edited in HDV. What is the best, simplest way to downcovert my project to SD? Can I do it without the camera? Is it possible just to cut and paste th

  • Can Dreamweaver CS5 connect to MySQL via ODBC?

    I am unable to make a direct connection to an external MySQL database because most hosting provider does not allow this type of connection due to security reasons. I am however able to make an ODBC connection to the database (which I am currently usi