Use Labview to control two Picomotor actuators successively through Model 8753 iPico driver

Hello All,
I want to use Labview to control two Picomotor actuators(belong to channel A ,C) successively through Model 8753 iPico driver.Since the example VI's
(Application.vi) from Newport's website just control one actuator at one time, so I copied the example code, thus there are two repetitive sections (see the attachment) in
the while loop structure. The test result was that two Picomotor actuators moved to respective target position circularly. And I found the test was correct when two Picomotor actuators belonged to different address. Can anyone tell why ,what should I do? Any assistance with this matter is greatly appreciated.
Best Regards,
Attachments:
control two picomotor actuators.vi ‏90 KB

BRox,
I had a look at the examples and obviously all it does is to communicate to the drive through RS232 with a proprietary protocol. With the documentation in the block diagram and the documentation of the protocol it shouldn't be too hard to understand what's going on, but on the other side NewFocus has obviously missed a chance to provide a high level and easy to use API for their product...
I can't dive too deeply into the features of this drive, but before you spend too much time on understanding their command language, you should check with NewFocus, if it is possible at all to meet your requirements with their hardware. The main reason why I doubt that is the slow communication speed provided by RS232. The only way to reach a sinusoidal motion profile of 30 to 70 Hz with this type of communication is running the complete trajectory generation and interpolation onboard. If you have planned to generate the motion profile in LabVIEW and send setpoint commands to the drive this will probably not work.
If the drive provides another command input (e. g. an analog +/- 10 V input for torque or velocity command signals), we can talk about alternative approaches.
Regards,
Jochen Klier
National Instruments

