Programmable choose DLL ActiveX Matlab

Hello

We use Labview with Matlab ActiveX DLL. Everything works very well. But everyone recompile us the DLL Matlab, I need to re connect the static reference to the new DLL Matlab. It is possible to get the dynamic link?

So, if recompile us the dll (keeping the same input, output, functionName version), I do not need to re connect my reference only:

(1) regsvr32 u test.dll,

(2) replaces the C:\Y_Code\test.dll by the new

(3) regsvr32 test.dll

I understand not the Basic VI, 3 different Matlab DLL (maybe rename it).
Test_1_0_1.dll = add m + n + 1.1

Test_1_0_2.dll = add m + n + 2.2

Test_1_0_3.dll = add m + n + 3.3

Of course, you will need the MCR7.10 of Matlab Runtime (if needed, I can send you the runtime, but 152Meg...)

Thank you

smercurio_fc wrote:

Your question is not specific to Matlab, as it applies to any ActiveX. He has also been asked before. What you ask is not possible in LabVIEW.  You must create a form any wrapper DLL that will actually interface with the ActiveX component.

Thank you

How can I do an wrapper? I'm not really understant what is a wrapper

Thank you

Tags: NI Software

Similar Questions

  • Call dll ActiveX in Labview

    Hello

    I'm a new starter in c# .net.  I have a control dll ActiveX (control of vision of NOR -> CWIMAQ). I need to call dll functions in Labview. I searched for articles on this subject. Everyone talks about single thread and register the dll.  I have no idea about these things. Can any body give me a helping hand. How does it work?

    Thanks for any info

    Best regards.

    To use an ActiveX control in LabVIEW, you place an ActiveX container on the front panel and locate the control to put it in. Then use the nodes property and/or call nodes of the ActiveX palette to set properties and call methods.

    To register a DLL open a command prompt, navigate to the folder where your ActiveX control is normally the Windows system32 folder and type

    regsvr32 .

    In LabVIEW use help > type in the search and find examples... tab ActiveX.

  • 11.0.07 blocks the acropdf.dll activex control in the application of part 3

    Hi, we use a piece of software that uses the library acropdf.dll - update of Adobe Reader (any version of Windows) to 11.0.07, software that uses acropdf.dll crashes as soon as it tries to display a PDF file (citing acropdf.dll as the module that failed) - roll back to any previous version of Adobe Reader solves the problem.  (Same 11.0.06 works very well) - this was repeated several times on different machines and different versions of Windows, all with the same result.

    Is this a known issue with the 11.0.07 latest version?

    Thanks in advance.

    For those who can still access their VB6 source code - replace the PDF control with a web browser control and in turn all the events of pdf.load with the web.navigate event - this effectively avoids the problem by forcing the PDF file appears on your form within the browser control.  I have now deleted all references to the PDF control in the project, and only use the web control - overall it feels much the same operation.

    (Started the re-written in VB.net now if...)

  • Read a cluster from a LabVIEW Application on ActiveX

    Trying to not pull my hair.

    New user of TestStand.  We currently have a suite of applications created using LabVIEW .exe that allows the user to manually test DUT.  Try to get a proof of concept goes to show fat improvements if we TestStand resume what the user is doing.

    Rebuilt the executeables with active ActiveX and can almost get everything working the way I want it, except for every time that a type of cluster is involved.  Works cannot read or write.  I created a customized data type to match the type of cluster, but I always get an error of-17308 complain that the Variant data type does not match the variable type expected.  I can get the types of simple data (including tables) to work, but for clusters... nothing.

    Y at - it something I am doing wrong?  Is this possible?

    Dan

    I've tested this method worked.

    To sum up to pass a cluster:

    Create a VI that has a cluster as either the entry or the cluster of production you want out of the EXE.

    Inside this VI, use ActiveX to get the desired virtual Instrument (similar to what you are doing in TestStand).  Call to set the value of control (or get the value of control) on the control that you want to get or set.  You can wire the cluster directly to set the value of control (or get the value of control) in LabVIEW because it stores the clusters in the same way.

    From TestStand, call this VI.  Move in (or on) the parameter desired to get or set.

    I've attached an example that shows how to define a control in the same VI, but you should do something different where you choose your ActiveX Server rather than the LabVIEW ActiveX Server executables.

  • Missing when importing DLL functions

    Hi all

    I created a DLL using Matlab.  When I try to import in LabVIEW (version 8.6 or 2009), most of the functions don't appear.  Any ideas?  This has been done with Matlab R2010a.  I looked through other messages on the subject of Matlab DLL but they were all parties concerned to do anything to work at all.  In my case, certain functions through but not all of them.  I tried to attach files, but it wouldn't let me...

    Thank you and I hope that it is something really simple that I'm dominant.

    -Matt

    OK, I thought about it... This is an annoying problem of a Matlab (I think).

    The problem is that once you import the DLL (and I don't know exactly when) - you can not add more functions of the DLL.  So the first time I tried to do this, I had only one function.  Later, I added more - but they were simply ignored.  I have rebuilt (in Matlab) as a new project, imported from the DLL again, and the problem disappeared.

    It is also possible that it could be a problem of LabVIEW with the file lvlib (?) is not updated correctly, but I do not really - I know how to run now.

    -Matt

  • Different methods of ActiveX appear when you reference an inside or outside of Labview VI

    My question is about the methods that are available for a VI referenced via ActiveX.

    I am particularly interested in the method "Run a VI", which appears in Labview using reference open Vi, then call node.

    In particular, this method of 'Run a VI' has a parameter "Wait until the fact" that I need to.

    In Labview, I managed to adjust this setting and run the VI in the background (see first photo).

    Now, I get confused when you reference this VI through Labview /outside/ ActiveX (Matlab in my case).

    Function Matlab (see second photo), the VI referenced has a method called 'Run', but not 'run VI '.

    This command runs the VI, but I do not see any parameter 'wait until what". In fact, there is only one listed setting (it appears as Run (handle, Variant (Optional)), which means that outside of the object itself, there is only an Optional Variant type value).

    (I've highlighted the method in green on the second photo).

    In fact, when looking at the methods that appear in the image of Matlab, it seems many are different from those which are accessible in Labview through the node invoke.

    Is this normal? If so, how can I set the value of the parameter 'Wait until done' for the 'Run' / method of "Run a VI" via ActiveX on outside Labview?

    Is this normal? Yes. Why? Because the first method is not ActiveX. It uses the VI server. Totally different beast. Therefore, the interface will be different.

    LabVIEW documentation indicates the real signature must be:

    Syntax

    object. Run ([Async])

    Parameters

    Name Type Description
    Async Boolean If it is TRUE, there is no need to wait for the VI finish the race. The default value is FALSE.

    I don't know why you see the signature as "Run (handle, Variant (Optional))"from Matlab. "

  • Report to DENY using LV 2011 built dll crash

    I have an application that uses a built DLLs LabVIEW.  LV dll is called by a dll ActiveX component integrated into VS 2010.  The dll of the LV was origninally built using LV 2010 and worked well.  When we build the same application using LV 2011, everything works up until the closure of the top-level application.  We are then prompted with a dialog box telling us that a failure has been detected (journal text below).  The error occurs if we use static or dynamic linking to the dll.  If I disable DENY it to the application, there is no problem; If as we use a component ActiveX, I must create a for the calling application ini file or disable the DENY for the entire system.  None of these options is desirable, because we cannot know all applications that could use our ActiveX module and cannot control each system we will be deployed on.  If we do not find a work around that, we will have to go back to LV 2010.

    ####
    #Date: Thu, October 27, 2011 13:28:20
    #OSName: Windows 7 Professional
    #OSVers: 6.1
    #OSBuild: 7600
    #AppName: home page
    #Version: 11.0 32-bit
    #AppKind: AppLib
    Base address of #LabVIEW: 0 x 30000000

    27/10/2011 1:32:41.891 PM
    Crash 0 x 0: Crash taken to DENY
    File Unknown (0): Crash: Crash captured by DENYING
    Minidump ID: 6972c89d-ba7b-437a-9d41-d3df28550f98
    ExceptionCode: 0xc0020001y
    N

    I think I've solved my problem, which I will describe in the case where the same thing is happening to others.  The root of the problem, near as I can tell, had something to do with the appeal of the LV dll of in another dll. For some reason, when I linked statically to the dll, the DllUnload process caused this crash report.  I found evidence to suggest that this can occur when you unload a dll from in the process of unloading in another dll on the web; as is the case with static linking.  When I tried dynamic link, I initially tried to use a global instance of the HINSTANCE dll who got charged and discharged with the WinApp object, the result would have been basically the same.  If I connect dynamically to the unload dll event and explicitly the dll before the call dll being unloaded, the problem disappears.  My calling dll is an ActiveX application, I tied to the instance of the dll to the COM object rather than the object WinApp.

    Still don't know why it's a problem for LV 2011 and not 2010 LV.  Perhaps the 'crash' still past and just has not been reported significantly since the app was close anyway.  I'm not sure.  Anyway, hope this helps people out there.

  • ActiveX controls

    I get this message pop up Internet Explorer for each Web page, I'm going to: do you want to allow software such as ActiveX controls and Plug-Ins to run?  If I click on no, my computer still right on the same page. I recently downloaded Adobe Flash Player so I can play Bejewled Blitz on Facebook and that's where the problem seemed to start.

    Hello
     
    ActiveX controls are small programs, sometimes also referred to as "Add-ons", that are used on the Internet. They can improve your browsing experience by allowing animation or they can help with tasks such as the installation of the updates from Microsoft Update security.
     
    Some Web sites require you to install ActiveX controls to view the site or perform certain tasks in this regard. When you visit one of these sites, Internet Explorer asks if you want to install the ActiveX control.
     
    If the name (Name.dll) ActiveX control is not added to the list of controls pre-approved in Internet Explorer 7. The prompt to install the same thing happens.
     
    Here are some links to that for more information related to the same please refer:
     
     
     
    Message in the information bar in Internet Explorer 7 when you browse a Windows SharePoint Services 3.0 site or to a SharePoint Server 2007 site: "the Web site wants to run the following add-on:"Name ActiveX Control"
     
     
    If the method above has not fixed the problem and you have tried all possible methods to resolve the problem without success I suggest trying to perform an optimization of Internet Explorer on your computer and check for the issue.
     
    How to optimize Internet Explorer
     
    http://support.Microsoft.com/default.aspx/KB/936213
     
    Warning: him reset Internet Explorer settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings
     
    Thank you, and in what concerns:
    I. Suuresh Kumar-Microsoft Support.
    Visit our Microsoft answers feedback Forumand let us know what you think.
  • Is there a way to determine the equivalent ANSI C code of a Labview project?

    I'm a complete newbie to Labview.  I have this quite complex Labview project that was used to create a DLL that matlab may call to order my card PCI-6534 without having to know NIDAQmx calls.

    I am trying to find how to make these calls directly from Matlab NIDAQmx, but I do not get the same results when I call this DLL mentioned above, so I thought I would try to give a sense Labview projects live I begins to make sense of the general economy of the screw, but I would like to be able to run the project , step through it and perhaps see NIDAQmx orders (or something equivalent, so I can determine how to call NIDAQmx commands in Matlab).

    Is this possible to do?

    Thank you

    Jason

    Yes. The toolbar allows you to turn on highlighting so that you can run the VI and see the content of the son. You can put sensors on the wires. You can single-step through the code. This is explained in the help of LabVIEW under Fundamantals-> running and debugging screw-> Concepts-> Debugging Techniques.

    In what the question implied in the title of your message, don't you can directly convert LabVIEW C code in the development environment. Yes, there are tools to convert LabVIEW in C, but which is intended for microprocessors.

  • How can I take pictures with a regular usb camera and labwindows

    How can I take pictures with a regular usb camera and labwindows

    Hello

    What do you mean "ordinary USB camera? It's a Vision camera with a communication based on the API Vision camera or a 3rd party (such as a webcam)?

    In the latter case, you may need to consult the documentation of the manufacturer, it should be sent with her library (C DLL, ActiveX automation, .NET assembly) with functions to communicate with drivers.

    Best regards

  • Download MSN Messenger blackBerry Smartphones questions

    Hello

    I'm new to Blackberry and tried to download Windows Messenger.

    When you try to download, I end up getting this message.

    Users of Microsoft® Windows XP Service Pack 2 (SP2): If you encounter an error, look at the top of this page for a yellow bar that reads "this site might require the following ActiveX control: 'AxLoader.cab' of 'Research In Motion'." Click here to install... "Click the yellow bar and choose"install ActiveX control... ". "to allow the installation to proceed.

    Where can I download the necessary software, because I looked everywhere! Laughing out loud

    I hope someone can help!

    Thank you very much

    Lee

    Try this link since your browser Internet http://www.blackberry.com/instantmessaging.

    This link will show all available e-mail Instant apps on your device.

  • Unknown PUP - Please help...

    For awhile now, my antivirus program (the salary monthly version of AVG) has been telling me that I have 2 'not - A - Virus.Downloader.Win32.DigStream' on my computer. One is in the program under 'C:\Program Files\DIGStream\digstream.exe' files and the other is located in "C:\System Volume Information\_restore {lots of numbers and letters} .exe '. I have no idea what they are or where they came, and to explore widows, the contents of the DIGStream folder is: locator.dll (ActiveX control for Cache DIGStream Manager and the company is the Walt Disney Internet Group. It's weird because I have no programs Disney.), an uninstall button called "RECKLESS" and a .txt file titled: INSTALL. It reads: * Setup released 2005-08-16 20:54 *.
    Title: DIGStream Installation
    Source: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\GLB18.tmp
    Made Dir: C:\Program Files\DIGStream
    Copy of file: C:\Program Files\DIGStream\UNWISE. EXE
    Copy of file: C:\Program Files\DIGStream\digstream.exe
    Copy of file: C:\Program Files\DIGStream\locator.dll
    Register: C:\PROGRA~1\DIGSTR~1\DIGSTR~1.EXE
    Register: C:\Program Files\DIGStream\locator.dll
    RegDB key: Software\Disney\DIGStream
    RegDB Val: C:\Program Files\DIGStream\digstream.exe
    RegDB name: ExePath
    RegDB root: 2
    RegDB key: Software\Disney\DIGStream
    RegDB Val: C:\Program Files\DIGStream
    RegDB name: InstallPath
    RegDB root: 2
    RegDB key: Software\Microsoft\Windows\CurrentVersion\Run.
    RegDB Val: C:\Program Files\DIGStream\digstream.exe
    RegDB name: DIGStream
    RegDB root: 2
    RegDB key: Software\Disney\DIGStream
    RegDB Val: http://digstream.go.com/digstream/autoupdate.xml
    RegDB name: AutoUpdateUrl
    RegDB root: 2
    Delete the files in use: on
    RegDB tree: Software\Disney\DIGStream
    RegDB root: 1
    RegDB tree: Software\Disney\DIGStream
    RegDB root: 2
    Run the program: C:\PROGRA~1\DIGSTR~1\digstream.exe/Shutdown
     
     
    I'd be worried, or something else? I have no idea what it is, and any help would be appreciated. VirusScan AVG also, recognizes it as a PUPPY, so should I remove it?
     
    Thanks in advance,

  • To learn

    Hello guys I'm brand new to Flash, but say most of the people studying flex if someone can give me the clear for me that you choose guideline and good for me. I love websites in Flash and interactivity.

    And will there be 4.0 of actionscript in flash CS5


    Please give me the right path

    Flex is the developer application oriented plus. If you feel like you work as writing lines of code and emissions really serious and complex - Flex is the right thing for you. Flash becomes also more and developer more focused application, although many people still like his creative potential as an animation tool (including me), Flash has been designed as animation movies creation application, but it was a long time ago...

    I really hope there aren't yet numbers after ACE, but who knows... we are not lucky...  AS3 is a complete recommended object oriented programming, such as C, which means that you can do something with it. But few people use, especially creators - who do not want even to hear about AS3 - actually, they stay with AS1 or 2 and are happy on the use of previous versions.

    So it depends on what you want to do - if you want to be a programmer - choose Flex, if you want to draw and make animations - Flash

    Emil Georgiev - Flash and Web design

  • Hello, how to call C++ of action script 3? or how to access the materials with

    Hi, now I want to know whether or not there is a method to call (dll, activex, com) C++ code in actionscript 3.0?

    or if there is no method to capture images of the camera?

    Thanks in advance!

    Hi there you can get images from webcams easily, read the Flash or Flex

    LiveDocs for this. And there is a project called Alchemy which is in Adobe

    Laboratories that can convert C++ libraries in AS3 files.

  • Choose from several versions of Matlab

    Is currently working with several different versions of Matlab on my workstation and have not been able to find a way to choose the version that opens when I run a Matlab Script.  It is always default to the same version.  Haven't seen an existing thread that addresses this issue.  Any ideas how to point the script server to a specific version of Matlab?    Thank you.

    GSinMN

    Hello GSinMN,

    LabVIEW determines which version of the Inc. MATLAB® to run by searching the registry for the class ID of MATLAB® from The Mathworks and calls the ActiveX object.

    Knowledge base article How do LabVIEW determine what Version of The MathWorks, Inc. MATLAB® to use? describes how you can modify this registry entry to change the version of MATLAB® script calls into.

    MATLAB® is a registered trademark of The MathWorks, Inc.

    David has

Maybe you are looking for

  • What is a good alternative software to Adobe Reader DC?

    I have a terrible problem with printing pdf files using Adobe Acrobat Reader - they seem to get "hung up" and just never print.  The system must be completely set.  Printing from a mined or a Word is fine, but it would be more convenient to have a pr

  • iTunes to external drive

    Hi people, There are many years (and many versions of OS x and there is at least an iMac), I moved my iTunes on an external hard drive to free up space on my external hard drive) This was not a problem on my current iMac (1 TB - El Captain) up to now

  • QOSMIO F10 and play games such as the XIII or the battlefield

    I have a QOSMIO F10 with XP Home Edition operating systemI live in Iran. I installed a professional XP on my laptop too and most of the games that he is in Iran are cracked. I have problems with games. Some games load without problem these FIFA 2005,

  • Acer aspire V5_471PG cd/dvd Player has stopped working

    Hello My portable DVD (Aspire-V5-471PG) acer drive is stopped working, can't load/detect the drive. When I pressed the button, the DVD player will not come out. My warranty until December 2015, how can solve this problem, please help me, thank you ve

  • How can I disable Group Policy Service in Win 7 Home Premium 64 - bit SP1 on my computer at home?

    I'm not able to disable the Group Policy Manager (even if my user ID has administrator privileges) In other words, when I click on the box next to the service in MSCONFIG the audit go far - but as soon as I hit the key "Apply", the control is display