How to generate melody in labview????

how can I generate the melody using labview.can anyone please help me out with this???

What does this even mean? We need more detail. Do you mean a sound waveform? 
CLA, LabVIEW Versions 2010-2013

Similar Messages

  • How connect Generator SMIQ02B to LabVIEW?

    Hi, I must to connect my Generator SMIQ02B of
    Rohde & Schwarz to my pc and control it by LabVIEW. It use a GPIB
    USB B card to connect to my pc. I'm beginner and I don't know what I
    must do.
    So first of all I have downloaded drivers for  GPIB USB B and for VISA.
    1) First of all. What is VISA?
    2)
    I need to a driver for my Generator? If yes, where I must download it?
    On site of Rohde & Schwarz I don't find it. Can u help me please?
    3) After all istallation... how I must do? How I see my generator by LabVIEW? What I need to controll it?
    THANKS.
    Thanks,
    Vanny
    Sweet, Beautiful and Young Female Physicist (SBYFP)
    (I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy )
    My e-mail for personal contact: [email protected]_NO_SPAM_PLEASE

    Excuse me Dannis. But I ask also here because I'm a little worried,
    excuse me. I don't repeat this error again, can u respond me to
    original location? I know labview tutorial, but i need to connect
    instrumentation to pc.
    EXCUSE ME TO FORUM,Vanny.
    Thanks,
    Vanny
    Sweet, Beautiful and Young Female Physicist (SBYFP)
    (I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy )
    My e-mail for personal contact: [email protected]_NO_SPAM_PLEASE

  • How to generate an impulse to test the short circuit in an inductor

    Hello,
    Im new to labview and i'm in need to perform SURG - SURGE STRESS TEST
    The purpose of this test is to detect an inter-turn short by applying a number of high
    voltage impulses (or surges) to the selected winding.
    Each impulse should produce a sinusoidal transient which eventually decays to zero.
    How to generate impulse using labview.
    Solved!
    Go to Solution.

    Hi Swathi,
    Please see the function "impulse pattern.vi" in signal processing --> Signal generation pallettes.
    Else you can browse through the examples in LabVIEW.
    Regards,
    Srikrishna.J

  • How to Generate Excel XY Scatter Smooth Chart in LabVIEW?

    Hi all
    First of all i am a beginner. We can plot the XY Scatter Smooth graph in excel using Report Generation toolkit but how can we generate that in labVIEW? In my application maximum we use only 5 points to plot a graph. From the graph we want to find the X value for a fixed Y value. Manually how i do is i will create an XY Scatter smooth graph in excel and will find the Y value. If we plot this 5 point in LabVIEW it will not be smooth curve and i tried many curve fitting subVI's for making it smooth. But we cannot generate the plot exactly that of excel. Is there any way to read the chart from excel?
    Please help me.
    Thanks & Regards
    Rajesh R. Nair

    Rajesh, I believe I may have what you are looking for. I have some images of the code I have made that generates a XY scatter smooth graph in excel based on a two dimensional array of X and Y points.
    The Code:
    The Result in Excel:
    Please let me know if this is what you are looking for,
                                                      ​                               Shadowfeld
    Attachments:
    Code.vi ‏18 KB

  • How to generate a chirp(linear FM) signal using dds theory in LabVIEW FPGA.

    how to generate a chirp(linear FM) signal using dds theory in LabVIEW FPGA.
    attachment:a sine signal using dds theory. Hope to get some help. Thanks!
    Attachments:
    FPGA DDS SineGen IP.vi ‏42 KB

    you need to increment the "accumulator increment" during the duration of the chirp.  the "accumulator increment" controls the frequency of the DDS cycle.  by increasing it's value, you are increasing the frequency.  the math for increment values follows the same math as determining the frequency to increment value.
    Stu McFarlane
    Viewpoint Systems, Inc.

  • Create a melody with Labview/ Function Generator

    Hi (first sorry for poor english, not my native language)
    I have a project at school which is creating a melody using Labview and a function generator. I've worked on it for hours now and i still can't get through it.
    I joined the vi file with my post so you can get a look at what i've done so far.
    First, i do'nt know which loop i have to use (u'll understand soon enough if u just take a look at the vi file), the problem is that i want to create 4 arrays using 2 text files.
    The first one is used as a reference : exemple the frequency to play an A is 440Hz, so my first text file looks like that :
    A 440
    B 493
    the second one is my melody, which includes the notes and the tempo (in ms)
     , so it's like :
    B 1000
    C 1500
    I used the first two loops to seperate each string lines of my files so I have at the end 4 different arrays. One containing the note's references, one containing the frequency, one containing my melody's notes and one containing the duration of each notes.
    The problem is that when I use a while loop, it seems that my arrays are not containing every elements it should, it only has the last one. Just try to run the vi file.
    Could anyone give me some help ? Don't hesitate to ask more questions if u didn't fully understand my problem !
    Thx
    Attachments:
    PR.vi ‏19 KB

    Hi claudeuntel,
    Your array contains just the last note because at each for loop iteration a new table is created.
    You have to send the table you created at one iteration to the next one.
    To do this you can use shift register.
    I didn't have tested the VI below but it should looks like that.
    Valentin
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • How to generate and use Matlab(R2007) .dll's in Labview

    Is there a step-by-step example on how to generate and use Matlab(R2007)  .dll's in Labview.
    Our experimenal hardware is LabView-controlled and we want to pass
    images/2d intensity arrays to a more complex matlab program that will
    return an array of extracted data which we want to use in LabView again.
    Thank you
    Carsten

    I recommend having a wrapper created around the matlab dll that converts the datatypes for you. There is a lot of fooling around with pointers involved which is very difficult in LabVIEW. btw, this got much more complicated after Matlab 7. Essentially, you need to convert your inputs into mxArrays, and then add those mxArrays to an mxArray list that you pass by pointer into the matlab dll. You also need to create a mxArray list for the outputs from the dll which you will need to extract your data out of before converting it back into a LabVIEW supported datatype. It's a big hassle. We do this pretty often, but we have created a c library that handles all the conversions, so it is feasible for us. Unfortunately, I can't share the library, but hopefully this information will help you get where you want to be.
    Like I said, it would be easier if you can just get a c developer to write a wrapper for you to keep it simple in LabVIEW. Alternatively, you might try getting your m-code to work in Mathscript.
    Chris

  • How to generate .sqc file in labview

    Hi All,
            I am using LabVIEW for some test and measurement application and in that we are using sequence file (.SQC) for different UUT's(Unit Under Test) models .
    For each model of  UUT separate Sequence file (.sqc) is to be selected in the labview program. 
    When I opened the sequence file(.sqc) in notepad i can see all the test limits and configurations.But when i edited any part of the sequence file in notepad and select that sequence file Labview application is not working .
    So  I am having following questions?
    What is a .Sqc file?
    How to generate this .Sqc file?
    Is it possible to edit a sequence file?

    Please find the attached .sqc file .You can open it in notepad. The file extension is not .seq but it is .sqc. 
    What I understood is source code is taking configuration details from this file .sqc. So for different UUT's different .sqc files are there.
    Please have a look at this attachment.
    Attachments:
    _VERIFICATION_xxxxxxxxxx.sqc ‏47 KB

  • How can a BILBO can be used as a pseudo-ran​dom pattern generator.​(using labview)

    how can a BILBO can be used as a pseudo-random pattern generator.(using labview) Can someone please give me an insight on how to do this asap, i would be exteremely grateful-thanks.

    Dear Deano,
    I am unfamiliar with the use of BILBO cells, but am willing to help as much as I possibly can. I managed to find a rather helpful website, which described the 4 functions a BILBO register is capable of – including pseudo-random pattern generation. A very versatile little circuit, I must say.
    Perhaps you could take a look at the website yourself, and confirm that this is the functionality you are interested in...
    http://tams-www.informatik.uni-hamburg.de/applets/​hades/webdemos/35-selftest/60-bilbo/bilbo4.html
    Could I also ask you to provide some more information about what you are trying to achieve. Generally, the more information you are able to provide on these forums, the more users will be willing to help.
    So my question to you is... are you trying to mimic a BILBO's functionality (using LabView) or talk to a piece of BILBO hardware (using Labview)? If the later is the case, could you let us know how you trying to communicate with the device.
    However, if the former is the case, and you are purely interested in random sequence generation, perhaps you should consider some of the LabView functions. They may be able to provide a more efficient means of producing random patterns. Obviously, the “random number function” springs to mind. You could easily use this in conjunction with a “less than” function to produce a random digital bit.
    Please also provide the version of LabView and Measurement & Automation Explorer you are using.
    Thanks you for your time,
    Best wishes and kind regards,
    Message Edited by RER on 04-07-2008 06:06 AM
    Rich R
    Applications Engineer
    National Instruments UK & Ireland

  • How can I print a LabView report using the printer font (not a windows font)?

    My printer is connected via a com interface. For speed reason I have to use the font of the printer. I use the report generation VIs to generate my report. With the VI "Set Report Font.vi" its possible to choose a font but I think only windows fonts are accepted.
    Printing from "WordPad" using printer fonts is no problem, just select font "15 CPI" for example. But how does it work with LabView?

    Have you already tried this in LabVIEW? What results did you receive when you tried it?
    J.R. Allen

  • How to generate very fast pulses (single puls)

    Hi,
    I have a problem with generating fast pulses in LabView (2009 / 9.0, Win7-64enterprise).
    I try to explain my project:
    I have a femtosecond laser which sends pulses with a frequency of 200kHz. It mean 100fs puls 4.9999us low...100fs pulse.....
    The laser have a gate which switches the laser output on and off (optic crystal --> very fast)
    My task is to make it possible to send one single pulse out of the laser. You should have some user interface with LabView and enter
    the amount of pulses (one, two... or more) and a big "fire" button.So we can make tests with a fixed amount of pulses.
    I am very new to LabView and really dont know how to generate very short pulses. I try with a NI-USB6008 card and was possible to do some time loops
    to generate something close to 100Hz. Now I have NI PCIx-6351 card. and want to try to generate pulses of 1us. How to do??? I dont see any posibility to go below 1ms.
    Later on I want to try some syncronisation with the laser. I want to catch one pulse and sync to the next pulse.
    Anyone able to help me with this task ?
    btw: sorry for my clamsy english...
    bjoern

    bjoern,
    OK.  A gate window should be something which can be accomplished.
    The USB-6008 only uses software timing so fast pulses are not possible with that device.
    I am not familiar with the PCIx-6351 and can find no reference to it on the NI website so I do not know what its capabilities are.  Many of the NI cards with digital I/O and counters can generate pulses or pulse trains in the timing range you want.  If you have the NI DAQ drivers, look for examples of pulse generation.
    Lynn

  • How to generate PN sequence?

    Thank you in advance.
    Now I'm converting Matlab codes into a LabVIEW code. While doing it, I don't know how to generate a PN sequence that I generated on Matlab using 'commsrc.pn' or 'seqgen.pn' function. I searched some threads, and found out that the Binary MLS VI can generate it, but I'm not sure it will generate the same sequence or not. Can anyone help me with this?

    Does the PN sequence need to follow a particular distribution or constrain?  
    Kudos and Accepted as Solution are welcome!

  • 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

  • How to Generate a ReportError Event

    I'm sure I'm just missing something here.  Our LabVIEW GUI has a registered event Callback for ReportError.  In TestStand I handle errors with SequenceFilePostStepRuntimeError and ProcessModelPostStepRuntimeError callbacks.  I used the error handling example and modified to basically just show a popup with the error message.  My problem is how to generate the ReportError event so our GUI can take the appropriate action.
    I don't see it listed under the given UIMessage event codes.  I can't find it anywhere.  So the questions is where do I generate the ReportError event within TestStand?
    Thanks.

    Hi Sir Mutt,
    If my understanding is correct, you are using LabVIEW as your operator interface to start the Teststand Application and you want to do Teststand Error Handling in LabVIEW. The most common way that this is achieved is through ActiveX Invoke and Property nodes as well as ReportError events. I have attached two screenshot examples of this. Does this sufficiently address your question or did I misinterpret your question?
    Regards,
    Jackie
    DAQ Product Marketing Engineer
    National Instruments
    Attachments:
    ReportError Callback.png ‏8 KB
    Teststand Error Handling.png ‏20 KB

  • Need Help on How to Generate Pulse Width Modulation signals

    Hi,
    I am New in using NI board and programming using LabView. I have no idea on how to start to generate, use what function in order to create a PWM signals.
    My project needs:
    -PWM signals with 15kHz frequency.
    -Duty cycle varrying from 0%, 25%, 50%, 75%, 100%.
    -By using the generated PWM signals to control the half-bridge (MOSFETs) of boost converter and buck converter to varying the voltage of 24V battery to feed in my DC motor.
    The NI board that I use is (NI - sbRIO-9642).
    Can I have a clear view on what to use, how to generate, and by using what functions to generate the PWM signals.
    Sorry for the inconvienient, but I really desperate for help in this. Thanks a lot. I am appreaciate it.
    The attached is the circuit the half-bridge motor controller that I will used.
    Attachments:
    half bridge.jpg ‏13 KB

    Hi Ronald,
    in this thread a very similar question came up. You can use the same approach on your sbRIO.
    For the frequency you gave you should use the FPGA present on the sbRIO - as is shown/discussed in that other thread! I also suggest that other thread because of the "deadtime" feature used to prevent shortcut problems when switching your MOSFETS simultanuously...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • Error while connecting to SAP Server from Windows XP Client.

    Hi, I am facing the problem while i am trying to connect my Windows XP Clients( With Service Pack 3, DI-API Installed and Microsoft SQL Server Native Client Installed) to SAP server i got follwoing Error. Connection Failed : SQL State : '08001' SQL S

  • 8 GB Nano vs 30 GB Video Ipod

    These are the same price. I'm trying to decide which to purchase. Are their any reasons other than size that I would choose the Nano over the Video Ipod with lots of storage?   Windows XP  

  • Download Acrobat 9 Standard. Have License Key but no disk?

    I have lost the installation disk for Acrobat 9 Standard. I gave the details of purchase to Adobe Chat and they have supplied me with the License Key. I was advised to go to Forums for further information about how to proceed. Can anyone help to dire

  • Scroll wheel/ball sizes dust spotter clone/heal tool

    Hadn't seen this mentioned anywhere, nor in documentation... Today I accidentally discovered that the scroll wheel/ball on the new Apple mouse will increase/decrease the size of the heal/clone brush tool. Now you don't have to constantly tap the [ ]

  • Price check during subsequent debit & credit

    Hi experts, My client wants a scenario which is enumerated below. The client requirement is to have a tolerance level check during miro as well as subsequent debit & credit. For the miro i have taken tolerance key PP: price variance with  error messa