Similar Messages

  • I have some question on "Use LabVIEW to Control two DSP and RTDX"

    I have some question when writing LabVIEW. I have DSP6711 and DSP6416, I use RTDX to send data to LabVIEW.
    I write three programes for LabVIEW, one is RTDX for DSP6711, another is RTDX for DSP6416, and the final is RTDX for two DSPs.
    The program of LabVIEW is workable when doing DSP6711 or doing DSP6416. But there is some problem when running DSP6711 and DSP6416 on LabVIEW at the same time.
    How to tell the LabVIEW's tool of " RTDX read" to  get the datas from different DSP

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

  • Using LabView to control a pump

    I am a college student working on my senior project. My group is trying to use LabView to control two diaphragm pumps. We have a code written that generates the appropriate signal. The problem that we are having is getting this code to activate the pumps and make them run.
    Any help would be appreciated.

    You really need to provide more information.
    What is the interface between the code and the pumps? How does the code communicate with the interface? Are all the necessary drivers loaded?
    What happens, exactly, when you run the code? Do you get any error messages? What are they?
    Please post your code along with answers to these questions.  Also provide any other specific information which might be necessary for us to assist you.  Good questions can get good answers. Vague questions will only get more questions!
    Lynn

  • I need to program a Hittite Fractional​-N Synthesize​r Evaluation Kit with a HMC702LP6C​E an external YIG oscillator​. Not sure how to use Labview to control the PLL.

    I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator.  Not sure how to use Labview to control the PLL.

    Here is how to use the PLL. But I don't know of how to interact with that device
    http://zone.ni.com/devzone/cda/tut/p/id/3781
    And for thouse who don't know what a PLL is a free bonus link is here:
    http://digital.ni.com/public.nsf/allkb/07BC8D77D4E​9AE258625708B007CE74F?OpenDocument
    and a second one on what that device is: http://www.hittite.com/products/view.html/view/HMC​702LP6CE
    Now we are all caught up to speed.
    Sam S
    Applications Engineer
    National Instruments

  • How to use LabView to control Primera Bravo II CD burner?

    I am trying to use LabView to control the Primera Bravo II CD burner and label printer. The software that controls the Bravo II is PTPublisher. How to use LabView to communicate/control the PTPublisher? Please help, Thanks

    Hi Qian,
    I installed PTPublisher on a virtual machine, and I was wondering what kind of tasks you wanted to control within LabVIEW.  From the program GUI, it appears like the only way to access functions is via mouse clicks.  Do you know of any other way to control the Bravo II CD burner besides the PTPublisher software?  If not, does the PTPublisher allow you to control it in some way other than clicking?
    Peter K.
    National Instruments

  • Help Using Labview to control Kikusui power supply with a PIA4850 controller

    HI I need some help using Labview to control 4 Kikusui power supplies. We have a PIA4850 Kikusui power supply controller. I can use the visa test panel and see the PIA4850 but can see any of the power supplies. I have very limited use of Labview and only wrote a couple programs using GPIB. The PIA4850 is a USB controller and can control up to 32 PS. I can get it to work with a Excel demo software that came with the controllers so I know that it is working. Any help will be appreciated. I am using LabView 8.2 and have updated to the Ni-DAQ 9.0. I have a program that I need to incorporate the PIA4850 into once I figure out how to operate it. Thanks in advance.

    HI and thanks for the help. I did get one power supply to work but have another problem. I need to control 4 power supplies at the same time and can only operate the one that is addressed N5!C1. If I set the other to N6!C1 and so on I get an error stating
     “Error -1074135008 occurred at ki4800_2 Configure Voltage Level.vi Possible reason(s):IVI Error in the method "get_Item" in the component "Kikusui4800". E_IVI_UNKNOWN_CHANNEL_NAME: Unknown channel name (N6!C1)”
      I am assuming that I should be able to change the node number and that will change the supply that I need to use. Everything works great if I use N5!C1 I can change any of the supplies to address 5 and can control it with no problem. I can even have multiple supplies with the same address N5!C1 (don’t think I should do that) and change them all at once. I need independent control of each supply.
      I am in a pinch here and need to figure it out but could use some help. Any ideas will be greatly appreciated.
      Thanks
    GBlair
    Attachments:
    KIKUSUI PS.llb ‏179 KB
    Kikusui Ps Controller.JPG ‏63 KB

  • How can I use LabView to control Altera Scripting

    Hi
    I have kind of run into a stone wall. I am building a production test executive based on LabView. Part of this process includes loading an FPGA image on to a CFI flash that is in the JTAG chain. I am trying to make so that the production operators don't have to open a second application, select the right FPGA and Flash navigate to the file then load it, then go back to LabView and run the rest of the tests.
    Altera has a command line interface that will let me load .cdf file.  The problem is that nowhere in Altera’s documentation does it show me how to first load the “Parallel Flash Loader IP” into the FPGA. The flash loader acts as a temporary bridge between the JTAG input and the CFI Flash.  I have looked on Altera’s Forums and have had an open ticket with Altera’s support engineers for more than a week.
    I can’t be the first person to want to do this; I am hoping someone here has done it before. I would really rather not try to use the activeX controls to manipulate the windows based program.
    Any suggestions would be greatly appreciated (Note I am not trying to put LV code on the FPGA/Flash just use LV to control the process)  
    Thanks in advance
    Below is the error message and the script I am using. It almost works just missing the flash loader IP
    C:\altera\12.1sp1\qprogrammer\bin>quartus_pgm -c USB-BLASTER -m JTAG  S_FPGA.
    cdf
    Info: *******************************************************************
    Info: Running Quartus II 32-bit Programmer
        Info: Version 12.1 Build 243 01/31/2013 Service Pack 1 SJ Full Version
        Info: Copyright (C) 1991-2012 Altera Corporation. All rights reserved.
        Info: Your use of Altera Corporation's design tools, logic functions
        Info: and other software and tools, and its AMPP partner logic
        Info: functions, and any output files from any of the foregoing
        Info: (including device programming or simulation files), and any
        Info: associated documentation or information are expressly subject
        Info: to the terms and conditions of the Altera Program License
        Info: Subscription Agreement, Altera MegaCore Function License
        Info: Agreement, or other applicable license agreement, including,
        Info: without limitation, that your use is for the sole purpose of
        Info: programming logic devices manufactured by Altera and sold by
        Info: Altera or its authorized distributors.  Please refer to the
        Info: applicable agreement for further details.
        Info: Processing started: Thu Oct 03 18:16:53 2013
    Info: Command: quartus_pgm -c USB-BLASTER -m JTAG S_FPGA.cdf
    Info (213045): Using programming cable "USB-Blaster [USB-0]"
    Info (209060): Started Programmer operation at Thu Oct 03 18:17:19 2013
    Error (209062): Flash Loader IP not loaded on device 1
    Error (209053): Unexpected error in JTAG server -- error code 5
    Error (209012): Operation failed
    Info (209061): Ended Programmer operation at Thu Oct 03 18:17:21 2013
    Error: Quartus II 32-bit Programmer was unsuccessful. 3 errors, 0 warnings
        Error: Peak virtual memory: 376 megabytes
        Error: Processing ended: Thu Oct 03 18:17:21 2013
        Error: Elapsed time: 00:00:28
        Error: Total CPU time (on all processors): 00:00:03
    Solved!
    Go to Solution.

    Hi Eric,
    I got it figured out today, basically you have to load the Parallel Flash Loader first into FPGA ram. It is a special .sof file (pfl_epXXXX.sof) based on your FPGA. Code is actually pretty straight forward, using the Sys Exec VI. Use the windows based programmer to generate the .cdf file that identifies your FPGA, attached Flash and .pof file .
    Syntax was odd going into Sys Exec. Note the extra "C" in in front of the "quartus_prm.exe" I have no idea why that was needed, but I was getting an error until I just happened to put it in there (Blind Luck :-))
    I used a 2 element array going into a four loop
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG -o P;pfl_epXXXX.sof
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG S_FPGA.cdf
    Defining the working director C:\altera\12.1sp1\qprogrammer\bin
    And added match string with "Successfully performed operation" on the output in the loop to make sure everything loaded correctly then adding the array to give me a overall P/F
    To anyone doing this same thing Altera's documentation is poor to say the least. It took most of a week to figure this out Not allowed to upload code, so anyone wanting details just post here and I will try to help. This was painful, with lots of lessons learned.
    Thanks for the interest though
    Best regards John

  • Use LabView to control light wires

    use LabView with a power point presentation to control light wires to turn on and off at specific times.
    Using windows XP and microsoft power point. As well as LabView 6i or better.

    That's fine. You have unlimited message space (at least it has been enough for all my needs so far) if you use the web interface to this forum from NI's website. Go to: http://www.ni.com/devzone/dev_exchange/
    Coming to your question, there are two parts to your application:
    1. hardware control -- obviously you will need some hardware that can output and regulate (software controlled) current. National Instruments has a wide selection of such hardware from plug-in cards to standalone modules. All this hardware integrates nicely with LabVIEW. Selecting the right one for your application can be tricky.
    The best would be to either use the DAQ Designer or call and talk to a NI Sales person. The DAQ Designer can be accessed onlin
    e here:
    http://www.ni.com/devzone/dev_exchange/
    2. I still do not understand how exactly you want to control this from PowerPoint. In any case, LabVIEW has an ActiveX Control container which can be used to display (and control) PowerPoint slides on a LabVIEW panel.
    Hope this helps.
    Khalid

  • How do I use LabVIEW to control and vary the voltage on my Agilent Power Supply and simultaneously record temp from 1 DMM and voltage from another DMM?

    I am using an Agilent Power Supply  to apply a voltage to a
    thermistor to heat an Al chassis.  I want to use LabVIEW to tell
    the power supply to apply 5V for 10 minutes, then step to 7V for 10
    minutes, etc.  I am completely new to LabVIEW, so any help would be greatly appreciated!
    In addition to that, I want to place a type J thermocouple onto the Al
    surface and use a Keithley 2000 DMM to monitor the temperature (it has
    a built in conversion from V to Temp for type J).  I will also be
    using another Kelthley 2000 DMM to record the output voltage of a new
    uncalibrated thermocouple.  I would like to collect the output
    voltage for this uncalibrated thermocouple and the temperature reading
    from the type J simultaneously.  How should I go about doing this
    in LabVIEW?  I will be using version 6.1.  The power supply
    and DMMs will be connected to a PC using GPIB.
    Again any suggestions would be greatly appreciated- I have no idea
    where to begin on such a project.  I have taught myself how to
    make a basic VI- converting temp in oC to oF, but  that is as far
    as my knowledge goes.

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

  • How to use labview to control a robotic arm by EMG signal

    Hello,
    I am working on simulation of an active Exoskeleton (wearable robot) for the upper limb using LabVIEW for my senior project. I need to use the EMG signal as an input to move the elbow joint (flexing and extending). I downloaded labview biomedical toolkit to take a ready simulated EMG signal but have a weak experience in LabVIEW.
    The design criterial I am planning to use is to establish a threshold for the EMG signal using a comparator (above 0 for example) and set a counter for everytime the signal passes the threshold as(+1) in every count. Then, specify a degree value for the counter (for example when the counter reaches 10000) and feed this value of the counter to a simple simulated structure for the joint (simple angle of 2 lines) or a meter to represent the movement.. e.g. every 10000 count = 1 degree of movement. Zero crossing can also be used instead of the comparator and the signal will be filtered and that is easy to do. However, my problem is in converting this logic into LabVIEW. I don’t know how to set a counter for the signal and make every number of counts refer to a specific degree of movement and I also don’t know how to form the simulated joint structure in LabVIEW or even how to transfer this into a simple meter device in LabVIEW.
    I have only one month to do this project so any help or ideas you provide are highly appreciated
    Thank you ,

    CarlFHellwig 
    Thank you for providing this example I just implement  it in the software to check the counter results.
    In fact, the design criteria I desided to use latly is to use is to establish a threshold for the EMG signal using a comparator and correlate the EMG signal with the angles of movement of a simple simulated structure "motor" for a single joint (simple angle of 2 lines) eg. 30,60,90,120,150 degrees for flexing and extending. Zero crossing can also be used instead of the comparator and the signal will be filtered and that is easy to do. 
    In other words, the idea is to drive a motor for different angles based on the input EMG signals. I am now stuck with developing the algorithm of how the angles are related to the RMS value of the signal while flexing and extending and how to convert this RMS into angular velocity and angular position to form the simulation. 
    I will be grateful if someone guided me to a person did a similar project to discuss some issues. 
     

  • How to use labview to control the horizonal menu of TDS420A?

    Hellow!
    anyone can tell me how to control the horizonal menu of TDS 420A osilloscope? currently,i use "TKTDS 420A config.Horiz.VI and TKTDS readwaveform.VI to control the horizonal menu,i would like to control the delay time to get a specific part of the whole waveform,but it doesn't work,attached is a example,anyone can tell me the reason? thanks!
    Attachments:
    example.vi ‏54 KB

    Your vi won't load on our machines without the TDS' driver. If you "Save with options" as a "Development Distribution" it should include the required sub-vi's. The be sure and "zip" the resulting .llb file to reduce its size.
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Using LabVIEW to control an object in Blender/ importing an object from Blender and controlling it in LabVIEW

    Hi, 
    I'm just trying to start a new aspect to my project whereby I would control a 3D graphic of a human character using inertial and magnetic sensors. 
    2 potential options I am considering are to create the character in blender, import it to labview (.stl, .dae or any other suggestions?) and control it from there using my 3D orientation algorithms. Has anybody done anything like this?
    OR
    Export the 3D orientation data to blender perhaps using UDP sockets or any other suggested technique anybody has(?) and then control the orientation of the bones of a 'rigged' character.
    So basically if anybody has any experience of controlling a 3D graphic with LabVIEW data all help would be appreciated, better again if it was using Blender! Thanks in advance 

    Looks like an interesting project. I don't have experience with either of your suggestions, but I think the second one is more practical. My understanding is that the 3D display in LV isn't that great (although I don't have actual experience with it). The only modification I would make is to use TCP instead of UDP, which seems to make a lot more sense.
    I'm assuming there should be quite a few examples online for how to write Python code in Blender to receive external commands and translate them to something in your blender scene (movement, in your case) and then you simply have to write the corresponding code on the LV side and make sure the protocols match. I would suggest you create a simple ASCII protocol. One thing to note about TCP protocols is that it's useful to have the beginning of the message encode the length of the rest of the message (let's say the first 4 bytes to encode a U32 number). That way, you read N bytes for the length and then know exactly how many bytes you have to read for the rest of the message.
    Try to take over the world!

  • Has anyone has developed a driver which uses labview to control an EPIX(R)D PCI Digital Video Capture Board?

    We have an EPIX(R) D PCI Digital Video Capture Board from EPIX Inc. worked with Image Pro Plus and a
    Kodak Megaplus 1.4 CCD Camera. This camera is an old model with Camera Control Unit. Now we use Excel Macro works with all of these software and hardware and the whole system works excellent. Now we intend to update the software to Labview 6.1, IMAQ vision builder and IMAQ vision. But we didn't find the driver to let Labview work with EPIX(R) D PCI Digital Video Capture Board. I have contactd Epix Inc. They said some customers have developed their own driver for labview and it works fine.But this company doesn't support this driver. It will be appreciated if anyone ca
    n provide this driver for us. Thank you very much.

    George. You probably don't have many options with the Epix board. However, if your Epix software enables you to save files to disk, then you can open them from LabVIEW and process them with Vision or Vision Builder.
    Another option is to contact Graftek (www.graftek.com) or ImageMill (www.imagemill-tech.com). They have created drivers for third party image acquisition boards in the past and they may have one for your Epix board.
    A third option, of course, is to upgrade your Epix board to an NI IMAQ board. Your sales contact within NI may even be able to give you a discount on the trade in, but I can't guarantee it.
    Good luck!
    Kyle V

  • Anybody is using Labview on LeCroy 6050A scope with success?

    Hi All,
    I got a new LeCroy 6050A oscilloscope. Nice tool but unfortunately I have no success to use it as a "DAQ card". I installed all the drivers from LeCroy site. The demo programs provided by LeCroy do not work. They start but in the initialization phase stops with system error. So my question is how I can solve this?
    Attachments:
    error.png ‏68 KB

    duplicate post to wrong board

  • Has anyone used LabView to control a Lumonics JK701H Laser?

    I don't want to reinvent anything and was wondering if anyone has interfaced to a Lumonics JK701H laser via LabView. I haven't been able to find any drivers or shared source for this device yet.
    Appreciate any pointers to finding information that would help LabView work with this device.

    Unfortunately, I was unable to find a driver for this instrument either. It may be possible to modify an existing driver to work with the Lumonics JK701H laser. Otherwise, http://www.ni.com/devzone/idnet/other.htm states a few options to obtaining a driver. Drivers are developed based on demand and popularity so the more requests, the greater the possibility that one will be developed. It would also be beneficial to notify the instrument manufacturer. I hope this information helps.
    A. Lynes
    Applications Engineer
    National Instruments

Maybe you are looking for