Use DasyLab to measure torque, rotary position, and RPM

I'm new to DasyLab and am developing an application to measure torque, rotary position, and RPM.  I'll be using an Interface T8 pedestal torque transducer with a built-in rotary encoder capable of measuring angular position, speed, and direction.  The encoder will be outputting 5V TTL at one pulse per degree.  I'm using an MCC 1608GX USB DAQ device capable of reading analog and digital signals.  I'm looking for insight on reading the TTL output from the encoder and converting it to angle and speed.  Any help would be appreciated.

OK,
If you want to go directly to the 1608 you need to take the counter input and use it as a frequency input.  This will give you the Frequency of the encoder that you can convert to RPM but I don't think you will be able to detect the direction.
To my experience the signal is not very stable due to the software pull but good enough if precision is not a question.
Another oprion is to buy an additional small frequency to analog converter that will take a dirrential output.  This units can usually be programmed for +/- Frequnecy to +/- rpm.
There are models out there that are designed fo quadrature encoders.  The link below is a good example.
www.laurels.com/downloadfiles/LTA-manual-pulse-in.pdf
Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator

Similar Messages

  • Use incremental rotary encoder to measure the absolute position and velocity

    Hi all,
    I faced a problem by using incremental rotary encoder to measure the absolute position of the rotation. 
    I'm not using NI-Daqmx but NI-motion module. In NI-motion module, I use read encoder position.vi to read the position of the encoder. 
    However, the readings is in incremental form. I'm doing the feedback control, so I need the absolute position and velocity.
    Is there any functions or vi in the labview that can be used to transform the information of incremental encoder to the absolute one?
    Thanks
    Jun Wong

    Jun,
    1. The incremental encoder provides incremental position. After switching on the encoder power the encoder counts upwards or downwards. For the absolute position you need the index (R or I) signal. I don't know which type of incremental encoder you have but there should be A, B and (I or R) signals. The index signal should reset the counter to zero setting this way a pseudo-absolute-position (which is lost after the first switch of). Most of the motion controllers have a mode, just after switch on, in which the controller search for the Index. This mode is called Homing. 
    2. Velocity. It's very simple. You sample the position with a fix sampling clock. Let's say: 10kHz. The speed is: (Actual Position - Previous Position) / Sampling Period. Pos[n] = 10.000inc, Pos[n-1] = 9.900inc. Speed = 10.000 - 9.900 / (1/10kHz) = 1.000.000 inc/sec. If one increment is 0.0001mm then the speed is 100mm/sec.
    Paul 

  • Use GPIP for measure six point by six DMM at the same time

    First Question
    I will use GPIB for measure six point by six DMM at the same time. I will record the data in every mins.Could it avaiable? Is this method not accuray?
    I aslo wanna to run 3 labview programme at the same. time.Each programme is same and use GPIB to measure by 2 DMM and 2 Digital In .Could i do this?

    The first question is easily handled by triggering all instruments at the same time and then querying each in turn for the measured value. You can use eaither a hardware or software trigger (i.e. the gpib GET command). For your second question, are these 3 LabVIEW programs started by a single main program? How you want to run them will make a difference but in any case, the programs will have to have some sort of synchronization mechanism if you want measurements to be taken at the same time or if independent, a blocking mechanism to prevent simultaneous reads and writes. More details on the second question would help.

  • For RAL and RPM analysts

    Hi all,
    I'm looking for forums with reference to ORPM and ALLOCATIONs applications. From what I could see in this one, there are not much information for these application, can someone give other choices?
    Thanks in advance.
    Regards
    Edited by: ansousa on 09-Oct-2010 10:34
    Edited by: ansousa on 09-Oct-2010 10:35
    Edited by: ansousa on 09-Oct-2010 10:36

    Though the traffic is low here, this is an appropriate forum.
    You may also like to checkout the LinkedIn Oracle Retail groups (there are about 5), the OAUG-ORUG mailing list (members only) and there is a (low traffic) Ning forum. Also since a while there is an Oracle Support community for Oracle Retail (though it is tagged 'RMS').
    So my suggestion is to use indeed this forum here for RAL and RPM. May also like to checkout a wiki page with Oracle Retail links at http://wiki.oracle.com/page/Oracle+Retail+Online+Resources+and+Community+Overview.
    Best regards, Erik Ykema
    Edited by: ErikYkema on Oct 9, 2010 9:58 PM

  • How to measure the rotational speed by using rotary encoder and 1 counter?

    I want to measure the rotational speed of a shaft, and I have below hardware:
    1, a rotary encoder, with A,B,Z signals output;
    2, PCI-E6363 card.
    I do konw how to use such a  encoder to measure the rotational angle by using the function "DAQmxCreateCIAngEncoderChan", but this time I need to measure the speed(rpm), as well as the dirction of the speed, which means a negative speed represent a CCW rotate direction.
    More detail informations:
    for the encoder, the A,B signal is 600ppr, and Z signal is 1ppr
    the rotatinal speed is in range: -300 ~ 5000 rpm.
    some one suggested me that I can use the "DAQmxCreateCIAngEncoderChan" task to measure the angle firstly and then do the differential analysis with the angle. but I have to enable the Z index function, and it's hard to calculate when the shaft speed is fast then 2500rpm.
    Anyone can help me on this issue?
    Thanks in advance!

    RobertoBozzolo:
    Thansk for your reply. You are right that measure frequency to get the speed is the best way, but it's hard to get the dirction at the same time. You suggest me that "perform two angle measurements to get the sense of rotation", but I'm not sure I catched what you mean about this. I try to understand your opinion like this: distribute the signals to 2 counters, and start 2 tasks, one for frequency, the other for angle which used for deciding the dirction?
    And by the way, in my application, the counter is limited:
    I'm using PCI-E6363, which have 4 counters totally, and I have to measure 4 different speed sensors at the same time, so that means only 1 counter for me to measure the speed and the dirction.
    RobertoBozzolo 已写:
    To measure the speed from the encoder you can simply follow some of the frequency measurement examples that ship with DAQmx, considering that speed (rpm) is given by frequency (Hz) on one encoder output / 600 (ppr) * 60 (s->min)  = frequency / 10.
    Difficult is to add a sign to this measurement: frequency measurement gives you no information about sense of rotation, so I suppose you could perform two angle measurements to get the sense of rotation and then get the speed as above.

  • How to do Torque mode(position-velocity disabled)using 7344 & torque xdcr signal to 7344 ANI chan ?

    Seeking advice on a preferred method to do a torque control application using a PXI-7344, a brushless DC servo motor, digital servo drive/amplifier, a torque transducer as the feedback device connected to one of the 7344's analog input channels.
    I have several torque testing applications and would appreciate comments from anyone who has done torque control using NI Motion.

    There are really two ways that this can be accomplished using the 7344. It can be done manually by reading the value of the ADC and then outputting a corresponding value on the DAC. This is all done in software and is not as fast as the onboard PID loop. This method could also be implimented with a DAQ card.
    The second method would be to set the Primary Feedback for that axis to the correct ADC Channel. Since the ADC is 12 bit, this maps the axis to -2048 to 2047 in counts. Then you could tell the axis to move to a certain target position in counts and it would actually be a torque target value, not position since counts is now in torque. I have not done this but theoretically it should work, however tuning the system may be problematic depending on it's linearity
    Hope this was helpful.
    Regards,
    JR A.
    Applications Engineer
    National Instruments

  • Encoder Position and Velocity Measurements and Force Measurements

    Hi,
    I am using a USB 6210 DAQ Card and an optical encoder and force transducer together in an MRI room to measure the power ouput of a patient pedalling on a recumbent ergometer. I would like to obtain synchronous measurements and output this to file. I have started working on the code for the encoder. I am struggling to get the frequency measurement and encoder position outputting fast enough. Any idea why this is? For the force measurements will this be with the same configuration just adding Vi's for analog input. Also I know using the write to measurement file vi is quite slow to write to a spreadsheet what is the more efficient method for doing this.
    Regards,
    Darren
    Attachments:
    Angular_Position and RPM.vi ‏46 KB
    Angular_Buffered.vi ‏80 KB

    Hello Darren,
    The fastest file to write to in LabVIEW is a binary file.  The specific file type used by LabVIEW is the Technical Data Management (TDM) file.  The TDMS file is a version of this file specifically designed for streaming applications.  You can find several examples of writing to this file in the NI Example Finder (Click Help -> Find Examples).  By using the search tab, you can use the keyword “TDMS” to search for all of the examples that use the TDMS file type.  The example Cont Acq&Graph Voltage - Write Data to File (TDMS) can be found from the search tab, or by using the path Hardware Input and Output -> Analog Measurements -> Voltage.  While the data acquisition part of this example pertains to analog input, the same file input structure can be used with your counter input tasks. 
    What do you mean that the encoder and frequency measurements are not fast enough?  Each rising edge of the sample clock source will latch the current value of the measurement into the FIFO and transfer this value into the buffer.  At this point, how quickly you can read the buffer will affect how quickly the user is updated with the newest measurement information.  Since you have specified the number of samples to read in your buffered example, the read VI will wait until that many samples are available in the buffer before returning a measurement (this could slow down the update rate for the user).  By specifying -1 as the number of samples to read, you will read all available samples in the buffer.  If there are no samples available, nothing will be returned, but the VI will continue to execute.  Hope this helps. 
    Regards,
    Browning G
    FlexRIO R&D

  • I entered calculates hands and more than one account and used a credit card please raise security measure for Visa card and thank you

    I entered calculates hands and more than one account and used a credit card please raise security measure for Visa card and thank you

    Hi Eva B.,
    Please refer to the help document below:
    Adobe Store | Online order and payment FAQ
    Regards,
    Sheena

  • How to measure torque on a DC motor using Multisim?

    Hello,
    I would like to know how we measure torque on a DC motor using Multisim Education edition.
    I've searched for the component, "eddy current load brake", but could not find it. Is that component in Multisim?
    Thank you,
    Neil

    Hi,
    Please refer to this forum post.
    http://forums.ni.com/t5/Circuit-Design-Suite-Multisim/PM-DC-Motor-Model-Trouble/td-p/1931859
    Hope this helps.
    Regards,
    Tayyab R,
    National Instruments.

  • How to measure voltage changes using a NI-9219 with strain gauges and use the data in labview

    I am updating an old LabView/Data Acquisition system that uses strain gauges to measure two forces (normal and axial) as well as two moments (Pitch and Roll). I am having trouble reading the voltage changes over my strain gauges using my NI-9219 as well as filtering the data with both a lowpass and smoothing filter. The program attached has the project and should have all the sub-vi's used in the program. This program was written on LabView version 8.5 and is being updated to a 2013 version of LabView. Also, the hardware previously used was a combination of a NI SCB-68 and NI USB-6251. If anyone could help me it would be greatly appreciated! 
    Attachments:
    New SSWT.zip ‏751 KB

    Hi Coffeyfj, 
    Did you ever had this set up working? The first thing that I would do as I mentioned in the previous comment would be to use one of the LabVIEW examples. I recommended to you using the (strain - Continuous Input.vi). If you can read any voltage changes with the example vi, then we will know the problem we are having is in your code. If you cannot read any voltage changes using the example I mentioned, we can start trouble shooting the hardware connections. Are you connecting the excitation voltage? If yes, Are you making the right connections. Please refer to page 19 of the following document (half and full bridge modes)
    NI 9219 Operating Instructions and Specifications - February 2009
    http://digital.ni.com/manuals.nsf/websearch/4197ED4BD126E0B486257546005851CA
    Regards,
    William Fernandez
    Applications Engineer 
    National Instruments 

  • Creating a new position and updating IT 1028 using HCM processes and forms

    I have to create a new position and update the related infotypes using the design time framework of HCM processes and forms. The problem I am facing is the info type 1028 is not a part of the de coupled infotype framework and does not appear in the service fields list. How can I update the infotype 1028? I was thinking of updating it using the FLUSH method of the class implementing the ADV services interface IF_HRASR00GEN_SERVICE_ADVANCED by calling the function module RH_INSERT_INFTY. But, how do I get the position ID created? Is there any other way of achieving this? Please help as soon as possible.

    HI
    Create one Function Module to return all the vacant positions and load that in a drop down.
    For IT1028 you have to update via the RH_INSERT_INFTY.
    Kind Regards,
    Mukesh

  • How to use scb 68(pci 6221) for voltage and current measurement

    hi 

    PCI 6221 is DAQ card with 68 terminals and SCB (Shielded Connector Board) 68 is termination board to those 68 pins of 6221 card, so that you can connect signals (to be measured) to appropriate pin of PCI 6221. You might already aware of it.
    Refer to the pin out of PCI 6221 to check which is the correct terminal, for voltage measurements.
    You cannot measure current directly, instead use a resistor of known value (and appropriate current rating), let current (to be measured) flow through it and measure the voltage across that resistor.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • [Desktop] Remember the size, position and monitor last used when Spotify was closed

    I always use Spotify on my smaller secondary monitor, but every time it loads it appears on my primary monitor and is the "default" size, so I need to move it to the other monitor and resize the window on a daily basis. Could Spotify remember the last know position and size it was set to, and automatically load using these settings next time it's opened? Thanks,James

    Updated: 2015-07-05

  • How to measure current and voltage and rpm with daq device

    i am measuring current and voltage and am wondering should i use shunt resistors or current sensors hall effect sensors. i have a pci 6221 and a scc-68 breakout box. what specifications or size should the shunt resistor/current sensor be or should i use another device to measure the currrent and voltage. do i need any other safety device between the resistors, current sensors and the scc-68 breakout box when measuring the current and voltage. will the daq card pci 6221 pick up a signal from the resistor. what terminals should the wires from the resistors and current sensors be connected to in the scc-68. i am using a proximity switch to measure rpm of a motor. should the proximity switch be 2 or 3wire connection. should it have an analog or digital connection and is a power supply required to power the proximity switch and should it have an npn or pnp connection

    hello,
     i was going to use a 20amp 50mv, or a 20amp 100mv current shunt and connect wires directly into the AI input terminals of the scc-68 from the current shunt would these be suitable. would current shunts such as these be suitable to use http://uk.farnell.com/elc/sh10020/shunt-sh10020-20a-100mv-1-class/dp/1319576 or http://uk.farnell.com/datel/3020-01098-0/shunt-50mv-20a/dp/1339338
    is it ok to use either a current shunt or should a hall effect sensor be used  such as this http://ie.farnell.com/honeywell-s-c/csla2cd/sensor-hall-effect/dp/1082269 . which of them would be more accurate or are both of them fairly accurate.
    when i am measuring voltage can i connect two resistors between the positive and negative of the wires going to the battery and connect two wires from either side of the resistor directly into the analog inputs of the scc-68 and measure the 12-15 volts directly would the pci6221 and scc-68 be able to measure the voltage drop across the resistor.
    i wanted to measure rpm also does it matter whether the proximity switch has 2 or 3 wires and should it have an analog or digital/frequency output for cponnecting to the scc-68

  • I would like to use DasyLab for a research project with Siemens PLC

    I would like to use DasyLab with Siemens PLC Simatic S7-300. Which OPC Server shall I use?
    I would like a manual for connecting DasyLab via OPC server to the PLC if it is possible.
    Could I use NI OPC Servers which are compatible with LabView?
    Thank you for your help

    I believe that Siemens has an OPC server that you can purchase.
    KepWare has the KepServer and drivers for Siemens www.kepware.com.
    DASYLab has the Help menu with the instructions for the OPC DA modules. It's straightforward - configure the OPC server with the necessary drivers and connections (tags). Update rates are in milliseconds, for example, 100 ms is typical. You need to know your device and driver, to determine data types.
    Once configured, KepServer has an OPC quick client to allow you to test your settings. 
    Then, add the OPC DA module to DASYLab, connect to the server, and select the tags to read or write. 
    Note that it's simple to set up on a single computer - to set up on multiple computers requires assistance from your It team to correctly configure the DCOM permissions. That's specific to the OPC server.
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

Maybe you are looking for