How do i create 6 digital 25Hz PWM output signals with my PCI-6221 card?

Hi!
I´m a student, who´s trynig to control a gasturbine process for my diploma thesis. The control program should be written in LabView 8. I need to control 6 25 Hz PWM signals for the gasvalves. The  needed accuracy of the duty cycle has to be about  0.1 %.
 A  tech. engeneer from  NI  told  us , that  we can  do this by using one single digital output for each PWM.
Now, after a while, i need to implement it into my program. But there are troubles:
My NI-PCI-6221 standard card only has 2 couteroutputs and only the first of the 3 ports seems to be buffered (Error Nr.  201062)...
I tried to do the programming, by manipulating the "DIO_PWM_50Hz.vi" I found in google.
Does anyone of you have any information or helpful examples how i can create these PWM with my card, or did I get a wrong Information by the salesagent (...not the first time....)?
Thanks for your help
Tobi

Here you can find an example, how to do this:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=DE27921DB53A4D8DE034080020E74861&p_...
As the text says, best would be to use the counter. As your Hardware has only 2 Counters, you would need additional hardware. Best would be to use a Counter-Card (660x), thes boards have up to 8 counters, so you coulkd control your 6 gasvalves indipendently.
The soultion with the timed digital outputs of the m-series boards would only work, if you can use the same timing (one counter) for all 6 outputs.
Hope this helps!

