Looking for example to use Aerotech Solist CP motor in CVI

Hi all,
  Is there any example to drive Aerotech's Soloist CP motor in CVI? I found a labview code for Soloist CP in the installation directory. I used that with labview before but now I am porting lal code to CVI, I have no idea how to make it work in CVI.

RobertoBozzolo wrote:
You need to study the documentation that comes with your device and the interfacing possibilities the device offers. If the driver comes with a DLL than you could try using DLL functions directly in CVI: this document offers some explanations on how to realize this part, in any case the DLL must come with some include file that declares functions and types to use. You can also search in the support site or in the forums for additional documents or examples.
The LabVIEW driver itself could be an interface to the DLL, so if you have some familiarity with LV you could try looking at the underlyning code to see what's in it.
Having said this, I have never used devices from that producers so I cannot be of much help in using them.
Hi RobertoBozzolo,
  With your suggestion, I've compiled the vi to DLL. For testing, I write a code in c to call it and compile with gcc mingw32. It seems ok. But in the environment of labwindows/CVI, I don't have other compiler other than CVI. So following this post http://digital.ni.com/public.nsf/allkb/70995EC2CA1B523386256DD4004F3DE6?OpenDocument, I have the DLL and the related header files copied to the same folder as the CVI program in. I should state that the DLL from Vi was compiled in other computer have labview 7.1 installed, it is running 32bits windows xp. But in the development environment (where I compiled the CVI), I am runing 2012 version in 64bit operating system. I don't know will that cause any conflict. But as directed in that page, I copy all headers in cintools from the LV7.1 computer, but when I compile it, it is said that " "fundtypes.h"(116,20)   Redeclaration of 'int64'." I have no idea how to fix this issue then
Well, anyway, I comment out the definition of int64 in fundtypes.h and it finally compiled. However, since the DLL was compiled from LV7.1, when I run the compiled application with functions calling from the DLL, I got an error message that labview 7.1 runtimes required. Well, it is not a good idea to ask the client to install LV7.1 (runtime) just for running our application. So is that possible to compile the DLL and linking everything into the DLL so it doesn't require runtime 7.1? or any other suggestion?

