Sample USB - 6343 Counter clock

I use a USB-6343 CTR0 to measure the angular position. I expect to ~ 1 million encoder pulses (or account) per second. What USB-6343 clock signal would be preferable to use the counter sample clock?

Dar Hi,.

At what resolution do you need measure the angle?

One of my colleagues has compared the maximum sampling frequency on the counters of series X USB to be approximately 8 MHz for a single channel, continuous operation for 10 minutes.  However, if the signal that you intend only generates pulses at 1 MHz, 8 MHz rate seems unnecessary because you will receive the same reading several times.

Concerning the two methods you mentioned, either would not be possible:

(1) you could count the external signal and sample at regular intervals.  For example, if 10 kHz sampling you'd expect to see ~ 100 strokes per sample if clock signal is 1 MHz.

(2) you can also use the meter to count a time base internally (for example 100 MHz) and the sample out of your external signal.  Thus, during a period of your external signal, you expect to see 100 graduations of the time base.

It seems that what you're trying to do is to measure the frequency of your encoder at regular intervals.  To do this, I suggest you actually a variant 3.  X series cards support a measure of frequency clocked for example (see the X Series user manual).  The card has two occurrences of the external signal as well as occurrences of the internal time base known and uses it to determine the frequency.  The one caveat is that the signal you are measuring the encoder must be at least two times faster than the sample clock signal.  I suggest to use Freq Out or another counter to generate the sample clock.

Best regards

Tags: NI Hardware