Similar Messages

  • How do you create an installer/bundle for PPro with extension, a plugin (export-controller) and some

    Hi
    As my topic says
    How do you create an installer/bundle for PPro with extension, a plugin (export-controller) and some custom presets?
    Assume you have Flash Builder 4.5, CS Extension builder 2.0, Xcode 4.5.1 running under MacOS 10.8.

    I understand why you need updated running headers in your book. To a sighted reader these serve as a guide to where you are and help you find things quickly.  In addition, if you are exporting your data to XML or HTML from the tagged PDF it would also be important to have these in the proper location. 
    But for accessibility purposes, it doesn't have to be there because the screen reader reads everything in linear order, line by line.  No one is looking at the page.  A user listening to the screen reader read the page is going to hear this heading, just before the actual word itself. So they will hear the first word on the page twice.  It's not the end of the world if it's there, but such headings are not necessary for accessibility unless they are not repetitive and contain information that is not otherwise available.
    So I would say, fine if you need them or want them there, it's just one word. 
    I think you should try exporting your book to PDF (or even just a chapter of the book) and look at the tags panel in Acrobat to see if you are getting the result you want.  I can't tell you exactly what you should do to get those results, you are using a plug-in I don't have. 
    I can tell you I didn't have to add the headers to any article at all, they just automatically export if the other articles in the file are added and you don't select the header style option "not for export as XML."
    You may not experience the same results with your plug-in, but I think it will probably work the same way. 
    Give it a try and best of luck.

  • How can I create a full wave rectified signal tia sal22

    How can I create a full wave rectified signal.  I figured out how to create a half wave signal using upper limits and lower limits just having trouble with the next part.
    tia sal22
    Message Edited by sal22 on 08-06-2009 05:49 PM
    Solved!
    Go to Solution.
    Attachments:
    half rectified.png ‏15 KB
    Rectified_waves.png ‏87 KB

    Do you really need to put "tia sal22" in the subject line of everyone of your messages?
    To do a full rectified sine wave, just put an absolute value function on your waveform wire.
    Message Edited by Ravens Fan on 08-07-2009 12:10 AM

  • How do I create a calendar like I did with the Appleworks Assistant?

    How do I create a calendar like I do with the Appleworks Assistant under Starting Points? I don't see any calendar templates in Pages.

    Pages doesn't have any such features. Pages do lack a lot that AW has. Nor can Number do it.
    Go to iworkcommunity.com and search for a calendar template.

  • HT2731 how can i create apple id account if i don't have credit card?

    how can i create apple id account if i don't have credit card of any gift certificates from itunes?

    You already have an Apple ID, or you wouldn't be posting here. I presume you mean an iTunes Store account. If you only want the free apps, take a look here:
    http://support.apple.com/kb/HT2534
    Read the steps carefully as the order in which you follow them is  critical. Note that you can do this only when creating a new Apple ID. You cannot use an existing ID. 
    You will of course not be able to get anything other than the free content without entering in some sort of payment method (credit card, prepaid iTunes card, gift certificate, etc.)
    Regards.

  • How to get counter values from pci 6221 card?

    Hii
     I am using PCI 6221 card .. In that i am using the ctr o .. In my application i am using Linear encoder to measure the Lift movement.. so from software how to access the counter values i.e how much mm it moves... 

    Measure Angular Position.vi in the LabVIEW examples will be a good starting point. Adapt it to Linear Encoder by clicking on the selector below DAQmx Create Channel.vi.
    You can also create a corresponding DAQmx Global Channel (or task) in MAX and then use it in your code.
    Feel free to post back if you need further help.
    Message Edité par JB le 10-31-2008 02:15 PM

  • What is the effect of output signal with the same sampling frequency but different number of samples?

    Hi,
    I'm using PXI4461 for audio measurement and there is a question about analog output. I'm using the Basic Multitone vi for generating multitone signal. The sampling rate is 200k and my question is how to determine the number of samples. I used an audio analyzer to measure the distortion of the output signal with 200k and 1k points and there are no different except the update rate. What number of samples is suitable for 200k sampling rate?
    Thanks,
    Bill

    The Sampling Rate determines the maximum frequency that you can see (the rate/2 according to Nyquist).
    The number of samples divided by the rate determines how long you will sample. This sample time can only be determined by you. Do you need .1 seconds worth of data, or 1 second? But note that the MINIMUM frequency that you can detect is 1/(Sample Time) or the Sampling Rate/Number of Samples. So if your system has a minimum and maximum frequency specification use that as your guild.
    [email protected]

  • How long it takes to repair an Apple iPad with the error "sim card not detected". The ipad is in Apple since 19 January and still has the status "Repair in Progress".

    How long it takes to repair an Apple iPad with the error "sim card not detected". The ipad is in Apple since 19 January and still has the status "Repair in Progress".

    There is no way any fellow user here can know anything specific about your repair status.  You will need to call Apple and ask them yourself.

  • How to calculate the RMS level of a signal with its spectral representation

    hi!
    how to calculate the RMS level of a signal with its spectral representation
    thanks

    1. Find the length, N, of the spectral signal.
    2. Convolve the magnitude of the signal with itself.
    3. Take the Nth element of the resulting signal
    4. Take the square root.
    5. This should be the RMS value of your signal.
    Randall Pursley
    Attachments:
    RMS.bmp ‏616 KB

  • How can I wire two PWM outputs of Accelerometer into PCI-MIO-16E boad with SC-2043-SG?

    I have been using counter/timer pin since the accelerometer (ADXL202AE, Analog Device) provides about 550Hz PWM signal. The purpose of the project is:
    - To acquire PWM signals with Full cycle(ms) and Posity duty cycle(ms) generated in Accelerometer.
    - To convert the cycles into acceleration value.
    By using counte/timer(GPCTR0_Source) and Trigger(Trig1) on SC-2043-SG board, the signal was obtained.
    However, after converting the PWM signal to acceleration value and plotting with labview on-line, the sampling rate was pretty low (26-28samples/sec).
    Then, I began to doubt that there is a wrong wire connection. Even though I am using one counter/timer pin, the sampling rate
    was low. The purpose of using the acceleration was to obtain two output using two counter/timer pins.
    Could anyone help me wire pins and solve the problem?
    GINO.

    Gino,
    You should definitely be getting many more values in your buffer. You should actually be getting 500,000 values every second because a measurement is being taken for every pulse. I found a couple knowledgebases that describe error -10920 and how to remedy it. One is pasted below and the other can be found through the link.
    But I'm not sure if you're going to be able to fix this problem because you're measuring pulses at a very high rate. What is happening is every time a pulse width measurement is taken it is put into an onboard (DAQ board) FIFO buffer that is 9 samples long. The computer then reads these samples out of the FIFO and into an a buffer that you can see in LabVIEW. I think the FIFO is filling up too fast and the computer is not able to read the data out fast enough. Therefore you are losing samples because they are being overwritten. This is all dependent on your system.
    Here are some benchmarks for pulse measurements:
    The following numbers were derived from a Gateway with 128 MB-RAM and an Athlon 700 for ONE counter of the PCI-6602. The number of counters you are using will affect these numbers.
    Finite Buffer
    Buff Period - 7.25 MHz
    Buff Pulse Width - 7.25 MHz
    Buff Semi-Period - 3.35 MHz
    Continuous Buffer
    Buff Period - 250 kHz
    Buff Pulse Width - 250 kHz
    Buff Semi-Period - 140 kHz
    You should still be getting many more samples than 26 though. Try using this example with a very slow frequency pulse to make sure it operates correctly. Then start speeding up the pulse and determine when you get error -10920.
    Here is an internal knowledgebase that may help you:
    Title:
    After Long Periods of Acquisition with AI and Counters, a -10920 Error Occurs
    Problem:
    A customer has a PCI-MIO-16E-4 and his application is acquiring analog input signals and performing event counting with the buffered event counting mode. The problem is that the buffered event counting is at some arbitrary amount of time (e.g., after 2 days) getting an error with the number -10920. The questions are:
    1. Why is he getting this error?
    2. Do you know how big the FIFO is for this buffered event counting?
    3. When he shares a DMA channel with the floppy controller, how can we make sure they use separate DMA channels?
    Solution :
    Here are the answers to the above questions:
    1. There is probably just some noise on the signal line coming in at some point. The STC is VERY sensitive, so if there is any fast glitching, it will attempt to transfer all of these. This can also happen if the signal does not ramp up fast enough, resulting in double-triggering in the middle region. Use a filter, or a Schmidt trigger*, to clean up the signals. Another suggestion is to use the PCI-6602 with filtering.
    2. There is no FIFO used for the counters. The mMite has its own FIFO, but it is only about 9 samples long.
    3. PCI does not "share" DMA channels. It may technically be the same DMA channel number, but this is just for reference. PCI cards use Bus Mastering. With Bus Mastering, the operating system gives up control of the PCI bus so that the hardware (in this case, our DAQ board) can handle its own data streaming, eliminating the extra step of having the OS monitor the transfers. The DMA channel numbers are just the "channels" that are supported by the mMite chip. You can have 3 PCI cards in the PC, each with DMA 1, 2, 3, and none of them will actually be sharing any resources.
    And another knowledgebase about error -10920
    http://digital.ni.com/public.nsf/websearch/8FB9091CB9BB452B8525642000554799?OpenDocument
    Hopefully this all helps,
    Erick D.
    NI Applications Engineer

  • Who know how to reach Create SO from PO Output (IDOC)

    Hi,  experts,
           I have met a problem that need create SO from PO output using IDOC, anyone knows how to reach it? please give me detail steps, thanks very much!
      we need to create an SO in company code XYZ from the PO output IDOC( Message NEU ) of another company code ABC.
    Im trying to create the SO in the same System and same client , but in a Different Company code.
    Edited by: zheng michael on Mar 14, 2011 3:55 AM

    Hi,
    Take help of ABAPer,
    In my project I had done this with help of ABAPer, but not on basis of output.
    When P.O saved in one company code,system create sales order in another company code.
    Kapil

  • How could I create ObjectInputStream and use it indefinitely with Servlets?

    Hi All,
    I would like to create the stream object between applet and server only once with urlConnection.openConnection() and use it to write objects to it indefinitely without reinstantiating it or getting another connection with urlConnection.openConnection() and repeatedly query for another input / output stream with servletOutputStream = new ObjectOutputStream (servletLinkup.getOutputStream()); How could this be done?
    Devyn

    Dear vladimp,
    The thing is, you need to ask good questions to receive good answers.Have you ever written a servlet vladimp? More specifically, have you ever written client - server code and have the two sides send objects to each other over the HTTP protocol?
    This question is directed towards those developers who have done similar code and may have suggestions regarding this post.
    What have you tried and how exactly has it failed for you?Quote from my post: "I would like to create the stream object between applet and server only once with urlConnection.openConnection() and use it to write objects to it indefinitely without reinstantiating it or getting another connection..." - that is, every time I want to write another object to the stream. Apparently whatever I tried didn't work, hence I'm posting here. Maybe someone with more servlet development experience would be willing to shed some light on this.
    Why do you think the overhead of wrapping ObjectInput/OutputStreams
    around the URL stream is large?Why do you believe I care if the overhead is large? My question is about maintaining a persistent connection to a servlet not overhead.
    Have you made use of OutputObjectStream.reset()?This is actually a legitimate question (even though it's an ObjectOutputStream not a OutputObjectStream). The answer is YES I tried and NO it didnt' work. Could be that anything sent has to be followed up by a .flush() or/and a .close() to actually trigger the stream to send the object. At least according to some sources (I'm trying to verify this).
    How about some sample code that reproduces the issue?URLConnection servletLinkup = urlConnection.openConnection();
    servletOutputStream = new ObjectOutputStream (servletLinkup.getOutputStream());
    Should be obvious for someone who did it before.
    What is it about this problem that warrants a post to Advanced
    Language Topics forum vs, say, Serialization forum?Testosterone driven guru java developers. Perhaps this could also go under the 'Java Servlet Technology' section as well, who knows, there's so many to choose from. I've actually gotten some very creative replies regarding this in other places. I can't say I didn't enjoy this post, however. 8^D. Thnx to all who have read the post.
    Devyn

  • How can I create JScrollPane in my swing application with scroll bars movin

    Hi,
    How can we create scrollpanes moving with scrollbars.I tried many times with custom layout.but it does not work if i set custom layout.I hope that I will get my problem solved.
    Thanks and Regards,
    Rameh RK

    This means it is not possible to create a pure unicode file without the byte order mark?
    You wouldn't happen to know how a file with byte order mark should read on a Linux system?
    Or if this possible or not?
    Regards
    Christian

  • How do I create an apple ID for my Kid without a Credit Card?

    How do I create an Apple ID for my Kid?

    See  >  Create an iTunes App Store account without a credit card
    Note:
    13 years old is the minimum age requirement.

  • I NEED HELP! How do you Create a Drop Down Accordion Navi with the child pages remaining expanded

    I would like to know how I can create a vertical accordion navigation with some custom modifications.
    I need it to function like this sites vertical navigation. (link is below)  Click on the parent page "bedrooms" and it expands revealing all of the "child pages" then click on one of the child pages, it turns the font to Underlined and all the child pages remain exposed!  (it does not collapse after you click on a child page!!!!!!!) I need my site to do this as it tells the visiter where they are exactly on the site!     Please HELP ME!  Thank You! 
    I would actually like mine to be a little more pronounced.  Perhaps having the link turn to BOLD Font indicating you are on that page.  And the main Parent page would have a diffrent background color. 
    Site that has the Navi that I want to Mimic:
    http://www.fowfurniture.com/
    EXAMPLE: Adhesives IS IN BOLD indicating you are on that page. and it remains open it should remain open until you click on another parent page like Hardwood. (Then the Hardwood child pages (Sub Menu) would expand looking like the carpet sub menus/child pages.  All of the accordians i have found seam to collapse after you select a child page (sub menu) and the visitor wouldn't know where he is on the site...  Please Help Me accomplish this!
    Carpet
                          Repairs
                          Fibers
                          Adhesives    
                          Tools
                          Pad
    Hardwood
    When nothing is selected it should look like this: The cell of "Carpet" is a slightly a diffrent color because it is in the "Hover"  state. 
    Carpet
    Hardwood
    Tile
    Vinyl
    Linoleum

    Still need help, I could do it for a value lower. contact me at [email protected]

Maybe you are looking for