How to simulate pwm wave using labview

has anyone have a built vi for pulse width modulation(PWM),or give me pointer in building its simulation

Hi,
If you just want to generate a PWM signal you can use a square waveform VI as shown in attachment. You can insert it directly in your code or create a subVI as you need.
Message Edité par BenjaminR le 03-06-2008 04:23 AM
Benjamin R.
R&D Software Development Manager
http://www.fluigent.com/
Attachments:
PWM generation.jpg ‏28 KB

Similar Messages

  • How to simulate an lcd using labview

    hi
    i need to simulate a graphical lcd in pc using labview?(7.1).
    i have posted this earlier and got replies.but i  wish to know how to create the lcd screen?
    i think i can make use of booleans.but i need the  exact details for creating the graphical screen.
    and on how to make each pixel glow(i.e., ON and OFF)
    can anyone help me out in this issue..
    regards
    mahi

    Hello Mahi,
    I just jumped into this thread and remembered, that a few years ago I had a project to generate c-sources (actually header files to be included into c sources) to show custom made characters on an lcd display. As a side effect it creates what you need, a 3D- boolean array, where every 2D- portion holds a character.
    With this program you can define the size of the character and alter it the way you need it. You can import a bmp- file with characters you need (e.g from a screen copy, must be a 1-bit bmp, black&white) and copy little frames from it to make work easier. If you click in the menu at "Fonts->Save Bool Spreadsheet" a text-file will be created which is in spreadsheet-style, where every cell (if you open it in Excel) consists of 0 and 1 according to the character. If you scroll down the front panel, you will find the 3D- Bool array which represents this data.
    Just try it, the top-VI is "Fonts V2.vi", it should run properly. I put some screen-copy-bmp file and *.h- files into the zip to make the test easier for you.
    I hope this helps,
    Dave
    Greets, Dave
    Attachments:
    Fonts.zip ‏998 KB

  • Generating a PWM wave using 9263 module.

    Hi,
    I was just trying to generate a SIne-Triangle PWM wave using the 9263 module. But i am still not able to obtain any output from the DAQ port Ao0 . Is it something to do with my configuration using DAQmx. I am attaching my sample program. I am able to generate the PWM but not able to take it out. 
    Expecting a reply soon and thanks in advance.
    Attachments:
    pwmtest.vi ‏27 KB

    Hi PankajllSc,
    From the code you have attached, Daqmx create channel is now set to "analog input". In order to generate the output, you will need to change the setting to analog output.
    Another suggestion would be move the VI outside the while loop as the channel only need to be created once.
    You can also study on how to use DAQmx by browse through the example provided by NI. The example located as follow,
    Help -> Find Examples... -> Hardware Input and Output -> Daqmx -> Analog output
    Hope this help
    Best regards,
    Tui

  • How to make load simulator using labview 2010

    i want to ask how to make load simulator using labview? 
    Solved!
    Go to Solution.

    what have you tried so far? and exactly what is it your tying to do?
    Please remember to accept any solutions and give kudos, Thanks
    LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7

  • How to make PWM signals In Labview 7.1

    How to make PWM signals In Labview 7.1, Could someone give me .vi for examples. Thank you.

    There is a shipping example that shows PWM if you have installed
    NI-DAQmx.  You can open the example through Help >> Find
    Examples >> Hardware Input and Output >> DAQmx >>
    Control >> General PWM-Counter Output VI.
    Good luck!
    Micaela N
    National Instruments

  • How to make RC circuit using labview

    Hi,
    how to make RC circuit using labview... Thx

    Your question seems awfully similar to this thread. Is this a school assignment?
    Jeff
    Using Labview 7 Express

  • How to generate pwm pulse using NI DAQ in MATLAB

    hi everyone. please tell me how to generate pwm pulses using Ni DAQ card in MATLAB Simulink. if through coding is possible then post the corresponding code.....reply me 

    Make sure you have installed the Measurement studio support for VB 6.0 then you will be able to find examples in the folder below on win7 and 8.
    C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples
    Narrow down to Analog Output and choose update voltage example for measurement studio.
    You also have the possibility to use DAQ assistant if you have measurement studio installed. This function is a configuration type programming. After going through the configuration Wizard code is automatically scripted for you so that you can output the voltage you need. Read more about DAQ assistant in the blow link.
    http://www.ni.com/white-paper/4652/en/
    Best Regards
    Jonas Mäki
    Applications Engineering
    National Instruments

  • How to implement wafer mapping using LabVIEW?

    Hello LabVIEW Masters!
    I am having an incoming project which includes controlling and gathering information from a PROBER. One of the difficulties I am having now is how to implement a WAFER MAP using LabVIEW. According to my customer requirements, the wafer element ranges from 6k to 23k. I guess doing all the element (one die = one led ctl/indicator) will be a hell of a task, especially on how to effectively manipulate each elements. Does anyone have better idea on how to this?
    Please, I badly need your help.. 
    Thanks and Regards,
    Dennis DG
    Solved!
    Go to Solution.

    Hi Dennis,
    Is it okay if you send to me the working VI also?
    No, it's not ok. I made that program for my customer...
    As I am not too familiar in using intensity graph.
    That's no reason to hand over programs for free...
    My customer also request me that if the cursor hover on the wafer map, he wants the x,y corrdinates to be displayed.
    I also have such a feature. Did you notice the little yellow cursor near the center of the wafer? One could easily change that to use a MouseMove event instead...
    He also wants to select some elements in the wafer map and come up with the coordinate values to do some testing.
    That's related to the cursor thing...
    Some points:
    - You have a customer that pays you. Why should I offer work for free?
    - You can send me contact dates of your customer, I will make him an offer...
    - When you take an job to provide software you should be able to code the software...
    - The VI(s) are now some years old. I didn't code so well back those days and don't want to hand out those VIs as they are right now.
    - I included some "license management" deep inside that program, I would have to remove this and spend time on testing afterwards...
    - The VIs are based on the PROBER output format used by the customer. All the file handling has to be changed for/by you...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to create a database using LabView?

    Hy
    I have to do a project in which i have to create a database with the situation of the students (name,age...) using ONLY LabView.I need to enter tha students using labview, to save the database using labview.... I have to figure it out how to do this, but .... no idea. Also i have to make a search in that database. If you can help me, i apreciate that or if you know a link on the web about something like this
    Thanks,
    Lorant

    Labview configuration files are very easy to use and can hold any type of information you wish.  There are functions in the File palette ready to use for configuration files.  A configuration file is similar to a registry entry.  You can have sections and keys.  So you can create a section called "Data1" and keys called "Name", "Age", etc.  Create the same for a new section called "Data2", and so on.  The functions are useful for writing the config file and reading from the file.  To read a certain piece of data, just supply the section name and the key name.  So you could ask for section "Data20", key "Name", and you would get the 20th name in the database (config file).  This way you don't have to write code to search the database for certain items, the functions do it for you and they are already written.  Look into config files.  They are very easy to use, very useful, and very underused even by the most experienced LV programmer.
    - tbob
    Inventor of the WORM Global

  • How to access parallel ports using LabVIEW?

    I want to send data to a device which is connected through LPT1.when Iam using serial port write.vi with port number 10(for LPT1) it is giving an error code 37 which means the device not found. whether those vis are only for accessing serial ports? Then how to access LPT1 using LabVIEW?

    Most likely you need to modify your labview ini file to let it know that LPT1 (or whichever) will be controled through the serial port control. See the following link for a knowledgebase answer to this question:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/a5abd9d76665217b86256333005ac9a5?OpenDocument
    Jared

  • How to build anintractive questionare using labview

    Hi everybody,
     I am working on Curriculum Developement where I would like to come up with an automated LabView questionare as an alternative solution to existing paper-based questionaires. I'm interested in using labview but I have no idea how to begin. could someone please help me out.
       I really,Really need this help.

    Thank you so much Adnan,I know I may sound stupid asking these questions but its because I need help and would really love to use labVIEW and understand it even better (am not big in programming much less using text based languages,but I love labVIEW and would want to explore it even further! thats why I opted to use Labview in building this interactive and automated questionare).
    This questionare should capture almost all the information that is required,thus it will include both detailed and one word answers. check boxes and radio buttons if possible. as you have pointed out,the questions should be put in a database and the corresponding answers also to be captured in a database for later analysis.
    My labVIEW knowledge is not wide but am going through some materials at the moment plus your support and I hope to accomplish this within the shortest time possible.
    regards

  • How to view mdsplus data using labview

     I posted this question in the Labview board, but seems nobody replies it so far. I am not sure which board is the best place to post this question. So I just reposted here.  Thanks a lot.
    I am a newbie to Labview. I am trying to write some vi to view and write data to Mdsplus.  I have downloaded Mdsplus(labview), and can find the Mdsplus functions, like mdsconnect, mdsput, ect, in the Call Library Function vi. But I have no ideal of how to use it. I tried to use Mdsconnect function to connect to some machine, but it always gives me an error message like, Labview: An exception occurred within the external code called by a call library function node.......  I was searching for help documents on the internet, but couldn't find anything useful. Could you please help me for this problem?  If you have any example of such vi, or teach me how to do it, that would be very helpful. I am using Labview 8 (windows). I would greatly appreciate your help!  Looking forward for your reply.
    Solved!
    Go to Solution.

    oops,
    I didn't attach these correctly in the previous post.
    Greg
    Attachments:
    Example_Read_Write_MDS_Array.vi ‏25 KB
    Open_MDS_Shot2.vi ‏45 KB

  • How to run stepping motor using LabVIEW

    Hi
    I need to run bipolar stepping motor using LabVIEW 6.1. Would anyone please guide me how to do that.
    I have measurement and automation 3.1.0.3021 installed on my system. I am new to LabVIEW.
    Jayaprakash.

    Hi,
    Do a search for the words "stepper motor" in the forums. This should bring up several threads where this has been discussed.
    -Sal

  • How to control TTL device using LabVIEW?

    I have a device which requires TTL (+5V) to control it to be on/off. How can I provide this TTL to it using LabVIEW? I guess I should install a PCI board in my computer to connect to this device, but how to do my LabVIEW coding to control it?

    Hi,
    First of all if your board is NI board after corect instalation you need to view this board in the section Devices & Interfaces from the NI program Measurement & Automation Explorer.
    Also if the board is NI board or has the divers for LABView you need to find in the LabView the functions to command your board.
    Other posibility is if your board is no't compatibile wi NI, in this case you need to extract from DLL, the function to command the board.
    By

  • How to open an app using LabVIEW PDA Module 7.1

    Hi,
    i´m developing an app using LabVIEW PDA Module 7.1 that needs to open a
    standard application (in particular, the default camera application) on
    my PDA (Qtek 2020 with Pocket PC 2003). Can anyone tell me how to do it?
    Thanks,
    Pedro Sampaio
    Computer and Telecommunications Engineer Student
    ESTG -IPL, Portugal

    Olá,
    Com o project podes fazer builr e deploy, a partiur daí tens a aplicação instalada na PDA.
    Cumprimentos

Maybe you are looking for

  • Problem Creating Recordset in Dreamweaver CS5.5

    Can you help? I am having with recordsets in Dreamweaver CS5.5, or rather the sudden (I don't know why this has suddenly happened) inability to create one.  When I try to create a recordset query I get this error message and am prevented from creatin

  • Can't find a way to delete Templates from the "My Templates" window in Pages.

    How can I delete Templates from the "My Templates" window in Pages?

  • Please help me find a good MP3 tagger for Mac

    I have switched to Mac. I am now organizing my music properly, with Lyrics, Art, genre's, etc. iTunes does a good job at some things for tagging but not others. I used to use some good apps on Win XP but they dont work on Mac. Can someone recommend g

  • Photos not attaching in Eudora

    Mac OS X 10.4.7 Eudora 6.2.3 IPhoto 6.0.4 I am using Eudora for my mail programme. iPhoto 6 has the ability to send photos via e-mail with its programme and attach them automatically to the preferred mail programme. I have sent photos via Eudora befo

  • Change of address, email, phone etc.

    Hi! When I start to type in my address, email, phone etc on a website. It autotypes my old adress. How do I change this? Thanks!