How can i generate variable pulse waveform using PWM outputs of 7344.

Hi
I want to generate a pulse waveform using the pwm outputs of 7344. How can i very the frequency of the PWM programatically.

If you are programming in LabVIEW, you can use the Configure PWM Output VI to set up the frequency of the pulse train. If you are in any other language, you can use the NI-Motion API and call the flex_configure_pwm_output function to achieve the same result. Please refer to the NI-Motion C reference help that gets installed with the NI-Motion 6.0 driver or follow this link:
http://digital.ni.com/manuals.nsf/websearch/92003B​670CC3CB3F862567C800755B95?OpenDocument&node=13209​0_US
for more information on this function.

Similar Messages

  • How can we generate a pulse train with variable inster pulse delays?

    I want to generate a pulse train with random inter pulse delays (100us-10000us) and the pulse width would be 50-100us. I programmed for single pulse generation using counter cfg,a for loop contaning set attribute parameters pulse spec 1 and pulse spec 2. I changed the pulse spec 1 value in every cycle
    This program is generating the pulses but not the exact values in the sense the some times the delays are more than 10 msec. As per the program the delay should be maximum 10 msec. please help me ASAP.
    thanks
    thota

    Hey Thota,
    I would suggest to take a look at the example program linked below. It shows how to change pulse specs on the fly. You have to be make sure you are ignoring a certain error when doing this.
    Pulse Train Generation with Changing Pulse Specs (PWM)
    http://sine.ni.com/apps/we/niepd_web_display.displ​ay_epd4?p_guid=B45EACE3E21756A4E034080020E74861&p_​node=DZ52328&p_source=External
    I hope this helps.
    Regards,
    Todd D.
    NI Applications Engineer

  • How Can I generate 2 different WaveForm in the same time

    Hello,
    I use a NI 6733 card and measurement studio 8 with MFC class.
    I would like to generate 2 different waveform in the same time on 2 diffrent analog output channel.
    I would like to know how can i do that bescause I succeed to generate one wafeform on one channel but not the second.
    I would like to create 2 task one per analog output channel and waveform and launch the task in the same time.
    I use the buffer FIFO and I think I have a probleme to share the buffer between the to different channel.
    thank you for your attention.

    Hello,
    This corresponds of the third case detailed in this KnowledgeBase. You have to use one task with two channel, and feed it with your two independant waveforms (at the same sampling rate).
    Cordially,
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • How can I generate a staircase waveform in Labview

    Hello,
    How can a staircase waveform be created in Labview. I have attached the waveform needed.
    Ams
    Attachments:
    staircase.xls ‏16 KB

    A waveform typically has a constant time increment between points. Your xls example has two y values for each even timepoint so to reproduce your example directly would be a bit tricky. Attached is one possible very simple solution that has a constant dt.
    Modify as needed.
    Message Edited by altenbach on 12-17-2006 10:36 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    staircaseII.png ‏18 KB
    staircaseII.vi ‏14 KB

  • How can I generate/copy to high-res rasterized output?

    Okay, I admit, I'm very new to vectoring, but I'm running into an annoying rasterization problem with Adobe Illustrator CS3.
    Ok, so I have a vectored image. It's low-res (72 DPS), because it's basically just lines. The preview window in Illustrator shows beautiful, totally smooth lines: picture-perfect. I "Select All", copy it into Photoshop (as pixels), and lo and behold, the image looks totally crappy! All jagged edges, no anti-aliasing, etc. So I figured I just make the image a bit larger, set the document raster size to 300dpi, and saved the new .ai file. To no avail, either. Even transformed it to higher res. Didn't solve it either.
    At long last I resolved to just taking a bloody screengrab from the preview window, thinking that would at least give me a clear shot. Alas, I thought wrong. Illustrator still passes a crappy image to Photoshop! (Or rather, what you get in PtrScrn is apparently still vectorized data that Photoshop continues to show horridly). So, now I'm faced with an Illustrator preview window that can show the vectored image better than anything else, but with no way to export it in that quality to a rasterized image! Very frustrating.
    I hope someone knows how to solve this. Thanks.
    P.S. I wish I could show you, but I can't make the screengrabs!
    P.P.S. I'm talking about "Overprint preview" above. "Pixel preview" also looks crappy in AI. So, the question then becomes, how can I output my stuff in "Overprint preview" quality?

    Please do not pay attention to the rude and sarcastic Doug Katz
    No, please do.
    Threads like this are quickly becoming the most common type in this forum: Someone who has obviously spent zero time looking at the documentation, just launches a program which they admit they know nothing about, and then come here asking for help using ambiguous gibberish that makes absolutely no sense in the context of the program. Then they try to "cover up" their sloth with "cute" or "hip" colloquialism.
    Doug's sarcasm is dead on-point, and is a very clear and succinct way to drive home what I just said above (which you will no doubt consider "rude," regardless of the fact that it is just a simple and direct statement of the truth).
    The thread then proceeds to become a lengthy series of blind-leading-the-blind posts, with everyone making mere guesses as to what the thread originator is actually doing. To wit:
    It is not necessary to use the Smart Objects option to obtain smooth rasterization of something copied from Illustrator and pasted into Photoshop. That is not the purpose of Smart Objects. (See the documentation.)
    It sounds like Iwakura-san is merely pasting something into Photoshop, seeing the initial unaliased display inside the transform box, and assuming that something is wrong. When you paste vector artwork from Illustrator into Photoshop, you get the Paste As dialog. You can then select Pixels, instructing Photoshop to rasterize the vector artwork (Photoshop is doing this rasterization, Iwakura-san, not Illustrator) to the resolution of the current document after you have positioned and scaled it as desired. As long as the artwork is shown in its transform box, you can scale it and position it because it's still on the clipboard as vector artwork and only a low-res preview of it is being displayed, to facilitate your positioning it. When you have it positioned and scaled as desired, doubleClick inside it, and it will then rasterize to the Photoshop document's resolution and antialias.
    But again...that's all just more guessing at the meaning of a very poorly described question.
    JET

  • How can I generate variable frequency in different time with NI USB 6229?!

    Hello,
      I have NI USB 6229, and I want to have VI which;
      in this VI I have to firstly generate a initial frequency togive it to a circuit, after that according to the results that I am reading from circuit I have to make some delay in the same frequency  which I generated before and again give it to circuit to see the results again.actually in other word it is some kind of feedback process.
    I would be thankful if some one can help me to how to make this VI because still I do not have any idea to program it.
    Sorry if I could not explain well because I am as beginner .
    thanks

    Hi worldviol
    I think a great place to start would be for you to have a look at the examples included in LabVIEW (help >> Find Examples..)
    Have a look under 'Hardware Input and Output' > 'DAQmx' and then 'Analog Input' and 'Analog Output' you will also probably find 'Synchronization' useful.
    The next stage would be to pick the most appropriate design pattern, you should read the white-paper here on design patterns.
    I think the producer consumer design pattern would be useful here as you would be reading and writing to the device at different rates.
    Kind Regards
    Chris | Applications Engineer NIUK

  • How can I generate a component array using JBuilder?

    Now I'm using JBuilder to design my program's GUI. I wanted a JTextField array like this:nums[0]~nums[2].So I draged three JTextFields into the container at JBuilder's design view. But when I set the names of them as nums[x](x=0,1,2). I got a Error Message. It told me that I used a illegal name. How should I do, please?
    thank you a million!

    The DIO ports on a MIO will not satisfy your needs (unless you move to LV RT).
    They do not support buffered outputs.
    Your update rate (how often you can set the port and clear it) is going to be limited by how fast (a-hem slow) windows will let you iterate,
    and,
    be non-determinstic.
    You could use,
    1) LV RT with the existing board, or
    2) FieldPoint PWM module, or
    3) Arbitrary waveform generators, or
    4) HS DIO board, or
    5) use the analog output of your baord where you que-up a 0 -5V waveform of the proper shape (i.e. make sure that the duty cylce fraction of the update values are high, the rest low).
    This is just to get a PWM signal out.
    Now there is another issue. Determinism. How often do you plan on reading your inputs and making a change to you
    r PWM? If you plan on doing more often that 10/second, write your code to handle windows going out to la-la land when you expect it to be working.
    Can you tell I like LV-RT.
    I hope my ramblings have helped.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I generate printer spreads when using an Indesign Book?

    Our design team utilizes the Indesign Book feature to tackle magazine design. This convenient feature has become part of our workflow for both print and dps versions of the content since we do not work in the same locations yet share design responsibility. We're able to see when someone else is working in a "chapter" and keep our overall content synced.
    Is there a way from the Indesign Book palette to generate a pdf that is in printer's spreads? The export options included within the Book Palette appear geared to reader spreads only. It seems the only automated option is to work from 1 large Indesign file and use the File > Print Booklet option. Is there a better solution that is geared more toward the Indesign Book user that offers the same outcome without a lot of manual work?

    I usually (when needed as sometimes is) export the entire book to a PDF using the pdf settings- bleeds etc. but I don't include inside bleeds.
    I then create a new document the original size - and use the MultiPage importer script http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-i ndd-files.php
    You can then offset the PDF to the bleed using a negative value in the placement options (it's tricky to get the hang of this so try a few pages first)
    Then I can use File>Print Booklet and Choose PDF.
    It's a hack and a half but it can work - but I'd never send this particular file to a printers to be printed.
    As always - be careful.

  • How can we generate our FTP license using TrueLicense software ?

    Hi friends,
    I am Jaymin Shah from India.
    Currently I am developing an J2EE application for office use. Now I want to commercialize that application.
    So, I look around the web and found TrueLicense as a good Licensing software available for Java.. It is in Java so its a free source.
    I am OK with generating regular license using privateKeyStore and publicKeyStore. and can validate my application using that.
    But, when I try to built a FTP(Free Trial Period) license with it, it is not helping me. I want to give 15 days free trial to customers when delivered CD to them. And after that I want to deliver regular license to them for use the application.
    Can anybody help me in setting the FTP in license in my application ?
    Thanks in advance.

    Jaymin wrote:
    Thanks JoachimSauer for ur reply.You're welcome, but please avoid this kind of SMS-appreviations ("ur" instead of "your"), they make you look as if you don't care and therefore result in less useful replies.
    First thing is - I am new to this forum (infact for any forum.) so by mistake i post it in this section. But i cant find any section for that. Thats why i put it in a simple New to java section.I didn't mean to post it to another section of this forum, but to another forum and/or mailing list altogether. This forum is not for support on third-party libraries, but for core Java questions.
    Second. - team is working on that TrueLicense project. But there is less help available on web for that TrueLicense.The [TrueLicense homepage|https://truelicense.dev.java.net/] has a link to some [mailing lists|https://truelicense.dev.java.net/servlets/ProjectMailingListList]. That's probably the correct place to ask your questions.
    Third - TrueLicense Library Collection (TLC) is totally free source.It is open source and free software ("free source" is not a commonly used term). But the fact has nothing to do with it being written in Java. I just told you that Java software doesn't necessarily need to be free software.
    So, please read about FTP in that and give me reply regarding that.No way! You want us to learn about TrueLicense just to help you? That's unlikely. Go somewhere where people already know that software and ask your questions there!

  • How can I generate SSL Keys from a Oracle 9iAS server version 1.0.2.2.0

    How can I generate SSL Keys for use on Oracle 9iAS server
    version 1.0.2.2.0. I have tried using the open_ssl method but
    was unsuccessful.

    <?xml version="1.0" encoding="UTF-8" ?>
    <nodes>
    <node>
    <category_id>3</category_id>
    <parent_id>2</parent_id>
    <name>Mobile</name>
    <is_active>1</is_active>
    <position>1</position>
    <level>2</level>
    <children>
    <node name="Nokia" category_id="6" parent_id="3" is_active="1" position="1" level="3">
    <node name="Nokia N79" category_id="7" parent_id="3" is_active="1" position="2" level="3" />
    <node name="Nokia N95" category_id="7" parent_id="3" is_active="1" position="2" level="3" />
    <node name="Nokia N97" category_id="7" parent_id="3" is_active="1" position="2" level="3" />
    </node>
    <node name="Samsung" category_id="7" parent_id="3" is_active="1" position="2" level="3">
    </node>
    </children>
    </node>
    <node>
    <category_id>4</category_id>
    <parent_id>2</parent_id>
    <name>Laptop</name>
    <is_active>1</is_active>
    <position>2</position>
    <level>2</level>
    <children></children>
    </node>
    <node>
    <category_id>5</category_id>
    <parent_id>2</parent_id>
    <name>Monitor</name>
    <is_active>1</is_active>
    <position>3</position>
    <level>2</level>
    <children></children>
    </node>
    <node>
    <category_id>8</category_id>
    <parent_id>2</parent_id>
    <name>Camera</name>
    <is_active>1</is_active>
    <position>4</position>
    <level>2</level>
    <children></children>
    </node>
    </nodes>
    Is this correct format to create dynamic menu?

  • How do I generate the pdf file using the name of a field.  How can I help

    how do I generate the pdf file using the name of a field.  How can I help

    Hi,
    here's a sample.
    LiveCycle Blog: Formulare in bestimmte Verzeichnisse speichern und nach Inhalt aus Formularfeld benennen //Save forms to…

  • I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel?

    I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel? In attach I send a example of my vi to control one chanel, but i need to control both but with diferent waveforms.
    Is the vi correctly programed to this propose?

    Yes you should be able to do that. look at the signal generation examples shipped with LabView
    You can create a 2 D array, with each row representing a wave form per channel. The number of points of the wave form (per row of the 2 D array) represent the number of points in the output buffer
    The wave forms can have different amplitudes/shapes, and therefore they are independent in this sense.
    However, you need to set the update rate,which is the same for both channels. The update rate together with number of points per buffer determines the frequency of the wave forms. This means the two wave forms will have the same frequency.
    To have different frequencies, you need to have say, on wave form with one cycle per buffer, and the other waveform have 2 cycles
    per buffer. in a case like that the frequency of the second channels is twice that of the first channel, and so on
    The two wave forms are then not truly independent, they may have different amplitudtes/shapes, but related in frequency.

  • Hello.  I have an old G4 Tower at 10.4.11.  The password for Keychain has been lost.  How can I generate a new password for Keychain?  Every time I use Safari it want me to enter the password.  Any suggestions?  Thank you

    Hello.  I have an old G4 Tower at 10.4.11.  The password for Keychain has been lost.  How can I generate a new password for Keychain?  Every time I use Safari it wants me to enter the keychain password.  Any suggestions?  Thank you

    See if this helps...
    Open Keychain Access in Utilities, use Keychain First Aid under the Keychain Menu item, then either check the Password under that item, change it, or delete it and start over.
    Keychain Access asks for keychain "login" after changing login password...
    http://support.apple.com/kb/HT1631
    Resetting your keychain in Mac OS X...
    If Keychain First Aid finds an issue that it cannot repair, or if you do not know your keychain password, you may need to reset your keychain.
    http://support.apple.com/kb/TS1544

  • Can I Control the Pulse offset using the Counter Out?

    Hello Everyone.
    I am trying to generate the Pulse as below;
    I have seen and understood an example to generate a pulse waveform "GenDigPulseTrain_Continuous".
    However, I can not control the offset of the pulse train.
    Although the function gives me "initial delay(The amount of time in seconds to wait before generating the first pulse)",
    I can not shift "t_dead" cycle.
    /*01.Frequency Control*/
     // The units to use to define pulse frequency.
      m_pTaskWrite->COChannels.CreatePulseChannelFrequ​ency(vecstrings[0]/*LPCTSTR counter*/,
       "PWM_C0_CH_HIGH"/*LPCTSTR nameToAssignChannel*/,
       DAQmxCOPulseFrequencyUnitsHertz,
       DAQmxCOPulseIdleStateHigh,
       dDeadTime, 
       m_nFncFrequency/*frequency*/,
       prDuty.second/*dutyCycle*/);
      // The units to use to define pulse frequency.
       m_pTaskWrite->COChannels.CreatePulseChannelFreque​ncy(vecstrings[1]/*LPCTSTR counter*/,
        "PWM_C0_CH_LOW"/*LPCTSTR nameToAssignChannel*/,
        DAQmxCOPulseFrequencyUnitsHertz,
        DAQmxCOPulseIdleStateLow,
        dDeadTime/**2 + (prDuty.second *dCycleTime)*/, 
        m_nFncFrequency/*frequency*/,
        prDuty.second/*dutyCycle*/);
    Please let me know how I solve this problem.
    Thank you

    Dear Zl,
    Counting pulses is much easier with the FP-QUAD-510 or FP-CTR-500, but can be done with the FP-AI-110.  You can't directly count the pulses with a FP-AI-110, but you can do it in software. Bring in the data by doing a normal read. Then, using shift registers, if the previous voltage is less than .8V (low) and the current voltage is more than 2.5 (high), increase the pulse count. I have attached a program that shows what to do with the data once you bring it in. I took the data from an array outside the while loop, but your data will be brought in one point at a time inside the while loop. One thing to take note of, since Fieldpoint brings in data at 1 kS/s, this will only work with pulses slower than 500 Hz. The farther the duty cycle is away from 50% duty cycle, the slower the signal must be in order to catch the pulses correctly. Please let me know if you have any questions. Have a great day!
    Sincerely,
    Marni
    PS- Please only post question once.
    Attachments:
    pulsecount.vi ‏22 KB

  • How do I generate a pulse with a user specified puse duration, down time and repitition, and then out put to a graph?

    How do I generate a pulse with a user specified puse duration, down time and repitition, and then out put to a graph and then to daq ports? 
    I used lab view in engineering class, but that was the extent of my usage and after fiddling around in lab view and looking on the web looking for solution, I could not produce desired results.  My professor wants me to produce something that will output a pulse for a specified duration, then downtime for another specified duration and then repeat the process a specified amount of times.  
    I am using labview version 7.1
    Thanks in advance.

    Hello,
    Are you using hardware (DAQ card) to generate this pulse or are you planning on doing this all in software.  If you have a DAQ card in LabVIEW you can go to Help » Find Examples and then select Hardware Input and Output » DAQmx » Generating Digital Pulses » Gen Dig Pulse Train-Finite.vi.  This will use a counter from your DAQ card to generate a finite number of pulses at a specified frequency and duty cycle.  Give this a try, or let me know if you are not using hardware, and we can figure something else out.
    Regards,

Maybe you are looking for

  • I have forgotten my password and want to sync my iPad to a different computer so I can reset the password

    How do I reset my password when I have to sync to a different computer?

  • Checksum error for Hidden and Protected item

    I have a region with 3 items - a Text field, a Text area and a Hidden and Protected item. When clicking on the save button the record should be written to the table. However I get the following error: ++Checksum error for Hidden and Protected item ID

  • Inspection lot without batch no.

    Hi For 03 inspection type, inspection lot is creating without batch number, while doing UD it is asking for batch number. Client will give the batch number only at GR. Im unable to clear the lot. Please advise, how to create a inspection lot without

  • Add photo to Speed Dial

    Hello, I have had my Z10 4 days and this forum has been invaluable.  I am becoming very comfortable with things.  I have have added my speed dial contacts but do not seem to be able to save the avitar.  When I go to the contacts page, click on avitar

  • How can i get oldest Date in BI Publisher

    I'm designing report template for Siebel 8.1.1 and i'm using Oracle BI Publisher Desktop for word 10.1.4.3, in the XML file i have a date element, my question is how can i calculate the oldest date from this XML ? is there any (minimum) function or e