Building Peak and Hold output counters: HW and SW required?

Hello,
I am using the 2 counter outputs of USB-6211 and PCI-6602 to drive injectors with PWM commands at rather slow frequencies (up to 10Hz) --- see top picture in the attached file. What I would like to do now is to drive Peak-and-Hold injectors (as shown in the below picture). I wonder if such profiles can be programmed or set in the hardware at the beginning of a test then reset everytime the users want to change the current settings (this latter does not need to be in real-time).
Can I achieve this with my hardware, do I need specific hardware? Is the only solution to build the train of impulsions and send it in a sort of time-based way? I do not really see the SW related that I must use.
Thanks for any insight.
Christophe
Attachments:
P&H command.doc ‏34 KB

Hello,
If you really need the exact pattern to be completely accurate up to 0.1%, then your pulse parameters should be able to change with maximally a 0.1% error. 
This means that your pulse parameters should be updatable with an error smaller than 1 ms.
Therefore you cannot use Non-Buffered Pulse Train Generation (Implicit timing), because in that case changing your pulse parameters would be done software-timed. This type of Pulse Train Generation can be performed on STC 2 - and STC 3 - chipsets.
Because a computer only has an accurate 1kHz clock available, this would probably not fulfill your needs.
Two other options that could do what you are asking are Buffered Pulse Train Generation (with Implicit Timing) and Buffered Pulse Train Generation (with Sample Clock Timing).These options are only available on STC 3 - chipsets. These chipsets allow you to change your pulse parameters in a hardware-timed manner.
The 6211 card you mentioned is an M-series device and these devices use a STC 2 - chipset. Therefore it will not be possible to do a hardware-timed buffered  pulse train generation.
As far as I know it will not be possible to do the hardware-timed buffered  pulse train generation with the 6602-card.
I don't have one available over here to test it, but of course you can always test it at your side.
The examples to test this can be found the following way:
- Open LabVIEW and go to Help > Find Examples
- Select Browse and go to Hardware Input and Output > DAQmx > Generating Digital Pulses
- Here there should be two examples of the buffered Pulse Train Generation. (starting with "Gen Dig Pulse Train - Buff-... ")
- In the Requirements section they also mention the cards that do support this functionality.
Can you let me know if your test allows you to produce the wanted results?
Kind Regards,
Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
CLD, CTA
If someone helped you, let them know. Mark as solved and/or give a kudo.