Similar Questions

  • How to synchronize clocks on USB-6009 and USB-6343

    Hello

    Can anyone provide an example on how to synchronize clocks on USB-6009 and USB 6343?

    I checked the example screws, but it shows that we must use 2 counters, one as the clock of the source and the other as a trigger. But only 1 CLK 6009.

    I read the user manual and it is mentioned to use (AI/start-trigger) in order to use PFI0 as source.i am somehow confused about how to achieve this.

    Furthermore, what would be the physical connections?

    Thank you

    LV_Enthu

    Unfortunately, you won't be able to completely synchronize your devices USB-6009 and USB-6343.  As you have seen, the 6009 has only a meter on board.

    You can certainly use PFI0 as an input to start your tasks at the same time digital release.  However, the 6009 is a strictly timed by the software.  There is no way to import an external sample clock.

  • NEITHER USB-6343: erratic low frequency 1 counter measures

    Dear members,

    I'm looking for help with a measure of low frequency counter.  I tried to make it work for a week or two, but I keep getting erratic measures.  It will read the rpm properly for a second or two and then it will give a ridiculous value on the order of 10,000 times the correct value. I can not get a constant value.

    I use a DAQ series X NI USB-6343 multifunction with Geartooth Honeywell GTN1A111 sensor. I enclose a sketch of the wiring configuration.  I think that it is correct.  Sensor output to the door of the meter.

    To try to solve this problem, I hooked the sensor to an analog input channel to make sure that I was getting a TTL signal by sensor.  I noticed every once in a while I'd see a glitch of little noise in the signal and I guess that's what is causing my problem with the meter.  I inserted two waveforms of the sensor signal (one with the clean signal) and the other with the glitch of noise.  My understanding of a TTL signal meter channel will examine LO voltage when it is below 0.8V and HI when it is larger than 3.8V.  So I really do not understand why these little glitches could be the cause of the problem because they are well below and above 0.8V and 3.8V, respectively.  I think that the noise comes from a frequency converter used to drive the engine.  I tried the system as much as possible of the Earth.

    I guess I'm looking for another approach.  I could potentially use a digital filter to help with noise? The glitch is in fact the problem or I forgot something.  The VI in question is attached.

    Thanks in advance,

    Mike

    Have you tried to set up a digital filter yet?  Obviously the seeds are collected as an additional transition (the method of low frequency counter 1 measure the period and then reverse, so a short glitch would record as a very high frequency).

    You can enable the digital filter with the following property node:

    Min pulse width is guaranteed pulse past the filter, so it should be low enough for the real signal is guaranteed to pass through (but high enough so that the glitch is always rejected).

    Best regards

  • Frequency counter measurement crashes when you're away point zero (NI USB 6343, error-200284)

    Members of the Forum,

    I have problems with a measure of the frequency on a DAQ Mulitfunction of NI USB 6343 X series.  I use the meter 1 (door axis for frequency signal, PIN to DGND 82 77). The couple HBM T10F flange that I use (powered by a power supply of 24V) emits a signal of frequency between 5000 and 15000Hz with 10000Hz being the zero point. Couple flange has a capacity of 5kN.m (15000Hz = 5kN.m; 5000Hz = - 5kN.m).

    I have been using the VI attached for a few months now without any problems.  Now, the VI works fine as long as the couple remains inside a few hundred Hz of the zero point.  However, when the frequency increases further reading couple begins to freeze and finally I get either of these two errors:-200279 or-200284 related samples is not not available.  I noticed that the light on data acquisition close compromise during these periods of frost.

    Here is an example step by step my problem using cal shunt of the flange of the couple:

    1. I have run the VI and couple bed properly around 10000HZ (Active light, indicator light ON)

    2. I have apply the excitation of 5V to the shunt cal and frequency climbs to about 50% of the ability to couple brackets (as it should)

    3. as soon as I remove the excitement 5V playback freezes and the light on the acquisition of data.

    4 if I apply the 5V once again, until the timeput occurs, the led turns on and the acquisition of data reads the signal correctly.

    This type of problem would be more DAQ-related or is it the flange of the couple itself.

    Thanks in advance,

    Mike

    Solved.

    I did some troubleshooting this morning and it turns out that the vibrations of the system had not tightened a screw that was connector to the stator flange torque causing a bad electric signal of the torque flange itself.

    Everything works fine again.

    -MB

  • Simple examples of analog output USB-6343

    I've tried passing by 'find' examples and does not know how to find what I want.

    I'm doing a simple analog output on a USB-6343.  Examples of waveforms say they work with the USB-6343, but I really don't want a waveform, just analog of output does not exceed 10 Hz speed of renewal.  Some of the more simple examples show that they work with the pcie-6343 but do not list USB-6343.

    I worked with USB-6009 in the past, but when I try to use an analog output task that uses 1 sample on request, I get the error "not buffered operations clocked by the hardware are not supported for device and channel type.»  Set the size of greater than 0 buffer, do not set up the timing of the sample clock or the value Type of sample On Demand time"

    I tried samples N, 100 samples to write to 10 Hz - the same error.  Samples of continuous - same error.  1-sample - timed HW - same error.

    There is a series of examples of I/O for the X series?  Is it possible to search the device examples rather than go through all the examples and by checking the list of devices individually?

    Is 'size of the buffer' the 'writing samples"in MAX?

    After contacting the support I was provided with the names of the more simple examples for analog i/o:

    Analog output-Gen power Update.vi

    Analog Input-Acq & chart voltage-Int Clk.vi

    They are found in the getting started screen of

    Click 'Find examples' near the lower right corner

    Filter the results to material by clicking on the menu drop down for the material in the lower left corner and selecting USB-6343 (only connected equipment will be displayed)

    Don't forget to check the box "limit results to material" below.

    In the center pane, double-click 'Material Input and Output'

    Double-click DAQmx

    Path for the analog input - double-click Acq & chart analog measures - double click on tension - tension-Int Clk.vi

    Double click on analog generation - double click on Power - Gen Update.vi of analog channel output voltage

    The examples are for the single data point.  Samples and exit multiples are produced by putting the writing or reading VI inside a loop.  The beginning and the clear functions should be out of the loop.

    Additional information, I need technical support was how material-filter results and identification of more simple examples which were not obvious from the examples of names.

  • synchronize the outputs digital AND digital NI USB 6343 entry

    Hello

    I use NI USB 6343 to fly 1 TTL devices. This device can also produce a TTL signal to indicate if the door is opened/closed.

    I use digital Bool 1 line 1 Point. I was able to reverse the opening/closing of the door on time. But I would like to synchronize the DI and DO it right.

    I tried to throw in the clock aboard, but he failed.

    Is it possible to synchronize the DI and DOI onbaord/hardware clock?

    Any idea will be great!

    Thank you!!

    Hello

    Synchronization of your tasks of DI and shouldn't be possible with your device. You'll need them timeless has a clock that is usable by both. This information is available in the X series user manual

    http://www.NI.com/PDF/manuals/370784f.PDF
    PG 6-9 and 6-13

    You can also find information and examples of synchronization of the various tasks in the article below.
    http://www.NI.com/product-documentation/4322/en/

    Good luck

    Eric

  • Measurement of temperature using NI USB-6343

    Hi all

    Someone at - he temperature ever measured using an NI USB-6343 or something close to it? Encountered problems?

    I was reading on the device and it has been suggested that the conditioning of signals may not be required, and I'm a little worried...

    Normally I use a DAQ Agilent but this specific project, I'm working on that will require a unique moment and USB-6343 handles a majority of my problems along will be many examples of coding.

    -scrider

    Scrider,

    You want a device that has USB connectivity like the 6343? If so, we have several hardware based USB DAQ for thermocouples. The links below will show 3 devices, we have:

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/208177

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/201881

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/207471

    Now, I know that some of them will probably not ideal for your app, but I wanted to just give you options. It also depends on how fast you want your sample rate is. These devices are specific for the use of thermocouple, but you can still use them (excluding the tc01s) for voltage readings. I hope this helps!

  • USB-6343

    The laptop does not recognize a new device when I plug the USB-6343 in the USB port.  He used to work, but then has been intermittent, acknowledging only from time to time, but now it doesn't work at all.  Any ideas what could be the problem?

    It ends up being an intermittent USB-6343.  Slightly pressing the instrument would be to appear on the bus.

  • Output digital USB-6343 3.3V

    I inherited a data USB-6343 acquisition unit and tests a few pieces I designed. The latest version of the chip has 3.3V / s and it appears that the 6343 only supports digital i/o to 5V. Is there a quick way to convert the output data acquisition in 3.3V 5V? Thank you.

    Hello

    I thought it might be useful to display some of these to the top on the same topic:

    I understand you are trying to run the code example "Static digital output with adjustable logic level. When you set the level to 3.3V logic you see an error message.

    Here is an article on knowledge (KB) which explains what this message means. In this KB is now talking of another property, but the concept is still the same.
    http://digital.NI.com/public.nsf/allkb/05A563FE3AA7B3C286256FF90077C303?OpenDocument

    I also did a little more research and found this useful reference which caught shows supported properties for the device, and you can see that this property is not supported.
    http://zone.NI.com/reference/en-XX/help/370471Y-01/cdaqmxsupp/USB-6343/

    In conclusion, you are limited to the 5v output only if you need to obtain 3v to drive your relay maybe I could suggest that you use a converter logic circuit that converts your 5v with 3.3V.

    I hope this information helps.

    Let me know how you go.

    Kind regards

    Kevin Ross
    National Instruments
    Engineering applications
    www.NI.com/support

  • NEITHER USB-6343 analog and digital grounds

    In the manual for the NI USB-6343, it is said that the mass input/output, analog and digital terrestrial are related, but by a small sign. For my application, I am attaching all 3 these grounds to exit the box (I'm tie all areas with physical threads). It is perhaps a silly question, but it's OK to do, correct?

    This should be OK unless there are large currents flowing on ground conductors.  If you have important currents in the ground, you have other problems that must be resolved before you connect the DAQ hardware.

    Lynn

  • AO with sample Counter clock

    I have a problem with AO with counter-sample pointing SMU-6124 in Labview 8.6.

    The attachment shows my entire code for this.

    When I run this code, I've never met no error, but no output (expected in AO pulse train).

    Strangely, in the title to "highlight the execution" for debugging, the output has been shown in my oscilloscope (of course, no errors in labview).

    What's wrong in my code?

    Labmaster.

    *) Please run 'merge.vi shape pulse' beware.

    Hello labmaster,.

    I took a peek at your code, and a question, is that you use the done VI DAQmxBase is task rather than the fact VI DAQmx is operational. You cannot combine the DAQmx and DAQmx Base API and this could be the cause of your error. When you use this VI in DAQmx application the task performed? output will always return the value true. This return value is prevents your loop and resulting in your cleaning tasks before all your data is generated.

  • DaqMX wait the next sample causing slow down Clock.vi

    Hello

    I have a question about the proper use of DaqMX wait for next sample clock.

    I read channels analog voltage on a map or pcie-6259.

    I would like to read as soon as possible make your comments between each of these points of single data points.

    I wish I had an error generated if I miss a data point.

    From reading the forums, I've gathered that the best way to do it is using the Timed Single Point material.

    A simplified program that I use to test this is attached.

    If I remove the DaqMX wait for next sample Clock.vi, my program seems to work.

    I added a counter to check the total time is as expected.

    For example, the program seems to work at the speed appropriate for 120.

    However, without that vi, it seems that the program does not generate a warning if I missed a sample.

    So I thought that the next sample clock waiting vi could be used to determine if a single data point has been missed using the output "is late."

    However, when I add inside as shown in the joint, the program seems to slow down considerably.

    At high rates as 120000, I get the error:-209802

    14kHz is the approximate maximum rate before you start to make mistakes.

    My question is: is this the right way to check a missed sample? I don't understand why the wait next sample Clock.vi is originally a slow down. Without this vi, the program does just what I want except that I do not have strict error control.

    My confusion may be based on a lack of understanding of real-time systems. I don't think I do 'real time' as I run on an ordinary pc, so maybe I use some features that I wouldn't.

    Thank you

    Mike

    Mike,

    You should be able to read to return delays errors and warnings by setting the DAQmx real-time-> ReportMissedSamp property.  I think that if you enable this, you will see errors or warnings (according to the DAQmx real-time-> ConvertLateErrorsToWarnings) in the case where you use read-only.  I'm a little surprised that you have measured your application works at 120 kHz without waiting for next sample clock (WFNSC), although I'm not surprised that it would be significantly faster.  I think if you call read-only, you'll read the last sample available regardless of whether you would of missed samples or not.  When you call WFNSC, DAQmx will always wait for the next, if you are late or not sample clock.  In this case, you will wait an additional sample clock that is not the case in read-only.  Once again, I expect that, in both cases, your loop would not go to 120 kHz.

    Features real-time DAQmx (hardware Timed Single Point - HWTSP) are a set of features that are optimized for a one-time operation, but also a mechanism to provide feedback as to if a request is following the acquisition.  There is nothing inherently wrong with using this feature on a non real-time OS.  However, planner of a non real-time OS is not going to be deterministic.  This means that your app 'real time' may be interrupted for a period not confined while the BONE died in the service of other applications or everything he needs to do.  DAQmx will always tell you if your application is to follow, but can do nothing to guarantee that this will happen.  Thus, your request * must * tolerant bet of this type of interruption.

    There are a few things to consider.  If it is important that you perform the action at a given rate, then you should consider using a real-time operating system, or even with an FPGA based approach.  If it is not essential to your system, you might consider using is HWTSP, where you do not declare lack samples (DAQmx simply give you the most recent example), or you could avoid HW timing all together and just use HAVE request to acquire a sample at a time.  What is appropriate depends on the requirements of your application.

    Hope that helps,

    Dan

  • Error writing to usb-6343 digital output

    Hello...

    I have a trask to produce some digital waves... so I use usb daq-6343. to start, I am writing 1 simple value (i.e., 1) to the first pin of the port. but I get the error here, I enclose error png and part vi of the code... Please help me here...

    Thanks & best regards,


  • NEITHER USB 6343 negative DC voltage after power function generator

    Hey all,.

    I'm having a problem with my DAQ.  I'll generate a square wave in Labview with a generator function and that the output to my DAQ.  The function exited through the acquisition of data very well; However, when the production is stopped, a negative voltage remains equal to the amplitude ("drawing" below).  This happens if I use the express VI DAQAssistant, or manually create the channel, generate the function and the function read/write on the channel.  This tension continues even after the VI is finished running.  The only way to get rid of it is physically cut the DAQ and turn it back on.  Any thoughts on why this might be, or how to fix?

    Start VI

    ____|____|____|____|____|____|

    ____|____|____|____|____|____| _ _ _ _ _ _ _ _ 0V

    ____|____|____|____|____|____|____________ - A V

    ____|____|____|____|____|____|

    End VI

    Tom

    I thought about it.  I had to add some more to the clock.  I had added a data point in the table of waveform which was written for the acquisition of data because the timer wrote n samples, instead of n + 1

    So, to recap: I pulled the table leave the waveform data, inserted a '0' at the end of the wave, reintroduced the data of Y in the form of wave and incremented to the timer of a sample (because I added a sample for waveform data).

  • How to generate a square wave of continuous digital output using USB 6343?

    I need to generate a square of 600 kHz from my 6343 wave.  The specifications indicate I could use PINS P2.0, but I get an error saying that it is not supported.

    Thanks in advance for your help.

    Jodi

    Dan,

    Thank you very much.  Counter method worked very well.

    Jodi

