Problems with the implementation of 32 or 64-bit DLLs in LabView 2013 13.0f2

Dear Sirs and Madams,

I try to order a motorized device (MGZ30-WORD thorlabs) with LabView 2013 (32 bit), product version 13.0f2 on a PC under Windows 7 64-bit. Unfortunately, there is no support of LabView for the WORD MGZ30, which means that there are no libraries or VIs for LabView.

First of all, I want to describe the component or rather its functionality. It is connected to the PC via USB and managed by the v5.0.2153.1 Trinamic Virtual Serial Port Driver. If you wish, for example, adjust the position of the device, there is a small program (written in C++ by the seller). There are 2 different folders for 32 and 64-bit, each containing a .exe, .dll two (a ThemeControl.dll called, who apparently does not have the feature described in the h.file, I want to talk about later, and a ThorZStepper.dll called), a .lib (ThorZStepper.lib) file and an .xml file (ZStepeprSettings.xml, which contains the used COM Port and baud rate information). In addition, there is a folder that contains the driver and a folder called "SDK", that contains the subfolder with a .h file, samples and once more the files mentioned before.

To use your device, you must modify the COM - ID in the .xml file and run the 64-bit .exe as administrator.

First of all, I tried to use the VISA-USB-controls, which worked well with another device. However, he did not for the WORD MGZ30 as I did not have the possibility of obtaining the necessary chains of command although I used a sniffer port. Observed communication seems to be more complex than I expected and I was unable to extract the relevant information. To add, the device seems to communicate constantly with the PC even if it is inactive.

The next idea, which came to my mind was to put in place the .dll files. Therefore, I used the import via Tools/Import/SharedLibrary function and the only h-file that I found in the file and the dll file which stood next the .exe in the folder of 64 bit. LabView created a file .lvlib and I got access to a few screws, which have also been described in the header file. The problem is that I can't run these screws because the .dll file is 64-bit while LabView is only 32-bit (at least, LabView suggests that this is the error.

After that, I tried the same thing using the same header file (there is only one), but using the .dll file located in the folder of 32 bits. When I now try to run the files, execution of works, but I get an error message "call library function Node in ThorZStepper32.lvlib:Find Devices.vi. There are also a few screws, which do not generate this error, but will not work.

My next test was to use the "call library function Node", as well as documentation in the .h file, but it didn't work. I don't know if I missed something or the 32-bit .dll file does not work on 64-bit operating system. Could you please help me to use the "call library function node" to investigate the weather that the 32-bit dll does not work properly?

Please find the file h., (html.zip) documentation of the h.file and the VI, it must indicate the position, attached.

Best wishes and thanks in advance!


Tags: NI Software

