Linear encoder (newall SGH) controlled with motion cotnroll UMI7764 and LabView

Hi,
I would like to intsall my linear encoder (SGH PC) onto the motion controll box (UMI7764). After that I have to use LabView to controll the encoder. It should give me the position of a piston and also the limits for this piston. So at first I just want to controll the position of the piston and then give the limits or controll the piston with it.
My problem is I have no idea how? How can I get my signals out of the encoder into my LabView programm? I got the key for the pins but still unclear how to get my signals and what to do with them.
Sorry, I am not used to use LabView. 
Thanx

Oh, ist mein Englisch so schlecht
Dann formuliere ich meine Aufgabe einfach noch mal auf Deutsch um Missverstaendnisse auszuloeschen.
Meine Aufgabe ist es einen Linear Encoder (SGH PC) an einen Piston (wie heisst das auf Deustch?) anzubringen und anzusteuern. Zunaechst soll nur die Position des Piston damit bestimmt werden, danach aber auch Vorgaben gesetzt werden. Heisst, ich gebe eine Routine vor und der Piston macht das dann hoffentlich auch.
Um den Encoder ansteuern und auslesen zu koennen stehen mir eine Motion Controll Card (UMI 7764) und eine PCI 7324, sowie LabView 8.6.
Zur Zeit sind wir noch mit der Installation des Encoders beschaeftigt, doch bald werd ich auch programmtechnisch handlegen muessen. Leider hab ich noch nie mit einer PCI oder all dem Anderem gearbeitet und kenne mich daher nicht damit aus. 
Fang ich also mit einer Grundlegenden Frage an: Hat LabView ein VI was es mir ermoeglicht die benoetigten Kanaele aus dem PCI auslesen zu lassen und wieder zu schliessen? Dann waere die Positionsbestimmung ja hoffentlich nciht so kompliziert.

