measure of position 6230

Hello, can someone give me a few examples on how to develop the pilot of 6230 of measure of Position.

I want to use the function of Counter/Timer 6230 for Position Measurement.who can help me? Thank you.


Tags: NI Products

Similar Questions

  • How conervert psd to css and pixel-to-pixel measurement and positioning at the same position in dreamveaw

    How conervert psd to css and pixel-to-pixel measurement and positioning at the same position in dreamveawer?

    The basic answer is that you can't.  Graphics program can export your mockup in html format, but the result is so bad that people get to the top of the page of coding manually.

    The easiest way to convert your drawings into a working Web page is starting with models already included in your package CS6.  I advise to read the article by Steph at this link to help you get started quickly:

    http://www.Adobe.com/devnet/Dreamweaver/articles/css_simple_styling.html>

    G/L

  • measure the angular speed, angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition

    How to measure the angular velocity, the angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition?

    There is a single channel data acquisition code which measures the angular velocity, angle and flexibility using a gyroscopic sensor breakout board and acquisition of LabView data attached to this, I need a help to creat two-channel data acquisition code?

    Hello

    Attached is a vi that you can use in order to read the measured angular position of an encoder.

    If you need more examples on the tasks that you can develop with NOR-DAQmx and LabVIEW, you just need to open LabVIEW and click Help > find examples > Input and Output material > DAQmx > entry counter.

    Kind regards

  • How to use the time of 80 MHz with the example of the soul base angular Position-buffer-Cont-Ext Clk.vi

    Hello:

    I use the card PCI-6602 and am a bit new to the use of timer/counters.  I use the Commission to measure the position of a quadrature encoder.

    I would use the time base internal 80 Mhz the map of 6602, but examples of LabVIEW will not allow that.  In the example, he States:

    2. call the DAQmx Schedule VI (sample clock) to configure settings of clock synchronization external sample Mode Sample and sample clock Source.  The sample clock Source will determine when a sample will be inserted into the buffer.  The 100 kHz, 20 MHz and 80 MHz time bases can serve as the sample clock Source.  The Edge parameter can be used to determine when a sample is taken.

    Is it possible to use the database internal time for my application?

    I have attached the example vi that I use.

    Thank you.

    Pat

    Hi, Pat.

    The rate determines how fast the samples are acquired and put on the material buffer.  This value depends on the basis of time, which is specified by the source of the VI DAQmx calendar entry.  The default source on the PCI-6602 map is the on-board clock (80 MHz).  The rate must be a divisor of the source.  For example, 80 MHz, 40 MHz, 20 MHz, 10 MHz,..., would be acceptable values for the entry rate.

    So the answer to your question would be to remove the entry from the source and ensure that the rate is a factor of the source.  Leaving this entry unwired will use the clock shipped by default of the unit, as shown in the screenshot below:

    I hope this helps.

  • Frequency of measurement with cDAQ NI 9402 chopper

    Hello world

    I'm new in the world of the cDAQ and try now just get a frequency of a TTL signal output chopper.  I confirmed 23 Hz frequency on an oscilloscope.  It's a nice clean 5V square wave, but when I try to measure the frequency in labview using a VI (dig frequency of continuous measurement) example, it comes to expire.  Trying to look at the entrance of the signal in express shows signal an incompatible digital signal that is around 3 Hz and clearly the result of the port being interviewed for entry too rarely.  The final objective is to get this work with the labview vi PLL is a detector lock in the amplifier, but first of all, I have to be able to measure and to read correctly this frequency.

    My hardware is a cDAQ-9174 with a 9402 OR for use with the digital input.  I don't know it's important, but the 9402 module is in slot 3 and I'm on channel 0.  The software is labview 8.2 with DAQmx 9.1.  Is there some timing issue material or the definition of I'm missing here?  Any help is greatly appreciated, thank you!

    Hi Skaboss,

    Counters have multiple terminals (source, the door in and out), which map to separate on your NI 9402 PFI lines. For the measurement of the frequency, the default input terminal depends on the method of measurement (low frequency, high frequency, wide range). Here's the relevant section of the NOR-DAQmx help (which is on the Start Menu):

    Connections of signals C series for counters

    The following table lists the default input for various measures of meter terminals. You can use a different line of the PFI for one of the input terminals. To edit the entry PFI for a measurement, use channel NOR-DAQmx attributes/properties.

    NEITHER 9402 and NI 9435 (4 channels)

    Measure Ctr0 Ctr1 Ctr2 Ctr3
    Number of edges Edges: PFI 0
    County Executive: PFI 2
    Edges: PFI 3
    Branch Count: PFI 1
    Edges: PFI 1
    Branch Count: PFI 0
    Edges: PFI 2
    County Executive: PFI 3
    Pulse width measurement PFI 1 PFI 2 PFI 3 PFI 0
    Duration/frequency measurement (low frequencies with a meter) PFI 1 PFI 2 PFI 3 PFI 0
    Measure of duration/frequency (frequency with two counters) PFI 0 PFI 3 PFI 1 PFI 2
    Duration/frequency measurement (wide range with two counters) PFI 0 PFI 3 PFI 1 PFI 2
    Measure semiperiod PFI 1 PFI 2 PFI 3 PFI 0
    Measurement of two-Edge separation Departure: PFI 2
    Stop: PFI 1
    Departure: PFI 1
    Stop: PFI 2
    Departure: PFI 0
    Stop: PFI 3
    Departure: PFI 3
    Stop: PFI 0
    Measure of position A: PFI 0
    B: PFI 2
    Z: PFI 1
    A: PFI 3
    B: PFI 1
    Z: PFI 2
    A: PFI 1
    B: PFI 0
    Z: PFI 3
    A: PFI 2
    B: PFI 3
    Z: PFI 0

    Alternatively, you can override the default with the CI. Freq.Term channel property.

    Brad

  • Position of the encoder VI

    Hi all

    I just wanted to ask if there is a pre-built VI which measures the position using counters that looks something like this.

    Thank you

    Marwan

    I don't know what devices you use to measure the angular encoder, but if you use DAQ devices, then you can try this VI:

    Open example finder (help--> find examples). Then go to:

    Material input and output--> DAQmx--> meter--> Position--> measurement Position.vi measures

  • Open a synchronized session of the analog inputs and position

    I want to read 8 analog inputs (only three IA in the capture of code) with a PCI-6221 card at a rate of 100 samples/s, reading 10 samples/iteration. At the same time, I want to read the position synchronized with the analog inputs. Is this possible? If I just merge the position with the analog signal I get 10 readings of position for each 100 analog input readings (see chart - Red's position). For the control of the movement, I use the pci-7342 with UMI-7764 interfaces. Could someone help me out here please?

    Not necessarily. As said, speeds of up to 200 Hz should work fine with a 7342. If this is not enough, of course a 7350 could be used, but there is also a completely different approach that should work with your current hardware:

    7342, you may also route the phases of encoder to the pins of the RTSI. You can use a counter on the 6221 to measure the position of your axis based on the singlas you have routed the RTSI pins. Now you can use "Measure of Position buffered" (see DAQ examples) to measure the position with the same source of synchronization than your analog signals.

    I hope this helps,

    Jochen

  • 9401 counting by quadrature encoder error

    I use a 9401 module in a chassis 9188 to measure the position of a tree in 1E6 County/rev. The signal is an AQuadB emulated from an AKD Kollmorgen servo drive. My problem is that when the player is turned on, the noise it makes picked up as very positive figures by the 9401. The player has outputs RS485 but my cable length is short and well armored, so I thought it would work very well. It is wired like this:

    9401 CTR1 channel

    A +: 9401 pin 20

    B +: 9401 pin 23

    GND: 9401 commune

    The cable shield: 9401 commune

    Is this product because the encoder signal is differential, or is my bet to the ground/shield OK? If I disable the encoder entirely the 9401 picks up a zero solid. Should I use a kind of RS485 converter to TTL?

    In addition to the advice of John to help protect against digital noise, I also recommend that it would be a good idea to convert the differential asymmetric TTL formally.  I had opportunities in the past where I had an ambivalent connection channel differential encoder of 5V to a DAQ card and often, it would work properly.  But there have also been moments where differential signals (-) were trying to drift over the other while being tied to the digital earth common DAQ, causing sporadic but strange counting behaviors.  At least that's the diagnosis I'm come up with at the time.

    These questions disappeared immediately and permanently after putting in a differential to the TTL converter.  Here is a link to the productI used (and then successfully reused on the following projects).  Just check the specifications of your particular differential signals compared to what this product is to spec'ed to manage.

    -Kevin P

  • Selection of encoder to use with NI PCI-6221 for a project of inverted pendulum

    Hi, I'm a mechanical engineering student is his last years, for my final project I do an inverse pendulum system, the University already offered me this data acquisition card which is a NI PCI-6221, and I have to get the other components (motor continuous, encoders, cables, servoamplificateurs, etc.).

    My concern is to choose the right encoder so I have no problem... I was told that the best way to measure the position of the carriage uses an absolute encoder mounted on the motor shaft and some incremental encoders for measurement of angles of clock, but I don't know if the 6221 can handle this kind of data to an absolute encoder, and if so, what are the main parameters for selection? as the format, the number of bits.

    In the case where it doesn't work I have to go with the option of incremental encoders for both measure the position of the carriage and the angle of the pendulum, I believe the 6221 can manage entries in quadrature encoders, there´re a lot of examples of this, but since models of incremental encoders are wide enough there´re some features that I worry about : frequency vs the sampling frequency response and the output type.

    I found a catalogue which includes two types of digital incremental encoders said their models have 300 KHz frequency response, being the only differences, the output and food, anyway the 6221 can handle this freq resp? sampling rate of the card being 250 kech. / s, would there be any conflict?

    They offer two types of output: TTL/74LS04 and line pilot, and even if I go further with the hohner encoders they have the following outputs/freq RESP: RS-422 (TTL compatible) / 300 KHz, push-pull differential/200 KHz, NPN Open Collector/100 KHz and push - pull without complementarity/200 KHz.

    Any help would be well received

    PD: I don't know if a similar topic has already been posted, I'm again like this... I searched in other posts, but found nothing,


  • PCI-6143 - linking entries

    Hi all. I am trying to build a system to measure the position angle analog vs encoder in quadrature and plots of RPM for chopping results in a rev. The analog part is no problem but for digital, I have no experience. What I have / offer is:

    Analog SOUL uses z quadrature encoder pulses to start the data capture and then reads a fixed number of points.

    At the same time, digital soul must determine the number of REVOLUTIONS for certain revolution. A pulse is wired to PFI0, pulse of Z is connected to PFI1. I intend to trigger a freq read each revolution using the impetus of Z. So I think I need also wire the pulse or pulse of Z (I think) for a counter entry to be able to measure the frequency. Is there a reason does not skip PFI0 or PFI1 ctr0 or ctr1?

    I think I understand. So not only we use quadriture encoder to measure the angular position, but we would also like to know the angular velocity. We would like the angular velocity to be calculated only once at each complete rotation by measuring the time between two rising edges of the wire of the encoder (please, correct me if it's not good).

    For the task of frequency, in my opinion, jumping over the line another line PFI and followed this line as an input frequency using a separate counter of the first task would be the way to go.

  • Incremental Quadrature encoder

    Hello

    I use an encoder incremental quadrature.

    I ran the position.vi of angular measure in the examples to find > measure angular position.vi

    However, I always get the angle between within 360 degrees.

    How to obtain the more than 360 degrees (i.e. If the tree goes more than a tour)? I don't want to see after 360 degrees, then it return to 0 degrees. 1 degree etc.

    Can someone change the position.vi of angular measure to accommodate the jumps from 360 to 0?

    Thank you.

    You have the encoder in front of you?  Give it a try.  Spend some time to learn about the counters and encoders.

    You will get no help from me until you demonstrate that you are ready to follow a proper forum etiquette.  Don't send personal messages.  Two months ago you sent me a personal message and I explained to him that you should rather post on the forum.  Yet you did exactly the same thing again today.  If I had noticed that you sent me a personal message before posting the same question in the forum, I would not respond at all.  Then, when you do not have an immediate response later in the thread, you followed up with another personal message containing exactly the same content.  This is not the right way to get help here.

  • using a line of meter / digital as a trigger to reset another line of meter

    I am using an SMU-6366 device, and I use an encoder that has 3 exits; 2 outputs, A and B, which produce 720 pulses per revolution (both 90 degrees out of phase) and the third release, Z, is a marker that once each complete turn of the pulses.

    I use 'A' as a counter in my code, but I would use the 'Z' marker to reset the 'A' counter at all times. It's possible?

    I came across this picture on the site of NOR, which uses a button to reset the counter - I think I could use a similar code but just replace the button with my meter Z as trigger

    https://decibel.NI.com/content/docs/doc-6576

    For more information, this tree will be held to a maximum of 3000 rpm (50 Hz) - and I do not know if this broadband would be a problem when you reset the counter line A. The SMU chassis I think also has trigger capabilities but do not know how to configure it in MAX.

    Any suggestions? Thank you very much

    Notay

    It is the standard for a quadrature encoder arrangement, even if it seems that you are only using the channel A, rather than both A and B.  Take a look at the section called 'Measure of Position' under the Applications of counter entry in your appliance manual.  Also, these two examples may be useful:

    Measurement of angular Position with quadrature encoder

    Connect a DAQ hardware quadrature encoders

    They show how you can use the Z signal to reset the position contrary to a specific value.

  • Is it possible to use the internal clock for meter tasks in the buffer?

    Hello

    Hardware: USB term mass 6251

    Software: LabView 2011 SP1

    I need to measure the angular lever position and speed of a carpet. For that I use two quadrature encoders. To accurately calculate the speed I use buffered from the measures of position using one of the available onboard counters. I understand that for this technique, I provide a sample for the meter clock. I wonder if it is possible to use the internal time base. Note that both of my counters are used so I can't generate a signal to clock with them.

    I found two conflicting pages related to my problem:

    1) http://digital.ni.com/public.nsf/allkb/EA7FFFEAFC3E1D85862572F700699530

    2) http://digital.ni.com/public.nsf/allkb/775290A3121D1FFC862577140074D3B3

    The first says that I can use the internal clock of 100 kHz, and the other says that I have an external clock.

    Comments/solutions?

    Javad

    Hi Javad,

    On your specific device, there is not a direct route from the time base of 100 kHz for the meter (according to the routing table of MAX):

    Yellow cell indicates that a route is possible but there is not direct (the "gate" terminal is used as sample clock for counters of the M series).  Mouse on the cell reveals yellow that make this route really requires the use of a counter (so it is not suitable for your application).

    On the line above "100kHzTimebase" you will notice it is called 'FrequencyOutput', which does not have a direct route to the door.  This would be the way to go if you want to route 100 kHz (or some other frequency) as your sample counter clock - you can set it up the same way to a standard meter output task:

    The output frequency doesn't have that many features like a meter output, but it is able to generate a continuous stable frequency.  There are only 32 different frequencies that can be generated using Freq Out on the 6251:

    {10 MHz, 100 kHz} / {01:16}

    Do not forget that the resolution of your measure of frequency by using this method will be equal to how many times you update the measure (hopefully, that makes sense).  In other words, if at the end of all the 1 second, you take the total number of charges since the last second, you would have a 1 per second equal resolution change in the number.  If you take the difference twice per second, you would end up with half the resolution.  You will be sampling the account register fairly quickly, but you will need only to do the calculation of the frequency after that all N samples in order to obtain a significant number.

    Another method that will certainly give a higher resolution in less time at typical speeds of coders is to set up a measurement of the frequency (the counter will count the internal 80 MHz base time period your external signal and the pilot calculates the frequency based on the result).  This method uses only a single entry - so you can just feed the 'A' your encoder quadrature signal (the method will not work if you are interested in absolute position or direction).  Without using signals A and B together, you will be susceptible to noise (which is common to have a quadrature encoder) that you want to delete (perhaps by setting up a digital filter).  Finally, you want to set a reasonable timeout on your reader calls (which will be blocked until a period of your external signal occurs), and the error-200284 handle simply report "0Hz" to make sure that your program is still sensitive even without an external signal present.

    Best regards

  • Count the edges of the 2 signals TTL (Heidenhain linear scale)

    Hi all

    This is my first post here. :-)

    Currently, I'm doing a VI to be used with a linear scale. The linear scale gives 2 TTL signals that have an offset of 90 °. The change in distance of the linear scale is given by counting the fronts and edges of the two signals. See the following image: Ua1 is signal 1 and signal 2 Ua2. You can ignore the other signals.

    Now, I want to count the 4 edges in order to translate the 2 signals in the distance. This means that I need advanced two counters for Rising-rising, Rising-Falling Falling Falling, falling on the rise for 2 signals. I tried to do 4 points two counters in LabVIEW but that of course does not work, because an acquisition of data can access the card TTL or I did it wrong.

    Once I have to handle this, I also want to understand the meaning.

    My card TTL: NI 9402

    My electronic Heidenhain interface: 100 IBV (http://www.heidenhain.com/fileadmin/pdb/media/img/598_160-23.pdf - also at the origin of the image)

    Hardware configuration: linear scale-> IBV (Elektronic Interface)-> NI 9402-> LabVIEW

    Signals: Analog 3-> 3 TTL-> OR 9402

    I hope I do not double post. Any help would be greatly appreciated.

    I used Heidenhain linear scales in many applications.

    As stated in the previous post, the output of your balance is as a quadrature encoder. Therefore, you must use an entry of the DAQ card counter to measure the position of the scale.

    The desired X 4 mode is done by the meter itself (not possible with some old maps of OR).

    As starting point, see measure angular Position.vi that comes with examples of LabVIEW. On your linear scale, change the type of the polymorphic DAQmx create channel VI CI linear encoder and etiquette of pulses per revolution at a Distance by pulse.

    Feel free to post back if you need further assistance.

  • The envelope of the beat (coupled pendulum)

    Dear members,

    With my USB6008 I measure the position of coupled pendulums. Fortunately, it works very well.

    But I want to create the envelope of my measured of the curve (see photo).

    I tried to do it with the help of the Butterworth filter VI and VI of peak detector.

    All I got is the first part of the red line, then the black line. But I want to have the whole line is like the red line (see for example also here https://de.wikipedia.org/wiki/Dateiine_envelope.svg).

    Attached is my measured data. I would be very grateful if any of you can help me solve this problem!


Maybe you are looking for

  • Firefox crashes: does not start in any profile

    Content of PROBLEM DETAILS AND SYSTEM CONFIGURATION Process: firefox [326] Path: /Applications/Firefox.app/Contents/MacOS/firefox Identifier: org.mozilla.firefox Version: 13.0 (13.0) Code Type: X86-64 (Native) Parent Process: launchd [110] Date/Time:

  • El Capitan will kill Final Cut Pro 7?

    I want to update the operating system more recent, but I'm afraid FCP7 will no longer work.

  • new owner iPhone4

    I have an iPhone 4 that belonged to my son - how to reset the phone so that I can enter my apple ID and password and thus buy apps etc.

  • BlackBerry Smartphones Google sync does not

    Hello world First post - new on Blackberry, need help please. Google sync is now in my downloads, but when I click on the icon I get the message following 'not past the synchronization information available.  I do not get a login screen, so I'm not a

  • Any help to remove the virus startnow? Im running Windows 7.

    Hello I am running Windows 7 and it seems that I am infected by the bug "startnow.  I get redirected to their page without asking for confirmation.  I was able to remove the program file, but it does not solve the problem.  I found a bit about it on