How to use a 64-bit Matlab ActiveX in a 32-bit CVI?

I have a CVI 9.0 and 64-bit MatLab R2012a installed on my PC together with 64-bit Windows 7.When I try to use "Create ActiveX Controller" wizard to use the Matlab ActiveX,a message went out says"The Type Library is not intended for use on Win32".Seems like it's because my CVI is 32-bit but my Matlab is 64-bit.So I wonder is there any way for me to use the MatLab ActiveX Controller?
PS.I have been checked on this topic:http://forums.ni.com/t5/LabWindows-CVI/How-to-create-ActiveX-Control-in-LabWindows-CVI-2010/td-p/183...
But it's not workong for me due to different CVI version.
Thank you guys.

Thank you for your reply.
Does this means that it is still not possible to use the PDF ActiveX control in a x64 WinForms application?

Similar Messages

  • How to use the 64 bit Adobe PDF Browser Control (AcroPDF64.dll) in x64 WinForms VS2012

    I noticed that sice 11.0.07 there is a 64 bit version of the AcroPDF.dll called AcroPDF64.dll. Does this mean that I can use the PDF Browser Control in a x64 WinForms application? If so, what do I need to do to get this to work?
    When I right click on the "Toolbox" and select "Choose Items..." there is only the possibility to select the Adobe PDF Reader pointing to "C:\Program Files (x86)\Common Files\Adobe\Acrobat\ActiveX\AcroPDF.dll" and not a version using the AcroPDF64.dll
    When I click in this dialog on the "Browse..." btton and select the AcroPDF64.dll nothing happens.
    Now I am stuck with an "Initializing..." message when loading a PDF in the control. The control is working when switching back to x86 (but which I can't because I need to reference a dll that is only available in 64 bit).
    Please advice, thank you in advance!

    Thank you for your reply.
    Does this means that it is still not possible to use the PDF ActiveX control in a x64 WinForms application?

  • How to use plot command of Matlab in cRIO equipment?

    Hello,
    I am testing an equipment and collecting some data using NI cRIO-9022. I run the program in scan engine model. However, When I try to plot the data, it told me that the command can not be used here. But I still want to watch the figure in Matlab. Do you have some good idea to solve this problem?

    Thanks, but it still doesn't work, because Matlab script node is not supported in the target. We have to think another solution.

  • How to use Microsoft DateTime Picker ActiveX control in Forms 6i?

    Does anyone have idea on how to use Microsoft Date-Time Picker ActiveX component in Forms 6i? Please give me coding examples for using this control to retrieve & store date at the backend.
    Regards

    when u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
    im also check the same it is working
    sorry i saw it on design time
    kansih
    Edited by: Kanish on Apr 28, 2009 2:54 AM

  • Using PCI-7344 with matlab

    Dear all,
    I want to use a motion controller card NI PCI-7344 integrated into matlab R2007a (Version 7.4.0.287) to build up my system, and just want to develop several simple control methods to my system, such as PID, sliding-mode, etc using manual command, AND/OR using SIMULINK, AND/OR using xPC-target of Matlab. My problem is, this NI PCI 7344 is not supported by matlab (not compatible). Does anyone have the solution? is there anyone here can help me? How to use PCI-7344 into matlab? Thanks for your advices, kind help and attention before.
    regards,
    matlabers
    - hnd -

    Hi hendro,
    In C++ you can do this by including the nimotion.lib and FlexMS32.lib when compiling and including the neccessary *.h files at the beginning of the program. (For example, at the top of the program, you'd type #include "Flexmotn.h" if you were using the function flex_load_rpm).
    In Visual Basic you would include the line Private Declare Sub nimotion Lib "Location of dll" if you wanted to include a dll.
    You would likely need a similar command in MatLab. Unfortunately, since this is a forum for National Instruments products, I do not know what that is.  

  • How to find out if I am using a 32 bits or 64 bits version of JRE?

    How to find out if I am using a 32 bits or 64 bits version of JRE?
    If I have 2 instances of Java installed in 2 seperate directories, one 32 bits and other 64 bits on Linux. How do I identify which directory holds which version?
    Is there any command that can output this info?
    Regards,
    Billamama

    With a Sun JDK or JRE, you can use java -version:
    $ java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
    ... switch to the 64-bit JDK ...
    $ java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
    The last line says "64-Bit."

  • How to use 64-bit native libraries on Solaris?

    This question has probably been asked many times, but I couldn't find the answer in my searches.
    How can I get Java Web Start on a Solaris client (Solaris 10 in this case, with JRE 1.5, both 32-bit and 64-bit versions installed) to run a java application that includes a 64-bit native code library? The application runs fine when invoked directly on the workstation.
    The application downloads properly with Java Web Start, including the jar file that has the native shared object, but when the native library is loaded by the java application, I get a "wrong ELF class: ELFCLASS64" error.
    I assume that is because Web Start is invoking the 32-bit java VM, which can't load a 64-bit library. I tried configuring Java Web Start to use the 64-bit VM (by setting the path to java to ".../jre/bin/sparcv9/java" in the javaws console) but then I get an error that says "Can't load library: .../jre/lib/sparcv9/libdeploy.so".
    Does Java Web Start support the use of 64-bit native code libraries, and if so, what am I doing wrong?
    Thanks.

    So, it may be better to create links in $APP_HOME/bin/java that point to the binaries in /usr/jdk/version-you-want-to-use/bin/sparcv9 rather than copying binaries.
    To see current java links: (I edited all non-java-related links out of listing)
    -> ls -la /usr/bin/j*
    lrwxrwxrwx 1 root other 15 Oct 1 2007 /usr/bin/jar -> ../java/bin/jar
    lrwxrwxrwx 1 root other 21 Oct 1 2007 /usr/bin/jarsigner -> ../java/bin/jarsigner
    lrwxrwxrwx 1 root other 16 Oct 29 2007 /usr/bin/java -> ../java/bin/java
    lrwxrwxrwx 1 root other 17 Oct 1 2007 /usr/bin/javac -> ../java/bin/javac
    lrwxrwxrwx 1 root other 19 Oct 1 2007 /usr/bin/javadoc -> ../java/bin/javadoc
    lrwxrwxrwx 1 root other 17 Oct 1 2007 /usr/bin/javah -> ../java/bin/javah
    lrwxrwxrwx 1 root other 17 Oct 1 2007 /usr/bin/javap -> ../java/bin/javap
    lrwxrwxrwx 1 root other 18 Oct 29 2007 /usr/bin/javaws -> ../java/bin/javaws
    lrwxrwxrwx 1 root other 24 Oct 29 2007 /usr/bin/jcontrol -> ../java/jre/bin/jcontrol
    lrwxrwxrwx 1 root other 15 Oct 1 2007 /usr/bin/jdb -> ../java/bin/jdb
    lrwxrwxrwx 1 root root 30 Oct 1 2007 /usr/bin/jmplay -> ../jdk/packages/jmf/bin/jmp
    lay
    lrwxrwxrwx 1 root root 50 Oct 1 2007 /usr/bin/jnlp2pkg -> ../jdk/packages/org.jdesk
    top.jdic-0.8/bin/jnlp2pkg
    lrwxrwxrwx 1 root root 13 Oct 1 2007 /usr/bin/jsh -> ../../sbin/sh
    BTW, on my machine (SunFire v445, Solaris10, 64-bit)
    isainfo -v produces this:
    -> isainfo -v
    64-bit sparcv9 applications
    vis2 vis
    32-bit sparc applications
    vis2 vis v8plus div32 mul32
    So, what will this do for me?
    or even better $(JAVA_HOME)/bin/`isainfo -v`/Edited by: SolarisSAinPA on Jun 12, 2008 5:38 PM
    Added listing of java-related-links

  • How to use ActiveX to open/write to Excel template but not to overwrite it

    Hi there again (it's me...if anyone recognised me...)
    I managed to use ActiveX to open Excel and make it visible onto the screen. But I would like to know how can I make Excel open an Excel template and let me write data to the cells without overwriting the original template. I did try to use another program source such as the EXCEL TOOLKIT but I can't still figure out how does it work for my case. Is there a simpler example for me to refer too? Please help.
    Thank you,
    juni

    Hi Mike..
    I have tried to use the examples provided LabView 6.0. I don't understand how to use the Range value to get the data from my global array and also how to open the template and write data to it.
    At the moment, I could only open a saved dialog box and a default string filename is used to save my data into a new Excel but not the formatted excel which I want.
    If possible, please help again. Vi attached.
    Attachments:
    savefile.vi ‏109 KB
    datarecords.vi ‏12 KB

  • How to use ActiveX Microsoft Office Excel Chart?

    Does anyone know how to use "ActiveX Microsoft Office Excel Chart" from CVI 7.0? I tried with following code but it did not draw anything.
    HRESULT MakeChartInExcelActivexCtrl(void)
    HRESULT error = 0;
    char szErrMsg[256];
    // Create a new chart with its own worksheet
    // ExcelRpt_ChartNew(workbookHandle,-1,&chartsheetHandle);
    SetWaitCursor (1);
    // Open new Range for Worksheet
    error = CA_VariantSetCString (&MyCellRangeV, EXCEL_ARRAY_OF_CELLS);
    error = Excel_WorksheetRange (ExcelWorksheetHandle, NULL, MyCellRangeV, CA_DEFAULT_VAL, &ExcelRangeHandle);
    CA_VariantClear(&MyCellRangeV);
    if (error<0)
    CA_GetAutomationErrorString(error, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    error = Excel_GetProperty (excelChart, NULL, Excel_WindowActiveChart, CAVT_OBJHANDLE, &ExcelChartHandle);
    if (error<0)
    CA_GetAutomationErrorString(error, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    // Create a XY scatter chart using the data we wrote to the worksheet as its data source.
    error = ExcelRpt_ChartWizard(ExcelChartHandle, ExcelWorksheetHandle, EXCEL_ARRAY_OF_CELLS,
    ExRConst_GalleryXYScatter, ExRConst_Columns, 0, 0, 0, 0, "Filtered Data Chart", "",
    "Weather Data", NULL);
    if (error<0)
    CA_GetAutomationErrorString(error, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    // Change the plot lines to not display markers and smooth out
    // the plot lines. This is one of the plot styles available in Excel.
    error = ExcelRpt_SetChartAttribute (ExcelChartHandle, ER_CH_ATTR_CHART_TYPE, ExRConst_XYScatterSmoothNoMarkers);
    if (error<0)
    CA_GetAutomationErrorString(status, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    Error:
    SetWaitCursor (0);
    CA_VariantClear(&MyCellRangeV);
    CA_VariantClear(&MyVariant);
    ClearObjHandle (&ExcelRangeHandle);
    ClearObjHandle (&ExcelChartHandle);
    ClearObjHandle (&ExcelChartObjHandle);
    ClearObjHandle (&ExcelChartsHandle);
    if (error < 0)
    ReportAppAutomationError (error);
    return 0;
    Attachments:
    excelActivexCtrl.zip ‏4692 KB

    I use C:\Program Files\National Instruments\CVI90\toolslib\activex\excel\excelreport.fp to  build/modify excel report.there is very detail configuration in this function moudule , hope it can help you 
    Sonic
    Diffrent Strokes for Different Folks

  • How to update makro to use on 64 bits system

    I've used my excel file on computer with 32-bits system. Now I have to change system to 64- bits. Unfortunately I have problem with mi macro (I dan't know anything about it - I've just used ready file with it).
    When I open the file Microsoft Visual Basic shows:
    " The code in this project must be updated for use on 64-bits systems." 
    How can I made it?
    (Please use simple English - I'm from Poland and I don't speak very well that language)
     

    Hi InkaMar,
    I would like to know the details:
    Which Excel version are you using?
    Did you get the whole error message like this:
    =====
    Compile error:
    The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them with the PtrSafe attribute.
    =====
    If you are using Office 2010, please try to following this KB to troubleshooting this issue.
    https://support.microsoft.com/kb/983043?wa=wsignin1.0
    More reference:
    https://msdn.microsoft.com/en-us/library/office/gg251723.aspx
    If you have further question about debugging code, I recommend you post the question to MSDN forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server

    how to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server?
    Does any body can tell me about this?
    thanks
    [email protected]

    Hi 
    Did you succeed to execute the procedure?
    How ?
    Thanks
    Shimon Zerbib

  • I added the Feedly add on but I cannot figure out how to use it how it functions OS is Win 7 Home premium 64 bit.

    I use feedly.com a lot so I installed the Feedly add on but I cannot figure out how to use it. Can someone please help me out and tell me how to use it in Firefox? OS is Wind 7 home premium 64 bit. Any help would be appreciated. Thanks in advance

    There is no way to contact anyone at feedly about this. Somebody kindly put the answer in feedly - addon - reviews at mozilla addon site:
    "Review for Feedly - Beyond Google Reader by [https://addons.mozilla.org/En-us/firefox/addon/feedly/reviews/506443/ shaggyaxe]"
    >>> by shaggyaxe on September 30, 2013
    For the people who state that it does nothing...
    That's because something's messed up with the icons. It makes it seem like the extension is not there.
    But it's there. The icon it uses is the set of left, right, up, down, etc.
    [http://i.imgur.com/imm9Oj7.png]
    Drag that up to the bar, and it then appears as the feedly icon.
    (Someone else found this a while back. I could not find the original comment. Otherwise I would have pasted the permalink) <<<

  • HT1695 I know nothing about how to use my new ipod and when reading the little bit of information in the folder that came with it, all I can do is turn it on, but it just powers down after a few seconds.  How do I work this thing?

    I know nothing about how to use my new ipod and when reading the little information that came with it, all I can do is turn it on.  Then in a few seconds it goes black, never having brought up a screen to do anything!  Help!  What do I do to get this thing going?

    You might consider connecting it to the charger and charging up the battery overnight.
    Please Get the iPod Touch User Manual for iOS 5

  • I managed to transfer the music from 1 pc to 1 other pc (to be played by iTunes). Bit didn't fixe the transfer of the meta data (for example the rating). Does anyone know how to use your old playlists, etc..(= meta data) on the other PC? So, please help!

    I managed to transfer the music from 1 pc to 1 other pc (it is played perfectly on the other PC (Windows 7- pc) by the newly downloaded and installed iTunes, version 10.6.1.7). But I didn’t fix the transfer of the meta data (for example the rating). Does anyone know how to use (or import) your old playlists, etc..(= meta data) on the other PC? So, short: how to migrate the meta data from one pc to an other pc?
    It's a pity that it seems not to be possible to import on the new pc e.g. the ratings!!!
    I don't want to start again with rating my (beautiful classical) music!
    Thanks, from Amsterdam, NL

    Did you do the move via Home Sharing, astro?
    If so, perhaps try the instructions from the following post:
    Re: i transfered itunes to my pc playlists did not go

  • How to use a Matlab Program within Labview

    Hi
    I saw in this forum that many users are using some matlab program
    executed in Labview program. I have actually Labview 7.1 and would like
    to use some of my matlab program in Labview. Is there an easy way to do
    it ?
    Thanks
    Thomas

    The MATLAB Script function is kinda buried in the function palette, and
    can be found under Functions >> Analyze >> Mathematics
    >> Formula.  Unfortunately this feature is not available in
    the LabVIEW Base package.  Hope this helps!
    Andy F.
    National Instruments

Maybe you are looking for

  • Unable to show Unicode Data in Oracle RESTful Service JSON

    Hi Everyone. I have stored unicode data in Oracle database and when i retrieve in sql query it is showing the same. But when i retrieve the data in json using oracle RESTful web service (GET), it bringing with unknown character as shown below. next:

  • Logic required to findout "Release To Date" of the Purchase order

    Hi We are developing a custom program to release purchase orders as per clients requirements. In that, in the output, we need to display the "Release To Date" of the purchase order. Consider the release codes are R1,R2& R3, and currently the PO is re

  • I just got my iPhone 4!!!

    So, I got that email from Apple saying my iPhone would be here today, but I didn't believe it. Well, Fed ex just dropped it off about 15 mins ago! So, if you got that email from Apple, you will probably be getting it today!

  • JCOM throwing SocketException: Connection reset by peer: socket write error

    I have an ejb which is calling a simple ActiveX component using JCOM. Ocassionally the ejb loses the ability to connect to the ActiveX component. Any attempt to call a method results in a java.net.SocketException: Connection reset by peer: socket wri

  • Problem about Image....

    I want to read image file(like Sample.jpg) and trasform to one half size and save to another file. code: Image img=Toolkit.getDefaultToolkit().getImage("./Sample.png"); Image img2=img.getScaledInstance(100,100,SCALE_FAST); then I can draw image2....