High frequency

Hi everyone, im pretty new with Labview, and I need a help. I would like to simulate square wave with high frequency (40MHz).
1. Can anyone help me, how can I simulate the signal (test2.vi) in a moving (time) axis?
2. I would like to catch the datas and write it into .txt or excel. I found this example (0807-LVM_Beispiel.vi). Can I get the datas like this from my 40Mhz frequency generator?
A little help would be nice. Thanks.
Attachments:
test.jpg ‏525 KB
test2.vi ‏29 KB
0807-LVM_Beispiel.vi ‏88 KB

thanks for your help.
Ive been searching, and now I've changed my test2.vi into test CIC.vi and modified it. If you may see it, im trying to simulate the signal with frequency 40MHz and, with sampling frq. 800MHz and sample rate 1000samples or max. ~300.000samples (and save it in a txt.file). Actually, my task is, that im gonna need to make a labview program that can take as many points as possible, that might be not periodic. I mean, we gonna use NI card (in near future, not bought yet) to take some input datas, and to get all the data-samples in high frequency range. Is it possible to make such a program (capture the data) without knowing in the first place which NI card that we are going to use. But i believe, we gonna buy a digitizer, digital I/O and might also mxi controller (I've looked at the offered device list) from NI. Thanks a bunch. Is it much easier after buying the devices? (like getting the device's driver and maybe program that support it).
One other question, in my test CIC.vi, im saving my points into .txt file (only the amplitude). How is the trick to take also the x-axis points (time axis) and save it in the same .txt file.
Attachments:
test CIC.vi ‏49 KB
CIC 1 sub.vi ‏21 KB
Save 1Data.vi ‏18 KB

Similar Messages

  • 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

  • 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

  • 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)

  • 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

  • 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.

  • High frequency power measurements

    Hey,
    I'd like to know if there are developments in measuring electrical high frequency signals with labview without using an extern power analyser. At the moment i'm using a yokogawa power analyser but i'd like to know if it's possible to log HF signals without the help of a power analyser... Are there NI products on the market for this purpose?
    Thx,
    Andy

    Hello,
    In the case of frequencies up to 200 KHz, NI can provide several solutions using the 'standard' data-acquisition boards or digitizers (scopes), from a low to very high accuracy solutions.
    A good solution can be one of the high speed M-series boards (PCI-625x).  These boards have up to 32 multiplexed channels with a resolutions of 16-bit at a speed of 1 MS/s  (500 KHz).
    A better solution would be a S-series boards.  These data-acquisition boards sample all input channels simultaneously.  We have boards with 2, 4 and 8 channels and sample frequencies of 10 MS/s  (up to 5 MHz if needed).  S-series board are the boards with product numbers PCI-61xx.
    The best solution is to use a digitizer (scope).  Also here a lot of possibilities going from low to higher bandwidth and resolution.
    The most flexible is the PXI-5922.  A 24-bit digitizer if you sample @ maximum 500 KS/s.  This board only exist in the PXI platform.
    Then NI has 8-bit digitizers (normal resolution for scopes) from 15 till 125 MHz bandwidth.  If you need a higher resolution they have solution up to 14-bit (very high for scopes) @ 100 MHz.
    Please give your local NI Office a phone call.
    They have technical engineers who can discuss your needs and provide you a solution.
    Best regards,
    Joeri
    National Instruments
    Applications Engineering
    http://www.ni.com/ask
    Make our forums great:
    If you like the answer, don't forget to "Kudos!".
    "Accept the Solution" if your question is answered!

  • High frequency quadrature decoder (NI PCI 6221)

    Hello, i would like to ask you about high frequency quadrature decoder. I am using module in DAQmx for measuring linear position. For this i am using NI PCI 6221. My problem is that i want to use this for my interferometer and we need really high speed. So I tried to use External timing whitch should be possible for this card up to 80MHz. Unfortunatelly i always will get error message that there is some kind of owerflow and my program crashes. So my question is how to get all data form this card. I know that the buffer size FIFO is only 2 so if it is impossible to get all data so i want find another solution. Is it possible let my card work alone on 80MHz and only repeatly rewrite all buffer and just sometime ask this card for sending current buffer. I dont really need all the data, but when i will ask i need to know reall position. This high speed is really necessary because my interferometer is sensitive and i dont wat to lose any steps. If there would be any possibility how to work on 80MHz and only sometime ask for sending data with position, it would be great. Sometimes i will ask not for only current position but for full buffer because i want so see what is happening during some time period, but this task will be only sometime. 

    Dear BMAJTZ,
      The counter frequency (the maximum speed available) is configured by the Task in the background. In our case, the counter is set to detect edges, so it always uses the maximum speed available. If an edge occurs, the count value increases by 1, and this accumulated count value (stored as a binary number) is read by the DAQmx Read VI, and converted to meters. So if your encoder input is slow enough for the 80 MHz card to handle, you won't miss any ticks, even if you only read the value occasionally.
    You can find further information about counters and encoders on these links:
    http://www.ni.com/academic/students/learnlabview/digital.htm
    http://www.ni.com/white-paper/7109/en
     Also if you can tell me the approximate frequency of your encoder signal, and how often you nedd the position info, I can do some benchmarking for you to see if your card is capable of the task.
    Best regards:
    Andrew Valko
    National Instruments
    Andrew Valko
    National Instruments Hungary

  • Only Noise (high frequence pulses) on Firewire Interface Motu 828mkII

    hello,
    i drive Logic 7.2.3 and Wave Burner 1.2 a long time, since yesterday i get only noises and high frequence pulses on my interface.
    I Tunes and Quick Time works well whith Motu/Firewire.
    Only Logic and Wave Burner does!!
    I tried different settings in Logic or in Audio-Midi-Configuration.
    Additionaly i get sync problem messages in Logic, also in WB.. the SPL is not moving right!!
    Has anybody an idea??
    Thanks
    Patch

    There are lots of posts on this topic - the search function would have turned them up. Try this:
    http://discussions.apple.com/thread.jspa?messageID=1477845&#1477845

  • DAQmx Error 89137 When trying to make a high frequency measurement.

    I am using a PCI-6602 Timer/Counter for multiple measurements on a serial interface...
    I have the clock line connected to Gate0, the enable line to Aux0 because I need to make a two-Edge seperation measurement between the two later...
    But I also want to make a "Period/Frequency Measurement (High Frequency with Two Counters)" measurement...
    This requires that the signal to be measured is on Source0...
    I implimented the following Code:
    void meas_FP_Freq(float64 *Freq0, float64 *Freq1)
    TaskHandle CLK0_Freq, CLK1_Freq;
    DAQmxCreateTask ("FP_CLK0_Freq", &CLK0_Freq);
    DAQmxCreateTask ("FP_CLK1_Freq", &CLK1_Freq);
    DAQmxConnectTerms ("/Dev3/PFI38", "/Dev3/Ctr0Source", DAQmx_Val_DoNotInvertPolarity); // Gate0 to Source0, No Error....
    DAQmxConnectTerms ("/Dev3/80MHzTimebase", "/Dev3/Ctr1Source", DAQmx_Val_DoNotInvertPolarity);
    DAQmxCreateCIFreqChan (CLK0_Freq, "Dev3/ctr0", "", 6000000, 6500000, DAQmx_Val_Hz, DAQmx_Val_Rising, DAQmx_Val_HighFreq2Ctr, 0.001, 4, "");  // High freq measurement
    DAQmxCreateCIFreqChan (CLK1_Freq, "Dev3/ctr1", "", 6000000, 6500000, DAQmx_Val_Hz, DAQmx_Val_Rising, DAQmx_Val_LowFreq1Ctr, 0.001, 4, "");
    DAQmxReadCounterScalarF64 (CLK0_Freq, 3.0, Freq0, 0); // Run-Time Error -89137 Specified Route cannot be satisfied..etc
    DAQmxReadCounterScalarF64 (CLK1_Freq, 3.0, Freq1, 0);
    DAQmxDisconnectTerms ("/Dev3/80MHzTimebase", "/Dev3/Ctr0Source");
    DAQmxDisconnectTerms ("/Dev3/80MHzTimebase", "/Dev3/Ctr1Source");
    DAQmxClearTask (CLK0_Freq);
    DAQmxClearTask (CLK1_Freq);
    The "Low Frequency" method works fine, but the resolution is too low...
    Every help file I've read indicates I can use different PFI inputs for measurements... What am I missing?

    Hi,
    The reason that you are getting the error is the PFI lines are being reserved twice. You don't need the DAQmx Connect Terms functions in your code because the DAQmx driver does this for you automatically. If you still receive an error after doing this, try to changing the low frequency counter number.  I hope this helps you with your application.
    Regards,
    Hal L.

Maybe you are looking for