Automation unit control with LabVIEW

I use LabVIEW 7.1 and NI FieldPoint devices (FP-1000) for educational
purposes. I want to control a automation unit which has got 6 digital
input and 6 digital output. Before I used the sequence structure, but
actually I am not sure the solution whether true or not. How can I do
like this control with LabVIEW?

Duplicate.
Try to take over the world!

Similar Messages

  • Off the shelf XY gantry system controlled with LabView

    I am looking for an XY gantry system that I can easily control from labview.  I need a workspace of 11 by 16 inches with minimum clearance of 6 inches.  I was wondering if anyone has used a commercially available XY gantry or has any experience with an XY gantry.
    I have found these two tables/brands that already have LabView drivers
    http://www.zaber.com/products/product_detail.php?detail=G-LSQ450D450D&tab=Series%20Features#tabs
    http://www.techno-isel.com/tic/Catdas/Gantry3.htm
    And this one that looks promising too
    http://www.animatics.com/en/products/table-top-robot/animatics/table-top-robot/2-axis-ttr-xy-configu...
    Both Zaber and Techno Linear do not know of anyone in my area (Loveland, Colorado or Denver area) that I could go visit to see a table and I would like to see a working system before making a decision to buy a new system. I have not been able to talk to an engineer/technical sale representative at Animatics yet. 
    I am looking at using the XY gantry to position a sensor over a tray of parts to measure some properties of the parts.  The system I am designing does not need an high accuracy table (+- 0.005" is fine).  I would prefer to spend about $10K for a XY gantry table including any required controllers and hardware. 
    Thanks,
    Brian

    You have a good start, but 2 other things that you need to consider are your load and speeds required.  This will determine the mechanics of the gantry(ball screw, acme screw, belt, bearing type, etc.).  It will also determine if you need servos or you can get away with steppers.  You then need to figure what kind of motion you need.  Point to point moves can be accomplished with non-interpolated controllers, but any kind of coordinated motion will need a motion controller that can do true interpolated motion.

  • Oriental Motor control with labview

    I am trying to control third party (Oriental Motors) stepper motor
    controllers with Labview. I have managed serial communication, but command
    aren't being sent. Can anyone help me?

    Hi Azim,
    It looks like Maxon posted a driver for the DES servoamplifier here: 
    http://shop.maxonmotor.com/maxon/assets_external/Katalog_neu/eshop/Downloads/maxon_motor_control/4-Q...
    The DES can communicate via a command voltage from a motion controller, in the NI case you would use a PCI or PXI 7340 or 7350 series motion controller, and set the drive to +-10V command input mode. 
    It can also communicate over Serial RS-232 or CAN. I believe the above linked driver implements serial communication, but I haven't had a chance to look at it, so I'm not positive. 
    See description of modes and comm interfaces here:
    http://shop.maxonmotor.com/maxon/assets_external/Katalog_neu/eshop/Downloads/maxon_motor_control/4-Q...
    Best Regards,
    Nate

  • Simple motor control with Labview

    Can anyone suggest a simple motor to be controlled by labview. I am interested in making a small scale elevator that is controlled with a labview interface. If anyone could point me in the right direction it would be greatly appreciated. - Bryan

    Attached is the vi for the program.  I will also try and attach the C code for the project.  It took a lot of failed attempts to get it working so I hope this works for you.  I don't have a schematic for you, but if you look over the C code it should let you know.  Also I used the CCS development kit 16F877A.  I'm not great at programming in C so there is a good chance you can clean it up a bit.
    I'll keep an eye on this post if you have any questions, when winter comes I'll probably work on this some more.
    Message Edited by nutmegzzzz on 09-19-2005 01:56 PM
    Attachments:
    Serial Read with Timeout version 1b.vi ‏169 KB
    LED and Motor Control from LabView - Complete.c ‏3 KB

  • Spindle motor control with labview

    Hi
    I want to control the spindle motor with Labview. It is maxon motor EC 32 with encoder and controller. I can control it with the GUI software. But, I am not sure that there have any such options in labview to control the motor? Please let me how I can control this spindle with the help of labview.
    Thank you for your co-operation.
    Best Regards
    Azim

    Hi Azim,
    It looks like Maxon posted a driver for the DES servoamplifier here: 
    http://shop.maxonmotor.com/maxon/assets_external/Katalog_neu/eshop/Downloads/maxon_motor_control/4-Q...
    The DES can communicate via a command voltage from a motion controller, in the NI case you would use a PCI or PXI 7340 or 7350 series motion controller, and set the drive to +-10V command input mode. 
    It can also communicate over Serial RS-232 or CAN. I believe the above linked driver implements serial communication, but I haven't had a chance to look at it, so I'm not positive. 
    See description of modes and comm interfaces here:
    http://shop.maxonmotor.com/maxon/assets_external/Katalog_neu/eshop/Downloads/maxon_motor_control/4-Q...
    Best Regards,
    Nate

  • MapPoint ActiveX Control with Labview 7.1

    I am looking for a basic example on how to integrate a MapPoint ActiveX control into a Labview vi so I can pull up maps at a given set of lat-long coordinates with zoom in and out capability.   I'm new to Labview and activex container use and have not previously attempted to program with MapPoint, but that is what I have to work with.  Not finding discussions on MapPoint use with Labview, at either MS site or here, so am looking for assistance to get me started.  Using Labview 7.1, MapPoint 2004 and Windows XP.

    Hi,
    I'm afraid I don't have any experience with MapPoint, but some of the other members might. If so, it would be great if they could post any code they may have...  
    As a general rule, programming ActiveX is a little tricky since properties and methods aren't always documented well. Furthermore, the ActiveX hierarchies for a particular application can change from revision to revision. This is why programs using activeX to interface with Word or Excel have problems with different versions of Office. If you have to use Map Point, you may want to check MSDN for any information they may have. You may also want to check out the ActiveX examples in the Example Finder by searching for ActiveX. They should give a general understanding of how ActiveX programming is done on the LabVIEW side of things.
    If you can use a web based application, it might make your life a little easier. You can specify lat long coordinates in Google Maps very easily. Im attaching a simple application that does this for you. Just enter the lat and long in decimal format and hit run. The resulting map will show up in the container on the front panel and you can pan or zoom to your heart's content. I hope this helps. Good luck with your application and happy holidays!
    Regards,
    Chris J
    Message Edited by ChrisJ on 12-20-2005 05:00 PM
    Attachments:
    lat long example.vi ‏33 KB

  • Solenoid Control with LabVIEW

    Hey everyone,
    Im brand new to LabView and I am in need of some assitance. Ive attached a picture of my block diagram setup. I need help with making the LabView code in order to help run this setup. I want to use LabView to activate my photoelectric sesnor, which when tripped will activate my solenoid valve immediately. The maximum allowable time between the photoelctric sensor being tripped to the valve opening cannot be greater than 50 milliseconds. I would also like to active my high speed camera 1 second prior to the electric sensor being activated. I have included the parts I am using in a list below. Thanks for all the help in advance.
    Solenoid Valve: SV-282 from Omega
    Photoelectric Sensor: Comet 14101A6517
    Output cDAQ: NI-9472 (powered by external power supply "NI PS-15 24V")
    Input cDAQ: NI-9421
    Camera: Phantom v7.3 (connected through ethernet)
    In summary: with labview, activate camera, activate photo sensor which when tripped will open solenoid valve immediately.
    Shervin Aslani
    Solved!
    Go to Solution.
    Attachments:
    IMG_20130730_142033.jpg ‏2537 KB

    I'm confused as well.  Why are you sending a signal to a sensor???  Provide power to the sensor all the time and read the digital output from it. Then, send a signal to the solenoid to activate whatever physical action you require when the sensor is triggered.
    EDIT:  One more thing.  Since LabVIEW lacks any sort of time machine functionality you're going to have a fundamental problem activating your camera 1 second PRIOR to your trigger signal.   Usually the answer to that sort of problem is solved by recording the video data constantly in a ring buffer and then when you receive your signal you grab the data.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • Spykee Robot control with Labview

    Thanks to the Spykeedev community forum, where you can find the TCP protocol to control Spykee, we wrote a set of VIs for connect and control the robot. In the example normally ignore the TCP communications because not all the command return ever a response.
    For display the webcam images the robot a JPEG file and labview only decode JPEG reading from a file, not directly. Then the VI write to a binary file an after, read the file and decode the JPEG. This caous not get more than 2 images per second.
    Is necessary improve the VIs, and one of the main improves are decode the JPEG protocol directly without write and read the file, and convert it to a format that Labview can work (picture, IMAQ,...).
    Still there is no VI to work with sound.
    The VIs are writen in Labview 2009
    Hope this help,
    Attachments:
    Spykee_labview2009.zip ‏518 KB

    LabVIEW comes with RS232 examples.

  • MCA control with labview(?)

     Hello I am a psysicist  trying to build a rotating photon detector (gamma camera) powered by a stepper motor. I am using a PCI-6503 to control the stepper motor and and ORTEC's ASPEC-927 Multichannel Buffer for the signal acquisition and I need some help & guidance.
     My problem is the control of my Multichannel Analyser, which is normally done with Maestro 32. I need to perform the following sequence: step (stepper motor) - begin counting - stop counting- export data (results) to Labview- next step etc. I have to find a way to do it through Labview.
    I tracked some NI forum posts referring to MCA drivers but they were too old (2000) I hope thing have changed since then. I have also been searching a lot in the internet but all I have come up with is either a publication "LABVIEW-BASED MCA EMULATION SOFTWARE FOR ORTEC MULTICHANNEL BUFFERS" or some reference to ActiveX usage for such a task. If someone has knowledge on the matter, I would like to know what is achievable and what is not. I have no knowledge of ActiveX programming whatsoever by the way.
    ps.I haven't found anything relative to the communication of  labview with Maestro 32 which is the default software provided with the MCA card nor "reading" the .chn output files from labview so I assume it is out of the question.
    thank you in advance

    Hi Ycano,
    Yes, you can operate your motor in velocity mode by using the Set Operation Mode VI to change it from position mode to velocity.
    As for your control feedback loop, are you bringing in the feedback from the load cell via a separate DAQ card? If the load cell outputs a voltage in the +/- 10V range (if it's not a current transducer or doesn't require an excitation voltage), you could connect it straight to the analog input on your motion controller and directly implement it in your control loop for your motion controller. That feedback could then be operated upon at a faster rate than if you brought it in separately from a DAQ card (a closed loop stepper system).
    Also keep in mind that load cells generally have a slow update rate, so they may be the limiting factor in how fast your system can respond to changes.
    Regards,
    Vijay S.
    National Instruments

  • Fluke PM6304 controlled with LabView via RS232

    Hi,
    we're going to control our Fluke RCL Meter with Lab View via RS232.
    Does anyone has experience and show sample code?
    I failed already to make a terminal connection between my PC and the PM6304
    Thanks for comments, maximint.

    Okay, here goes. Once upon a time there was just serial and gpib. Each used completely different hardware,protocols, etc. and there were separate drivers for each. Years ago, a new instrument type was introduced. Based on a VME backplane, these were instruments on a card called VXI (VME with instrument extensions). So, a whole new low level driver was required. The makers of VXI, realizing that the first VXI instruments were the same as their GPIB instruments without a display or power supply, thought that it would be nice if the software that had been developed for the GPIB instruments could also be used for the VXI version. Several vendors, including NI, came up with something called VISA (Virtual Instrument Software Architecture). This was an API that united GPIB and VXI. If you wrote an instrument driver with VISA Writes and VISA Reads, it would work with either type of instrument. The VISA driver itself would determine the actual type of bus and handle all of the low level details. One of the goals of all these vendors was to also make it easy for users to change from GPIB to VXI instruments. While this didn't really happen, the idea of VISA caught on and became very popular and sort of a standard in many places. Eventually, other common forms of instrument busses were added to VISA. Among those are serial, ethernet, usb, pxi. All of the instrument drivers written by NI now use VISA.
    I downloaded the driver for the instrument you need and had a look at it. It really doesn't have much, it's very old, and uses the GPIB functions (not VISA). Since there were so few functions, I went ahead and replaced the GPIB Reads and Writes with VISA Reads and Writes. That will give you a start. You will also need to add some code to initialize the serial port. A great place to look to see how this is done is with an example that has shipped with LabVEIW for years. The HP34401 DMM driver that is on the instrument driver palette is a VISA driver with special support for serial. All of the serial setup is done in the initialize subVI. The type of interface is determined and if serial, baud rate, parity, etc. are setup. Another important setting is a termination character. Serial instruments usually require a CR or LF at the end of each command. You will need to determine what your instrument requires.
    Attachments:
    flpm6304.llb ‏141 KB

  • VFD Control with LabVIEW

    I have a Mitsubishi FR-S510 VFD to control an AC induction motor,with the Mistsubishi software to set parameters and such-my question is this:
    I need a way to use LabVIEW to control the motor controller.I am fairly new to LabVIEW but thought someone may have been down this road before...any ideas would be greatly appreciated.
    Alex

    Hello Vinnygalbo
    I am planning to use LabView with a WJ200 Series (WJ200-075LF 15hp 200-240volt) Hitachi inverter for my CNC spindle motor. I was trying to download software for Hitachi Drives from your suggested site (http://www.ctiautomation.net/Software.htm). Unfortunately, the button for Hitachi is disabled; I could not find it there. Could you please upload it here that one you used for your application?
    Regards
    Apple

  • Stepper control with labview

    Hello again,
    Im developing a project with a lazer pointer attached to a stepper motor, my program allows me enter a value and make the stepper  "step" a certain amount of times .This works ok but I have to stop the program running and start again in order to make the stepper step again.Is there a way that I can enter a value to make the motor rotate then enter another value to make it rotate again without stopping and starting the program. Ive attached my vi
    any input is much appreciated
    Attachments:
    jonnystepper.vi ‏133 KB

    Thanks!!
    Right here goes, the array in the while loop defines the sequence for half step mode, this array contains 48 values and therefore if all the elements are read this gives 48 (half) steps which corrosponds to 90 degrees of rotation (the motor gives 3.75 degrees per full step). The for loop part of the vi allows me to enter a value in to the control named index 2, the array in this part of the vi contains values that corrospond to a particular number of half steps.So if I have 48 in the first element and 24 in the second element this allows 90 and 45 degrees respectively, if 0 (first element) is entered into index 2 the for loop iterates 48 times and therefore I get 90 dgrees of rotation,if 1 (second element) is entered into index 2 then the for loop iterates 24 times and I get 45 degrees of rotation. What i would like to achieve is .......enter 0 into index 2 then start the program, when the motor has finished rotating  I would like to change the value in index 2 to1 and see the motor spin again without having to start and stop the program.
    Apologies for explanation........I hope you can understand the jist...please feel free to tell me if you think my method is incorrect or contrived
    with freunlichen Grüss

  • Simple device control with LabVIEW 7

    Hello,
    I have been a LabVIEW user for about 6 months and feel very comfortable with the "basics." I have used V7.1 with SCB-68 connectors as well as SCXI-1100 systems. I have written vi's that take voltage in from a variety of devices and produce good results.
    For the next phase of my "education" I would like to build simple vi's that do things like turn motors or pumps on and off. After that, I would like to be able to use a vi to say, adjust the speed of a DC motor.
    Are there vi's or links at the NI site that can help. I have searched the site extensively but have not found anything that propels the user from the passive analog input stage to using LabVIEW to interact with devices in the lab.
    Please advise.
    Thanks!

    Unless you're using the SCXI-1600 to drive the SCXI system, you should
    have a DAQ card that has a couple analog outputs on it. If you do have
    have the SCXI-1600, you'll need to get hold of a DAQ card that has
    analog out's on it. Check out NIs M Series of cards or the SCXI analog output cards.
    Once you have something that generatea a voltage, open the Example
    Finder in LabVIEW (Help>Find Examples) ans double click through
    "Hardware Input/Output>DAQmx>Analog Generation>Voltage" and
    you'll see several examples showing you how to create a voltage. These
    examples all have the source code included so you can see how
    everything is done. Use then as a starting point and save them
    somewhere else if yo modify one.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Maxon motor control with LabView

    Hello everybody, I am new here and I have been trying to learn how to make this process work for a while and I have ran out of options. LabView is very hard to comprehend.
    I am trying to control a Maxon motor using the epos 24/5 controller. I have a vi that does what I need to do, but I need to find a way to make the process run faster. Basically is going to control a wing that is going to go back and forth at very high speeds. I am not sure what I need to do, also I would like to generalize the process by being a able to input a function or a position wave of my choosing. If any of you all can help me it will be greatly appreciated. Thanks ahead. 
    Solved!
    Go to Solution.
    Attachments:
    Absolute Position Attempt.vi ‏26 KB

    Davide,
    I found some screen captures, this vi worked really well the only problem I ran into was the I could not adjust for the inertia of what I was controlling so it would  not follow the sinousoidal wave I needed. You can do a similar set up for analog input for position.
    I highly advise of learning labview properly first, instead of just going at it. As starting small knowing what is going on( a lot of little things) and working your way up.
    (i had help in this one so some of the details of the control such as outputting of the digital signal I do not comprehend fully)
    Carlos
    Attachments:
    Capture1.JPG ‏141 KB
    Capture2.JPG ‏263 KB
    Capture3.JPG ‏170 KB

  • CAEN V2718 CONTROL WITH LABVIEW

    We produce pulses with CAEN V2718, we use CAEN  vi-s and the first run is OK. We cannot change the pulse parameters in additional run .  Probably, The is a problem with CAEN  END function ? 

    You are using a CAEN power supply? I don't see a National Instruments driver for that model "V2718"
    Here is the list of CAEN drivers:
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/ps/20/sn/ssnav:idr/q/CAEN/
    What driver do you have for it?
    Can you post your code? Or a snapshot of your Block Diagram at least?
    Mark P.
    Applications Engineer
    National Instruments
    www.ni.com/support

Maybe you are looking for

  • MHKIM:AR_PAYMENT_SCHEDULES_ALL TABLE의 DATA생성 로직

    제품: FIN_AR 작성날짜 : 2006-11-03 AR_PAYMENT_SCHEDULES_ALL TABLE의 DATA생성 로직 ========================================= Explanation 입력된 Transaction이 Complete되는 시점에 AR_PAYMENT_SCHEDULES_ALL table에 관련 Data row가 생성되며, Due_date는 입력된 Transaction의 due_date를 끌고 와서

  • Download directly to itunes library

    Is it possible to download directly from an outside source onto my pc and directly to library or do I have to first put in a folder and then drag to the library?

  • Why does 4.0.1 sometimes start acroread (no pdf) & leave running?

    Sometimes FF 4.0.1. starts up Acroread32, despite the fact that no PDF documents are involved in the display. On exit, I find that Acroread is still left running and has to be killed. Why does it start up and why does FF not clean up after use? Thank

  • Warning message when saving a ppt file

    Hi I have a ppt file that I have added some presenter features (audio etc).  When I save the file I get this message. have tried saving to a new file but......get the same warning.  Has anyone encountered this before and can advise what is causing it

  • Can't see Mac network with JFileChooser

    Greetings I am using a standard JFileChooser to select files and directories in my application running on MacOSX Snow Leopard. My problem is that I can't see my network using JFileChooser. I can see all the other Macs on my network using Finder or a