Computmotor 6K Motion Controller LabView program

Hello,
I am using the Viewpoint Compumotor 6k Motion Controller VI's. We have the motion controller plugged in through serial port. I'm looking at the Functions they offer(different VI's), but I don't see any for serial port. They have a VI 6k Communication Launcher.VI, but it looks like that's only for Ethernet connection not through Serial. Does anyone know how to create a connection with serial port. 

The first thing you should do is set up a serial connection, because you'll need it to configure the ethernet connection if you decide to go that route.  Once you have the serial connection working you might decide it's all you need.  You also might want to use serial if you don't want to put your 6k on your local network and you can't get a second ethernet card for your computer.  The commands are the same over either connection so you can switch between them anytime.  Which one is better for you depends somewhat on what you need the 6k to do.
If you're interacting a lot with the 6k and response speed isn't critical, the serial connection is fine.  For repeated motions and faster response, the ethernet connection is better.  Initially, I wrote programs on the 6k and ran them by sending the program name over the serial connection.  Each program would print a response to the serial port that LabVIEW could read.  It also provided flexibility for me to write individual 6k commands from LabVIEW when necessary, but it was slow because the 6k takes time to parse text into program names and LabVIEW needed to check the serial port to see if a program finished.  A faster approach is to assign a program to run when a specific input is triggered using INSELP.  That input can be a bit in a variable - a virtual input.  The ethernet communication lets you send variable values directly to the 6k, so you can run a 6k program by sending the right variable value.  Similarly the 6k can send an alert over the ethernet link when motion completes, which is simpler than putting a print command in every 6k program and checking for a response on the serial port.

Similar Messages

  • How use an ESP motion controller to drive an actuator by using Labview program?

    Our group bought a Universal Motion Conroller/Driver from Newport company and
    its model is ESP 300. Right now, I am going to use it remotely and I want
    to use Labview to compile the driving program. My thought is to move an
    actuator step by step in x-axis and the length of step moving is 2cm.
    After moving 40cm on x-axis from the beginning to the end, I will move the
    actuator one step on y-axis. Then I moving from the beginning to the end
    on x-axis again. I wonder whether somebody has such a labview program
    or not. Or, has anybody other sample Labview programs for the
    controller to control the moving? Can you provide them to me?
    Thanks a lot.
    Huili Wang

    Hello,
    There are several examples written in LabVIEW to do what you are trying to do but they will only work with National Instruments motion controllers, as they use driver specific VIs. In order to use your controller with LabVIEW you'll need a shared library of some sort. Once you have this library you can program your controller in LabVIEW by making function calls referencing to its shared library. See built-in LabVIEW examples for 'Using External Code'.
    I hope this helps. Let me know if you decide to go with one of National Instruments motion controllers instead and need help finding those examples I was referencing above.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • How to control esp 301 motion controller using labview

    Hi Everybody,
    I am new to Labview. I am trying to connect ESP 301 motion controller from Newport to the labview and control it. But I couldn't find the drivers for it online. How can I connct it and using.
    I am planning to use it with USB connection.
    Could some one please help me in this regard.
    Solved!
    Go to Solution.

    Hello Thomas
    there are existing facilities:
    · Two turntables XY driven by stepper motors 10 microns
    · Central ESP301 command to the decks
    · Central control and data acquisition: Unit PXI
    I want to do the next step
    · Control of stepper motors to perform scans on a large scale wafers two or four inches with a very good resolution of up to 10 .mu.m
    · Programming the ESP unit 301 microstepping mode by dividing the initial step to make scans on small areas at a resolution of up to 1 .mu.m;

  • How do I get labview for linux to send out ascii code to a motion controller?

    I have posted part of this problem but I will now try to clearify things. I have an x-y stage that needs motion control. I have to run the motion controller from within a linux system (RedHat 7.1) due to others in the research area. I have found a motion controller card (PCI) that will run under linux. This card is not National Instruments. I understand that they do not have drivers for their controller cards. This other card comes with the companies own software that uses ASCII codes to move the motors on the stage. I was hoping to create a program that could call those ASCII codes to move the stage. An example would be if a user wanted to have the stage move to the right he would press a b
    utton on the screen instead of typing in whatever ASCII could that move to the right happens to be. How would I go about programming something like this? I have heard of others doing things like this but I am unsure of how to program labview to send out ASCII codes to a PCI card to move motors.

    > would I go about programming something like this? I have heard of
    > others doing things like this but I am unsure of how to program
    > labview to send out ASCII codes to a PCI card to move motors.
    Look in the manual to see get familiar with the sequences of codes you
    need to write, and more importantly, where you write them to. I suspect
    a memory location, but it could be a socket or port.
    Each of these locations will have a slightly different way of accessing
    it. Once you know, search devzone for how to do it on linux, or post
    back here.
    After you can send the codes to the right location, you probably want to
    build a state machine that simplifies the interface and prevents certain
    actions from taking place. Now determine which buttons or
    keys perform
    which actions and use either the event structure or the older polling
    for control changes to affect state changes in the state machine.
    I'm summarizing here assuming that you know what a state machine is and
    why you'd want to use it. If I'm assuming too much, do some research
    and post again with more specific questions. Also be sure to look at
    example VIs as they show how to respond to UI actions.
    Greg McKaskle

  • Motion controller card need to program PWM or not?

    I just want to know about motion controller card (coz may be i will use it)
    First, Motion controller card need to program PWM for drive DC motor or not? (If I want to control the dc motor by PWM signals!)
    Second, If my motor have encoder (increment) the motion controller card can be read the position or speed directly or not?
    Third, Normally motion controller card need Labview for programming or not?
    Lastly, Please, could someone give me some example programming or .vi for basic closed-loop dc servo motor ?

    bkk,
    here are the answers you are looking for
    Motion Control boards like the PCI-7344 generate a +/-10 V signal to control DC axes. As they can't provide enough power to drive a motor directly an external power amplifier like the MID-7654 or a 3rd party drive with a +/- 10 V command input is necessary. Typically these power drives generate  PWM power signals for the motors.
    All NI motion control boards provide inputs for quadrature encoder feedback (position and velocity).
    The NI-Motion driver provides a well documented API for LabVIEW, C and other programming languages.
    After installing the NI-Motion driver you will find lots of example programs for LabVIEW and C that demonstrate every aspect of the boards' functionality. NI motion controllers run the control loop in hardware so the examples will work for both, closed loop and open loop (stepper motor) applications.
    I hope that helps,
    Jochen Klier
    National Instruments Germany

  • Error -10401 appears when I try to read in my Encoders (TTL-Signa​l) via a LabView-"n​uDrive 2SX-411" and Motion Controller Card

    Hy there.
    Im using two "Haidenhain ERN 420" Encoders with TTL-Output Signal
    A NI-Motion Controller 7334 with an NI-"nuDrive 2SX-411"
    When I try to Read the Encoders Position (with ex.-Programm/Source) the Message: "Error -10401 occurred at AI Group Config ... the specified device is not a NI-product" appears
    Can anybody help me to initiallize/Use the Encoders in Labview 6.01?
    thanks, phil.

    Phil,
    It looks to me according to the error that you were trying to use DAQ functions to access the Motion controller. The Motion controller uses its own functions. There are two for reading position:
    Functions Palette >> Motion & Vision >> Flexmotion >> Trajectory Control >> Read Position.
    Functions Palette >> Motion & Vision >> Flexmotion >> Analog & Digital I/O >> Read Encoder Position.
    You may find a useful example in:
    C:\Program Files\National Instruments\LabVIEW 6.1\examples\Motion\FlexMotion\One Axis.llb\One Axis Move with Position Monitor.vi
    Make sure that you have configured and initialized your board properly in MAX.
    I would suggest that you post your question on the Motion Control section and not in the LabVIEW section. Also, check the Dev
    elopment Library section of the NI Developer Zone for the Motion Control section with tutorials and example code.
    Good luck!
    Nestor.
    Nestor
    National Instruments

  • Using APT ActiveX methods to create a labview program for BPC 203 3 channel Benchtop Piezo controller

    Hi Everyone,
                      I am really very new to Labview and i am in great need for some help.I am assigned a task where i am supposed to create a labview program to control or moniter a BPC203 3 channel benchtop  Piezo controller. I created a program with the help of the instructions provided in the APT-Labview guide provided by Thorlabs.But th program doesnt run . Whenever i try to run it i get the same error which says that "Control HW Communications disabled".I have attached a snapshot of the error message.So i tried to create a small program in labview which would read the volage output.Even there i got the same error message.I suppose there is some mistake on my part which i am not able to correct due to the lack of proper knowledge.Could anyone please help me to solve this problem.A slight elaboration would be highly appreciated.Also i think the error lies in the use of invoke node with the get Voltage output method. I am not sure whether the parameters i have provided to the invoke node are correct.Any help of any sort would be highly appreciated.
    Attachments:
    Front Panel with error message.PNG ‏202 KB
    Block diagram.PNG ‏101 KB

    Hi
    I had the same problem today. However, I noticed that the piezo controller has 3 channels with separate slots and they are packaged in the same box. Therefore the whole box has a serial number, probably something like 71822280, and this is written with large letter. Now, in order to communicate with any of the channels, this does not help, but one needs to communicate directly with the interested channel and they have thier OWN SERIAL NUMBERS.
    For example channel 1 (my X direction in the nanoMax stage) has serial 91822281, Y has 91822282 and Z has 91822283. So try looking if you have the right serial number Hopefully you found out this yourself but this might help others, I took me3 hours to get this thing working when I started to plug-in the cables and everything.
    Lasse

  • Driver for MM4000 series (motion controller) for labview 6.1 (gpib)

    Hello,
    I need the instrument driver for a newport motion controller MM4006.
    I found the driver for MM4000 series, it could be ok, but I need it for labview 6.1 and not  for labview 7 or 8.
    Is it possible to find this driver for older version of labview than 7 or 8?
    Thanks
    Best regards.
    Ludovic

    Good idea, I'm not sure of the result, but... Here is the zip file (aviable here).
    (oups, you were faster ^^)
    Message Edité par Mathieu R. le 12-08-2006 05:19 PM
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  
    Attachments:
    npmm4000.zip ‏419 KB

  • Creating Labview VI for Newport's ESP6000 motion controller

    I am working on creating a Labview VI for ESP6000 motion controller (Newport). I want to move to stages independently one by one and acquire synchronized data from the analog input of the controller during the motion of the one of the stages. If there is anyone working with Labview on ESP6000, I will be glad to dicsuss common issues, obstacles, sub vi's etc.
    ceyhun

    We built a test station for an automotive component with the ESP6000. The biggest limitation we ran into was the 1000-sample buffer capacity of the analog input. We were hoping that it would behave like the NI DAQ boards. It was not our choice to use the ESP6000. The customer supplied it. The whole setup cost in excess of $9,000. The NI equivalent would be about 2/3 that much. Anyway, Newport supplies a driver that does work. It takes some work to get everything going properly though.
    Remember that Alliance Members are here to help. We do this stuff every day.
    Daniel L. Press
    PrimeTest Corp.
    www.primetest.com

  • How to use LabVIEW FPGA on Custom FPGA board other than NI products .....Also how to develop RTx DLL for a customised motion controller hardware

    I'm using RTx, LabVIEW RT and LabVIEW FPGA.
    The GUI is windows based. The motion control and FPGA  are RTx based.
    Is there any way to develop device drivers for the custom hardware in RTx. For example motion controller hardware, FPGA hardware, PCI hardware.
    Is there a possibility to use custom FPGA boards to use with LabVIEW FPGA.
    Please send me some links
    Thanks
    Bhoopathy
    Take life as it comes! you may never know what's gonna happen Tommorrow

    CODE WARRIOR Hello. I believe this question was answered in a previous post. Please let us know if you have any new questioins or if you need some clarification.
    You are able to develop device drivers for your custom hardware using the NI Measurement Hardware Driver Development Kit.
    However, it is not possible to use custom FPGA boards with LabVIEW FPGA. The FPGA boards have to be one of our R Series boards. Here are some links that should shed some light on the Measurement Hardware DDK.
    Measurement Hardware Driver Development Kit Frequently Asked Questions
    NI Measurement Hardware DDK (Driver Development Kit)
    Please post if you have further questios.
    Efosa O.
    NIAE

  • Controlling ESP 300 motion controller via Labview

    Hi all,
    It's for the first time I try to communicate with other devices using Labview. I made a VI (07_rs232.vi) to send commands to ESP 300 motion controller via RS232. This VI should make zig-zig move using two axis (2 and 3). When I'm running this VI slowly (Highlighted execution) or with smaller count of iterations (4x4) everything works fine. But when iteration count is higher error on the device occurs ("command does not exist"). Does it have connection with the memory of the ESP 300? Am I writing too many commands to its memory? I have no experience with this. I appreciate any kind of help.Message Edited by ceties on 09-18-2006 09:34 AM
    LV 2011, Win7
    Attachments:
    Temp.zip ‏83 KB

    Hi,
    For some reason, the link you gave doesn't work ...
    Sory I forgot the subVIs... here is the dll with everything. I didn't use the VIs from NewPort because the code was quite poor.
    You can use th subVIs to :
     - read axis position or informations
     - send command to be executed
     - send "question" and read the "answer"
    It's quite easy to use because the VISA session will be help in the FGV (blue VI), use it to open the session at the beginning of your process, use it for controlling your axis and use it also at the end to close the VISA session.
    Hope thi help
    BTW : aboute the "\r" well yes it is required as an end of message character
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    ESP.llb ‏132 KB

  • I want to configure the 7330 motion controller without using MAX

    I am new to labview and I have a project where I have to configure the 7330 motion controller without using MAX. What do I need to do to get started doing so?
    Thanks for the help!
    nw2labview

    Hi,
    There are several VI's that are included with the motion driver for configuring your controller.  They are located on the function pallete under Vision and Motion>>Ni-Motion>>Axis Configuration.  Using these VI's you will be able to configure your axis.  But why don't you want to use MAX?  If you are new to LabVIEW I would suggest configuring and testing your motor in MAX first before you start programing.  Once you have it working there you may want to look at several of the examples such as Simple One-Axis Move.vi.  I hope this helps.
    GG

  • Sepper motor control WITHOUT motion controller

    Hello
    I am attempting to control two stepper motors in a blened motion move. I can currently drive one of the motors seperately and also change direction and speed.
    I know there are motion controllers that can be used but they are unavailable to me as I am in college. (PLEASE NO ONE SUGGEST MOTION CONTROLLERS)
    I know it maybe difficult but that is the way I have to do it. My plan is to use the motors in conjuction with a camera which acquires an image and I want the motors to follow the outline of what ever is in the image. The project is very similar to a X-Y Plotter except I will not be plotting anything, I just want the motors to move.
    Thank you
    Bye 

    Hello
    I am using Labview 2010 with two RS stepper motors and I want to move them at the same time. There will be no circular motions just straight lines. The cooridinates that are to be supplied to the motors are acquired from an image processing VI. I am taking an image of a line which always leads to the centre of the screen. My plan is to have the motors follow that line.
    I have included a VI that I am working on, it includes the image capture part of the program and then the co-ordinates for the motors to follow. These co-ordinates are designed to be used with a motion controller. I do not know how to use these co-ordinates to drive the motors without a controller.
    Bye
    Attachments:
    Thres and Wand With Usb Camera.vi ‏111 KB

  • Newmark Systems Motion Controller

    I am trying to control A Newmark Systems Motion Controller using Labview 8.5. The Model number is NSC-M4 and it connects to the computer using an RS-232 connection.
    Using Visa Write commands in Labview I have been able to get some motion out of the linear stages connected to the controller. I have also been able to issue basic commands.
    The difficulty I am having is that typically after a few movements the controller stops responding to my commands. I believe that the controller is encountering an error, but I have no way of knowing because I have been unsuccesful in getting labview to read any values or messages from the device.
    I haven't been able to find any device drivers for the controller, nor have I been able to find any sample Labview programs to give me some guidance on where to go next with this.
    I guess my questions are;
    How do I read any requested information from the device?
    What could be causing my sudden loss of control of the device?(If I'm wrong and it's not just the device erroring out)
    And are VISA read/write commands the best way to communicate with this type of device or is there a better method than what I'm using?
    I'm still pretty new to Labview so any help would be greatly appreciated.

    Hi Chris,
    I am also programming a VI which control a 2-axis stepper motor of Newmark systems. I have managed to control the motion with VISA, communication is rs232. What I need is to simulate the motion of the device on VI. This is because I want to control the deice remotely, without actually seeng the response of the device. I thought this may be managed with the VISA read however, I couldn't manage it. This simulation might be a chart or graph, or I have 3D images of my device and it would be really great if I see the motion actually on these images.
    How can I do that?
    Thanks in advance.
    Regards
    Berk.

  • Controlling stages- labview program enough?

    Hi ,
    I'm putting together a new setup with XYZ stage, rotational and tilt(goniometer) stages. I have a ESP7000 controller unit.
    If I purchase the labview program (only the basic, without any add-ons) Can I control my stages and do some closed loop control ?
    Thank you.
    Ozan.

    Hi Ozan,
    I checked out a couple other Newport ESPXXXX Motion Controller/Drives on Newport's website and it looks like they have a library of drivers for working with their motion controllers through LabVIEW.  I wasn't able to find a product page for the ESP7000, but I found one for the ESP6000, and from there it looks like Newport provides "A complete library of LabVIEW™ drivers covering all ESP6000 commands and extensive DLL’s" for the ESP6000.  You will need something like this for interfacing with the ESP7000 and controlling your system. 
    Beyond that, you should be able to use the drivers from Newport with LabVIEW Base Development System to control your system (no other add-on packages are necessary). 
    Thanks,
    Sherrie R
    Applications Engineer
    National Instruments

Maybe you are looking for

  • 4shared won't open in FF but with IE or IE Tab

    After upgrade to 3.6.8 suddenly FF fails to open 4shared.com no matter what I do, but it open in IE tab or in IE itself with no problem. It only opens in FF when I clear all the cookies of 4shared. It works for a while then again & again. I tried saf

  • Mac book air internetsharing

    Hello, dear fellow Mac users! Yesterday I updated my Macbook Air (early 2013, 2,4 GHz Intel Core i7, Intel HD Graphics 4000 1024 MB: Ps I have no idea if you'r needing this?) to OS X Yosemite 10.10.1. I also have an IPhone 5s. So far my IPhone connec

  • 2D Barcode Plugin for Acrobat 7.0

    Hopefully a simple question... Can anyone help me to find a free 2D Barcode plugin for Arobat 7 Professional, please? My situation... I have a vendor program that sends data to a form. I can create new forms and select the data that I want to map to

  • Date validation with minValue on 1st February

    Here is my validation on a textfield which expect a date : var dateValidation = new Spry.Widget.ValidationTextField("dateValidation", "date", {isRequired:false, format:"dd/mm/yyyy", validateOn:["blur"], minValue:"31/01/2008", useCharacterMasking:true

  • "version control" for Oracle database?

    Hi, My work involves loading data from csv files into database tables. The data structure is different in the csv files than that in the tables, so the loading is not straight forward and I often make mistakes along the way. I would like to know what