Similar Questions

  • Photoshop has encountered a problem with the display driver cs6 - win7 64 bit

    Hello

    I installed collection CS6 Mater, whan I tried to enter in photoshop I got this window «photoshop has encountered a problem with the display and temporarily disabled driver development using graphics hardware...» »

    Whan I get is window, the "parameters of the graphics processor is gray - «photoshop detected a problem in your display driver...»» »

    I have laptop with AMD Radeon R7 M260

    Win7 64 bit

    PC Toshiba laptop satelite l50 - b

    Hi doriv,

    • Update your graphics card driver.
    • You have the graphical configuration Swichable?
    • As Mylenium says you must add this parameter in graphic control panel so that Photoshop can detect your card.
    • Open graphic switchable Configuration and add sniffer.exe and Photoshop.exe (from C:\Program Files\Adobe\Adobe Photoshop Cs6). See graphics switchable troubleshooting questions unde... | Community

    Kind regards

    Assani

  • problems with the implementation of MPC with system delays

    Hello

    I have Aproblem to implement a MPC controller for a system with significant delays. The final control system will be used with a RT PXI on an engine test bench, but for now, I'm running a few previous simulations to solve problems.

    The attached vi shows a simplified system for MIMO 2 x 2. When I run it with the default settings (initial window = 0; = 5 prediction horizon and horizon of control = 2; no delay of system, or delay of prediction model) everything works fine.

    However, if I understand a delay of the plant (time factory example = 10) the CPC shows a behaviour that is not clear to me:

    * If I put 'integral action?' false: MPC operates in open loop, and the MPC calculates (and apply) the same control in the system not delayed action. Of course, it cannot compensate for errors in modeling, is not really for me.

    * If I put 'integral action?' to true: System is not stable. for fixing it, I change the initial window at 10 (and therefore the forecast at 15 horizon). Although the system is now stable, the performance of the control is not really good, because significant overruns exist

    Then I try to include in my prediction model of the delay (through a block 'CD Set delays to the (State-Space) model'), but it seems that the PPC is not sensitive about the time defined in the model.

    Hepatitis could me?

    Thank you very much in advance,

    Carlos (Adama)

    (Note, in the attached example, in what I scored blue settings that I'm changing)

    Don't worry, I solved the problem myself including delays in the model defining additional States that aceted as souvenirs.

    I can confirm that the CPC does not takes into account the deadlines defined in the model of the SS.

  • Problems with the implementation of the chronology of the railway imported into Windows Movie Maker

    Original title: problems with rails imported into Windows Movie Maker.

    I'm working on a project, and every time I import tracks, I can't place in the timeline because WMM has managed to turn them into securities that are long 9784 hours. I played against them on several different media players and they were all the lengths they are supposed to be, but once they are on WMM, they are totally foires.

    Is there a reason why this is happening and how I can fix this problem?

    Hi PixieNinjaReprise,

    1 have you downloaded the songs from any online store?

    2. is the song that is protected by digital rights management?

    Check the file format and see if this file format is supported by the Director.

    However, you can drag the song at the beginning of the time online click fade at the end of the song.

    You can check the following links for more information:

    How to add music

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-music-to-your-movie

    Audio setting in Windows Movie Maker: frequently asked questions

    questions http://Windows.Microsoft.com/en-US/Windows-Vista/Adjusting-audio-in-Windows-Movie-Maker-Frequently-Asked-

    Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/video-filters-in-Windows-Movie-Maker-frequently-asked-questions

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think. If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I have a problem with the implementation of the administrator.

    Original title: can not become administrator on my own laptop

    When I try to define myself as an administrator on control userpasswords2 it says access denied and I have no idea what do I do

    Hi Lobik,

    Thanks for posting your question in the Microsoft Community Forums.

    From your post, it seems that you are getting the error message access denied when you try to set the type of administrator account.

    To change the administrator account type, you need to connect to the computer as an administrator. The default account created during installation time is the administrator account, try to connect with the administrator account, and then try to change the standard account for the administrator account.

    To change the user account ttype, please refer to this link:
    Change the type of user account

    http://Windows.Microsoft.com/en-us/Windows7/change-a-users-account-type

    It will be useful.

    Please come back if you have any questions about this question or any problem with Windows in the future and we will be happy to help you.

  • Problem with the implementation of the .gif files

    I have a new file so I proceed as follows: file > import in the library > sample.gif > symbol Drag to the project > project > this: 11.gif

    I followed several guides and this always happens. Anyone has an idea on what's going on?

    Look in your library to the last frame of the animation. The unique image it resemble the sum of all previous images? If so, the animation you are trying to import has been incorrectly recorded. It must be registered with the option "do not throw' NOT defined.

    Problem with .gif images not in the process of disappearance

  • Problems with the implementation of the signature box in adobe 8

    I have a new problem to a function, I have used for years. It's the placement of the signature box. Until the last few weeks, I had great control over the placement/size of the signature box. This has changed so that now I can't accurately control the implementation/size of the box. It is small or overlaps the text. That's happened? Latest updates the cause?

    You have probably snap to grid turned on: view > snap to grid

  • Problems with the implementation of a Frontier account

    My e - mail was changed recently fron Verizon to the border.

    I did everything properly to add the account of the border and I get a message "connection error".

    The Motoblur email address is Verizon one.

    Is there a link between the now inactive Verizon account and the inability to add a new email?

    If so, is there a way to reset motoblur messaging without restarting?

    If you have your account existing Verizon on the phone and that you no longer want it you will have to click on the account, then select the button at the bottom to remove the account. If the new account uses the same information as the old, it may be in conflict.

    The only thing you should have to do with the new account is to add the e-mail address and the password.

  • Problem with the implementation of the page number in the BATCH and LOF

    I did a lot of books with table of contents, the LOT and LOF all work fine.  They look all pretty normal:

    Table 123 - table... name < page number >

    or

    Figure 123 - name Figure... < page number >

    But now I have a case where the «...» ' is not the case, and the <>page number is just crushed against the table name without a space between the name and the page number.  This happens only to the BATCH and LOF.  The table of contents looks very good.

    I guess it's something in the Pages of reference that I messed up, but I can't understand what happened so I can fix it.

    Any ideas?

    FOUND!  Thanks Bob for pointing me in the right direction.  It was exactly this tab stop setting.  The editor is in Europe (narrow pages).  So, while our records (with the size of the American page) and their corresponding files, I found that the framework does not KNOW a tab stop that pushes the text beyond the right margin.  When I reduced the tab stop it as magically started working.

    The silence of the tab stop ignorant was the confusing part.  He was there when you looked into the source files, it just never appeared in the finished product, and there is NOTHING to indicate why!

  • Problems with the implementation of a CS6 K12 site license

    Hello

    We sold a site for a school license using an automated K12 Imaging System. When the school moved to be continued on a PC, everything works fine. But when they create an image and put it on another machine, then again request a connection with the AdobeID and serial number. For the image is renewed every time you start a 400 customers, it is not possible to activate the clients every time. Does anyone know how to create an image with CS6 requesting not AdobeID and the series after download on another client computer?

    Best regards

    Heiko Wrede

    Hi Heiko

    Did you create a package for the deployment of the company?

    Creative Suite Enterprise Deployment. Adobe Developer Connection

    The packaging of Adobe Enterprise tool varies according to the version of CS or CC you are packaging.

    It must also have a license/serial number that supports the use of enterprise deployment tools.  These tools allow you to create an installation package that is serialized already and is not in demand AdobeID where you register agreement supports these deployments.

    Also what image deployment system do you use for what client OS.

    The process is fairly simple, now with the improvement of the Adobe tools, yet some improvements, they can do, but it's much better than in the past.

    Good luck.

  • Problem with the implementation of Outer JOIN

    Hello Guru,

    Here's my scenario. I know that this can be achieved in several ways. But I need this in a single in aid Of JOINS EXTERNALrequest.

    I have two tables namely masters and transactions table. I need to join two columns (trx_name, trx_type) of the two tables and the need for all transactions. Part the trickiest is off 2 join columns, one column can be NULL in the main table.

    Script TABLES:

    create master table (mstr_no number, trx_name varchar2 (100), trx_type varchar2 (100), trx_module varchar2 (100));

    insert into masters values (1, 'yyyy', 'simple', 'cont');
    insert into masters values (2, 'bbbb', < NULL >, "cust");
    insert into masters values (3, 'yyyy', 'triple', "cont1");

    create table transaction (trx_no number, trx_name varchar2 (100), trx_type varchar2 (100));

    Insert in transaction values (1, 'yyyy', 'simple');
    Insert the transaction values (2, 'bbbb', 'double');
    Insert in transaction values (3, 'yyyy', 'triple');
    Insert in transaction values (4, 'cccc', 'purple');
    commit;

    I need output like below.

    1, 'yyyy', 'simple', 'cont '.
    2, 'bbbb', < NULL >, * "cust."
    3, 'yyyy', 'triple', "cont1".
    4, 'cccc', 'purple', < NULL >

    I need to join trx_name & trx_type in the two tables. Even if one of the column is null in the main table (mstr_no = 2), I have need of the corresponding value of trx_module since trx_name made match.


    My query:
    Select a.*, b.trx_module of transaction a, master b
    where a.trx_name = b.trx_name (+)
    and a.trx_type = NVL (b.trx_type (+), 'NULL')
    order of a.trx_no

    Appreciate your help.


    Concerning
    MN

    Maybe I'm wrong, but I don't think you can do this with a single outer join:

    with
    full_matches as (
    select *
      from master
     where trx_type is not null)
    ,
    partial_matches as (
    select *
      from master
     where trx_type is null)
    select a.*
         , coalesce(b.trx_module, c.trx_module) trx_module
      from transaction a
      left outer join full_matches b
        on (a.trx_name = b.trx_name and a.trx_type = b.trx_type)
      left outer join partial_matches c
        on (a.trx_name = c.trx_name)
     ;
    
    TRX_NO TRX_NAME             TRX_TYPE             TRX_MODULE
    ------ -------------------- -------------------- ------------
         1 aaaa                 single               cont
         3 aaaa                 triple               cont1
         2 bbbb                 double               cust
         4 cccc                 purple
    

    Re-reading my answer, I see that a short explanation might be useful: the query uses two outer joins: first masters lines with the name and type are joined, and then type the lines with missing. Him coalesce work to choose the most relevant information of module.

    Published by: Martin Preiss on June 7, 2013 20:24

  • Problem with the implementation of a user-defined function

    Hello.
    I wonder if you could help create a user function in ODI, which would do exactly the same thing as this one:

    create or replace function Konwersja (psWejscie VARCHAR2) return DATE is
    dDate DATE;
    Start
    dDate: = TO_DATE (psWejscie, ' DD month yyyy ',' NLS_DATE_LANGUAGE = POLISH ');
    RETURN dDate;
    EXCEPTION
    WHILE OTHERS THEN
    RETURNS A NULL VALUE.
    END;

    I tried to put Konwersja (psWejscie VARCHAR2) and Konwersja ($(psWejscie)) in the syntax and the rest in the implementation in Oracle syntax, but when I used it in an interface to load data to a date column (Konwersja (.)) (("" Data_U ")), I got an ORA-00923 exception

    Yes, you can call this function from the DB interface directly. In the interface mapping column say Konwersja () it will work.

  • Problems with the 'Association' in Windows 7 64 bit file

    Even if I am able to go through the 'normal' process to associate a program with an extension, it does not work.  After having completed steps browse and selecting the program it brings back me to the "Open with" window  The program I selected does not appear in the "Open with" window and it seems that he ignores me everything simply.

    I also tried the 'Default programs' route but wind upwards in the same window 'Open with' which ignores me.

    Suggestions?

    -----------------------
    [EDIT]
    (1) I realized that this probably isn't a forum appropriate for this question so feel free to ignore!
    (2) I also realized that this may be a problem with associating extensions with non-64-bit programs and seems to be a non-issue if trying to associate with a 64-bit program... go figure.

    After playing a lil, I think that I figured it... [for me at least...]

    The program you are pointing to is not saved correctly.
    In regedit: go to Computer\HKEY_CLASSES_ROOT\Applications and find your .exe name.
    Sail under its name of shell > open > order. In the default change its location to the actual location of the executable file, press OK and then try and reassociate the file type as you normally would.
    Let me know if this doesn't seem to work.
  • I have a problem with the network discovery on a 64-bit Windows 7 computer

    Frustrated.

    I have a windows 7 PC!  Machine 64-bit allowing network discovery stay on.  I have several posts and all the necessary services are started.  I tried toroll return the machine when he was working last but nothing is.  I tried in safe mode with networking, the same results.  Same results restarted, used a different network location, same results.  I have nothing seems to change that at all.  All the other computers on my network work fineand I can see and access the device from other computers on the local network and can tire of the broken machineBUT files, I don't see anything else on the network of this machine.  Every day, I shoot files on the network, so it is a very useful tool for me.  Tere is no antivirus running on the computer, but I did an analysis away from the machine with the trend micro software which found nothing on the machine based on a virus.  Any help would be great.

    good to have it fixed.  I think that it was a torrent that I downloaded.  Was a problem of windows firewall.  Open services.msc.  stop the windows firewall service.  Everything worked.  Went to tinyurl.com/pornofix and installed the software.  Entered into the software and some fix windows firewall and it ran.  restarted the computer and fixed.

  • Problem with the implementation of an administrator password.

    I got my laptop for about a year and I finally decided to create a password for the admin (the children begin to share). Problem for you, is that when I try to set the password, I get a message that States Windows cannot change the password. I found this strange since I had not set up a password yet. I had not yet set up another user account. Any ideas would be appreciated. Thank you

    Ok. It is more an assumption...

    Best Buy set up an account WITHOUT password. The account you are now IS an administrator account (without password).

    See if it works. Do you know how to create an account? If you do, please do. You will be asked/prompt for the password, just press ENTER .
    If it passes by, you're home free.

    Create an administrator account, give it a password ( keep a copy of the password ).
    Now, you have 2 accounts admin put a side for an emergency, use it for daily use.
    You would be warned not to use the Admin account for everyday use, and that you create a Standard user account for everyday use. Your choice. I'm not here to influence you.
    Whatever it is, it is more important that you have 2 Admin accounts so that if a problem occurs, you can connect to the other instead of being locked out of the machine.

    t-4-2

Maybe you are looking for