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.

Similar Messages

  • 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

  • Dual loop control for positioning system.-- motion ocntrol

    I am currently doing a dual loop control for a positioning system,  i use the tachometer to read the velocity and the position encoder about the position of the platform. 
    the problem i am currently encounter is that i am not sure weather the computer have the PID toolkit, because i can not find them under the control design and simulation module.  so i did a PID  use the basic labview functions, related information is in the attached documents.
    i am not sure about the dt part, did the labview have this kind of function like to calculate the simpling time??
    do i have to install the labview real_time potion? i am right using the labview 8.5
    another question is that, how i am going to let the system remember the position instead of return to 0 every time i  restarted the program? otherwise is there any other way that i can command the motor to move to the target position which is initially defined? 
    the last question is that that is it possible for me to generate a profile regarding the current and the desired position? to set a maximum velocity and acceleration.
    i do not have a motion controller, so i did not install the  motion and version module. 
    can some one suggest me a way to do this?
    Solved!
    Go to Solution.

    attached is the files.
    Attachments:
    Integral.vi ‏8 KB
    Dt.vi ‏7 KB
    A CLOSED-LOOP TEMPERATURE CONTROL SYSTEM.pdf ‏886 KB

  • Calling dll of Leetro MPC08 PCI motion controller card problems.

    Hi,
    I have been trying to develop an application using Labview 8.5.  I need to control a motorized linear stage which uses the Leetro MPC08 PCI motion controller card.  The manufacturer gave me example VIs which I configure to call "c:\windows\system32\MPC08.dll".  About four months ago, I remembered that i tested them and they seemed to work somehow (but I did not finish the full test since i was busy doing other things).  Nevertheless, when I got back to continue my development a few days ago, i just could not get the same old VIs to work.  I could only get one library function of the card to work which is the "auto_set" which returns "4" which is the number of axes that the card can control.  The next function I need to call is "init_board" but this one keeps returning "-3".  The manual indicates that any negative number returned means there has been something wrong.  I would guess it is "PCI initialization fails" but honestly do not know for sure.  Can anyone help?  My computer is a PC running windows XP. 
    Thanks in advance for any kind help offered.

    Hi,
    Wrapped VISA call means that the SubVI contains a set of VISA calls.
    If you are calling the VI's individually it is possible that the VI's need to pass a reference to each other, so they might not work if run individually.  Hard to know without the DLL docs, so to speak.  It could be possible that there is no need to pass references between subVI's.
    Direct VISA calls are probably not necessary if the device runs with the vendors software.  The main goal was to verify functionality with either VISA or vendor app.
    Ok I was looking at the Leetro web site, you can forget the VISA stuff as it is a PCI card, duh... you said that at the begining. :-)
    The manual says Win2000 or XP.  is this being run on two different systems?
    Mark
    Mark Ramsdale

  • Leap motion controller is unplugged

     Product name: HP ENVY 17 Leap Motion SE NB PC
    Windows 8.1 64-bit
    Greetings,
    After a full system resotre the "fn + spacebar" is not making the leap motion controller tunring on, I checked in device manager its there, when I hover the mouse in toolbar over the controller icon I get the message "leap motion controller is unplugged".
    This question was solved.
    View Solution.

    Hi,
    The first thing I'd suggest ( unless you've already done so ) is to download and install the latest Leap Motion controller software on the following link.
    http://ftp.hp.com/pub/softpaq/sp67001-67500/sp67321.exe
    When the installation has completed, restart the notebook and let Windows fully load for a couple of minutes before checking the fn+spacebar combination.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Trio Motion Controller

    Anyone have any experience with controlling a Trio Motion Controller using the trioPC activeX server?  I am unreliably able to communicate with but even then sometimes some functions do not work. 
    Any info would be appreciated.
    Quintin

    Hi Quintin -
    I'm sorry you haven't heard from anyone yet.  I just want to let you know that I checked around and nobody at NI has worked with this drive before.  Hopefully one of the forum members has experience with it.
    If you have questions about using the ActiveX functions provided by LabVIEW, or about any NI software/hardware, please let me know!
    David Staab, CLA
    Staff Systems Engineer
    National Instruments

  • How can I use one motion controller to control two robotic independently?

    the help document says :
    Note  Configuring and clearing buffers is a processor-intensive operation on the motion controller that requires the allocation and deallocation of memory. You should configure and clear buffers only when motors are not moving and onboard programs are not running. For example, if you wish to execute three simultaneous contouring operations on axis 1, axis 2, and vector space 1 (with axes 3 and 4), you should first configure all three buffers before starting any of the operations. You can start the contour operations independently, and at different times, but should wait until all operations are complete before clearing any of the buffers.
    and i tried to conduct two contouring operation on two vector space. and tried to clear or configuring buffer for one vector when another one is still moving. so that i can start or end the movement at any time i want,and  it is ok.no error. but when i tried add a buffer  breakpoint output along with each vector movement. the bp doesn't work if the other vector is running . is there anyway to solve this problem.

    I think you've misunderstood what the dns attribute is for. The dns attribute returns the hostname of the client accessing your website, not the hostname of the website that linked to your website.
    For example, when someone using the Comcast ISP goes to a malicious website at example.com that loads images from your website at www.amigoo.net, the dns attribute will be something like "c-1-2-3-4.ca.comcast.net", not "example.com". ACLs are used for authentication and authorization of clients (not the websites those clients chose to visit), and they don't provide the functionality you're looking for.
    If I understand correctly, you want to prevent websites other than amigoo.net from linking to files in your d:/webserver/imat/pics_upload directory. You can achieve this adding the following lines to your obj.conf configuration file:
    <Object ppath="d:/webserver/imat/pics_upload/*">
    <Client referer="*~*amigoo.net">
    PathCheck fn="deny-existence"
    </Client>
    </Object>

  • 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;

  • Warning while loading example VIs for XPS motion controller

    Hi,
    I'm new to Labview. I want to control the XPS motion controller using Labview and I wanted to get started with the examples provided by XPS along with the drivers. But I get a warning while loading the example. I have attached a screenshot of it. Please help.
    Also, opening the example opens just the front panel. How do I open the bloack diagram of the example VI?
    Thank you.
    Attachments:
    warning.png ‏40 KB

    That warning is nothing to be worried about -- it just means that things were found in a new location, which is normal when you move code around.  Once you save the project it should go away.
    To look at the block diagram, use Window - Show Block Diagram, or simply Ctrl+E.
    Good luck!
    Edwin

  • MS Office report for servo motion controller

    Dear all,
    Good day,
    My application is servo motion controller where I will choose profile from tab deliminated text file.
    Attached VI working fine and I would like to add more features like MS office report where report will be generate after completion of all cycles automatically with data points and graphs. For that I am not sure where to add this function "MS Office report".
    Please help me on this. If you need any further information I'll provide.
    Attachments:
    1-Axis Motion controler_M1.vi ‏151 KB
    5steps test.txt ‏2 KB

    Tried with while loop, and "REPORT" button in front panel as loop condition but not working out well required..

  • HT3964 Hi my MacBook is freezing whenever I try to open an application. I have tried resetting the system management controller, however no success. How can I wipe my hardrive and reinstall it again. PS: I no longer have the installation CDs,

    Hi my MacBook is freezing whenever I try to open an application. I have tried resetting the system management controller, however no success. How can I wipe my hardrive and reinstall it again. PS: I no longer have the installation CDs, can I download it from Apple?

    To get replacement installation disks, call Apple.  Have the serial number of your MBP ready and a credit card.  There is a fee.
    Ciao.

  • 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

  • Connecting Hall Effect Sensor as an encoder(fe​edback) for PCI 7356 Motion Controller

    Hi,
    We have Labview 2010 and the following hardwares for testing a specific motor (a brushless DC motor):
    NI PCI 7356 Motion Controller
    NI UMI 7774
    AKD Servo Drive P00606
    However, I met some difficulty when wiring the motor to the motor drive(and controller). In the manual, it says PCI 7356 needs encoder signals as the feedback. But our motor doesn't have a built-in encoder. It has three Hall Effect Sensors, which we plan to use as an encoder. If we feed the hall sensor signals as the encoder phase signals (Phase A, B) to the drive/controller, I wonder if Labview or PCI 7356 (after an appropriate configuration) can adjuct the phase (from 120 degree to 90). Does it work even without the adjustment?
    If the above doesn't work, can I feed only one Hall Effect sensor signal as Encoder Phase A and don't feed anything to Phase B (since I only need control the motor speed in one direction)? Will PCI 7356 or Labview recognize the signal and function accordingly?
    If it doesn't work as well, could I use motor's Back EMF as a feedback (this motor produces a decent sinusoidal back EMF)? If I can, how should I configure the hardware and wire the motor to controller accordingly? 
    If all three above don't work, could you suggest a way to solve this problem?
    Thanks so much for your help.
    Best,
    Chen

    Hey Chen,
    I have comfirmed that the PCI card will not be able to do feedback with the hall effect sensors. However, you could do that with our NI 951x modules if you run it in FPGA mode. You would need an extra IO module to set up the hall effect sensors with, but you could effectively customize your control and your feedback on the FPGA board immediately. 
    For your other post, I am not sure you can create a time constraint on the move, I believe that when you define a motion, you would need to define the number of steps or the position and not the time. If you are running the motor at a specific velocity for an amount of time, you would need to set that as the number of revolutions and not time.
    I hope this helps.
    Regards,
    A. Zaatari
    National Instruments
    Applications Engineer

  • PCI-7344 motion controller encoder reset problem

    I'm using a PCI-7344 motion controller for my application. I'm currently working on simple display of position and velocity using an encoder. I am able to read the encoder pulser, but I am unable to reset it. I want the encoder pulses to be display continously till I press a reset button on the screen. After pressing the reset button on the front panel, the encoder count should become zero and start counting again till I press stop button. Kindly give me a simple example of encoder reset using push button. Thanks.
    Regards,
    Giridhar Rajan
    Cruiser Controls
    Mumbai, India

    This should do what you are looking for.  I am not at the computer that has a motion controller card in it, so I have not tested it. 
    It resets the encoders for Axis 1 and Axis 2.  Unless you have a different configuration for encoders and axes, it should work.
    Hope that this helps,
    Bob
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]
    Attachments:
    Reset encoders.vi ‏66 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

Maybe you are looking for