Error 12 using a 32Bit in LabVIEW 64bit

Hi,
This is my first request here and i have a short question: I try to load a 32bit DLL in LabVIEW 2011 64bit and i always got error 12. What went wrong? Is it possible to use 32bit DLLs in a 64Bit LabVIEW?
Thanks for your help
Greetings
Micha
Solved!
Go to Solution.

If you cannot get a re-compiled 64-bit version (perhaps because it is not a DLL built at your company), you might be able to build a new 64-bit dll that calls this one. I have no idea how to do it, but a colleague of mine says it is fairly trivial for someone with C or .NET skills.
Good luck,
Bob Young
Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
DISTek Integration, Inc. - NI Alliance Member
mailto:[email protected]

Similar Messages

  • 2035n which driver to use for 32bit share on 64bit Server 2008

    I've just got a new 2035n.
    I'm sharing the printer on a windows 2008 server 64bit.  I used the vista64bit driver to get it installed on the server.
    I'm trying to add x86 drivers in the share tab so that my xp machines will automatically install the driver once I initiate to connect the printer to the workstation.
    I'm having a really hard time to find a driver that will work.  Every time I try another driver it gives me this error:
    "The specified location does not contain the driver HP LaserJet 2035n for requested processor architecture."
    I've tried every driver listed on the drivers download page and cannot get anything to work.  Does anyone have any suggestions. 
    Thanks so much!!

    I sent out some pings about this situation yesterday but
    haven't gotten anything back yet.
    Flash Player itself supports any 32-bit browser running on a
    64-bit OS. That's not the problem here... What you're seeing is OS
    detection on the Flash Player Download center.
    So I'm still waiting for someone from the web team to get
    back to me..

  • In labview 64bit, Use PostLVUserEvent with user data cluster, unhandled exception occured.

    My labview is Labview 2009 64 bit, I use PostLVUserEvent to post message with cluster data to labview. The following is  the struct in dll:
    typedef struct {
        int32 dimSize;
        uInt8 elt[1];
    } TD1DINT8;
    typedef TD1DINT8 **TD1DINT8Hdl;
    typedef struct{
       int32       interruptSource;
       TD1DINT8Hdl portData;
    }DIInterruptData, *PDIInterruptData, **HDIInterruptData;
    In labview, the DIInterruptData corresponds to a cluster, in which there are a int32 integer and a uint8 array. 
    It works well in labview 32bit. But in labview 64bit, unhanlded exception occured. why?

    Hi Danil,
    when complaining about double-posts one should provide a link to the other thread to guide other users...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • .xlsm File use from Excel 2013 64bit/Win7 64bit to Excel 2013 32bit/Win8.1 64bit - Component Removed (not API related)

    Work Environment:  Excel 2013 64bit/Win7 64bit
    Home Environment: Excel 2013 32bit/Win8.1 64bit (1 desktop and 1 laptop)
    I am developing an an .xlsm file at work (with Lists and a single form with controls linked to a worksheet ControlSource). It works and saves all day long just fine in my work environment. I save the file to either a USB drive (or DropBox - makes no difference)
    and then open the file on my home computer. I can open the file the first time with no problem and with no error messages. But then when I try to save the file Excel 2013 32bit most often tells me that it has removed a component. But it doesn't tell which
    component it has removed. After that, if I close the file and try to reopen it, it won't reopen. I get a series of error message: [1] file path errors (error 75) [2] Excel has stopped working errors. [3] Excel hasn't enough memory to complete the operation,
    [4] Excel will close. So I click the close button on the last error message and Excel disappears. I say disappears, because its not really gone. Mind you, its not listed in the Task Manager at this point. But, if I then click the Windows Taskbar icon to start
    Excel, Excel will sometimes automatically open up with the file that I was trying to open before, already up and running, i.e. I do not select the file to open it - it just appears. Other time Excel just repeats the series of error messages noted above.
    The strange part is, once this file has been corrupted, I can still take it back to my work environment, fire it up on my work computer, and it works just fine. No error messages, no saving problems.
    I have totally uninstalled and reinstalled Office 2013 (HUP Click to Run) on both my home computers and it makes no difference.
    I can say though, this is driving me nuts. Anyone have any suggestions or ideas?
    phillfri

    I think I solved the issue.
    Step 1: Moved all my code from the Worksheet_Open event to the Auto_Open Macro.
    Result: File would open from inside Excel but when opening by clicking on the file in Windows explorer I would get the error msg "There was a problem sending a command to the program."
    Step 2: Apply FixIt 20074. Note that to get this FixIt to work in Windows 8.1 you MUST save the FixIt file to your desktop and run it from there. If you follow the instructions on the FixIt page - download and run - you will get the error msg "This Fixit
    does not apply because the computer does not have the expected software (Excel.exe)."
    Excel 2013 definitely seems to have some bugs when starting a macro enabled file. I have seen other comments on the internet about the Excel workbook_open event actually failing to run all the VBA commands that are put into it.
    Environments:
    [1] Home: Microsoft HUP Click-n-Run Office Professional 2013; Windows 8.1, 64 bit; Excel 2013, 32 bit.
    [2] Work: Enterprise Microsoft Office Professional 2013; Windows 7, 64 bit; Excel 2013, 64 bit.
    phillfri

  • Error : Your CPU does not support long mode. Use a 32bit distribution

    Hi
    I was trying to Install Oracle Enterprise Linux on VM ware version 6.
    My hardware is Intel 32 bit.
    However while booting from the DVD im getting an error as "Your CPU does not support long mode. Use a 32bit distribution."
    Please Advise
    Thanks

    I had learned that the free DVD sets that Oracle ships are always for 64-bit systems. Owners of 32-bit systems will have to either download from http://edelivery.oracle.com or copy a distribution DVD from a friend. The 32-bit media can also be ordered from the http://oraclestore.oracle.com site for about $20USD.
    Sorry for any confusion this may have caused.

  • Getting error:- Your CPU does not support long mode. Use a 32bit distribution--? on OEL 64 bit host for OEL 64 bitguest

    Getting error:- Your CPU does not support long mode. Use a 32bit distribution--?
    I am using entire Oracle Stack..OEL, ORACLE VBOX
    Trying to install guest OEL 5.6 x86-64 bit on virtualbox 4.3 on a (Dell 2950 Server with host OS OEL 5.6  x86-64 bit) .
    and it complains of -->Your CPU does not support long mode. Use a 32bit distribution
    I am struck and unsure how to proceed . I appreciate any help regarding this.
    I enabled the VT (Virtualization Technology) option in the BIOS and then gave it a try. Does not work?

    Hi
    Looks like the 64 Bit operating system is not supported. Enable the VT (Virtualization Technology) option in the BIOS and then give a try again.
    Edited by: 891882 on Oct 28, 2011 1:21 PM

  • LabVIEW 64bit OPC client

    Hi,
    Can someone confirm that it is not possible to use LabVIEW 64bit as an OPC DA client?
    I tried to read on the same pc the same OPC url (local) with LV2012 (32bit) and LV2013 (64bit).
    2012 had no problem. 2013 gave error 1181 (Protocol not recognized by LabVIEW).

    Has the OPC client component been ported to Windows 64 bit? I kind of doubt it since NI Lookout is also still 32 bit only software and the LabVIEW DSC Toolkit hasn't been ported to 64 bit either so far.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Error with function in indesign cc 64bit

    When trying to use the function below, I get this error. Upto now we use the 32bit version (cs6), but with the switch to CC, we're using the 64bit version on windows 7 enterprise (64 bit).
    Any suggestions?
    G
    function datum_en_username() {
                                     var get_username = 'myName = GetUserName\n'
              get_username = get_username + 'Set myInDesign = CreateObject(\"InDesign.Application.CS9\")\n'
              get_username = get_username + 'Set myDoc = myInDesign.ActiveDocument\nmyDoc.InsertLabel \"getUserName\", myName\n'
              get_username = get_username + 'Function GetUserName()\n'
              get_username = get_username + 'Dim objWSHNet, strCurrentUser\n'
              get_username = get_username + 'Set objWSHNet = CreateObject(\"WScript.Network\")\n'
              get_username = get_username + 'strCurrentUser = objWSHNet.UserName\n'
              get_username = get_username + 'Set objWSHNet = Nothing\n'
              get_username = get_username + 'GetUserName = strCurrentUser\n'
              get_username = get_username + 'End Function'
              var datum = new Date();
              app.doScript(get_username, ScriptLanguage.visualBasic);
              username = app.activeDocument.extractLabel('getUserName');
              return [datum, username];

    Try launching InDesign (and Extendscript Toolkit if running from there) as administrator.

  • Acquiris card wont run under Labview 64bit

    HI everyone,
    I try to run a Agilent Acquiris card (U1082A) with Labview 64bit version under Windows7. The drivers are already installed and it works just fine with the Labview 32bit Version. Agilent supplys a 64bit driver and also Labview VI as seen in the following screenshot:
    When I now insert just any of these VI's into Labview, it won't run. It says it doesn't find the function in the library:
    I re installed the drivers now, just two different other system with Windows7 and it still won't work. Any suggestions on where the error may be?
    Greetings from Wisconsin,
    Arne Petersen 

    Arne,
    Greetings from Texas!  It looks like the function name in the library call is incorrect.  Are you able to browse the functions included in the DLL to select the right one.  The function itself looks like it may point to a 32-bit version (perhaps an oversight in the development of the code).  Even if you can't see the included functions, I would still try to change the function name to _AcqrsD1_configVertical@64 instead of _AcqrsD1_configVertical@32.
    In actuality, however, this is an issue with the function call to a DLL developed by Agilent, contained in a VI distributed by Agilent.  They will probably be able to help you a bit more in this issue, if the above suggestions do not help.
    Good Luck! 
    Drew T.
    NIC AE Specialist

  • System Error 998 While loading the Labview Run-Time Engine

    Hello.
    I have a DLL made with LV 7.1 I run the dll using a C compiler and works great in WINXP, but cannot run in Win2K. Error is:
    "System error 998 while loading the Labview Run-Time Engin(c:\program
    files\National Instruments\Shared\Labview Run-Time\7.1\\lvrt.dll)
    READVOLTAGE requires a version 7.1 (or compatible) Labview Runtime
    Engine. Please contact the vendor of READVOLTAGE to correct this
    problem"
    READVOLTAGE is my function inside the dll. The runtime is already
    installed. I tried it in another WINXP running machine and works fine.

    This is actually a Microsoft bug with statically loaded DLLs. There are a couple of workarounds for it, and I have included two links below to posts that address this issue:
    Not found error message from LabVIEW runtime when called from VC++ with statically linked MFC
    I get error 998 when calling a LabVIEW buildt DLL from MSVC++
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • Can I run a 4-arch binary as 32bits on a 64bit Mac?

    I created a 4-arch executable (ppc/intel & 32/64bits). On a 64bit Mac it runs as a 64bit program. On a 32bit Mac it runs as 32bits. I would like to force it to run as 32bits on a 64bit Mac, without stripping out the 64bit architectures. (some seldom-used plugins for the program can only be built 32bits on OSX)
    64/32 bit OSX applications have a checkbox in Get info to open in 32bit mode, but CLI executables don't have this option.
    Can this be done?

    If you using Leopard, look at the 'arch' command. It has been enhanced to allow you to change the search order for the universal programs. They also talk about using it to set up the specific type through an arch command. I could not find where they are keeping the search order yet and personally have not used 'arch' in this manner.
    The man page for Tiger does not mention this functionality. So, I assume that it is not in Tiger. You might get further explanation from my message:

  • System error 988 whlie loading the LabView eun-time engine (C:\Program file\....\\lvrt.dll)

    I am trying to use NI devices with Lazarus (there is no pascal section, so I post here).
    When I try to run my application:
    DAQmxBaseCreateTask('TaskHandle', TaskHandle);
    DAQmxBaseCreateAIVoltageChan(taskHandle,'Dev1/ai0','',DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,'');
    I get the following error message:
    „System error 988 while loading the LabView eun-time engine (C:\Program file\....\\lvrt.dll)
    nidaqmxbaselv requires a version 2010 (or compatible) LabView run-time engine. Please contact the vendor of nidaqmxbaselv to correct this problem.“
    I installed LabView run-time engine 2012, but I still get the same error.
    Then I tried to install LabView run-time engine 2010- the same result.
    I removed LabView run-time engine 2012- same result.
    I tried to install LabView run-time engine 2010 again (since I did not see it in the add/remove list)- then I noticed, that the installer shows „A newer version is already installed".
    What shall I do?

    Hi,
       Can I ask the same question too?
       I am using
       Windows 7 sp1 x64
       Visual Studio 2010 pro 
       NI USB-6009  
       ni-daqmx base 3.4.5 
       I created a empty win-32 console project and putted the ANSI C Example program: acquireNScans.c with the include file and lib file of nidaqmxbase in the same folder. I added this line on the top of the source code #pragma comment(lib,"nidaqmxbase.lib"), built without any error. When I tried to run it, I got this same message.
      I tried changing to shared dll mfc and delaying linking lvrt.dll, but did not work.
      Looking forward to your reply.
    all the best.

  • Can I use IF-RIO with LabVIEW 8.20

    I am going to upgrade my LabVIEW to 8.20 but I am not sure whether the driver of IF-RIO can work with it properly.
    Does anybody know this?

    Hi,
           My customer get problems when using PCI-5640R in LabVIEW 8.2, but they could work in LabVIEW 8.0. Is there any latest NI-5640R driver support LabVIEW 8.2? Or PCI-5640R only works in LabVIEW 8.0? 
    Operation system and environment:
    LV 8.2
    LV FPGA 8.2
    NI-5640R 1.1
    NI-RIO 2.1.3
    Display error message in LV 8.2 FPGA complier server.
    An internal software error has occurred. Please contact National Instruments
    technical support at ni.com/support with the following information:
    Error 1003 occurred at Open VI Reference in
    nirviGetModInfo___nirviEIOImplementation_modGen.vi​->nirviGetModInfo___nirviE
    IOImplementation_modGen.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  The VI is not executable. Most likely the VI is broken or one of
    its subVIs cannot be located.  Open the VI in LabVIEW using File>>Open and
    verify that it is runnable.
    VI Path: C:\Program Files\National Instruments\LabVIEW
    8.2\resource\RVI\StockIO\private\StockFPGA_io_modG​en\nirviGetModInfo_StockFP
    GA_io_modGen.vi
    Please refer the attached reproducable example code.
    Best Regards
    NITW AE
    Gary
    Attachments:
    UsingFilterCore.vi ‏550 KB
    filt20070509104003.zip ‏255 KB

  • Using Matlab script in Labview

    Hello,
    I am trying to use matlab script in labview to post process the sampled signals from DAQ(attached is the vi I tried)
    After every 10 seconds I want to the send the sampled voltage data to matlab scritp block which does 1) detection of peaks using peakdetection function and plots the obtained peaks on the sampled signal 2) calculates standard of 10 secs data and plots on chart.
    But I am confused of 1) how to call the peakdetection function inside the matlabscript block
    2) How to send the 10secs data of voltage and time values to the matlab script block
    3) How to plot the signal and detected peaks on the same plot (which can be done in matlab using holdon as shown in the atached vi).
    Can someone suggest for implementing these .
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Labview&Matlab.vi ‏55 KB

    Thanks  GabeG,
    Now, Labview&Matlab_TestNoAq.vi  is woking Good and for the second one  Labview&Matlab_TestAq.vi it is showing error as shown in the attached image when these ines of code are present in the matlab scrtip 
    subplot(2,1,1),plot(maxtab(:,1),maxtab(:,2),'*r');
    SDN=std(maxtab(:,1));
    and SDN output of the Matlab script
    but when I removed these it is working fine(but not showing the detected peaks).
    Can you suggest me a solution for the above and also can I know the best method to add one more channel that samples another device signal which has to be processed in this same way(Signals sampled from 2 devices have to be porcessed in this same way).
    Thanks.
    Attachments:
    Script_Error.JPG ‏133 KB

  • How to use PXI-8532 in LabVIEW Development Environment?

    Hi,
    I want to know how to use PXI-8532 in LabVIEW Development Environment.
    I'm using
    1. Windows7 32bit
    2. LabVIEW Pro 2012 SP1 32bit
    3. NI-Industrial Communications for DeviceNet 2.3
    4. PXIe-1062Q
    5. PXIe-8135
    6. PXI-8532 *2 (Names are "dnet0" and "dnet1".)
    * Both PXI-8532 are installed in the same chassis (PXIe-1062Q).
    I want to construct the system that "dnet0" sends data, and "dnet1" receives it. The data type I want to use is an array of bools.
    I made VI (test.vi), but it does not work.
    Could you tell me the reason why my VI doesn't work correctly.
    Thank you so much for your help and time.
    Best Regards,
    volcanon2
    Attachments:
    test.vi ‏28 KB

    activeX

Maybe you are looking for

  • Missing iView?

    Dear experts, recently I have installed SAP GUI 7.1 and the addition Front End for it. When I try to execute a Query in the Query Designer I get the foll. error message: "Portal runtime error. Fehler aufgetreten bei der Verarbeitung eines Request für

  • Working with APEX_APPLICATION.GFXX

    Hello, I have created a series of checkboxes on my page. When the page is submitted I loop through the apex_application.GF01 array to see which of check boxes has been set. FOR I in 1..APEX_APPLICATION.G_F01.COUNT LOOP update mytable set status = 'CH

  • Screensaver Slideshow Stuck on 2 photos

    When we run our screensaver slideshow, it will run fine for a little while and then always gets stuck on just two photos (not the same every time). It will slideshow just these two photos from that point on, unless you restart the slideshow. Any idea

  • Register XSD-Files which includes Other XSD-Files

    Hallo i have two XML-Schemata. One is included by the other. Here is an example: This is the XSD, which is included by the other (metadata.xsd): <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">      <!-- Metadate

  • Script error: Window does not have a constructor: 324

    File-script-image processor then a script error: Window does not have a constructor:324 trying to run a batch to resize photos and this happens everytime.  Same thing is said in all options under script.