Esp300

Hi all,
It's my first time to using labview and i try to communicate with two-axis motorized stage(newport_LTA-HL and ESP300controller)  using Labview.
I find some example code for to ESP 300 motion controller via GPIB.(attached file)
but i can't understand this complicate code and when i start this code, no finish and can't work exit button.
i just find some disscussion about ESP300control at this NI forum. and i ask Newport tech. support.
so. if you have some information or easy sample code, can you tell me ? 
i have no experience with this. i appreciate any kind of help. thank you.
Attachments:
ESP300 GPIB Comm Test.vi ‏154 KB

Hi,
Here are some VI that i developed through ESP300_User_Manual which reads web link (http://assets.newport.com/webDocuments-EN/images/ESP300_User_Manual.pdf).
Sorry for my english, i hope you will understand me.
Cordially,
Geoffrey BARBIER
élève ingénieur Polytech'UPMC E2I
CEA Saclay
Attachments:
NEWPORT ESP300.1.png ‏211 KB

Similar Messages

  • Newport controller ESP300: Time out error

    Hello,
    I am using ESP 300 controller to control UTM25PP.1 stepper motors, both are provided by Newport. I am using two motors to move/scan the sample in YZ direction (please see the attachement), the area of scan is something like 500 X 500. If you look at the figure first Y motor moves in some equal step starting from Y_Initial to Y_Final and at each step I am acquiring a photo diode image, then Z motor moves a unit of 1 and Y motor moves to Y_Initial and this keep on repeating untill
    Z_Final is reached. I have not added the code as I believe that issue is with controller (Newport was not able to help me out).
    Whenever I am trying to run the code, it runs smoothly for a while and then controller reports the error that
    "Communication Timeout occured" and labview also reports an error that "Input/Outpout operation aborted". When I click "OK", it runs fine for a while and then errors.
    What I am doing wrong? Can I increase communication timeout on Newport controller (I beleieve that I read somewhere that it's 13 sec)? IS there anyway that automatic error handler can click "OK" so that the whole operation can run smoothly?
    Thanks for looking at this message n trying to help me out.
    If you believe that I should paste my code, then please let me know.
    GPIB read/write is being used to communicate with ESP300 controller and Serial read/write is used to communicate with photo diode controller.
    Thanks,
    Dushyant
    Attachments:
    YZ_Motion.bmp ‏961 KB

    Hi Dushyant:
    It is hard to say if there is something "wrong" in your code, and I would say that if it is running properly most of the time, the code should be good. Based upon your last post, it sounds like the error may be initiated by the device and not from the program since the device reports an error, then LabVIEW tells you that I/O was terminated. Also, it is hard for me to tell exactly what is going on without having the device and because I do not have several of the subVIs in your program.
    However, here are a couple of suggestions: you may want to put your error handlers outside of the while loop. Sometimes having the error handler inside the loop causes an infinte loop of pop up error messages. If it works for your application, you may want to put the error handler outside of the while loop and program the loop to stop if an error occurs. Also, in your first post you asked if there was some way to automatically hit the ok button. There is no direct way to do this, however if all you wanted to do is ignore the error, you could use the General Error Handler (found right beside the Simple Error Handler on the Time & Dialog Palette) and set it to ignore a certain error code.
    Again, my first thought is that the device is causing the error and not the program, but I hope something here can help you out.
    Emilie S.
    National Instruments
    Applications Engineer

  • NewPort ESP300 & LabView

    Hello,
    I try to use an ESP300 motion controller with labview and sometimes I have a 6 or a 14 IEEE488 error.
    Can someone help me or send me an VI exemple with an ESP300.
    Thanks a lot
    Rémy CLAVERIE
    Laboratoire MOPS - CNRS FRE 2304
    Université de METZ & Supelec
    2 Rue Edouard BELIN
    57070 METZ Cedex
    Tel : 03.87.37.85.41 (Direct)
    Tel : 03.87.37.85.57 (Secr.)
    Fax : 03.87.37.85.59

    It sounds like you are communicating through GPIB. Here is a link to a KnowledgeBase which describes these 488.2 errors and what you can do to troubleshoot them. I've never worked with this particular instrument but this page has come in handy when communicating with other GPIB instruments.
    J.R. Allen

  • ESP300 error

    Hi,
    I found an old ESP300 controller that I am trying to get to work. The controller does not reply to any RS232 commands. I checked with a similar ESP300 that is known to work and same computer: no problems communicating.
    After power on, it takes quite a long time to turn on the lights, and when it does, axis 1 is led is yellow and axis 2 and 3 are red. The controller does not have advanced front panel i.e.. It only has three leds for axis 1 to 3, keypad connector and a stop button.
    I took a look inside and while starting up, leds D1 to D3 are off and D4 is on. After the lights appear in the front panel, D1 to D4 are all on.
    I disconnected all driver modules and now D1 to D4 turn on almost immediately after powering on. However, after a while, the front panel lights up in a similar way i.e. axis 1 is led is yellow and axis 2 and 3 are red.
    What does the yellow-red-red error mean? Can it be fixed somehow?
    There are some jumpers inside, what is their function? Since I was not the original user of this box, I'd like to know what setting they should be in.
    Thanks for all the help!

    It appears that you are using a Newport controller.  I would recommend posting on their forums.
    Applications Engineer
    National Instruments

  • Getting Started With Newport ESP300

    Hello, I am an undergrad working with a graduate student. I was told to purchase Labview and was given the Newport ESP300 motion controller. I have zero experience with either of these things. I can't get my computer to recognize the controller, let alone Labview to recognize it. I have LabView successfully installed. Can someone give me a step by step explaination of how to install the controller, get it to communitcate with labview, and which VI controls are appropriate to use in the context of motion control? ANY help is appreciated. Thank you!!!!

    For the LabVIEW help you're in right place as for the controller I think you can access it through RS232(standard serial port) or GPIB. Ours is setup through serial.
    The rest of this is only relevant if you're using RS232
    The majority of USB to serial converters don't work well at all. So I would suggest using a serial port directly on the computer if at all possible. I'm sure someone on here knows of a good usb to rs232 converter but I do not have a recommendation. After the controller is all plugged in (axes,power and serial) and turned on, then you can communicate with it through the VISA functions. I attached the ESP300 interface I wrote for our project and the ESP300 manual I used for reference. The code was made for a quick project so it isn't documented, didn't go through a code clean up, might have bugs and only has support for a very limited subset of the ESP300 functions. But the code is relatively simple and has support vis for adding additional ESP300 commands pretty easily. So it should be really helpful once you can work out what it is doing. The example.vi should connect to the ESP300 turn the motor on, home it then give you position control and feed back until you stop it. Hopefully that's enough of an example to figure out what the code does. If you need to add commands you can probably copy a current vi rename some controls and tweak the command characters used.
    Attachments:
    ESP300.zip ‏2858 KB

  • Newport ESP300 & MFA stage problem

    I am having a problem with moving the stages from the home position.
    I perform a 'Find Home Signal' operation, and all the axis home ok.
    When I then try and perform an Asolute Move, I get a Hardware Limit
    Error and the stage stops moving.  It seems to be random, as sometimes
    everything is fine; after I home everything again I get the problem.
    I`m pulling my hair out with this, what am i doing wrong...?
    James
    (Singapore)

    I am controlling 2 Newport MFA-CC stages using a 3 axis Newport ESP-300 controller via PC using GPIB, these are under the control of a Labview program.
    The stages have hardware limit switches and optical encoders (I think).  As I had mentioned I execute and OR4 command which the Newport manual states as 'Find Negative Limit Switch'; it zero`s the display and everything is OK.  The problem comes when I ask the controller to move the stage to an absolute positions using PA10 command (which should move the axis to 10.000).  After moving a distance of about 0.1mm raddomly stops and give an error "Hardware Limit Detected".
    I have tried lots of methods, but as I need to home the stage to a mechanical point I seem to be stuck.

  • Has anyone seen the below error before? Does anyone have any ideas on how to

    go about troubleshooting it? I am using a PCI-GPIB card on a WIN95 machine in an attempt to communicate with an
    ESP300 Universal Motion Controller ver 3.03. which reponds to ASCII commands.
    As a basic first step (using LabVIEW 6.0.2) I first attempted the example on p.20-6
    of the LabVIEW ver 6 Measurements Manual. I passed the string "*IDN?".
    I get the following error from the Simple Error Handler:
    Error -1073807339 occurred at VISA Write in esp300_scott1_mod4.vi
    Possible Reasons:
    VISA: (Hex 0xBFFF0015) Timeout expired before operation completed
    In a second attempt I tried using LabVIEW version 5 with the example on 8-12 of the
    User Manual, here I g
    et the same error from the Simple Error Handler:
    Error -1073807339 occurred at VISA Write in esp300_scott1_mod4_ver5.vi
    Possible Reasons:
    VISA: (Hex 0xBFFF0015) Timeout expired before operation completed
    N.B.--> I have successfully used NI's Measurement and Automation Wizard to communicate
    with the instrument. When I pass the string *IDN? I get the response:
    ESP300 Version 3.03

    Your best VISA troubleshooting utility is the VISA Interactive Control (nivisaic.exe). From this utility, you can use the VISA protocol to communicate with each of the VISA resources available on you system. If you are unable to get this utility to properly recognize or use your NI-GPIB card, It may be suggested to uninstall/reinstall the NI-VISA distribution. If you can get the utility to work then there is a programmatic problem which you must address. Debugging programmatic issues is best troubleshot using the VISAIC utility, NI-SPY (nispy.exe), and highlight execution. If you can outline a flow from within VISAIC, using NI-SPY you can log this flow and attempt to emulate it from within LabVIEW. Make sure each of the functions has the proper inputs. Also, try usin
    g some of the VISA/GPIB examples shipped with LabVIEW.
    Ryan Mosley

  • PCI-7352 DAC Output

    I'm using the PCI-7352 to drive a Physik Instrument C809 amplifier and M230.25 linear acuator.
    I've run into some issues with the speed and following error.  I've finally been able to track down that the DAC seems to be operating around 5V as it's 0 velocity point (based on the output from 1-D interactive in NI-MAX and also in the Read DAC.vi during motions).  Basically, if the voltage is >5 then the actuator extends and likewise if <5V it retracts.  Since the DAC can output +/-10V the motor can retract faster than it can extend (extension speed is much less than the rated velocity; 0.4 mm/sec versus 1.5 mm/sec).  This is very odd as the actuator is rated to go the same speed in both directions, and in fact it does on a completely different controller (Newport ESP300).
    So, I have been in contact with Physik Instrument as I don't understand the issue.  Their response at this point is:
    "At the input of the C-809 it expects 0V for stand still, +10 V for
    maximum positive velocity and -10 V for maximum negative speed. The
    customer has to achieve this at the output of his DAC. If the customer
    doesn't achieve this voltage levels he has a problem inside of his
    software and not a problem of our hardware."
    Based on the output from 1-D interactive and the Read DAC.vi there is clearly a discrepancy.  Is it possible that the PCI-7352 is really operating around 0 as the zero velocity point, when 1-D and Read DAC seem to indicate otherwise?
    At this point it appears as though I'm going to have to manually see what the DAC is outputting, but without a breakout box I'm afraid I'm going to have to purchase a cable as a donor to slice and dice.
    Thanks for any help.
    -Derek

    Derek,
    that's strange behavior. In a closed loop system the controller's output value is defined by the characteristics of the plant. The Read DAC vi returns only the value that is sent to the DAC, but it doesn't measure the real voltage output. One chance is that there is something wrong with the DAC. E. g. I could think of an extremely high offset of -5 V or something like that. Here is an idea how to get a better understanding what's going on:
    Disconnect the C809 from the 7352.
    Configure the board for open loop stepper operation. This will unmap the DAC from the axis.
    Use Load DAC.vi to write a value directly to the DAC.
    Measure the voltage at the analog output. Depending on the cable that you are using, this might be a little bit tricky. If you can't do the measurement directly at the cable, you could ask your local NI branch if they could loan you an UMI-7764 and an SH68-C68-S cable.
    Please let me know how things are going. As the drive and the motor work fine with another controller, I don't think that the C809 has a problem. Stil I have good contacts to PI, so I could talk to them if required. 
    Another question: Have you tried the second axis on the 7352? Do you see the same issue with this axis?
    Thanks and kind regards,
    Jochen Klier
    National Instruments 

  • NI Motion assistant Position Profile

    HiI am trying to use NI motion assistant to generate position profile so that I can output to ESP300(Newport stage controller) for UTM500cc.1(not supported by NI I guess).
    The thing is when I convert the Labivew code, it looks there no way to get position profile from the vi. I need to have the NI hardware to run that vi too.
    Is there any way to get position profile from NI motion assistant?
    Brad
    Solved!
    Go to Solution.

    Hi changlin!
    Have you tried the Get Straigt Line Move Profile VI available on the Motion Assistant palette in LabVIEW?
    Kristen H.

  • GPIB time out

    Hi, When I try to control Newport ESP300 motion driver/controler with SR55CC rotary stage by NI GPIB controller,very often I meet with the time out error. If we ignore the error, ,after a while the control come back to life, we can control it already. Any one has similar experience with that or who can have good suggestion?
    I'm using LABVIEW 5.1, for windows 98. I also attach my code. Anyone interested can go and take a look. Thank you!
    Attachments:
    ESP300_Home.llb ‏485 KB

    Not sure how old is your ESP300 controller, you need to have the latest firmware, 3.09
    Here is attached a MSWord document that will help with the GPIB setup.
    There is no problem with hardware, the library might have a problem, if you call Newport Technical Support they could provide the Labview example that works fine.
    Attachments:
    ESP300 GPIB Communication.doc ‏301 KB

  • Simple scanning program

    Hello,
    I am fairly new to labview, I am trying to get a Newport HS Stage to work as a laser beam block and shutter my beam at 1Hz.  The stage will simply scan into place, then back to its reset position at a rate that hopefully I can adjust in the VI. 
    Currently, I am having trouble writing the software using the PA - VI for the ESP300 motion controller.
    I have set up a VI that contains two PA - VI's, each of these have their own set of numerical user entry boxes to set parameters.  They are seperated with a Timer VI which has its own numerical input.  My intention was that once the program started, PA - VI would run the stage to position A, the timer would initiate and then PA - VI (2) would run the stage back to B (and another timer would be added at the end to pause...), then i could simply run this program in loops.
    The problem I am having is that when i run the program, data is sent to both PA - VI's immediately; once the PA - VI (1) and the timer has finished, PA - VI (2) does not run its course.  Can anyone suggest a better programming method than what I have created to simply scan a stage back and forth at a desired frequency?
    Thanks in advance for any help.
    Chris

    Without seeing the Pa-VI it's not easy, but you need to prevent the second one starting before the first one. With Labview, you should do that with dataflow. There may be (should be) an 'error in' and 'error out' terminal on the PA VI. If there is wire them together so when the first PA VI finishes it sends 'ok' to the second, which should wait until it gets it. You may need to use the time delay vi between the two PA-vi's. This also has an error in terminal which you can trigger from the first PA.
    However, there may be a better way but without seeing what PA-VI is (and what it can do), it's not easy to advise.
    Message Edited by Richard M on 12-09-2009 03:54 AM

  • Positioning a linear stage incrementally

    I found a driver that runs my ESP300 stages from Position 1 to Position 2. However, I need to move them incrementally in steps and have a time base for these movements. Is there a way I could use most of the same code from the driver but change the positioning method?
    Attachments:
    Drivers_ESP300.zip ‏1277 KB

    I have made a handler that deals with this Newport controller and I run the motors from one position to the next and back to start again in several steps, and I didn't have to use too many commands to make this work. My program run the motors by absolute values (i.e. by first finding the home position and then moving to an absolute position) or by relative values.
    I ended up with using only these commands to control the axes:
    Read Actual Position
    Get Axis Motion Status
    Get Motor Status
    Motors On
          Write to motor controllers (using compact command structure):
          Axis 1=1OL0.01;1OH0.05
          Axis 2=2OL0.01;2OH0.05
    Move Home (Either by "Find Negative Limit Signal" or "Find +0 Position Count")
          Move Absolute
    Move Relative
    Motors Off
    The Axis setup above shows only an example of what I needed to set. The manual explains the exact syntax to be used.
    The difficult part of my program was not to control the motors, but to keep track of my desired end-positions and when to move back and stop.  Anyway, it seems you will come best out by using only relative movements in a loop.
    There is one thing I discovered when investigating the controller and its software: You can program the controller to do most of the stepping and have LabVIEW to only start, monitor and maybe stop the motors. Maybe that would be an easier solution?
    In any case it could be helpful to intall the ESP-Util program that's part of the software that ships with the controller. Along with the installation I think will also come the default setup-files for the controller axes in text-format. If not, you can use the ESP-Util to generate the text files containing the current setup for the axes. By reading the various settings in the files along with the commands in the manual you may get an idea of how the axes are currently configured and what parameters to maybe change.

  • ESP 301 Controller (Newport stages) via Lab view

    Does any one have experience with ESP 301 Controller(Newport Stages) control via labview ?
    I am trying to find if there are any known issues and things I should be aware of before we start the project.
    Thanks

    I have only worked with the ESP300 in the past and that was quite a painful experience. It's GPIB interface works rather unreliably unless tickled always in a very specific way. Even then there are still occurrences where the motion axises suddenly seems to behave in an unexpected way, with settings that were absolutely fine before. I would hope that they improved the firmware of the ESP301 significantly but I can't vouch for that.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How do i change to stepper

    i guess i am a bit confused of how these motors actually work. i'm sure i have stepper motors (MFA, UTM, MFN) by asking the xxQM? query, it replies 3. however, whenever i move the motor it goes by the resolution determined by xxFR, and xxSU, which in the manual clearly says encoder full step resolution.
    how do i use the stepper motor to read/move the motor? i don't see any commands to set the stepper resolution and etc. any help is appreciated. thanks in advance!
    -sam

    yes, i am trying to communicate with the motor using LabVIEW
    here are the manuals
    ESP300
    http://phubner.eng.ua.edu/Files/ESP300.pdf
    MFA
    http://www.newport.com/images/webdocuments-en/images/12586.pdf

  • How can I control a driver using Matlab?

    For a lab project I have to program in matlab a driver (esp300 by Newport - http://www.newport.com/store/product.aspx?id=3229) that commands a motorized stage of the same company. The interface is GPIB. I rather control the driver using only matlab, but if i can't - i wan't to use Labview as a connector between the two. any idea how can i do one of the above? I've got no idea where to start from. I'll thank to any given advise. 

    What is the analysis that ou need to perform. The resources that are available to you from within LV is very complete!
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Maybe you are looking for