Controlling Newport SMC100 with Labview

Dear all,
I need to control a single axis Newport motor via Newport SMC100, i installed the SMC100 labview drivers.
Do anyone have examples? OR anyone can show me the way about how can i implement my system very fast?
Please have a look at the brief description of my system:
I am also measuring load with "load cell,amplifier and DAQ (NI USB-6343, X series)" so what i want is to trigger SMC100  after a certain value of load cell is reached.
Do anyone has any idea how to work this out? is this so hard application for a beginner?
This is my master thesis's test setup so i am really looking for help.
Best regards from Turkey!

Hi Kindly-Wisher,
It looks like you have already created a Discussion Forum for this topic (How to interact Motor Controller with Load cell via LabVIEW).  Please try and keep a topic to just one thread.  You can reply back to that thread if you still have questions.
Thanks,

Similar Messages

  • Controlling Hamamatsu Camera with LabVIEW

    I am using a Hamamatsu 1394 ORCA-ERA Camera in order to save microscope images on a PC. Im my lab, we are attempting to automate the process of saving an image from this microscope, and coordinate the time of the image capture with a function performed with LabVIEW. 
    As the 1394 name implies, this camera is connected to our PC using a firewire port. Is it possible to control the function of this camera with LabVIEW through a firewire port? What additional LabVIEW libraries would I need in order to perform this task, if any? Finally, is it possible to use LabVIEW to control a program called micro-manager that we currently use to save images? I know the Hamamatsu API supports both programs, but I am not sure if cross-communication between them is supported. 
    Thank you for reading, any response is greatly appreciated. 

    You say the API supports LabVIEW.  Does it have any example code for you to start with?  Typically driver sets include examples to make it easier to work with their API.
    If it works with that API, I'd see if you can get that to work with taking the images without using the second program.  You can typically use something like system exec on a Windows machine to run programs.  I'm not sure of anything that works similarly for a Mac.  Does micro-manager have an API you can use to make calls to it?

  • How can I control PIC programmer with LabVIEW

    I need to control a PIC Programmer (MPLAB PM3) with LabVIEW. How to do this?

    Hi Paul.
    I am working on a project that is using LabVIEW to communicate via serial communication with 4 programmers (Com 1, 2, 3, & 4). I am currently using the Microchip PM3 programmer DOS utility PM3CMD.exe to send/receive commands from the system exec.vi in LabVIEW. I am attempting to program simultaneously with 4 programmers, but the PM3 programmers are returning a database error if I try and communicate with more-than 2 programmers at a time. I noticed that you have some experience with some drivers from Microchip and using serial commands.
    Do you have any suggestions that may help me.
    Thanks.

  • Controlling PCI-1422 with Labview instead of MAX

    Hello Experts,
    I want your help in one of my problem. I have a camera from Sensors Unlimited which is SU-640 1.7 RT-D and a NI parallel card PCI-1422. I can use and acquire data with MAX from the camera but I want to operate,use and acquire images from the camera using LabView. Is there any way of exporting or using the camera with Labview instead of writing a fresh code in LabView? 
    Does LabView offer any support or reads automatically from PCI-1422 or any possible solution that I get the block diagram code for using this camera in LabView.
    Please let me know, reply.
    Any help or suggestions will be highly appreciated.
    Thanks in advance!
     

    Nitai wrote:
    Thanks but again it requires writing and struggling with coding and experience on  LabView skills.
    Just wondering something easy. I tried one of the example and it worked actually but I am trying to get more ideas or options to make it look better and impressive.
    You want something and easy and doesn't require any effort on your end?    Hire someone who knows how to program in LabVIEW.

  • How to use ExpressionEdit Control in teststand with labview

    Hi
    I am trying to get the ExpressionEdit Control to work in a labview custom step in teststand, but i have no idea how it works and cant find a solution.
    What I need is a simple example.

    Hi,
      that would really depend on how you want to use it. Do you just want the text from it? In which case there's a property of Text you can get from the control. Architect your code so that when you hit your OK button etc, it grabs the "text" information from the control.
    All of the properties and methods are documents (right click the control's fpterm on the block diagram, create >> property (so it created a property node for the activeX control, not a property for the LV control it's buried in) and select things like Text, or an invoke node, and things like DisplayBrowseExprDialog.
    You can then right click those, and go to "help for ...." for that property or method.
    Unless we know what you propose to use it for, then we can't really help with sample code, since it might not be applicable to your setup. (i.e. text out versus evaluation of the expression, versus displaying the browse expression dialog etc).
    You'll probably need to write to the context property to get the correct sequence context to browse with (pass in the "thiscontext" to your vi, and write to the context property of the dialog box.)
    Hope that helps
    Thanks
    Sacha.
    // it takes almost no time to rate an answer

  • Controlling an SLM with labview

    I'm trying to control a spatial light modulator (Hamamatsu Photonics, X10468 SLM) using LabVIEW. The connections and LabVIEW program are as shown. When I move the image window
    generated by IMAQ WindMove, the display on SLM changes. Why is it so ?
    Attachments:
    Connection.png ‏4 KB
    SLMDisplay.png ‏21 KB

    Hi Alice12,
    Your USB to DVI converter creates a second (or third) monitor.  These days, most spatial light modulators work as an additional monitor.  Whatever the computer displays on that second monitor (program windows, the desktop, your mouse pointer) will be "displayed" on the SLM.  To display an image on the SLM, you need to create a window to display the image and then put that window on the second monitor.  That's what the WindDraw and WindMove VIs do -- they create a window to display your image and position the window on the second monitor.  Of course, if you move that window, the SLM display will change.  The SLM is displaying whatever your computer puts on the second monitor.
    While developing and testing your program, it is very helpful if you can temporarily replace the SLM with an actual second monitor.  If at all possible, get a monitor with a DVI input, connect it to your USB to DVI converter, and set it to a resolution that is as close as possible to your SLM (looks like 792x300 according to your program).  Then it will be easy to see what will actually be displayed on the SLM.  Once your program is 100% working and you want to run your experiment, unplug the extra monitor and plug the SLM in.
    A couple of other tips: You can replace those For loops with a single Initialize Array function (on the Programming > Array palette) -- resize it vertically to be the right number of array dimensions, then create a numeric constant with the value you want each element of the array, and right-click on the numeric constant and select Representation > U8.  Also, the IMAQ manual says you should call IMAQ WindClose when your program is done (I have little experience with IMAQ).
    Does this help?  Some of the specifics of getting the second monitor working properly depend on your operating system, so if you still need assistance it would be helpful to know what OS you're using and which version it is.

  • Controling ihr320 monochrometer with labVIEW.

      I have some demo vi's for initializing and moving a monochrometer, but they have errors associated with them.  Are there any existing vi's for controlling an iHR320 monochrometer?
    Thanks
    Solved!
    Go to Solution.

    Hi Gregory,
    If you're using a third party device, your best bet for finding drivers for them is either the company's website or on www.ni.com/idnet. Take a look there.
    Jeff | LabVIEW Software Engineer

  • NVIDIA control (Shadowplay mostly) with LabVIEW via ActiveX - Does anyone have documentation?

    Hi Everyone,
    I'm looking to capture my monitor video at around 30fps. ShadowPlay works well with my graphics card, and I've found that there is an ActiveX Library on the PC. The attached screenshot shows an example code for 5 seconds of capture. 
    Shadowplay only captures one monitor but I want it to capture both, or make two videos (one for each monitor) preferably. Although a possible work around would be recording one at a time but being able to programatically change between the two. The Shadowplay library is: ShadowPlayServerLib and the NVIDIA Library is: NVI2Lib (I presume this is NVIDIA but could be wrong)
    I can't find any documentation on the activeX commands so I'm struggling to know what inputs and outputs of the property nodes should be. Does anyone have any? A search of the internet brings up my own forum post on NVIDIAs website: 
    https://forums.geforce.com/default/topic/805560/geforce-experience/shadowplay-activex-documentation-...
    Any help on the NVIDIA/ShadowPlay side of things would be great, alternatively any ideas for capturing video at 30fps (I tried to use .NET to capture the screen shots to png files but it only managed 2.5fps without saving them)
    Many thanks
    Attachments:
    NVI class.png ‏27 KB
    shadowplayActiveX.png ‏32 KB
    ShadowPlayCapture.vi ‏12 KB

    Hi Woody247,
    Here is brief overview to help using LabVIEW with ActiveX:
    http://www.ni.com/white-paper/2983/en/
    Here is an interesting example that could be useful to your application's functionality 
    https://decibel.ni.com/content/docs/DOC-41144
    Regards,
    Mark 
    Applications Engineer Intern
    National Instruments UK and Ireland

  • Controlling Mouse cursor with Labview

    Dear Experts,
    I have a project trying to use Muscle signal to move a mouse cursor on computer screen. Basically, if the signal is positive, it moves to the right, and if it is negative it moves the cursor to the left.
    I've seen a friend did it before way back, but don't remember how. I've been spending a lot of time trying stuffs, but none works.
    It will be nice if someone can post a simple example or give me tips on how to do it
    Thanks!

    Similar but different: Waterloo Labs Eye Mario.
    The basic idea being acquiring data and when it exceeds a limit, an event fires registering an action. In this case it was a button click but for your application, modify it to change the cursor coordinates (increment or decrement the x or y position).
    Logan H
    National Instruments
    Applications Engineer

  • Controlling VI Logger 1.1.1 with LabVIEW 7.1

    I have LabVIEW 7.1 on my system and installed VI Logger (1.1 them upgraded to 1.1.1). I would like to programatically control VI Logger with LabVIEW. There are references to VIs under the Advanced pallate to do just that, but I cannot find them or any help files to explain what to do. Where do I find these VIs?

    Hello,
    Thank you for contacting National Instruments.
    After you install VI Logger, the VI Logger Subpalette should appear on the functions palette. See the attached screenshot.
    If they do not appear there, try to reinstall VI Logger.
    Let me know if you have further questions.
    Sincerely,
    Sean C.
    Applications Engineer
    National Instruments
    Attachments:
    VILoggerVIs.bmp ‏2305 KB

  • Is axis ptz 215 ip camera compatible with labview?

    Hi I am working with labview for my final year project and am trying to find a ip camera which will work in labview.
    I wish to use the axis 215 ptz but want to make 100% sure that I will be able to capture video input from it before I purchase it.
    so
    1, will i be able to capture video into labview with a axis 215ptz?
    2, Will I be able to control the pan tilt and zoom controls of a axis 215 ptz labview?
    and if so any help as to how would be great also thanks for your time.

    I and a NI engineer tried various ways to get it to work in labview he was quite helpful.
    After installing the camera and checking on internet explorer that it worked and was a valid IP for the computer we tried the following in labview.
    Measurements and automation explorer under device interface and remote systems couldn’t find the Samsungs IP or name
    Another way I tried was vision and motion vision express once again the camera couldn’t be found even though through the same method the Ni engineer could find his supported camera a different one to the Samsung.
    Yet another way was through vision assistant in which we tried the acquire image from ip camera driver and once again the Samsung was not found.
    On conclusion the Ni engineer concluded the Samsung wasn’t supported and thus after research we tracked down that apparently axis and basler cameras are supported. Of these specifically I wish to use the axis 215 ptz I emailed the same question above and an NI engineer replied
    Hi Nicholas,
    You can use the Axis 215 pzt camera to control and use with LabVIEW there is no problems at all. Make sure you don't change the firmware that comes with the camera, As this can cause it not to work.
    Please let me know if you have any further questions.
    Ruchira Gunatillake
    National Instruments
    Applications Engineering “
    Thanks for enquiring Im now in the process of hoepfully getting a ptz axis camera and giving it a shot!
    Regards Niko2011n

  • Labview basic vis for controlling Newport ESP6000 controller and 3 axis stages

    I have looked in Ni.com's development zone and cannot find anybody who
    has created or developed Labview code for controlling a ESP6000
    Newport controller. Newport provides the basic level dll for use with
    Labview. Has anybody developed a good basic LabView VI implementing
    these dlls?
    Any advice and suggestions on how to proceed would be greatly
    appreciated.
    K Patel

    This is a library I just quickly put together from what I remember when I used to used the ESP6000 and Unidrive systems - All you need to do is call "Open and Initialise Axes" (note the Australian/UK spelling!) and then home each axis individually, and then call any of the other commands (Move Relative, Move Absolute, Stop, etc) - note: sue to an hardware limitation, you can only home one axis at a time, and that could take a while!
    *** The DeveloperZone is not letting me upload the library - email me (address below), and I'll email it directly to you.
    Like my answer? Give it a rating!
    Christopher G. Relf
    Certified LabVIEW Developer
    [email protected]
    Int'l Voicemail & Fax: +61 2 8080 8132
    Aust Voicemail & Fax: (02) 8080 8132
    E
    ULA
    1) This is a private email, and although the views expressed within it may not be purely my own, unless specifically referenced I do not suggest they are necessarily associated with anyone else including, but not limited to, my employer(s).
    2) This email has NOT been scanned for virii - attached file(s), if any, are provided as is. By copying, detaching and/or opening attached files, you agree to indemnify the sender of such responsibility.
    3) Because e-mail can be altered electronically, the integrity of this communication cannot be guaranteed.
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable.

    WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable since I dont have rs232 ports. I have two instruments that I want to control in this manner. One is an Imada ZPS force gage with RS232 output. The other is a Panasonic HL-G103-S-J laser micrometer sensor which is RS422. I've done considerable LabVIEW programming using GPIB but I have no experience with devices like these. Any tutorial or examples would be greatly appreciated.
    Thanks.
    Solved!
    Go to Solution.

    I understand that you want to control a device which having RS 232 port as output. If so, you can use an USB-RS232 cable from PC to device and you can control or monitor the device.
    See this link http://zone.ni.com/devzone/cda/epd/p/id/2669
    Also, first check the device in hyperterminal and then continue to program in labVIEW. You can find the serial VI's in Instrument I/O.

  • How to access SPECIFIC camera attributes tree (camera controls) located in MAX with Labview?

    How to access specific camera attributes tree (camera controls) located in MAX with Labview?
    I want to be able to access frame, trigger and grab properties. Does anyone know?
    Thanks.
    /Peter

    Please see this related thread http://forums.ni.com/t5/LabVIEW/IMAQdr-Property-Node/m-p/1642950/highlight/false#M590168
    Matt
    Product Owner - NI Community
    National Instruments

  • How to use labjack U12 to control solenoid directiona​l valve with Labview in hydraulic system

    Hi,
    I need to control a solenoid operated direactional valve in hydraulic system with Labjack U12. I am using three relays but need some help on the vi. like which instrument drive I need to use etc....
    The coil voltage for the solenoid valve is :  AC120V, 60Hz; AC110V, 50Hz 
    My goal is to control this solenoid valve open/close at certin time, am using Labview 2011. Any advise would be helpful.
    Thank you!

    Have you got the relays working yet.  Do some initial testing with LJlogger to make sure hardware is controlling the relays as expected.  If you need further help with this step, provide a link to electrical details for the relays and describe how you have the relays connected to the U12.
    As for your programming in LabVIEW, I suspect you are using digital I/O, so the simplest thing to do is call EDigitalOut() to set a particular line to output-high or output-low, or if you need to set a line to input (for open-collector style control) use a call to EDigitalIn().  Perhaps look at "e function example.vi" to get started, and for general information about using the LabJack U12 with LabVIEW see topic #84 from the LabJack forums.

Maybe you are looking for