Generate and record sine wave with GB

Is there a way to generate and record a sine wave with GB? I need to record a 20khz tone and put it to track. Thanks!

Thanks. The purpose of this was to 'fool' the horrible compressor/encoder over at Youtube. Inserting a 20khz tone in the mix tricks the compressor and effectively bypasses Youtube's butchering device. What I did was downloaded Audacity (free) for Mac. Audacity has a 'generate tone' capability which can be recorded. I then 'exported' my 20khz tone as a wav file and 'imported' same into my GB mix. Et voila! I can now mix my sine wave tone to the specified 'workaround' levels which I had seen posted on the net. ~King

Similar Messages

  • I am trying to generate a 50kHz sine wave for ten cycles, then aquire this waveform and store it in a file, I am using a PCI-Mio 16E-4 board, has anyone done anything like this?

    I am trying to generate a 50kHz sine wave output on the DAQ card and then simultaneously recieve. I am using a PCI-Mio 16E-4 series board to do this. Has anyone done anything similar. I can generate a 50k wave no problem, and recieve one, but I can not get these vis to run together? Any suggestiosn

    Jrod, yes you should be able to do this, actually there are quite a few example programs come with LabVIEW that handles simultaneous analog input and output, I check the specs of the board you use, the board should be able to handle the sampling/generation rate, but make sure for 50KHz sine wave, you would sample at least twice as fast, preferably ten times the generation rate, then this puts the sampling of the board to thew limit.
    The program you can try is attached here, good luck with the application,
    XD Gao
    Applications Engineering,
    National Instruments
    Attachments:
    Simul_AIAO_Buffer(E-series).vi ‏104 KB

  • How to generating three phase sine wave simutiously with Vistual C++?

    Here I want to generate three phase sinewave at the same time with the phase angel 120 continiously. I can creat a task that contain 3 AOs, and generate 3 same sine wave at the same time. But I can not create 3 individual task which contains one AO channel, and write data to FIFO. Please tell me how to realize it?

    Hello, Rilee,
    Thank you very you very much. But I am still confused. The website I can not open. As you said, I shall create a data array to contain three phase data, for example, sinedata[750], sinedata[0:249] contains first AO, and sinedata[250:499] the second, and the rest is the third. then
    1. send the data for sinedata[0] to sinedata[249], to the board. with DAQmxWriteAnalogF64;
    2. send the data for sinedata[250] to sinedata[499], to the board. with DAQmxWriteAnalogF64;
    3. send the data for sinedata[500] to sinedata[749], to the board. with DAQmxWriteAnalogF64;
    and or so.
    Is all the above description right?
    Here I have several questions:
    1. When shall I send second section sample data? I think it shall be all the first data have been written to the board. And How can I know that all the first section data have been sent to the buffer?
    2. If I call DAQmxWriteAnalogF64 to write the second section data to buffer after the have finished first section data written, will this function affects the wave of the first section data?

  • PXI-5406: unable to generate 10 mV p-p sine wave with 1.5 V dc offset

    I'm using the PXI-5406 and FGEN Soft Front Panel to output a low amplitude sine wave. It works fine when I have the amplitude set to 10 mV and the DC offset set to 1V but when I increase the dc offset (I want it to be set to 1.5V) the FGEN front panel reports an error and stops outputting the wave. It starts working when I have the DC offset set to 1.5V and the amplitude increased to 50 mV. Any ideas on how to output a sine wave with 10mV amplitude (p-p) and 1.5V dc offset with the PXI-5406?
    Thanks,
    Rachel

    I also wanted to mention that while using the FGEN Soft Front Panel, some of the settings are coerced to set values (particularly Digital Gain). Is it possible for you to use the driver API through LabVIEW or another program? This would allow greater control and a potential workaround.(set Gain to a value less than one (0.25) and the Amplitude to a value to 40mV).
    Evan S.
    National Instruments

  • Play sine wave with soundcard on CVI

    Does anybody know how to generate sine waves with the soundcard ?
    Thank you for your help.

    Diver,
    The way to go here is the Windows SDK. First make sure that you have the Windows SDK installer; go to the help menu and you should be able to select Windows SDK . If you don't have that option then you need to run the installer again and change the installation to include the Windows SDK.
    Once you have this running there are a couple of ways you can do this:
    Play a WAV file: this is the easy and fast way of doing it; record or generate the WAV file with any simple sound editor and use the function PlaySound() from the Windows SDK to play strait from the file (you can find more info about the function in the Windows SKD help file).
    Play generated data using lower level soundcard functions: this is not as easy, but gives
    you the most flexibility; you basically open a session with the sound card and write data to it. I'm attaching a very basic example that can get you started.
    Use Media Player to play a file: you can use ActiveX to embed Media Player in your UI and use it's capabilities to play wav files. CVI has a good shipping example about this, you can find it here.
    You can request this feature for future version of CVI; go to http://www.ni.com/contact and select product feedback to submit your request.
    In the mean time I hope this helps you get started.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    WaveOut1.c ‏2 KB

  • How can i do a sine wave with High Throughput Sine for fpga?

    I try to do a sine wave looking the examples but i can't. I have a sbRio 9606. 
    I need to do a sine wave with high throughput block. In my exercise i have 2 inputs (amplitude and frecuency) and i have to look the output (sinewave)
    I need help!!

    Hi pablosan,
    If I understood correctly, you want to generate a sine wave with a high throughput block in Labview FPGA.
    I'm afraid you won't e able to do this, as these blocks are specifically designed for other FPGA targets with better features for high performance. So instead of using the example named "Sine and Cosine.lvproj" under High Throughput examples, you can use the "Sine Wave.lvproj" under Signal Generation and Processing examples, which is more adequate to your Single-Board RIO.
    Regards.

  • How to generate 3 phase sine wave to output on ELVIS

    Hi .I need to make a star or delta connected circuit on ELVIS board.2 make this circuit I need 3 wave generator( with 120 phase shift) and one common ground
    and because the ELVIS function generator can only generate one wave I decided to generate countionuos sine wave in Labview.
    Now I can generate 2 continuis sine wave in labview and output them on the analog outputs of ELVIS.Ao-0 and A0-1
    but I dont know what to do for the third signal.the elvis board just has 2 analouge output and when I use  Ao-0 and A0-1 I cant use ELVIS function generator after that.so would u please help me on this problem.how can I output 3 contious sine wave in Elvis.I have attached my VI to this post
    Attachments:
    new.vi ‏38 KB

    Hi, I am also having some problem in generating two signals from two AO. Could you please tell me how to generate two different signals from two AO. I have attached vi which generate square wave from one AO 0. I need the inverted signal in AO 1. 
    Attachments:
    Pulse Width Modulation.vi ‏48 KB

  • PCI-4461 - Generate and Record Tone

    Hello,
    I am trying to play a tone (1K for Example) and record the tone using a microphone.  I am using a PCI-4461 to generate and record the tone.  I managed to make a somewhat functional program but there are some issues I would like to clear up:
    1)  I had to make a start and check time function to determine if the tone plays and is recorded for the appropriate amount of time.  If I remove the while loop the tone does not play.  I tried using the DAQmx wait until done function but it does not seem to make a difference.  Is there anyway I can play and record the tone without monitoring the time?
    2) The recorded waveform always has a delay which seems dependent upon the sample rate.  Ex: 10000 Samples/Sec results in 83 sample delay, 20000 Samp/Sec results in 114 sample delay.  I read in some other articles that samples are stored in the buffer and that reading 60ish samples before the actual measurement would clear up the problem.  I tried reading samples before the tone is generated but the delay is still present.  Currently I am using post processing to remove the delay, is there anyway to only record the tone that is played.  Am I triggering the read properly?
    Let me know if I should post the VI.  Also incase anyone is familiar with acoustics how do I convert a waveform of Voltage vs time to dBV/Pa
    Thanks,
    E
    Attachments:
    Play and Record Waveform.PNG ‏86 KB

    Hi Plexonite,
    The first thing that comes to mind is Pre-trigger Acquisition which could help you retrieve missing data. Further details about this can be found under:
    http://www.ni.com/white-paper/4329/en/
    Let us know if this helps you move forward.
    MJ
    Application Engineer
    National Instruments

  • Help needed with generating a sine wave with NI-5640R card

    Hi there,
    I have created a simple programe using the 5640R card, and i am attaching the programe to this question. Using a "sine generation" function/block i am generating a sine wave and outputting to one of the o/p ports and then i am connecting that o/p port to one of the i/p ports using a cable. Then i am plotting what ever i have recieved through the i/p port (this has to be same as what is generated using "sine generator" ). The graph shows that i am not receiving aything from the i/p port, but when i plot the o/p of the "sine generator", i see that the sine generator is generating the sine wave. Please refer to the attached figure and please tell me what mistake i have made in this simple programe.
    Thanks,
    Sandeep.
    Message Edited by sandeep palreddy on 07-08-2007 12:46 PM
    Sandeep Palreddy, Graduate Research Assistance
    The Microwave Remote Sensing Laboratory (MIRSL)
    University of Massachusetts
    151 Holdsworth Way
    Amherst MA 01003-9284
    Attachments:
    figure.doc ‏27 KB
    figure.doc ‏27 KB

    Hi sandeep
    This small segment of code will not work on the NI PCI-5640R.  This module does not support running the FPGA Vis directly.  A Host VI must be run that calls to the FPGA Vis.
    I suggest that you look at the ni5640R Analog Input and Output example that is installed by the NI PCI-5640R software. 
    Jerry
    PS: Make sure that you are using the NI PCI-5640R software version 1.1.

  • Generate and record with NI 6251

    Hi,
    i have a NI 6251 and want to generate n periods of a signal and record it again.
    Recording should start at the same time as the generator starts.
    I tried something, but i got stuck. Perhaps you can give me a good hint?
    I tried the Codecapture Tool to show my code here. Hope used it
    ================================
    system: Win7 and debian stable
    Attachments:
    H2Trigger.png ‏113 KB
    H2Trigger.vi ‏47 KB

    Hey Jonas,
    now I finally figured what you problem was. Just use the property node for the read vi and set an offset off 1.
    If you don't want the Signal to be moving in your graph while continuesly acquiering data in the while loop - make sure to set the number of samples to any numbe ending with 99.
    One more thing - I am not so sure, why you want to use an external counter for setting the sampling clock. That way you can only use predefined frequencies - the counter only has certain steps to count down the onboard Clock.
    Using the onboard clock directly will give you far more possibilities to set the frequency to any random number you can think of.
    I hope this helps you a little bit.
    Best Regards
    Attachments:
    Forum_Multi-Function-Synch AI-AO.vi ‏55 KB

  • Generate two sine waves with time delay

    I have not been using the waveform generation tools so I hope this is an easy one for somebody.  I want to create two sine waves at different frequencies say F1 = 1.00 KHz and a second at F2 = 1.20 KHz.  I know that to combine them into one I can just add them.  Them problem I have is that I want F1 to start first then a few millisecond later have F2 sum into F1.
    T0 = F1
    T0 + Delay = F1 + F2
    Is there a VI capable of a time delay?  Tried to sum individual signals together but seems more difficult because of the waveform cluster format.
    Any help is appreciated,
    Matt
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

    Would the attached VI work for you?
    Attachments:
    Add Delayed Sinewave.vi ‏54 KB

  • Generating a 6X Sine Wave using an absolute encoder

    How do I get an Analog Signal Generation Synchronized to six times the frequency of an absolute nine bit parallel encoders output with adjustable phase relation. I am using a PXI-6533, a PXI-6711 and have available a PXI-6070E.
    Now the long version of the problem. I have a 9-bit absolute encoder connected to a motor shaft (up to 420Hz). From the encoders 9-bit (0-511) parallel signal I need to create a synchronized 6X sine wave (up to 2500Hzwith an adjustable phase relation. Picture an electronic timing chain. For every cycle of the encoder, I need to produce six full sine wave cycles with a variable tuned phase shift. I have LabView 7 w/RT.
    I have tried to use the Update Clock (PFI5) to step through a buf
    fer but it seems to drop an update every so often. I also have tried to monitor the bit-0 line to determine freq. and scaled the update rate accordingly but the phase shifts all over the place. Does anyone have any ideas on the matter ? I would really appreciate it! Thanx….Phil

    Phil,
    Another different option to solve your application would be to use the new LabVIEW FPGA module and the 7831R reconfigurable I/O hardware. Using these tools you can configure the FPGA on the board to generate the sine wave based on the 9-bit parallel input. The most simple setup would be to have a lookup table in the FPGA that has a corresponding output value to each of the 512 possible input values. This 512 sample table would contain 6 cycles of a sine wave. Every time the parallel input changes the analog output value would be updated accordingly from the lookup table. This setup would also allow to easily add a phas
    e shift of the output by shifting the point in the lookup table you are reading by a known constant.
    Christian L
    NICS
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • How to generate a continuous sine wave for a given amount of time

    I am trying to output a continuous sine wave for a speaker, but I am having difficulty making it continuous rather than looping the signal for a given amount of time, which causes discontinuities. There is a VI in the Labview examples titles Continous Generation, but it produces a square wave. Is there a way to adapt this VI such that the amplitude and frequency can be used as inputs to create a sine wave?

    I found a VI that ships with labview(7.0)called continuous sound output. the output of this is a sine wave or you can change it to whatever you want.
    Sorry cannot help more
    Joe
    Joe.
    "NOTHING IS EVER EASY"

  • Measuring lag between input and output sine waves...

    Hi,
    I am using a Labview VI to control an array of servo motors, each receiving a sine wave input (with different phase offsets for each servo). I'm using a NI USB-6229 DAQ system to monitor their movement via a wire that I've soldered onto each servo's potentiometer. I've written another VI that recieves both the initial sent signal and the returned DAQ signal and plots both on a waveform chart. Both signals show up on the plot as expected, with an obvious phase shift between them. I'm having problems accurately measuring the phase shift, and I'd rather have an automatic method that gives accurate numerical values instead of a more qualitative visual method.
    So far I've tried to use triggers and peak to peak comparisons, but I've been having problems getting results in real time. My incoming signals are time stamped, if that helps. Is there a quick and easy method to extract phase shift data from two sine waves on a waveform chart?
    Thanks for the help...

    Since I work with lock-in amplifiers I came up with this. I guess it will work in your case. This method has some limitations. It will work up to 180 degree. It also measure absolute phase lag. You can not say if the signal is leading or lagging. But in your case it will always be lagging. I posted a VI showing the method in another discussion. Here is the link. http://forums.ni.com/ni/attachments/ni/170/409516/1/demo_v2.vi. Since your DAQ unit do not have simultaneous sampling you will get a small phase error due to inter-channel delay. This is also true if you use the FFT method. What is your signal frequency and which samplerate do you use?
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Problems graphing FFT of sine wave with Waveform Graph

    I know that this type of question has been posted
    many times, so I apologize for posting a similar one. Unfortunately,
    after reading quite a few threads I still have a question or two.
    Basically, I need to use a Waveform Graph (not an XY graph) to graph
    the magnitude of an FFT of a sine wave. I can't figure out which VI I
    should be using to obtain the magnitude of the FFT. I think I'm using
    the proper FFT vi (just the regular FFT.vi), but I can't find a VI
    dedicated to magnitude. Of course, I could be misinterpreting the
    pseudocode which I am following.
    If you
    wouldn't mind taking a gander at my VI, I'd appreciate any input you
    might have. The pseudocode is contained in the block diagram. You
    can see that I have another graph for just the sine wave, and I think
    that works as it should. I'm primarily concered about the waveform
    graph which isn't currently connected to anything, but should
    eventually be hooked up to the FFT.
    Thanks!
    Attachments:
    Labview5.vi ‏199 KB

    Your problem is that the output of the FFT is an array of complex numbers. Take the magnitude and you will be able to plot it.

Maybe you are looking for

  • Scheduling agreement Fcst del schedules and JIT question

    We have a requirement of not sending forecast delivery schedules TOR to MRP from SA. Instead, we take this forecast delivery schedules and massage the data (add or delete) and then send it to MRP as regular forecast (PIR). so when the JIT schedules c

  • Uninstall purchased PS and LR4 before installing from creative cloud?

    I'm a new CC subscriber with purchased copies of Photoshop (CS6) and LR4. Do I uninstall either or both before downloading the CC versions of both apps? Thanks, -- Sam

  • Mass price change for inforecord

    Hi All, Can I do a mass price change for inforecords? We are in ECC 6.0.... I have checked transaction MEMASSIN but there is no field for price in this txn. Regards, V S

  • BPEL/ESB Errors to Worklist app

    Hi All, I have a requirement in which I have to bring the error message for all the errors that happen in BPEL and ESB to the worklist application. I have used BPEL fault policy and BPEL client API to implement this in BPEL and listened ESB_ERROR top

  • Screen variant in dialog program

    Can we create a screen variant on our own screen dialog program ?