Daq 6211 high frequency ouput

HI guys.
Ive got my hands on a USB 6211 daq device. Im trying to generate a high frequency pulse output from one of the 2 counters. The frequency is in the range of 5 to 20 kHz. Can someone tell me if thats possible with this USB 6211 device?. Ive been searching but cant seem to find the answers. Are the counters on this device just for reading HIgh Frequency inputs or can they ouput them also. Any help would be much appreciated. 
Solved!
Go to Solution.

That manual has helped a lot. I should have looked at properly in the first place. Thanks .
I have one more question if anybody can help. I'm using the daq 6211 to create a pulse train to control a stepper. The stepper driver takes in a pulse which in turn will turn the stepper and the frequency of these pulses determines the speed.
My problem is that, using the counter examples in labview, I only have an option to create a continous pulse train. I would like top be able to dynamically adjust the frequency while the vi is running and Ideally i want to be able to ramp up the frequency so that the stepper can get to a high speed. If i try to adjust the controls with the example vi's there is no change in frequency unless i stop it and start again with a different frequency. 
Has anyone come accross this themselves or am i missing something obvious??. 

Similar Messages

  • High frequency measurement 2 counters range

    Hello,
    I know this info is somewhere but I can't find it.
    When using a Counter/timer to measure frequency there are multiple methods.
    i.e. Low Frequency with 1 counter and high frequency with 2 counters.
    What is the definition of a "low frequency" and what is the definition of a "high frequency"?  i.e. low frequency = frequencies below 100 Hz 
    Also what is the definition of a "large range"?
    Thanks
    Dan

    Hi Dan
    There isn't a specific bandwidth that is defined for use with either the one-counter or two-counter method. However, located in the NI-DAQmx help file there is a section detailing the quantization errors that arise when using either method with a variety of input frequencies. By referring to this information you should be able to determine which method will produce the smallest error in your application and hence which method will be preferable. This help file also explains the errors associated with the large-range two-counter method.
    To locate the help file, you should select Start»All Programs»National Instruments»NI-DAQ»NI-DAQmx Help, and search for 'quantization error'.
    I hope this helps, just let me know if you'd like anything clarified or if you have any other questions on the matter.
    Regards
    Jeremy T
    Technical Marketing Engineer
    National Instruments UK & Ireland

  • How to generate a bipolar pulse train in LabView using USB DAQ 6211?

    Hi,
    I am setting up a system to generate either a single square pulse or a train of square pulses using LabView, with controls to adjust the frequency, amplitude, number of pulses etc. I have had a lot of help from NI tech support setting up the actual VI itself which seems to be working fine, and outputting the pulses via a USB DAQ 6211 using a square waveform generator and the AO1 channel on the DAQ.
    The problem that I now have is that I need to pulses generated in a train to be bipolar (as they are connected to electrodes so need to be bipolar o avoid salt build up on the electrodes from the voltage going in one direction only, at least that is how I understand it!).
    How can I set up my LabView VI to generate a bipolar pulse train instead of always being positive voltage? I am new to this area and so am trying to learn but there is so much to learn!
    Thanks,
    spamjam

    Hi Shalini,
    Apologies for taking a while to get back to you, I hope I can explain what it is that we need to create with the pulses. I understand what you mean about the existing pulses having a positive and negative on the graph - but we need the pulses to start from a resting voltage and the first pulse to be positive, then back to zero, then the second pulse to be negative then back to zero etc. This is to do with reversing the direction of the current between two electrodes to prevent build up of salts on one electrod from the current always passing in the same direction. 
    I have attached a .Tif file to this post to try to illustrate what I mean - the top picture shows how the pulses are currently generated, then bottom on is what we would like to produce if this is possible?
    Thanks for your help,
    Spamjam
    Attachments:
    Slide1.jpg ‏38 KB

  • VI for capturing data at high frequency

    Hi,
    I have been trying to build a VI, which would read data from a machine at around 50KHz. I am accepting one analog signal from this machine, converting into digitized values and storing ALL the digitized values into a file. I could not afford to loose even one data. I would really appreciate if anyone has an example as to record data at such a high frequency.
    Thanks in advance
    Dhawal

    One channel running at 50kHz is simple - in fact in the world of DAQ it's not even very fast. Check out the examples for seamless data acquisition. Basically, the idea is to set up a circular buffer that the DAQ writes to and LV reads from. As long as LV extracts the data faster than the DAQ is inserting it the process can run forever.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Bandpass filter amplifies only noise at high frequencies and saturates the opamp output

    I have designed a fourth order bandpass filter using the opamps TL081C. It is designed to operate at a center frequency of 40 kHz with a bandwidth of 2 kHz and a gain of -12.5 . I am using an SCB-68 board for data transmission and reception, one channel each for transmitter and receiver. I have grounded the adjacent channels to both the transmitter and the receiver in order to avoid crosstalk. However, at the output, I get a signal which looks like an amplitude modulated signal and is, most probably, noise. The amplitude of this signal is always around 9V, no matter what is the amplitude of the input (even if the input is 0V, the result is the same). If I scale down the whole BPF to operate at a center frequency of around 20 kHz, everything works fine. Therefore, I think the problem lies not in the design of the BPF but the use of the board at higher frequencies. Please reply as soon as possible.

    You have done something wrong. You should read the manual for both the SCB-68 and your DAQ card once more. In such cases I often use MAX, and a battery as source. Then a DAQ input is not connected (floating) you will see measurements like you are doing now. Some high level voltage often modulated with mains frequency.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • High frequency Labview-Simulink Interface

    Hi,
    I am building a Simulink and Labview model to work with each other using SIT. However, before I even begin, I would like to know whether this Labview-Simulink interface will or will not be able to run at a relatively high frequency - possibly around 80 Hz? Also, if there is any tips or hints on how to make the program run faster, such as run Simulink and Labview on different computers which are connected via LAN, etc., they are highly appreciated. And if this is of any help, I am using a P4 2.0 GHz with 256 MB of RAM computer.
    Thanks and have a nice day!

    Lan,
    A large part of the speed will depend on the size of the model. The CPU would need to be divided between simulating the model and doing the updates, but since you are looking for a high speed it is probably a simple model. I ran a very simple model and tested to see how often I could receive values from the NI Sink in the model as well as write to a parameter of the model. In this simple setup, I recieved updates from the NI Sink at a rate faster then 1000 Hz (less then 1 ms per update on average), and writing to the parameter happened a bit slower at about every 25 ms. Since it is windows these numbers are only averages and individual iterations will vary.
    If you want to provide the model with a stimulus as it is running from an external input (like a DAQ
    card) then you will want to use a real-time system. This functionality is also part of SIT, where you use Real-time Workshop to build a dll and example VIs for running the model on a LabVIEW Real-Time target. Building a DLL in this way you can still use the same user interface to view the parameters and values in the model, but the inports and outports of the model will be connected to hardware. In this type of simulation the rates can be significantly faster.
    Carl L
    National Instruments
    www.ni.com/ask

  • NI Mydaq gain loss at Higher frequencies

    Hi There,
                      I am using a MYdaq for my student project, I am using this is an audio sine wave generator and analysis tool as part of the project.
    I am sampling well above nyquist of my highest frequency (20K) at 100K sample rate both on my OP DAC and IP ADC and I have a buffer size of the same size on the I/P and output.
    I am using the audio L/R inputs and outputs (AC coupled) - This is looped fro the purpose of this excercise.
    When I generate frequencies (via the Sinewave Vi in labview - "NI_MABase.lvlib: sine waveform.vi"  and my FS and #s is both set to 10000.) i get a drop in level above approx 10K starting at about -1dB up to -3dB at 20K
    Can anyone help me in tracking down the cause of this?
    Regards

    Hi,
    Just to for my own sanity, have I got these values right? 
    - Sampling at a frequency of 100kHz. (Analogue Input and Output)
    - Intending of sampling a 20kHz signal.
    The specifications of the NI myDAQ can be found here. These specify that the device can sample up to 200kS/s for both Analogue Input and Analogue Output, meaning that the maximum clean sinusoid we can both generate and acquire should be 20kHz, with 10S to represent the wave. Higher frequencies will require lower samples and the signals will look more chopped and aliasing will occur (20kHz*10S = 200kS/s). In order to appropriately measure the 20kHz wave, we need to choose a maximum sample frequency of 200kHz for clean waves. With this in mind 100kHz sample rate should be okay.
    Is it possible for me to check the code that you have written so far? What I imagine could be happening is that we're seeing these issues due to the slowness of software. If you look at your code and the DAQ VIs are continuously having to check what values to write, rather than having these values delegated down to the hardware layer prior to running the task, this could be the source of the issue. This is because in software, there is a maximum update rate of 1kHz; this is why all of the base clocks in LabVIEW software are 1kHz clocks. If we're constantly having to poll what kind of digital output values we want to write, this will affect the consistency of the generated signals.
    Kind Regards,
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • High Frequency Noise from Headphones Out Jack

    I have isolated the following issue to audio that is monitored via the headphones output on the back of my iMac:
    I've been encountering a very high-pitched (and at times a cycling through high frequencies) noise when working with headphones to monitor audio. It's not the headphones and the problem is not limited to any single application. The noise is sometimes barely audible, and it comes and goes - but repeatedly and often. Sometimes the frequency of the noise is so high that I can imagine that those with poor or compromised hearing wouldn't even notice it. But the highest frequencies are still detectable - kind of like a faint ringing in the ears or a ringing television set that has its volume turned all the way down.
    I've done everything I can imagine to troubleshoot the problem including asking a Mac genius, but nobody seems to have encountered this before. The noise can be triggered off (not masked) by any other incoming audio, but eventually it reappears. I will be editing a file, the noise will appear, and I can literally silence it for the moment by pressing a volume key or playing back a portion of audio.
    Anyone else experiencing this issue? Is there a fix? I do a lot of audio engineering and this problem is very distracting. I haven't purchased any outboard gear to monitor with yet, so I don't know if I will hear this noise through an external audio interface or not. Thankfully, this noise isn't being recorded to disk. It appears to be a little monster that is haunting only the playback.

    OK, It is very easy to reproduce the problem, just follow this steps:
    (1) Insert any headphones to iMac.
    (2) Do NOT play any iTunes or any application with sound.
    (3) Now, set volume with the volume control keys on your keyboard, set it to the MAX.
    (4) You can keep pressing on the increase volume key and every time you hit the key you should hear a sound.
    Just as when the sound stop, you will hear a high pitch. Keep repeat step 4 and wait a while, then occasionally you will hear a high pitch sound that will last to longer than 30 seconds. The high pitch will be even easier to reproduce if you alternate before decreasing volume and increase volume by 1 level, each time, wait and you will hear the high pitch too.
    This high pitch sound can be heard on external speaker plug into the headphone jacks too.
    BTW, I turned OFF WIFI, Bluetooth, removed all USB devices except keyboard and mouse, adjust monitor brightness, they have no effect on the high pitch, it is still there!
    I am going to call the Apple Care tomorrow. Will keep you guys posted.
    Message was edited by: chienlim

  • Regza 40" LCD TV emits high frequency noise

    A few months ago I was lucky to win this television, a 106 cm Regza HD LCD.
    I was very pleased because I could never have afforded it myself, and I am very happy with its performance generally.
    What I find however is that it emits a high frequency noise that triggers tinitus to my hearing. (Tinitus is a high pitched squealing noise heard by people who have damaged their ears, sometimes called ringing in the ears).
    I guess my hearing is already sensitive through listening to lots of live music over the years, but I think that this noise is excessive.
    I figure that a monitor this size is using a fair amount of power and that maybe the power supply could be overworking itself.
    The monitor emits this noise at a consistent level even before the sound from the tv show begins.
    I am interested to find out what suggestion forum users may have for reducing this background noise?
    The monitor is still under warranty as it is only 6 months old.
    I wanted to be prepared to discuss it with Toshiba warranty people if forum users can suggest first of all what could be causing the noise, and secondly, possible ways of addressing the issue.
    Thanks petekey4

    Hello Pete
    As you can see this is Toshiba computer forum and I don't believe you will find many people here who want to discuss about Toshiba LCD TV.
    Anyway, if the TV is new and with valid warranty the best option for you is to contact service people and let them check your new TV.

  • New ipad has a high frequency buzz when connected to docking station.

    New ipad creates a high frequency buzz/sensation when charging on the docking station and does not have buzz when connected directly to usb charger?

    It is hard to be sure without seeing it, but it sounds like a bad connection to the docking port. (bad motherboard)

  • Problems with displaying high frequency sine wave

    Hi all,
    I don't why LabVIEW has problem with high frequency display.
    Someone plzzz explane me how to see a better grapth on grapth?
    check this function waveform generation.vi in examples go to search and type "waveform"
    set the feq to 1k.
    Thanks and regards

    I think that this is related to LabVIEW, but more basically to the Shannon theorem : if you want to describe a periodic function, you need to take enough samples. First, expand the x scale to see a delta t of 0.001 s (ie a period of your 1000 Hz signal). Remeber to set the autoscale property on OFF. Then go to "sampling info" and increase the sampling frequency. See the result...
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Help Counting high frequency voltage spikes

    Equipment:  NI USB-6229     (250 kS/sec Analog In., 16 bit DAC, 32 bit Counters and internal clocks <= 80 Mhz)
                          LabView 14
    Problem:
    I have an experimental application where I need to count voltage spikes (integer #) caused by electrons hitting a sensor. These spikes can be as frequent as 500,000 Counts/sec. The spikes are not going to be the same voltage everytime, but they will be visible above the noise so I need to allow the user to select a Threshold Voltage that triggers a real count rather than noise spikes.
    Attempts:
    To count such a high frequency, I deduce that I need to use a Counter Input to read fast enough, HOWEVER, I wasn't able to find a way to set a threshold voltage for a Counter Input because I believe they expect a TTL signal anyways, which I won't have. To set the threshold, I realize that Analog Input reads can be triggered at a selected level which is great but the Analog Input Sampling Rate is only 250kS/sec which won't catch every count in my project.
    I have a program that uses the Count Edges channel and it is accurate within 3% of the expected # of counts. I was just testing it with a function generator and the program doesn't count unless the signal's voltage is above 2-3 V which won't work for my application. I will post what I have. Does anybody know of a way to trigger off only at selected Voltage levels using counters, or know of a way to filter through the noise to get real spikes?
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    ElectronCountsTest.vi ‏29 KB

    Thanks for the reply johnsold. I didn't think to use a comparator but that is good to know that I have that option. I was and still am hoping for some kind of trick to do this programmatically.   One other idea that I was playing with is offsetting two or three different Reads on the same signal to read the signal at different times. If this is a possibility, it may be able to double or triple my sample rate to 500k or 750kS / sec. Anyone else have any ideas on this solution?

  • How to change the display in the waveform graph to enable higher frequency displays.

    I am working with waveforms of very high frequencies upto 2MHz. When the frequency of the waveform is increased above 500Hz, the display in the waveform graph goes blank.
    Please help me.
    Thanks

    Dear Labviewguru,
    Thanks a lot for your response.
    The problem had been technical, and it has been solved.
    Actually, I didn't specify the number of samples while generating the waveform, so only frequencies upto half the default value (1000) were being displayed.
    Regards,
    Roopa

  • Using iPod with high frequencies

    Hi there - I'm having treatment for tinnitus (high-pitched sound in the ear). There is a treatment where you listen to music interlaced with high frequency sounds which is supposed to stimulate the brain & the cilia inside the ear. They have CDs available but recommend not to use iPod. My question is, if you transferred the CDs using Apple Lossless would the high frequencies come through? Bear in mind some of these frequencies are up to around 14 KHz and there are all sorts of subtleties in the signal. One question is transferring it to the PC using Apple Lossless, the other question is playing it back on the 5G iPod. I'm also thinking of getting a Nano just for this - would it play it back OK? Thanks!
    MacBook Pro 15", 60 GB 5G iPod   Mac OS X (10.4.4)  
    14 iBook, 768 RAM, 60GB   Mac OS X (10.4.4)  

    This is only my personal opinion, which can be wrong.
    First, human can only listen to 20KHz most, thats why the CD's frequency response only cover in the range of 20-20KHz.
    For iPod - the apple mentioned the following
    iPod is designed to provide the best-quality sound. iPod has a powerful 60 mW amplifier so it can deliver audio as loud as you want. It also has a 20 Hz to 20 kHz frequency response, which means you can hear distortion-free music at the lowest or highest pitches. Even the iPod headphones are designed to give you the best-quality sound. The earbud-style headphones rely on Neodymium transducers, a rare earth magnet that significantly enhances frequency response and overall sound quality. Most other headphones use aluminum, cobalt, or ceramic drivers; at the same size, the Neodymium driver is five times as powerful. Because the strength of the driver increases the accuracy of the sound, the iPod headphones provide a high-energy listening experience while minimizing distortion.
    To ensure CD-quality sound, be sure to use a compression setting of 160 kbit/s (the default setting in iTunes) or higher when you "rip" tracks from your CD into MP3 format, or 128 kbit/s in MP4 format (AAC).
    Therefore, if you rip the music from a CD, it does not matter whether it is MP3, AAC or Apple Lossless, it will no reduce the frequency response, however, there is noticeable difference of sound quality from different format, of course with Apple Lossless format being the best, but much bigger size.

  • High-frequency permanent distortion while recording through Line-In

    Hi Everyone!
    I'm recording music from my MiniDisc Player connected with Audio Cable to Line-In port. I'm using Real Instrumen track for this. When I record or even only listen to the music I hear permanent High-frequency Tone in background. I can record with no problems but my recordings are always accopanied with this distortion. I've checked it out also on Windows (Boot Camp) and there are no such noices. Somebody knows what could help? Maybe it's something with audio drivers?

    In Multitrack view, Options, there is a Monitoring option where you should be able to set Audition Mix to Always.
    This doesn't appear in Edit View.

Maybe you are looking for

  • My Iphone4 will turn off, and it is not on, plz help how to switch on or what is the problem

    Hi, My iphone 4 will turn off on its own and It will not turn on, plz help me

  • Where to buy iPod Nano 6G?

    Long Story I really needed a nice watch, I haven't had one in a while. They are very convenient, and I would have to pull out my phone every two minutes...literally. I decided the nano was my solution. It looks really nice with a wrist band, and it i

  • Rookie chick needs help with footer?

    Hi guys :) I am in desperate need of help. I don't understand how to use the footer div tag. I don't know how to create my own css.. I only sort of know how to manipulate it so if you could please explain in html I would be grateful :) Do I put the <

  • Best way to back up a Mac system's hard drive?

    I am fine with backing up my documents and important user files with Toast, but is there something similar to Symantec GHOST, which I am used to from my PC days, for the Mac? Specifically the new Intel iMac. I find it more frustrating to have to rein

  • Import Territories

    Hi! Has any of you an idea of how could I import a list of territories? I couldn't see that option in Import and Export Tools area. Thank you, Delora.