Maybe you are looking for

  • iMessage works does not after updating iOS 9.2

    My wife has an iPad Mini 4 (Wi - Fi only), and since the iOS installed 9.2 update, she could not use iMessage. It has an Android phone, but use iMessage on his iPad to text me on my iPhone. Going to settings > Messages and turn off iMessage worked. W

  • ACER Z2 SYSTEM UPDATE ERROR

    Hi, guys, my name is Udo and I, I think that a big problem. I bought an Acer Z2. But one day that he said that I have a new update of the system. I clicked, snd, it says 'this update is not allowed for your device'. What should I do!

  • Startup dll errors

    At the start, I noticed that I get two errors 'cannot find/locate the module.  C:\WINDOWS\afudifemeyu.dll & C:\WINDOWS\nstoertu.dll can it be repaired?  Thank you very much.

  • Specifications of GHz processor for applications and hardware

    After 10 years of experience of Mac I'm now pretty fortunately short:Gateway FX530Intel Core 2 Quad CPUQ6600 @ 2.40 GHz1.58 GHz, 3.24 GB of RAM Microsoft Windows XPMedia Center EditionVersion 2002 Service Pack 3 When I read the card hardware and soft

  • BDP s5200

    I have a BDP S5200.  I bought this last fall and it was working fine.  Put with another TV last night and I can't connect to the internet server.  I get the "connection status cannot be confirmed.  Error message cannot communicate with the server.  I