Similar Messages

  • Looking for examples using BigDecimal

    Two newbies to Java are looking for examples of code that use the BigDecimal features for rounding and truncating large numbers to more user-friendly values.
    We are doing some hefty math calculations on values defined as doubles and want to round and truncate to within 1/100th for display purposes.
    We've tried some stuff on our own, but it is not cooperating. Any help would be greatly appreciated!

    Here is a good article of how to use BigDecimal
    http://www.javaworld.com/javaworld/jw-06-2001/jw-0601-cents.html
    Hope this helps

  • Looking for sample code using "first_tab" and "next_tab"

    Looking for sample code using "first_tab" and "next_tab". How is it used with ItemID within a dialog box? I've read the reference books - don't understand it.

    Hi Ray,
    There are several ways to do this, and in the example I created, I actually did not end up using shift registers. I've attached some example code that basically multiplies the period by the duty cycle percentage to achieve the number of milliseconds to be high and low.
    You would just need to insert your DIO code in each frame of the sequence structure.
    Hope that helps. Kind regards,
    -Sam F, DAQ Marketing Manager
    Learn about measuring temperature
    Learn how to take voltage measurements
    Learn how to measure current
    Attachments:
    70_PWM_Example.vi ‏23 KB

  • Still looking for examples

    Hi
    I have heep of books on Java security, but am still looking for examples that show how to Create, Import and Export certificates PROGRAMMATICALLY.
    Does anyone know where I can find these.
    regards

    I can create certificates using Keytool, but I was wondering how to create certificates using java API

  • How can I download itunes when I get the following errors...have installed and uninstalled a dozen times with various fixes...b noir for example and used Revo to clean up..ituneshelper did not install correctly error 7

    How can I download itunes when I get the following errors  ..ituneshelper did not install correctly error 7..I .have installed and uninstalled a dozen times with various fixes...b noir for example and used Revo to clean up.
    This has been a problem for 6 weeks now, I retry when I have time and patience and use my other laptop which is also Windows 7 and runs with no problem.
    Every attempt fails when all seems fine on the desktop and I try to log on to Itunes I get the errors.
    Any help greatly appreciated.
    billymac

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features(Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (If this won't uninstall press on)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • Looking for example of seurity domains

    I'm looking for examples of code for implementing issuer security
    domains as well as application providor domains. Having read the
    GP documentation it seems rather strait forward, but I would like
    still like an example if anyone knows of any. In particular one
    thay may have delegation. Any help would be appreciated.
    Alwyn

    I would recommend you contact a vendor because they issuer for the ISD. If you want to become an ISD, then you'll have to organize the applet to conform to your specifications.
    Also, you need to contact a vendor because to perform delegation is outside the realm of developer cards. In other words, I don't know of any vendor that provides delegation implementation with developer cards.

  • Looking for a cheap used Mac

    Greetings,
    I'm looking for a cheap, used Mac to play around with iPhone app developement. How far back can I go hardware wise and still be able to install
    Snow Leopard?
    Thanks,
    Patrick

    You can install Snow Leopard on any Intel model as long as it has at least 1 GB of installed RAM.
    Snow Leopard General requirements
    Mac computer with an Intel processor
    1GB of memory
    5GB of available disk space
    DVD drive for installation
    Some features require a compatible Internet service provider; fees may apply.
    Some features require Apple’s MobileMe service; fees and terms apply.

  • Looking for pages designd using iWeb

    hi and greetings from germany,
    i'm looking for pages designd using iWeb to get an impression how it is working. I would like to build pages with text and i would like to know if it is possible to change or delete the placeholders for photos in the templates.
    sorry - i can only use that english i learnd at school long ago ... ;-))

    http://www.happyadam.com
    The URL above points to my iWeb - spent a couple of hours with this over the weekend. It's quite flexible - takes a little getting used to (if you've used Pages then it's similar). There's not many templates but it's a good starting point.
    The worst thing is the .Mac servers - they're very slow for hosting these iWebs as many others have found.
    12 Powerbook G4 1.33GHz   Mac OS X (10.4.4)  

  • I'm looking for examples of CAN control code with LabWindows CVI

    I'm looking for examples of CAN control code with LabWindows CVI.

    Hi,
    The NI-CAN driver installs some examples for both the frame API and Channel API (NI-CAN 2.0).
    The typical installation directory is:
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\nican.
    It might change depending on where you installed CVI.
    DiegoF

  • I am looking for somebody whoo uses the deploytool of Sun.

    Hello my name is Jurgen,
    I am looking for somebody who uses the deploytool of the J2EE SDK 1.4 full installation. I am having some trouble with the deploytool.
    Does somebody know an alternative for the deploytool of Sun ?
    Thanks a lot !
    Jurgen

    Correction:
    In the current version of the tutorial we use deploy.
    However, we will be updating the tutorial next week
    with instructions for using asant to package and
    deploy.We use deploytool to package and deploy in the current version.
    We will add instructions to package and deploy using asant in a version scheduled for release on June 15.

  • Looking for example - abap xslt - that uses xslt document() function

    Hello,
    I'm looking for an example that shows the use of abap xslt with the xslt document() function.  Using the xslt document() function seems like a straightforward way to use xslt to create a result xml document by processing the content of two or more
    source documents.  For example, if source document A.xml and aux.xml are available in  memory as xstringand using stylesheet ztransformwhat would be the argument for the document() function to associate aux.xml.  Thanks for any insight.
    Regards,
    jb10809

    Hi,
    Sorry, perhaps I should have been clearer! The function that I picked just to test what you need to do just happened to return a string that contains SPAN tags with style attributes. The actual function code is:
    create or replace FUNCTION out_string_fn
       RETURN VARCHAR2
    IS
       CURSOR emp_cur
       IS
          SELECT ename
            FROM emp;
       v_string   VARCHAR2 (4000);
    BEGIN
       v_string := ' ';
       FOR c IN emp_cur
       LOOP
          v_string :=
                v_string
             || '<SPAN style="font-weight:bold;color:green">'
             || c.ename
             || '</SPAN>'
             || ', </br></br>';
       END LOOP;
       RETURN v_string;
    END;And this returned a naff list in green (see [http://apex.oracle.com/pls/otn/f?p=55041:57] and click the Test button) - but it does show that you can style the validation error messages
    Andy

  • I'm looking for examples of accessing shared libraries

    I want to look at some examples of accessing vi's in my shared library.

    Mikey,
    In posting your questions, please be as specific as possible. Your questions are confusing.
    I don't understand what you are asking. It sounds to me like you want to access a labVIEW DLL from your DLL. I don't think you will find any examples of that here. If this is what you are looking for, then you already have the answer. DLLs are a standard. Calling them is not dependent upon the compiler you use. You call a LabVIEW DLL like you would call a DLL written in VB, C/C++, Java, or whatever.
    Of course, in order to access LabVIEW code from C, it must be built into a DLL. Do a search on the NI website for DLL, shared library, etc, and you should find some application notes, and other documentation that will answer your questions.
    Als
    o, I strongly suggest that you take the following courses from National Instruments:
    LabVIEW Basics (I and II)
    LabVIEW Advanced (all three days)

  • Looking for examples of this...

    Here is clip that I would like to get some input on... I am using adobe premiere pro cs3 my questions are below
    http://www.youtube.com/watch?v=MXCZVmQ74OA
    1. could someone give me the technical term that would drescribe for this style of production because I want to find other examples of clips made like this...
    2. Where can I find different types of template examples not exactly the same... but using the same concept of moving words and pictures  that I experiment with in premiere pro cs3 to create my own clips?
    Thanks,
    John

    Here is another question which I would like to understand...
    I have learned that it is called kinetic typography when you are using words... is there a term for a combination of words with stillls, and voice over like in these examples below? Also, do you know of a tutorial that focuses specifically on creating these styles of shorts listed below... rather than going through tutorials that give me pieces of the elements in these shorts... I am looking for a tutorial which concentrates on putting together the shorts in this style in a focused way.... thanks....
    1. http://www.youtube.com/watch?v=l01murqKzjo&feature=relmfu
    2. http://www.youtube.com/watch?v=dGQYHOzLMUk&feature=plcp&context=C27f9f UDOEgsToPDskJDj1DpEx6u1A9_KIcQETuG
    3. http://www.youtube.com/watch?v=MlnWKmkJQwA&feature=relmfu
    Thanks,
    J

  • Java.lang.instrumentation (looking for examples, code snippets)

    I'm exploring the use of java.lang.instrumentation, management for a variety of tasks such as profiling, monitoring, etc.
    I'm looking for some code snippets and examples to get me bootstrapped. Didn't find any doing a search.

    Unfortunately there aren't any examples of java.lang.instrument usage available yet. I will try to rectify this.
    java.lang.instrument.Instrumentation is an interface, but it is not an interface that users of java.lang.instrument implement. A single instance of a class, internal to the JRE, which implements this interface is created if and only if the -javaagent flag is used. This sole instance is then passed into the premain method.
    Robert G. Field
    JSR-163 Specification Lead

  • Looking for app to use for reminder of customers service days

    I am a Chimney Sweep and I'm looking for an app i can have on my iPad & iMac that i can set reminders for customers service days, they could be a year ahead but its reminder for me to then tell the customer its time to have your chimney cleaned.
    Thanks for any help.
    Lee

    Lee,
    Have you looked through the Mac App store yet? If you have and haven't found anything then I'd suggest using a database such as FileMaker Pro to manage that. You may even find a template where someone has created a FileMaker Pro program that you can download and/or buy that does what you want.

Maybe you are looking for

  • Double-clicking on files doesn't open them

    Just started today: If I navigate to a file in the Finder and double-click on it, nothing happens. It doesn't open. If I open the application (e.g., MS Word) and go to the file menu and choose Open, navigate to the file, the file will open. But it ha

  • Ipod Touch not appearing in Itunes using Windows 7

    If your Itouch doesn't appear in Itunes try doing this: The problem is, for some reason, iTunes won’t install the Apple Mobile Device software or service. Even if you extract out the AMDS installation files, it still fails. The SOLUTION is to take th

  • Line item and header records in the same infopackage

    Gurus, I wanted to check how can I make sure that I get all the line item documents in the same package with the header document record in the same infopackage? Is there some setting for that? If I am writing a custom extractore how can I make sure o

  • Problems after installing 10.4.5 with CPUDirector 2.3b3

    Well, recently the new version of CPUDirector was released and I immediately went ahead and installed 10.4.5. Sadly, upon restart it froze. Starting up with verbose mode, I found out that it kept freezing when it got to a message saying basically "CP

  • Orion-ejb-jar.xml for oc4j and xdoclet

    Does anybody try to use xdoclet to generate orion-ejb-jar.xml with ejb relation? Could somebody show me any example of definition relation for xdoclet and orion-ejb-jar.xml? (@orion:persistence...) thanks for any advice... :-) Zajo