How can be time implimenting in Square Wave Point By Point .vi

i want to use "Square Wave Point By Point .vi" but i can not understand how to put time value.

Hello,
I understand you wanted to use the mentioned vi. So the thing is the inputs that you can see are not compulsory or required inputs. Those are recommended inputs which you can use if you have a requirement in your application. So in thise vi as you know the duty cycle will define the time a square wave remains high versus low over one period. Morever the output of the square wave will be as follows:
square wave = amplitude × square (p)
where
square(p) = 1 if [ (360. frequency. time + phase)mod(360)] is < [360. duty cycle(100%) / 100]
 and -1 for other cases.
So from this equation you can work on your application and decide if you need any time input at all or not.
Hope this helps.
Cheers..!! 

Similar Messages

  • Converting an MP3 to WAV -- How can I convert an MP3 to wav format, 16 bit

    How can I convert an MP3 to wav format, 16 bit, 44,1 khz? I like the program Switch which I know can convert MP3s, but how to I set it up for the specific settings that I need?

    Just import into a logic session. Then bounce at the specs you require. Logic or Waveburner, iTunes and even Quicktime I think can each do this easily.
    A question though. I am assuming you are converting an MP3 to 44.1/16 bit just so you can play the file in a consumer quality CD player?? IF so - that makes sense.
    But if you are doing this because you think it will improve the sound quality of your MP3, I will save you some time here. It won't improve the sound quality at all. It will just turn the MP3 into a larger audio file.
    44.1/16 bit resolution enables you to have a much better sounding file than MP3 formats, but not by going at it this way.
    No offense to you if you know all of this already. I am assuming that you may not know this - because if you did you would also likely know how to convert an audio file.
    Cheers
    Darrell

  • Can I generate sine and square waves with NI PCI-MIO-16XE-50 card??

    Can I generate sine and square waves with NI PCI-MIO-16XE-50 card??
    How Do I generate those signals?

    Hello;
    You certainly can do that. The way to go about that is to use one of the Analog Output channels your board have available.
    If you are using Labview to program the board, you can find good examples at Search Examples->I/O Interfaces->Data Acquisition->Analog Output->Multiple Point (buffered) Analog Output.
    If you are using other Software language to program the board, you can fing examples at C:\Program Files\National Instruments\NI-DAQ\example\VisualC\AO.
    Hope this helps.
    Filipe

  • How to apply single sine or square wave

    Now I used NI-FGEN and NI-Scope for bender element test, I want to now how to generate single sine or square wave (normally in NI-FGEN, I saw only continuous wave generation type).thanks you so much

    If I understand your question correctly, it sounds like you would like to output one period of a sine wave or square wave and then just 0V DC. To do this you can use the niFgen_Basic_Arb_Sequence_Example. You will want your first sequence to be a sine (or square) wave and then the second sequence to be DC with an amplitude of 0V. You could replace the while loop in that example with a sequence structure with a wait in the structure to last just a bit longer than your sine wave. This will ensure that your sequence doesn't repeat.
    I hope this helps answer your question.
    Regards,
    Doug K.
    Application Engineering
    National Instruments

  • I'm a new Mac user....how can i create a "sticky" with automatically reoccurring bullet points?

    I'm a new Mac user....how can i create a "sticky" with automatically reoccurring bullet points?

    On my previous Mac (long, sad story) I had Office for Mac and liked it a lot.  I was collaberating on some fairly complex legal documents, and never noticed any compatibility problems with Windows Office.  That said, it is expensive.  For most documents, I simply open the Word document in Pages and export it to Word when I am finished.  I sometimes get the message that there is a missing font, but the computer uses a substitute that is quite acceptable.  I have never had someone say that they had difficulty with a document I exported to Word.
    Numbers and Excel aren't as compatible in my experience, and I have gotten some surprises when I hadn't tweaked the settings properly when exporting to Excel.
    The other component of iWork is Keynote, and I like it much better than Powerpoint; to me it is just easier to use. I have never tried converting back and forth between Keynote and Powerpoint.
    Depending on what grade your kids are in and what they are doing, I think I would start off with iWork and see what, if any, problems they encounter.  Of course, if they are going to use the computer for a class in Office or its components, your kids are going to need a Windows machine with Windows Office, because Office for Mac is enough different that when the teacher says, "Now, move your mouse here and click on....", your kids are going to be lost.
    Hope this is useful.

  • How to generate multiple digital outputs (square waves delayed) at 50 kHz?

    I would like to generate 3 digital outputs like the picture attached at 50 kHz. Using the "digital pattern generator (marching values).vi", I can generate 3 digital square wave but without the delay time. How can I do that?
    I'm using the card PCI 6034E.
    Thank you
    Attachments:
    digital outputs delayed.png ‏8 KB

    Hi,
    the digital pattern generator (marching values) only shifts the binary value of the first signal and sample to the next signal/sample.
    Have you tried generating your waveforms via build waveform and use t0 terminal to change the lead delay?
    In general, this DAQmx example could be helpful which you can modify to your needs.
    DAQmx Write Digital Channel- External Clock: https://decibel.ni.com/content/docs/DOC-11142
    Regards,
    Thomas

  • How to generate a high freq square wave on NI-USB 62xx

    Hi,
    I am trying to generate a 50khz square wave with an AO channel on the NI-USB 6212 (rated at 250ks/s AO). I started with the Voltage - Continuous Output.vi example but when i go up toward 50khz square wave (100khz sample rate) the edges of the square wave become rounded. The slew rate for the card is 5V/us and my amplitude is just .5V so i feel like I'm doing something wrong with the task setup.
    I also tried setting continuous samples using the onboard clock for a source and then writing an array [1,-1] but that fails at anything higher than ~8khz. 
    What's the most efficienct/correct way to set up a task like this? Any help appreciated. Thanks.
    Matt

    Hello Matt,
    Right now, I think that shape of the signal that is being output is being controlled by the load on the AO. 
    If there is a very large impedance load attached between AO and ground, the RC time constant of the circuit is going to be very high.  This will result in a large amount of time required to charge and dissipate the voltage.  By increasing the frequency, the amount of time allotted for this is being reduced.  Potentially resulting in the waveform you are seeing.
    Can you please upload a picture of your waveform?
    Can you please try to reduce the load on the AO?  This can be done by disconnecting the current load and attaching a small resistor (50 Ohms should be good).  Does this result in the correct waveform?
    Regards,
    Thomas C.
    Applications Engineer
    National Instruments

  • How can I convert .m4p songs to .wav ?

    how can I convert *.m4p songs in ITunes  to *.wav songs ?

    the only way i have found is thru converter software. i use a program called "avs" it was $30 i believe, maybe $39. but it was the only way i found for me to convert itunes songs to a .wav file so my kids could put those songs on a "sansa" mp3 player.

  • How can i change music format to WAV prior to downloading?

    how can i change music to WAV prior to downloading?

    cg larry wrote:
    how can i change music to WAV prior to downloading?
    When you download music, it comes in the format that the store supplies it.
    WAV is a common format for the DJ market, as it is the best as input for pro audio editing.  Stores that cater to this market, and from which you can buy music in WAV format, include beatport.com and Juno Download
    Both of them also offer MP3/320 as an option, so make sure to select WAV.

  • HT201250 How can one Time Capsule be backed up backup to another?

    My Macbook pro with 160GB hard drive is almost full, and so is is my 1TB time capsule (on which I backup for 5 macs in my family). I have just bought a 3TB Time Capsule now for all backups. My question: how can I use the old time capsule for my Macbook data to free up space on my hard drive and backup my data to the new Time Capsule?

    leejpepper wrote:
    how can I use the old time capsule for my Macbook data to free up space on my hard drive
    Usually not a good idea.  See Time Machine - Frequently Asked Question #20.
    and backup my data to the new Time Capsule?
    Just start fresh.  You can always view and restore from the old ones via the Browse Other Backup Disks option, per #17 in the FAQ.

  • How can I make a transparent square box swf file in flash cs4?

    Hi,
    I have one picture imported into flash cs4 and would like to make a rectangle box which should be transparent. Finally I will save it as .swf file for later use. But the box should be transparent (without any background). How can I do that? Please do help.
    Thanks.

    Hi just a shot in the dark..
    Have you fiddled with movieclips and the alpha property?
    Best regards
    Peter

  • How to determine time value of a .wav file in real time as it plays?

    Hi all.
    I need to build a vi in which a .wav sound file is represented in a Waveform graph, and at the same time, I want to play that file, and have a vertical cursor line running along the Waveform graph, in order to have a visual representation of where the sound track is, in terms of time.
    Making the .wav file to appear graphicaly on a Waveform graph was an easy task to do, but then, I was´nt able to extract the time information of that .wav file, at the same time that this file is being played.
    This is a very common situation in music players, video players etc, where some kind of graphical artifact, represents in real time where the track is while it plays.

    Hi, this is the first ActiveX control I have played with but its really cool.
    I read this first: -
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/iwmpcontrolsinterface.asp
    Which covers "The IWMPControls interface provides a way to manipulate the playback of a media item."
    Then built the attached sample.
    It should now be straight forward to attach the position information shown to a graph control cursor postion.
    You will need to set a file of your own choosing in the VI first.
    Let us all know if this is what you wanted.
    Attachments:
    mediaplayer current play position demo.vi ‏39 KB

  • How can one time software updates to allow uploading at off peak times?

    How does one time software updates to allow uploading at non peak periods?

    Apple has plenty of servers for handling the downloading of software updates.  There is no optimum time since the updates are available worldwide.  Anytime is a good time. 

  • How can I amplify audio signals from wav file?(gain control)

    I want to develop an audio equalizer using labview. How can I control the gain of the audio signal (amplify) using labview vis.

    If your audio signal is in form of a numeric array or a waveform cluster, to amplify it, just muliply it with a numeric value
    like in this VI
    Regards
    Dev
    Attachments:
    Amp.vi ‏51 KB

  • How can I get the float variable in 2 decimal point?

    after running the following simply manipulation program,
    14.85 should be returned, but in stead, 14.849999.
    how can i change the precision? i want the returned number in 2 decimal point.
    public class TestC {
    public static void main(String[] args) throws Exception {
                   float var = 0.00f;
                   var = (float)4.95 * 3;
                   System.out.println(var);

    There is absolutely no way that you can change the precision. It is fixed.
    If you want to display two decimals places (which is not the same as changing the precision) then you can use the following.
      float var = 0.00f;
      var = (float)4.95 * 3;
      java.text.DecimalFormat f = new java.text.DecimalFormat("0.00");
      System.out.println("var=" + f.format(var));

Maybe you are looking for

  • How to select range of values (select-options) in BDC?

    Dear experts,   I need to write a BDC program for the T-code CN72 where i need to  handle a range of intervals (select-options) for the WBS element field in the initial screen.I have done the recording. what is the logic in BDC to handle the range of

  • How can I incluce a hyperlink to TDMS file in the report?

    Hi, I am storing the measured data in TDMS file in each step. File name is written to the ResultText property so it is visible in the report. I would like to have hyperlink in the report that opens this TDMS file automatically either with DIADEM or w

  • How to adjust the display size?

    The player scales itself into the browser window, which is a problem for videos (containing text). How can I managed to get the content displayed in original size? I tried to adjust the index.html by setting fixed values in the showflash call. e.g. s

  • HELP!!! Failed to load book because the requested resource is missing?

    On iBooks app on iPad: When trying to open a previously purchased and read book, I get the message "Failed to load book because the requested resource is missing."   What dose this mean? How can I open the book again? 

  • Merge 2 code and script doesn't work anymore

    I have 2 AS2 codes (I think). One is a carousel gallery script that lets pictures flying in a circle. And the second code is the one that let words fly, downloaden from http://www.levitated.net/daily/levTextSpace.html. The scripts work seperatly, but