Similar Messages

  • Report Generation Toolkit Compatibility with Microsoft Office 2013 and LabVIEW 2012

    Hello community,
    on this page there is shown the Report Generation Toolkit Compatibility with Microsoft Office and LabVIEW.
    In our company we use actually LabView 2012 and it works perfectly with MS Office 2010.
    Has anyone ever tried the "Report Generation Toolkit" of LabVIEW 2012 with MS Office 2013? Does it really not work? Has anyone an emirical value for this topic?

    Hi digital_badger,
    as you sure have seen in the link it is not officially supported by NI, which means to you one of the following things:
    1. You could upgrade your LabVIEW and your Report Gerneration Toolkit to Version 2014 and use MS Office 2013
    2. You could just try it with MS Office 2013 which might work but if it's not working you don't get any support from NI.
    Even if someone tried it already and it worked for him does not mean that it will work on your machines. It is possible that on some of your machines it could work but not on others. Their can be a lot of problems while playing around with unsupported setups.
    3. You could leave your setup as it is and stick to your MS Office 2010.
    I hope I could give you a good answer to your question

  • Using Mackie Control with Logic Pro 7 and Yamaha O1X

    I currently own a Yamaha O1x which is a mixer/control surface/audio interface that I use with Logic Pro 7. I am planning on selling the O1X and replacing it with the Mackie Control Universal as my DAW controller and using the Apogee Ensemble as my audio interface. I already have purchased the Mackie Control Universal and would like to begin using it instead of the O1X as my DAW controller, but while I am waiting for the Apogee Ensemble to be released I still need the audio interface capabilties of the O1X. The O1X uses Yamaha's MLAN protocol to connect to the G5. MLAN is a firewire interface that can transmit both audio and midi. Does anyone have a suggestion for a work-around solution so that I can use my Mackie Control Universal (which connects via midi cable) and only use the audio capability but not the control surface of the O1X via the firewire connection? I haven't been able to figure my way through this one and see if it is possible. I have already tried having them both hooked up at the same time, and the Mackie Control seemed to work fine but the audio on the O1X didn't seem to be connecting and functioning properly. I appreciate any help as I am anxious to use my Mackie Control.
    Thank you!

    You need to connect only the Audio and not the MIDI between your 01x and Mac. You can achieve this in mLan Graphic Patchbay-connect the cables between the Nodes in Audio part of a Graphic Patchbay, connect the Wordclock but do not make any MIDI connections. this way it should work as you want. the other way is to Make your regular connection from mLan Autoconnector and disable the MIDI ports that are dedicated to control the DAW by 01x by some freeware utility (01x uses port 1 for that...)
    As this is quite 01x specific, please visit 01xray.com/forums where you will find more help, or send me PM.
    As Apogee enssemble is expected to have great features, I would rather recommend the i88x instead of Enssemble (i88x has two Mic preamps-the best Yamaha produces (derived from Dm2000)VERY good converters (mLan is known for low jitter and it was tested with Rosseta by a mate from 01x forum who said (he tested it in store with other people) that i88x sounded better-may believe it or not...).The mLan Graphis Patchbay application allows you to patch connections between mLan devices and computer -very flexible. 01x already does almost the same as Mackie control and it is for almost the same price.... But maybe you are pi_ssed of waiting for new mLan drivers? I am just speculating....

  • Precise trajectory control with PCI Step Card and triggered buffer

    Hello,
    I'm trying to use PCI STep 4OX card for precise trajectory control. Every 200ms I'm putting motion tasks into buffer and I'm using external 10ms trigger input for this buffer. For duration about 100ms per one tick of trigger is fine, but I need make change in position every 10ms and it seems unusable.
    Where is the problem? What is maximal duration of trigger puls, what max freq. of this pulses ... etc.
    Thank you for your answers and suggestions,
    Vaclav Maixner
    System Engineer

    The board you are using is quite old and most probably will not give you the perfomrance you need. I would recommend upgrading your board to one of the 7334 series motion controllers that will surely giveyou that kind of performance throuogh their preemptive start fucntionality.

  • Credit control with Groups of Customers and individul customer

    Hello,everyone.
    I want to realize the credit control for the groups of customers and
    each individul customer belongs to it.
    how can i do ?
    thanks first

    Well you can group these customers under one credit control area Tcode OB45 , and you can define your individual customer under this credit control area.
    & in OB38 assign company code to this credit control area.
    Hope this fixes your Problem
    Cheers

  • Problem with Data recording with EPOS2 24/5 and LabVIEW

    Dear community memebers,
    I've been trying some examples from EPOS library, and I would like to know how this example works and how data recording works.
    Idon'tknowwhatdoestheparameters, thatthereareindecircle, means.
    I would like to plot Position, Velocity and Acceleration. Has someone can explain me how does it works? and what is the funcion of the numbers in the cluster?
    Thanks.
    Best Regards,
    Xavi
    Solved!
    Go to Solution.
    Attachments:
    EPOSLibrary.llb ‏4870 KB

    Hi Xavi,
    you should ask Maxon to explain their software. Or read the manuals they provide...
    Motors with some logic usually use a register based communication scheme. You write to certain register to set parameters, you read certain registers to know current parameters/values of the motor. Each cluster in that array is describing one of those registers/parameters, like the first one with register address x6064, sub-address x0 and value d4. Those parameters seem to resemble CANopen CiA specifications!
    I can't open that VI due to it's LabVIEW version, but probably you will find labels on the input control of that subVI. Read the labels...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Linear Encoder and Configure Logging

    Hi All,
    I am currently using a PCI-6280 M-series board with LV2010.
    I have a Linear Encoder in X4 mode connected to Counter 0 and I was wondering if it is possible to stream the values on the counter as it keeps track of the distance into a TDMS file using "DAQmx Configure Logging" .  I tried this using MAX to configure this, but it does not seem to work, so I'm just wondering if this is even possible as I couldn't seem to find anything online about doing this.
    Thanks,
    Lester
    Solved!
    Go to Solution.

    Hi Lester,
    My apologies, I tried it out on a different board. It can work with yours, too, though. There is an example of a buffered counter task that should allow you to log the data by adding in the Configure Logging VI like we did before.
    Open LabVIEW and go to Help >> Find Examples... it will open the Example Finder. In the Example Finder, expand the folders to get to Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events >> Count Digital Events-Buffered-Countinuous-Ext Clk.vi
    Put the correct counter channel and PFI channel in the controls, and run the VI to see what it does. Then you can modify the block diagram to add the Configure Logging VI (the same way as before) and run the VI again. You will end up with a TDMS log saved at the path you wire into the Configure Logging VI.
    I hope that helps.
    Regards,
    Daniel H.
    Customer Education Product Support Engineer
    National Instruments
    Certified LabVIEW Developer

  • How can i distinguish two controls with the same name?

    I'm recording automated tests with VS 2012 Coded Ui Test for testing a web application.
    In that web application it is possible to enter data in something looking like a list.
    There is - per example - an Edit control sitting on a ColumnHeader with the name/text "Description".
    Below that header is another Edit control for data input - containing the text "Description" too and which lies on a Cell control.
    When i playback my recording, Coded UI Test looks for a control with the name "Description" and gets the one, it finds at first.
    In that case the Edit on the ColumnHeader, which causes an exception, when the Text will be setted with the data input from the recording.
    Unfortunately the controls have no ID.
    Is there a way to distinguish controls with the same name?
    Thanks in advance!

    Hi Patrick Pirzer,
    >>Is there a way to distinguish controls with the same name?
    Based on the blog "How does “Coded UI test” finds a control ??", we know that to really find a control, it would be related to the unique properties as the search properties,
    so if two controls have the same property, please use other unique property as the search property would be better.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Optics experiment requires to control with a numeric control or string, but source code is having trouble

    Hello,
    I'm working with my professor on an optics experiment and we are trying to control a fast steering mirror with LabVIEW.  We bought the mirror and power supply from piezosystemjena.  They provided a LabVIEW code that works.  
    The problem is that right now, the code can only be controlled manually.  We wish to have LabVIEW control it based on inputs received from other sources.  The LabVIEW code is controlled in either one of two ways.  A knob can be used to change the value of the voltage to move the mirror.  Also, a command can be sent to control the voltage.  In both cases, the "channel" is specified.  In our situation, we have two channels, a X and a Y channel for the axes of the mirror.
     The knob is not convienient for this situation, because we wish to have a numeric control.  When I try and simply "replace" the knob with a numeric control, many things go wrong.  There are other references, property nodes, and sub VI's dependent on that the control is by a knob.
    Is there any way around this and to have it as a numeric control?
    The other way to control the mirror is with the "command."  This simply uses a string to send a command to the mirror and works well.  However, in order to specify the channel and voltage value, the string needs to read as, "set,0,20.5" where 0 is a channel and 20.5 is a voltage (examples). I would like labview to change the string to coincide with different values calculated by other sources and have the mirror move.  However, the code needs the string to be in "control" form.  The only way I can see to have the string function where i can change the inputs, would be to use a concatenated string, however then it becomes an indicator instead of a control.
    Is there any way to get a concatenated string to function as a control, where I wouldn't have to physically type something in, but instead have LabVIEW determine the values?
    I'm attaching the VI's for reference.  The VI from the company is quite complicated, so I'm hoping I won't have to alter it too much.  I'm sure there's a simple answer just using the sub VI.
    Thank you all for your help.
    Message Edited by Support on 11-06-2009 08:28 AM

    Hi R0B0T,
    Here is some example code to get you started. 
    There are two vis: Control.vi and app sim.vi The “control vi” simulates your “trying to control with concatenated string.vi” and the “app sim.vi” simulates your d-drive application. 
    To use these vis, open both front panels. Run the Control vi and change the control values. See how the data is received by the app sim vi.
    Notice in the Control.vi how I generate a value change event for the concatenate function using a value signaling property node. This is required by the receiving app to be able to detect that a change has occurred. 
    Also note that I passed through a stop event to close the app sim vi. The d-drive application does not have an input for this and that is a problem. To cleanly stop the d-drive app you will need to add this functionality (or live with having to stop both vis separately). You will have to read the stop value in two places – in the event structure (lower loop) and also in the while loop (upper loop). I decided at the last moment to include this functionality in the app sim vi so you could see what that might look like.
    Note that in the app sim vi I have a comment about dealing with your knob vs numeric issue. This should give you an idea of what you are up against. It really isn’t too hard if you are able to understand these examples. 
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.
    Attachments:
    Control.vi ‏14 KB
    app sim.vi ‏14 KB

  • Quanser DC Motor Control Trainer missing VI's for labview 2009

    Hi my name is phillip, a student developer working with labview 2009 and the Quanser DC Motor Control trainer with ELVIS II. I have failed to run the VI for speed control, it appears to be broken and says four sub-vi's are missing and they are "Intergrator.VI," "Integrator (DBL).VI," "Transfer Function.VI," "and "Transfer Function (DBL).VI.". I happen to have installed the control design and simulation toolkit but this has not solved the problem. Please help!!!!

    Hi Phillk, I have the exact same problem with the missing VIs for the Quanser DC motor control with the NIELVIS also for Labview 2009.
    Can you please tell me where I can find these VIs? Can you send them to me if it is possible?
    I would really appreciate it, 
    I need the Transfer Function.vi,  Transfer Function (DBL).vi and the integrators too.
    Thank you, 
    Carlos M. Rodriguez  
    [email protected] 

  • Communication problem with FP-2000 and Labview 7.1

    I am using the FP-2000, DO-403 and TC-120 modules with Labview 7.1, being run on a host computer via an ethernet connection.  The setup has operated flawlessly for ~2 years; recently, I have noticed that while a VI is running on my PC, connection to the FP module ceases.  There is no pop-up "connection error" in my VI, and the all the power and status LEDs on the FP modules are normal.  I can still interact with the VI on the front panel while it is running, but nothing is passed to the FP module.  I have tried communicating with MAX when this occurs and receive a "no connection" message.  Is there a simple solution here, such as rebooting the FP module?  Or is it time to invest in new hardware?
    Justin

    I am having a very similar problem with my cFP-1804 and Labview 7.0.  I have no problem initiating communication over ethernet, and the vi will run perfectly for hours or even days.  Inevitably, however, at some point there is no longer communication with the cFP-1804.  Data is no longer being passed either to or from the cFP-1804, and MAX will show that the device is not connected.  I also will not see any pop-up error message that says the connection has been lost, either from Windows or from Labview.  The vi will just continue to run as if nothing has happened.  Turning the power to the cFP-1804 off and then on will always resolve this problem.  Since I am using the cFP-1804 primarily for data logging, however, this behavior is particularly problematic as the system will record nothing but zeroes until I discover that the communication has been severed and perform the manual power cycling.
    I have been unable thus far to determine the cause of this problem.  Any help would be greatly appreciated.
    Thanks,
    Derrick

  • How to place a motion data representation in labVIEW?

    i am using motion assistant software and labVIEW to move a slider in X and Y axis. i just want to know how can i plot sort of a graph in LabVIEW to represent my motion data? for example, if X axis moves to point 100, my graph will automatically plot to that point too. so if the slider moves to X,Y (1000,2000), my data representation will also move to (1000,2000) in the graph in LabVIEW.
    i would greatly appreciate it if someone could just help me here. Thanks

    Hello Gurl,
    Thank you for contacting National Instruments.  Depending on how the system is returning positional information, there are motion VIs that can return the current position of axes.  Assuming that you have NI-Motion installed, you can find these VIs in the block diagram by right-clicking and selecting Search.  Type "Read Position", and a number of ".flx" type VIs should show up.  Use these VIs to obtain the current position of each axis.  You can build the points that are returned from each axis into arrays using for loops. Once you have arrays built for each axis, bundle the axes into a cluster, and then pass the cluster to an XY Graph.  The cluster is necessary to pass multiple axes of information to an XY Graph.
    Regards,
    Mike T
    National Instruments

  • I need to count intermitte​nt high speed pulses from an outside source with cFP-CTR-50​2 and labview.

    I need to count intermittent high speed pulses from an outside source with cFP-CTR-502 and Labview 8.2 . I've found example code for generating pulses and creating intricate count setups but no straightforward examples of a simple counter. Any suggestions?

    Hello tinfish,
    I could not find a simple example that implements simple counting either, but it should be straightforward enough for us to try. Do you have the CTR module configured properly in MAX? If so, can you monitor the channels on your CTR 502 for input? Try connecting a square wave or some other digital pulse to the terminal to test the functionality of the counter module first (before programming). If you monitor the input channels with somethign connected you should see the count increment each time it sees a rising edge (assuming default configuration).
    Once you've verified that everything works in MAX, you can set up your CTR module in a LV 8.2 project. If you need help with this, refer to the help document (look in the "Configuring FieldPoint in LabVIEW" section):
    C:\Program Files\National Instruments\FieldPoint\documentation\Online Help\fplv.chm
    You should be able to just read a channel tag from your CTR 502 using an FP Read VI. (Simply drag the channel from your project onto the block diagram). Since counting is the default behavior of the 502, there is no special programming involved to make it work.
    I hope this helps -- if it's too high-level we can talk details about specific questions you have.  Have a good one!
    Charlie S.
    Visit ni.com/gettingstarted for step-by-step help in setting up your system

  • Linear encoders with Motion Assistant

    Hello,
    I recently ordered some SIKO MSK5000 linear encoders ( http://www.sikoproducts.com/viewProduct.cfm?productID=MSK5000 ) for a stepper motion application.  I hooked one up as a test and according to the status LEDs it worked but Motion Assistant (1.3) seemed to not pick it up.  Then I realized that I am not even sure what motion assistant should be doing!  I can't find in the documentation what exactly should happen when I hook up an encoder so could someone help me out?  We want to make sure they work before installing them (which will require lots of disassembly.)
    Thanks!
    Relevant hardware:
    PCI-7334
    MID-7604

    Hello,
    Hopefully I can get you going with with Motion Assistant.  Basically the Motion Assistant is software that allows you to easily develop and test a motion control program through a fairly straight-forward API.  You can create a set of moves, called a script, one step at a time to see the cumulative effects of these steps.  This script can then be converted into LabVIEW code or several different text-based programming codes.  Before you begin using the Motion Assistant, however, you need to configure you motor setup in Measurement and Automation Explorer (MAX).  In MAX you setup the properties of your specific motor, encoder, limit switches, control style, etc.  Below is a link to a Motion Fundamentals tutorial on ni.com, and I believe the Configuration section should help you through configuring you motor in MAX.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/722ECF56222AAD5086256F7B007072C4?opendocument&node=1...
    This link has a good tutorial on the Motion Assistant itself:  http://www.ni.com/swf/presentation/us/motion/.  Hope this helps.
    Jason N

  • Acquire encoder position with Motion and DAQ

    Hi,
    I am trying to acquire an encoder position with Motion. It seems impossible to set the frequency of the acquisition with Motion and I must poll for the position in a do-while loop.
    I have read in a lot of threads that one can use RTSI lines to retrieve encoder position with a DAQ Board though it is acquired with a Motion board. But there are no examples at all about this.
    To sum up, I need to send Encoder Phase A to RTSI0, Encoder PhaseB to RTSI1 (which I already do), retrieve info with a DAQ device and then calculate rpm.
    Christophe
    PS: please don't answer with measure angular position.vi or explain me in what this Vi can help me

    Hi Christophe,
    I'm not sure I understood well what you need. You have the angular position and you need to know the timing, am I right? Can you use an other counter on your card to get the period (or the frequency) of your signal? From that, I think you should be able to calculate the velocity.
    I hope this helps,
    Charlotte F. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...

Maybe you are looking for