Measure Z to a battery encoder encoder pulse frequency to measure the speed using a 6034 E card

Hello

I want to measure the speed of a motor that has an encoder to encoder hung on battery. It provides impulses 3 A, B and Z I uses a PXI 6034 E card. I wanted to know if there are any examples/ideas that could help me with this (I'm new to digital programming in Labview). I moved to NI Daqmx 9.8 recently of the old version that has supported the existing codes and therefore being updated the code. I also want to know if an external clock source is needed to do this. This.

Hello

There are several examples in the finder OR example (you can get here by going to help > find examples in a window of LabVIEW). You can browse examples of Encoder on input and output material > DAQmx > entry counter. You should be able to find some examples that will be useful.

In addition, this link is a good resource to get started using DAQmx: http://www.ni.com/white-paper/5438/en

Thank you!

Tags: NI Hardware

Similar Questions

  • measure the speed of the fan in box vibration Simulator

    I'm trying to measure the analog speed towards the sbRIO

    I get a few signals pulse switching to 5v to 0v and vice versa with variable duty cycle...

    How can I calculate the speed of the fan

    values provided on the box of Simulator are

    Tach 2 pulses/revolution

    the maximum speed is 6,000 rpm

    Please help me with this...

    Did you look at the examples of LabVIEW? If you have installed the OR-DAQmx driver, you will find many examples showing how to do the counting of events or measures of frequency.

  • Measure the distance using color sensor 2.0

    Hi all!

    I would like to know if there is a way to measure the distance of an object using the color sensor that comes with the Mindstorms 2.0. I am gaining a few conferences of the sensor, but I don't know how to convert these values to distance.

    Any reference or a link would be appreciated!

    Thank you!

    Hi fran_jo,

    Here is an article which offers a good method to calculate the exact values of scaling to convert measures of intensity at a distance: http://www.hitechnic.com/blog/eopd-sensor/eopd-how-to-measure-distance/.  Do not forget that this relates to a third party of sensor, but the concepts should always be applied.

    Also note that the color sensor is affected by ambient light.  You can try to use a 2nd sensor to take account of all the ambient light.  What you trying to accomplish with this application?  Is there a reason that you are not using the ultrasonic sensor?

  • Measure the speed of download of modem broadband

    Can someone advise me how to measure the real speed of downloading on my mobile broadband after any time. I would like to know how many Mbps, he realizes in fact, and not what the camera is capable of.

    Use the performance monitor on my PC?

    The operating system is Win 7 Home Premium, 64-bit

    Thank you very much

    Chris

    http://www.Speedtest.NET/

    One of the many linkages

  • How to measure the speed of the funnel without the closed loop of the report?

    We seem to be in trouble, we want to move to 10 Eloqua and/or get the closed loop, tool of reporting, but we have to wait. However, we still really need to be able to measure our funnel and speed into the funnel. So did he do this without the help of eloqua fancy reporting tools?

    To calculate the speed you need two things:

    (1) steps defined

    (2) a date stamp for each step, you're trying to follow a long time.

    I've seen customers calculate the funnel using their CRM speed by writing a date to a field on the contact record and then report on these dates.  For global directional numbers I've seen customer on created lead report / month, then had a date on the contact record to identify SAL in a period of time, following by pointing out the standard option.  This is not one to one, but can provide valuable guidance.  To be precise and complete the picture, you would need MQL dates and SAL on the contact record, and your opportunity process will need to have associated contacts.

    On the product side, income Suite is available on E9.  No need to wait.

  • How to measure the distance using script

    Hello

    Is it possible to measure the distance of any document in photoshop using the measure tool, using the script. Below the steps required by me. Hope I'm clear in my communications.

    I've searched the forums, but couldn't find appropriate answers.

    1. open the Photoshop document

    2. allow the user to draw the line with measure tool

    3. the alert distance

    RGS

    Anish

    This only works with CS5 because it now uses the tool instead of a path rule. But it solves all the problems talked about in this thread and many other differences between the original function and the data in the info panel.

    It returns a custom with angle and length properties object if there is a rule tool line in the active document and not of the indefinite. I didn't know if the length must be a unitValue or number in the units of the rule settings. I went with number because the Panel info has different number of decimal places for the different units. And as the Panel assigned the corresponding graduation info per cent the length value is empty

    function getRulerToolLengthAndAngle() {}

    points of var = [];

    points. Start = [];

    points. End = [];

    var / / desc = new ActionDescriptor();

    Var ref = new ActionReference();

    ref.putProperty (charIDToTypeID ('Rprp'), charIDToTypeID ("RrPt"));

    ref.putEnumerated (charIDToTypeID ('Dcmn'), charIDToTypeID ('Ordn'), charIDToTypeID ('Trgt'));

    desc.putReference (charIDToTypeID ('null'), ref);

    var / / desc = executeAction (charIDToTypeID ('getd'), desc, DialogModes.NO);

    If (desc.hasKey (charIDToTypeID ('points'))) {}

    pointList var = desc.getList (charIDToTypeID ('points'));

    var startPointDesc = pointList.getObjectValue (0);

    points. Start.push (startPointDesc.getUnitDoubleValue (charIDToTypeID ('X')));

    points. Start.push (startPointDesc.getUnitDoubleValue (charIDToTypeID ('Y')));

    var endPointDesc = pointList.getObjectValue (2);

    points.end.push (endPointDesc.getUnitDoubleValue (charIDToTypeID ('X')));

    points.end.push (endPointDesc.getUnitDoubleValue (charIDToTypeID ('Y')));

    var RES = {};

    res.toString = function() {return "RulerTool news" ;};}

    Pointed var = points.start;

    var points.end = b;

    If (pointed [0]

    var a = Math.max(pointA[0],pointB[0]) - Math.min (pointed [0], b [0]);

    var o = Math.max(pointA[1],pointB[1]) - Math.min (pointed [1], b [1]);

    var ang = (180/Math.PI) * Math.atan2(o,a);

    If (pointed [1]< pointb[1]){//negative="">

    Ang = - ang;

    };

    Res.angle = ang.toFixed (1);

    } else {}

    var a = Math.max(pointA[1],pointB[1]) - Math.min (pointed [1], b [1]);

    var o = Math.max(pointA[0],pointB[0]) - Math.min (pointed [0], b [0]);

    var = 180-((180/Math.PI) Ang * Math.atan2 (a, o));

    If (pointed [1]< pointb[1]){//negative="">

    Ang = - ang;

    };

    Res.angle = ang.toFixed (1);

    }

    If (app.preferences.rulerUnits == Units.PERCENT) {}

    Res. Length = "";

    } else {}

    var c = Math.sqrt + ((a*a) (o * o));

    var length = new UnitValue (c, 'px');

    length.baseUnit = new UnitValue((1/app.activeDocument.resolution),'in');

    Switch (app.preferences.rulerUnits) {}

    case Units.PIXELS: res.length = length.as('px').toFixed (2); break;

    case Units.INCHES: res.length = length.as('in').toFixed (3); break;

    case Units.CM: res.length = length.as('cm').toFixed (2); break;

    case Units.MM: res.length = length.as('mm').toFixed (1); break;

    case Units.POINTS: res.length = length.as('pt').toFixed (1); break;

    case Units.PICAS: res.length = length.as('pc').toFixed (2); break;

    }

    }

    return res;

    }

    }

    var getRulerToolLengthAndAngle() = Info;

    If (info! = undefined) alert (' the ruler tool angle is: ' + info.angle +'\nThe length is: ' + info.length);

  • I can measure the speed of the NI 9401 fan &amp; cRIO 9075 under Scan Interface?

    Hello

    I am currently using OR 9401 & cRIO 9075 to develop a project, which is to control the CPU fans.

    Since I have to communicate with other instruments by serial port, while I have a NI 9870 module to implement the instrument control.

    I finished the part of control instrument under scan mode and would like to add the function of the fan speed reading.

    Now, I wonder if there is a problem when I choose the Scan Interface to deverlop the program.

    I found the following tutorial, he uses the FPGA interface to impement the acquisition of control and PWM frequency.

    http://www.NI.com/white-paper/3230/en/

    So if the function of the fan control only developed under an FPGA interface, I have to rewrite the control instrument part, seems to be a bit complicated...

    You can use the hybrid mode.

    http://digital.NI.com/public.nsf/allkb/0DB7FEF37C26AF85862575C400531690

  • To measure the pressure using a pressure transducer that provides the analog current output 4mA-20mA

    I wanted to acquire the current analog signal which varies from 4-20mA using NI 9207. I tried in 2 ways.

    method 1 - created an input channel current analog & used a reading Vi to acquire it. How can I give the channel connections in this...

    method 2 - using NOR-DAQ Assistant, I put the channel connections and I got Amplitude versus time graph. She also gave negative values. Can I do this way which is easier? How can I solve the problem

    First attachment belongs to the 1st method

    Second attachment belongs to the 2nd method


  • Encoder pulses using PCI4E reading us DIGITAL

    Hi all

    I'm new to this forum so I hope I post the question in the correct Council.

    I have an encoder connected to the Board of PCI4e.

    The problem is that when you try to measure the speed, I get different results using different methods:

    So I want to measure the frequency of encoder impulses.

    I'm trying to understand what function PCI4E gives me this information

    If anyone knows please tell me.

    Thank you

    Gil,

    Thank you very much!

  • How can I get the speed (RPM) of the VI encoder

    Greetings,

    I have a two motors with quadrature encoders attached to them.

    I use the VI encoder with the myRIO, which generates two values - counter value and the direction of the counter. The value of the counter, I try to display the speed (RPM). Only the value of the counter is count upwards or downwards according to the direction; I need a way to use these figures to measure the speed. I can't understand how to do this?

    Thanks in advance for your help.

    Artem.SPb wrote:

    You have to count the difference in the values of a counter and divide to measurement period.

    Not exactly, the result of the subtraction of counting must be divided by the number of counts of encoder/rotation before being divided by dt (expressed in minutes).

    Ben64

  • How to measure the digital output of the linear actuator on USB-6009?

    Hello

    I am a new user of Labview and need help to measure a digital input signal.

    I have an actuator Bimba Original line electric with a motor continuous integrated with encoder, drive and the controller. The drive has a programmable digital output that I put as a tachometer output that emits pulses of square wave 100 per turn of the engine. I put the engine to make a total of 56 rev in 22 dry. I want to measure the speed of motor rotation labview real-time and synchronize it with a few other analog input signals. I wired the actuator for the USB-6009 case as shown below.

    I opened the test i/o digital USB-6009 Panel and fix all the lines of port 0 as inputs. However, when I click on start and run the actuator, p0.0 led flashes, as indicated below.

    Shouldn't the led blink in response to revolutions of engines?

    I want basically to collect the drive pulse signals and convert them in rpm on labview.

    ahsan2 wrote:

    I have it wired correctly?

    It would help if you do not attach the HIGH signal.  Remove the + 5V in the circuit.

  • Measure the time between the ridges of the periodic input signal

    We have built a circuit which is supposed to mimic an Exercycle.  We have an IR switch and a spinning wheel, the rccb meets a comparator circuit and the output of the element of comparison, we have running in LabView.  We successfully were able to measure the number of rotations of the wheel and the total distance travelled by the wheel, but are struggling to measure speed.  We cannot find a way to measure the time between picks in real time, which we could then divide the wheel circumference and calculate the speed in real time.  The VI I posted has a square wave simulated rather than the signal we receive on our circuit.  Thanks in advance for the help.

    Jon and David

    I think you're overloading the things trying to get the time between two pulses.  Instead, you can use the VI Express your measures and select frequency for her custom. Then, you can multiply the circumference of the wheel of the frequency to get the speed.

    I hope this helps.

    -Christina

  • Measure the time in seconds each time run you a VI

    Dear people,

    I'm trying to measure the speed of a wheel using a magnetic sensor and other settings in the vehicle. What I also need to document in my project is the time elapsed (in seconds) each time that you run the program. Is there a way where you can measure the elapsed time in seconds in labview?

    Any sort of suggestions or examples would be useful.

    Below is an example of how I wanted my final to watch output file.

    Time (sec) | Speed (mph). Acceleration |

    0                    23                 5

    1                    24                 6

    2                    25                 7

    Thank you in advance!

    Rahul-

    Hi iZACHdx,

    That's what I was looking for exactly! Thanks for the simple example.

    Thank you

    Piraux

  • measure the voltage gpib

    I have to be able to measure the peak voltage in an alternating signal Ridge.  However, the frequency is 40 kHz, which is too high to measure using data acquisition (because the sampling frequency ira not very high).  How can I measure the waveform using a multimeter, gpib?  Is there a sample there code that will help me?

    Thank you

    BernoulliLizard,

    In your original post, you said you wanted to measure peak to peak voltage of a 40 kHz signal.

    I don't know all voltmeter that will do that.

    Get an oscilloscope or a DAQ hardware with a high enough sampling rate.  According to the bandwidth of the signal (not the same as the frequency of the signal), the PCI card for approximately $500 devices (US$) a variety of factors to form for $1500 or less must be able to do the job.

    Lynn

  • Measurement of temperature using Iex thermistor with PCI-6259

    Hi all

    I have I encounter some difficulties to measure the temperature using MAX with the installation of the thermistor Iex and would like to know if I missed something important. I use external current thermistor excited with 2 ladders and card PCI-6259 with MAX.

    This is a channel that was originally set to measure voltage and MAX approx. 900mV since this channel, OK, the voltage converted temperature is about 30 ° C. Then I added a new channel and configured to measure the temperature directly with default installation MAX Iex thermistor. This is so the problem appears: I'll get a constant-273 C instead of 30 C as expected by operating the canal in MAX. I must have done something wrong here.

    Your help is greatly appreciated!

    Bryan

    We discovered that the problem came from our wiring to thermistor does NOT of installation. If Differencial has been used, the conversion of MAX worked well. If this is not the case, only directly blood pressure will work.  Bryan