Similar Messages

  • Locating peaks and valleys on a map using java.

    This is the assignment for my excerice,if someone knows the code,please give it to me.
    I'm still beginner in java,and i have to submit that project by monday.
    Topographical maps are easily represented with two-dimensional
    arrays of integer or real valued
    heights. However, the bird's eye view they provide is sometimes
    difficult to appreciate after a day of
    lugging a 70-pound backpack.
    Consider a two-dimensional array variable storing real numbers and
    representing heights of a
    topographical map.
    Write a program that locates peaks. We define a peak as any point that
    is higher than its eight
    neighbors.
    Write a program that locates valleys. A valley is any series of three
    points along a row or column that
    are lower than their twelve neighbors. (Can you deal with longer
    valleys as well?)
    1. Define a two-dimensional array type for holding real numbers and
    having a size of maxrow times
    maxcol;
    2. Declare a Boolean method that tests if a point of this map
    represents a peak;
    3. From the main program locate all peaks and output their positions
    and heights;
    The header should be like this:
    peak number Row position Column position weight
    and for valleys it will the same heading
    valley number Row position Column position

    This is the assignment for my excerice,if someone
    knows the code,please give it to me.
    I'm still beginner in java,and i have to submit that
    project by monday.Tthis really isn't a beginners problem. Or if it's a beginners problem it's a beginners problem at a school with high standards. Above all it's clever. The problem is formulated in a way that you're unlikely to find code on the internet that exactly fits the bill and can be directly copied.
    So if you stay off the booze tonight and skip church tomorrow you have a whole day on your hands. Use it well. The problem is clearly formulated and should pose no problem for a rasonably smart student -:)

  • Find out the peaks and check them against a value

    Hi
    I am currently aquiring a bunch of signals (4 to be exact) through a 6120 card. This works as expected.
    Now I'd like to check all 4 signals if any value (up to 80 000 samples / waveform) has it's lowest level above -0,8 V and it's highest level below 0,8 V.
    I tried this with the Express VI (Level and Amplitude Measurements). I check both for the peaks and if one of them (OR) is above/below that value, a Boolean value should change.
    So I have my 1D - Waveform Array as Input  to the Express VI. I then get the Positive/Negative Peak. I wire those to smaller/grater sign. and when I try to wire the two outputs of the smaller/greater signs to an "OR", LabView won't let me
    It says: Source is Dynamic Data, Sink is Boolean.
    What am I doing wrong ?

    It would have worked, if you had converted the dynamic-data to a double before you pass it to the > / < operators.
    If you pass two different data types to a function, the "lower" is converted to the higher (e.g.: sgl -> dbl) which is why the dynamic data is passed on to the or-operator.
    Just see this example.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    CompareMaxMin.vi ‏169 KB

  • How can I get the peak and valley of a MZI signal

    I am using MZI signal which is similar to sine wave with frequency of 10MHz to calibrate an interference signal. I want to get the peak and valley of the MZI signal and get the corresponding value of interference signal at the same location. The problem is that the MZI signal aquired by DAQ is not smooth, Please see attached filter.PNG, the top left is the MZI, top right is the MZI Zoomed in, you can see that there may be two values that are approximately same to each other. I used a peak detector to detect both the peak and valley and a build array to concatenate them. I am worried that the peak detector may find two peaks or two valleys in a fringe. So I used the filter function in express to bandpass the MZI signal (cutoff frequency is 8MHZ~12MHZ) to smooth the signal, the result zoomed in is  the bottom graph in filter.PNG. But I found that it did not solve the problem but cause phase shift. Is there somebody can give some help?
    Attachments:
    filter.PNG ‏143 KB
    peak detector.PNG ‏69 KB

    I don't know anything about MZI signals, but I do know sine waves.  If this is a sine wave, it is relatively easy to measure its amplitude as long as you know the frequency.  Since you say it is 10 MHz, you appear to know the frequency.  You can use Fourier analysis to determine the magnitude and phase of your signal, as long is it is a steady signal that doesn't change frequency or amplitude.
    Generate a sine and cosine wave using the same frequency.  Divide each wave by the sum of its points.  Multiply each one by your incoming signal and sum all the values, one sum for sine and one sum for cosine.  The sums should be the coefficients of the sine and cosine components of your unknown signal.  The ratio tells you the phase of the signal.  If you multiply the sine and cosine waves by their coefficients and add them together, you should be very close to your incoming signal.  The amplitude of your signal is equal to square root of A*A+B*B, where A and B are your coefficients.
    I may be off by a constant factor here somewhere (probably pi), since I didn't write down the equations and verify them.  These equations are the basis of the Fourier series, though, so they would be fairly easy to find.
    Another option would be resampling.  If you upsampled the data and increased the data resolution by a factor of 10 or so and filtered the results using an FIR filter, you would have a much cleaner signal with a lot more detail.  You wouldn't have any problem locating and measuring peaks and valleys.  This would probably work better with your data, since it looks like it doesn't have a constant magnitude.  To upsample the data, just add 9 zeroes between each data point.  Create a lowpass FIR filter that is based on 10 times the original sampling frequency and has an amplitude of 10.  The cutoff frequency should be half the original sampling rate.  Filter your new data and you should get the same waveform with 10 times the resolution.
    Bruce
    Message Edited by Bruce Ammons on 10-02-2008 09:10 PM
    Bruce Ammons
    Ammons Engineering

  • Peaks and valleys detection of a zig-zag shape waveform

    Hi,
    I have 2 waveforms coming in and I would like to detect the peaks and valleys(with the location, or ) and write them to a spreadsheet file. 
    In a pattern like this
    peak #1(waveform 1)            peak #1(waveform 2)                  Location of peak#1(waveform 1)              Location of peak #1(waveform 2)   
    valley #1(waveform 1)           valley #1(waveform 2)                Location of valley#1(waveform 1)             Locationo of valley#1(waveform 2)
    peak #2(waveform 1)            peak #2(waveform 2)                  Location of peak#2(waveform 1)              Location of peak #2(waveform 2)
    valley #2(waveform 1)           valley#2(waveform 2)                  Location of valley#2(waveform 1)            Location of valley #2(waveform 2)
      The waveforms come in with varing heights, kind of like a wiggling zig zag shape.  Sometimes the peaks/valleys are very smooth and kind of hard to differentiate from the others. 
    Thanks.

    If you search the forums for peak detect, you will find a number of hits.  Also, here is a recent thread discussin peak detection without setting a pulse width.
    Basically, you want to use the peak detection.vi located in Signal Processing > Signal Operation.  That will find your peaks and valleys.
    In order to put all of this into Excel/Spreadsheet (do you have / want to use the Excel Toolkit or just the Write to Spreadsheet.vi?), you will need to  feed all of your points into a build array and a shift register and then when you are done aquiring data, feed that into the Write to spreadsheet.vi or to a vi for excel.
    The formating will depend on how you feed the data into your array, ie wave 1, location 1 or wave 1 , wave 2, etc
    Kenny
    Kenny

  • What to buy? I want to a small amount of product photo editing, build websites, and do some product label graphics.  74 years old and do not want to do the Cloud thing online.

    what to buy? I want to a small amount of product photo editing, build websites, and do some product label graphics.  74 years old and do not want to do the Cloud thing online.

    Well, the web site building we can get out of the way rather easily:  You cannot build websites with any Photoshop related applications.  Adobe has other applications for that.
    You can still buy the full version of Photoshop CS6 with a perpetual license—no monthly payments and you own it. $700 for the standard version, $1,000 for the extended version.
    The Photographer's deal gives you a subscription to both Photoshop and Lightroom for $10 per month, but you never get to own the software.  The moment you stop paying, the software ceases to work.
    The Cloud thing is not really on-line.  It resides on your computer.  It only has to call the mother ship once a month or so.
    Then there's the bargain-basement priced, emasculated Photoshop Elements, with some hand-holding features.
    I'm a septuagenarian too, but then I've been using computers for decades, Photoshop seriously for over twelve years.  Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.
    Depending on exactly how much editing you need to do to those products shots, you may be satisfied with Ps Elements mentioned above.
    There are trial versions for all of the above.

  • Flex Builder 3 and Employee Directory Sample App

    Ok, please be paitent with me.  Just starting out with Flex Builder 3 and Flash Builder 4.
    I have installed Flex Builder 3 and imported the Employee Directory application sample, but I cannot get it to run, nor debug.
    I'm on a Mac Pro and I have not done any other configuration to the Flex Builder 3 installation, yet.
    In order to get the Employee Directory app to run, can someone give me some assistance as to what I need to do in order to get it running within the development environment.
    Any assistance will be greatly appreciated.
    Regards,
    Jeff

    No errors, it just will not run.
    I loaded the employeedirectory.mxml into the editor and simply tried to run it.  The Eclipse editor / employeedirectory canvas blinks, but doesn't execute.
    In addition, when I set a breakpoint and try to debug, I get the following error:
    Process terminated without establishing connection to debugger.
    Command:
    "/Applications/Adobe Flex Builder 3/sdks/3.2.0/bin/adl" -runtime "/Applications/Adobe Flex Builder 3/sdks/3.2.0/runtimes/air/mac" "/Users/Jeff/Documents/Flex Builder 3/employeedirectory/bin-debug/employeedirectory-app.xml" "/Users/Jeff/Documents/Flex Builder 3/employeedirectory/bin-debug"
    Output from command:
    error while loading initial content
    Thanks for the reply...  hopefully it's a simple configuration issue.
    Update:  I created a blank application with no control, notta and it ran fine, i.e. loaded up into Firefox with a blank canvas.

  • Peak and Amplitude

    I’ve trying to determine the Peak and Amplitude of a signal when peak exceeds a certain threshold value that we choice. Now I can read the frequencies but I can’t have the correct values for its respective amplitudes. These are my two questions: 1. How a can read both frequency and amplitude correctly with this VI? and 2. How can send the obtained information to a spreadsheet?
    Any input will be appreciated. Thanks.
    Attachments:
    Peak.jpg ‏45 KB
    performance.vi ‏197 KB

    Thank you very much for your suggestions. I used Extract Multiple Tone Information how you said, but I still have some problems to know the correct amplitudes values. If you can look over my code and give me any tips I would be very grateful.
    You can see in my code that I was been using the Write to Spreadsheet File VI to writing some others levels and amplitudes, but my question about how to send the frequency and amplitude to spreadsheet is because I don’t know how to send 1-D array of Cluster (The format at the output of Waveform Peak Detector VI) to spreadsheet.
    Thank you and best regards
    Attachments:
    performance.vi ‏205 KB

  • I can not create an Installer, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...

    I can not create an Installer on LabView, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...
    Solved!
    Go to Solution.

     Hi Shada this can happen if you are including additional installers to your installer for example DAQmx. When you are doing this the installer has to include other files like MAX (Measuremente and Automation Explorer). Probably when you installed Vision Builder it updated MAX, so when your installer is trying to Include MAX, its asking for the source where it was installed in your computer in this case Vision Builder.
     Here you can cache the information so its not asked again, or you can download a newer version fo DAQmx, so it will update MAX and change de dependecy.
     You can find more details about this issue in this KB:
    KnowledgeBase 3S88PJMY: Why Do I Get A "Missing Distribution" Error When Trying to Build an Installe...
    And for keeping a copy here is more info:
     How Do I Stop the Missing Distribution Notification Each Time I Build An Installer?
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Usage dependency is created at Build time and installation time

    Hi,
    The infrastructure guys have selected the usage dependency as Build time and Installation time, while creating software components.
    "Y" SWC is created as depedency for "X" software component.
    In SLD(software catalog),  we are able to view the Y component as dependency in X component(at both build time and installation time).  In usage dependency we are able to view Y component but when we click Y component in usage dependecy we are also able to view X component. Is there any problem with this ?
    There is another issue. we are able to view basis object(in IR) in Y component but not in X component.  Actually as per the above configuration basis object in IR should appear in X component.
    Please refer to another forum which may give you some more idea.("BPM - Message interfaces of one component are not appearing in another comp") pasted on 17 Nov,2006.
    Please could you provide us the inputs.
    Thanks,
    Ramesh

    hi,
    as you see per my weblog try choosing Installation Time
    /people/michal.krawczyk2/blog/2005/08/26/xi-are-you-independentfrom-your-dependencies
    more about it on:
    http://help.sap.com/saphelp_nw04s/helpdata/en/d4/8d784289b4de54e10000000a155106/content.htm
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Report Builder 8 and MX7?

    Does anyone know if you can generate reports using Report
    Builder 8 and have them work in CFMX 7? There are times when I'll
    need to work in MX7 still and would rather not have to make two
    copies of a report to work in the different environments. Also
    Report Builder 8 seems so much more stable than Report Builder
    7.

    Hi Asam,
    If we want to create a parameter depend on another dataset, we can additional create or add the dataset, embedded or shared, that has a query that contains query variables. Then use the option that “Get values from a
    query” to get available values. For more details, please see:http://msdn.microsoft.com/en-us/library/dd283107.aspx
    http://msdn.microsoft.com/en-us/library/dd220464.aspx
    As to the Report Builder features, we can refer to the following articles:http://technet.microsoft.com/en-us/library/hh213578.aspx
    http://technet.microsoft.com/en-us/library/hh965699.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Users able to build reports and dashboards via the Web browser

    Hi All,
    My requiremts is "Users able to build reports and dashboards via the Web browser and perform ad-hoc queries and analysis online via the internet" .
    Requesting to kindly let us me know  the procedure to get resolve the above requirement.
    Thanks,
    KVR

    Hi,
    Go through the links below
    Designing Microsoft Excel 2007 Chart
    http://charts.jorgecamoes.com/how-to-create-an-excel-dashboard/
    http://dashboardspy.com/dashboards/23/designing-microsoft-excel-2007-charts
    SAP BUSINESSOBJECTS DASHBOARD BUILDER
    http://www.sap.com/solutions/sapbusinessobjects/large/business-intelligence/dashboard-visualization/dashboard-builder/index.epx
    http://www.sap.com/solutions/sapbusinessobjects/sme/reporting-dashboarding/index.epx
    It may help you
    Regards,
    Marasa.

  • (Deployment) Minimum Software required for BUILD server and IIS WebServer

    We have a simple .Net SDK application written using VB-2005 and the Crystal Reports XI (R2) DEVELOPER package.
    The RPT files are posted on our BOE-XI (R2) server, and are called using the View-On-Demand method from the Page Server (similar to the SDK sample application). At some point in the future, our .Net applications may invoke some of the other SDK content types.
    In our environment, the .NET web-applications are checked-in to Clear Case, and then sent to a stand-alone BUILD server to be compiled. The compiled .NET web-applications are then posted to a stand-alone IIS WebServer (not the IIS server that hosts BOE InfoView/CMC).
    The BUILD server and IIS WebServer have to be as "stripped-down" as possible in order to go through our QAT and Impact Analysis process.
    So far we have had success if we deploy the SDK-only install from the Crystal Reports XI (R2) DEVELOPER package, and the service packs, but it doesn't include all the SDK components for other BOE content types.
    If we deploy the Client-only install from the BOE-XI (R2) package, and the service packs - it doesn't seem to include the CR-Viewer which we need. But it does includes a bunch of extra software (eg. UNIVERSE DESIGNER) on the desktop of the BUILD server and IIS WebServer that our QA guys don't like.
    What are the Minimum Software required for BUILD server and IIS WebServer to support CR and BOE SDKs...?
    Are there any install packages that contain JUST those components, and not all the extra software that is not needed to Build/Deploy in .NET...?
    Thanks in advance for the advice.

    Due to the CrystalDecisions.web.dll for the 2.0 framework being left off the BOE CD you will need to install the Crystal XI R2 runtimes as well as the BOE SDK.
    To get the BOE SDK launch the Enterprise XI R2 installer and choose Server Install - not Client Install.  Choose a Custom install.  You'll be presented with a drop down list for the Enterprise components.  Deselect everything and then look for the Developer Components option.  You may have to drill down into one of the levels to find it.  Under Developer Components you'll see the BusinessObjects Enterprise .NET SDK.  Select it to install it.
    Jason

  • 3D Bar "peaks and troughs"

    Hello
    I am designing a website for a health company and plan to
    make a hart monitor line with a 3D bar. Now I know how to make the
    3D bar but how do I manipulate the 'peaks and troughs' (points) to
    make it look like one long line? instead of many 3D bars positioned
    to make points.
    I hope this makes sence?
    Thanks in advance

    Blunda wrote:
    > Hello
    >
    > I am designing a website for a health company and plan
    to make a hart monitor
    > line with a 3D bar. Now I know how to make the 3D bar
    but how do I manipulate
    > the 'peaks and troughs' (points) to make it look like
    one long line? instead of
    > many 3D bars positioned to make points.
    >
    > I hope this makes sence?
    >
    > Thanks in advance
    If you are looking for a single line with peaks and troughs,
    use the Pen
    tool. Click down on the canvas to create a start point, and
    then move up
    and down, dropping a point at a time as you click across the
    canvass.
    Linda Rathgeber - Adobe Community Expert
    http://www.adobe.com/communities/experts/members/8.html

  • Different transitions page build in and build out

    is there a way to create different transitions for page build in and build out in indesign?

    You are correct - that is not Indesign Terminology. I want to have a differnet page transiton when I arrive at page 2 then when I leave page 2. I want objects to animate in a particula waay when I arrive on page two, and those objects to animate away in a differnet way when I leave page 2. I can't seem to get a button to do animations AND then leave a page.

Maybe you are looking for

  • Output to display in this format

    Hi All, I have 3 tables Table A Sno 101 102 103 Table B Sno 101 102 null Table C Sno 101 null null I should get the output from the 3 tabels and 3 snos sno1 101 102 103 sno2 101 102 null sno3 101 null null Can any one have idea?? Regards, shalus

  • Wrong aspect ratio on HDTV

    I recently purchased an ATV and bought "Shooter" from iTunes. I realize that HD won't be available until the new software update. The picture looks fine when I watch it on my Mac, but after I synched it onto my ATV, it comes out in the wrong aspect r

  • Need help in defining the Transaction Variant using MM02

    Hi Experts, I had a requirement that I need to disable the <b>Purchase order Text</b> tab in MM02 T-code,I tried using Transaction Variant(SHDO) ,but I unable to disable the PO text Custom Control.Iff you have any info Please share it with me on  [em

  • Need help with full screen slideshow image quality

    I am looking to display some images with full screen slideshow. The images I add are very large, over 5000 wide. When I publish the site some images retain their quality while others lose it and look like crap. Why would this be and how can I fix it.

  • Can i resize pic in iphoto

    Hi, is it possible to resize pics in iphoto? At the moment I use the email facility to do it.