Maybe you are looking for

  • update to itunes 12.3.3 fails

    My system is Windows 7 Professional 64-bit with all latest updates. Also have another computer with Windows professional 10 64-bit with the same problem. On both computers, the error message reads: "The feature you are trying to use is on a network r

  • HP 7 plus 1302: Tablet HP 7 more 1302 - upgrade using KitKat.

    Hello - I read somewhere in some forums that a KitKat update has been released for the Tablet: HP 7 more 1302. I downloaded the files, but I'm stumped as to how to start the update. I try refreshing the update by going to: settings - about and then r

  • HP PAVILION 550-009nl: MSI N750 Ti TF 2GD5/OC

    Salvo, I like sapere da voi is otherwise auswechseln mia current scheda grafica radeon r5 m320 che gia era mounted nel pc al momento dell' price con una 'MSI N750 Ti TF' 2GD5/OC, the scheda in questioned no ha need di as side. Hi, I would like to kno

  • I compressed a few photos in the microsoft Picture Manager, and now they are saved as thumbnails. How to unpack them?

    I compressed a few photos in the microsoft Picture Manager, and now they are saved as thumbnails. How to unpack them?

  • Permissions problems

    Hey there, I'm the only user on my computer, with full administrator privileges. There is a file I need to delete, but I can't because I don't have permission, despite the fact that I made the folder and am the only user on my PC. These are the thing