Pulse patterns with 512us repetition cycle through PCI 7811 with compac RIO

Can we generate specific pulse pattern of 15 to 30 pulses (500KHz frequency and 0.5us pulse width and patterns are transmitted repetedly with 512us interval) using PCI 7811 with compac RIO. I am having hardware but donot find any help in this regard. If some body send a small vi. for help. I shall be really thankful
Yours sincerely 
Solved!
Go to Solution.

Here's a VI I put together quickly that outputs a fixed pattern. It's barely tested, but it does compile on FPGA. Outputting more than one pattern will require more code, especially since all arrays in FPGA must be fixed-length. If you need to do multiple patterns, and I'm guessing that you do based on your other forum thread, I would look into using a memory block. I am assuming here that the output during the interval between patterns is equivalent to filling that time with false values (no pulse). If that is not the case then you will need to explain what the output should be during that period.
However, if I've correctly understood that the false case is equivalent to no pulses, then it will be easier to use the digital hardware from your other thread instead of FPGA to do this. Just write a pattern that is 512us long - extend your digital pattern with false values to make it the full 512us period.
EDIT: There are a couple of logic errors in this code.  It should count to 255, not 1023, and the pattern isn't right on the first iteration. I hope it's enough to get you started, though.
Attachments:
FPGA test.vi ‏36 KB

Similar Messages

  • Issues with AUTO cycling through ....

    I'm trying to do this:
    Any help with one or the other is very much appriciated !!!
    1) When the Timer is finish auto cycling through the tabs (1 to 16) of the ViewStack, and switching over to tab (1) to STOP, I would like to address a function to do something ???
    The question is now how to write the code to ID that the Timer has come to a STOP on tab (1), and how can I incoperate this into the existing (onTimerOne) function.
    2) The second item I'm after is that if I'm amnualy select any tab (1 to 16) to address also a function to do something ???
    3) The third item I'm after is to automaticly zero (0) the ViewStack to tab number (1) if I click a Btn.
    <mx:Script>
    <![CDATA[
        import flash.events.TimerEvent;
        import flash.utils.Timer;
        private var timerOne:Timer;
        private function initOne():void {
            timerOne = new Timer(5000, myViewStack.numChildren);
            timerOne.addEventListener(TimerEvent.TIMER, onTimerOne);
        private function onTimerOne(evt:TimerEvent):void {
            if(myViewStack.selectedIndex == myViewStack.numChildren-1) {
            myViewStack.selectedIndex = 0;
            return;
            myViewStack.selectedIndex++;
        private function autoOne():void {
            if (!timerOne.running) {
            timerOne.start();
        private function manualOne():void {
            if (timerOne.running) {
            timerOne.stop();
    ]]>
    </mx:Script>
    4) Well, the fourth item I'm trying to work out is as I'm reading my data from an Xml file to have a TextArea which shows the different countries from the Xml file for each ViewStack tab while auto cycling through these tabs (1 to 16).
    The diffuculty here is that I use this Xml with a specific urlID="1" to urlId="16" as part shown below.
    <urlsOceania>
        <urlOceania urlID="1"/>
        <searchCountry>American Samoa</searchCountry>
        <etc></etc>
    </urlsOceania>
    I'm reading all the other items this way:
    source="{urlsOceania.urlOceania.(@urID==1).etc}"
    Thanks in advance aktell2007

    Thanks for the confirmation.  7 miles away is most likely using the same VZW tower but it does confirm the problem is not in your current location for us.
    You can look up local tower locations from many public websites such as the following:
    www.antennasearch.com
    www.cellreception.com
    http://www.evdoinfo.com/content/view/2990/63/
    The signal of -65 shows you have strong reception but it doesnt show the entire picture.  Your tower could be overloaded or unauthenticating you.  There are lots of little issues that exist outside of the raw signal strength between the towers and the connecting devices that we users have no control over.  As you may guess only a tower tech has access to identify and correct these things.
    Based on the picture of the back of the MBR1515/Netgear N300 router from Netgear I would assume that only a normal sized SIM card will fit.  I would not assume a micro SIM card will fit.  Since I do not have access to either of the VZW or non-VZW 4G LTE router I cannot confirm if it will work or not.  You might have to give Netgear a call and ask.  Based on what I can see from the User Guides of both devices the SIMs used for each should be compatible with eachother.
    If you decide to purchase the non vzw version please post back your findings for us.

  • Cant Use Page Controls to Cycle Through Records in Report with Table

    Hi
    I have built a tabular report in answers that returns a 1000 rows. I have set the number of rows to be displayed to 100. However, when I run the report i cant use the page controls to cycle to the next 100 records.
    When I edit the table with the compound layout view I can cycle through the records fine, but when I save it and run normally I cant use the page controls.
    Page controls works on other reports in the subject area but these are pivot tables not normal tables.
    Can someone help diagnose the issue?
    I'm using OBIEE 10g btw
    Thanks
    James

    Hi,
    If you have set DefaultRowsDisplayed as 100 in instaceconfig.xml file, then this would effect only the table view, not Pivot table. By default, Pivot would display all the records without pagination.
    Thanks

  • How can i write a pattern to a output port of NI PCI 6503 with Traditional NI DAQ 7.0 and Visual Basic 6.0?

    Hello, i'm using a NI PCI-6503 (with CB50LP accesory) to write digital patterns to one of the output ports. Can i do it directly from NIDAQ7.0?
    I know  some Visual Basic 6.0 functions to configure a par as output and to write a pattern to a port, but i don't know how run it.
    I've read some examples from "Help" (C:\Program Files\National Instruments\NI-DAQ\Examples\VBasic\Do) but I can't measuring TTL levels on my CB50LP accesory.
                    Thanks!!

    Hello,
    What is your buffer size ? The buffer should be 0 or greater than 2. You can get this error if your buffer size is equal to 1.
    Regards,
    Isabelle
    National Instruments France
    Isabelle
    Ingénieur d'applications
    National Instruments France

  • Creation of BP through Web UI.with Life cycle stage concept.

    Hi,
    I am working on Life cycle stage.
    I have added the field " Life cycle stage" field in the Web UI.
    But now when i go to create a BP with a life cycle stage XXX, it throws a error saying "BP category 1 does not fit the data in category 2" and "Data contains errors and cannot be saved"
    Please help me in saving the BP thr web UI.
    Regards,
    Vinay

    Hi Tariq,
    I'm not sure if you have the latest SP - recently, a new BADI - BUPA_SET_DEFAULT was released which allowed defaulting of fields in the BAPI and Web UI scenarios. You can use that BADI to default the fields for country, name, and even other address fields on the Web UI.
    If you don't have this BADI in your system, do search for SAP notes, which will also have the documentation about this.
    Hope this helps you.
    Regards,
    Rishu.

  • How to make screens cycle through like a slide show.

    I need to have about ten screens (with hypertrends and whatnot) cycle through like a slide show. 
    I figured i'd use a pulse timer...aaaaand some if then statements...Hmmm......Help me out!!!
    Old Fart once said "You can't polish a turd."
    Thnx dad...

    I got it...
    Made a FlipFlop with a F1 key input
    Made a PulseTimer with the FlipFlop for on/off, Time period of 0, and duration of 0:10
    Made a counter with the PulseTimer as count and for reset i did counter=11 (for ten screens)
    Made expresions that read counter=1 ~ counter=10 for each screen
    Conected each screens Maximize to an expression.

  • How to change keyboard shortcut for cycle through open tabs in PS and AI CC 2014

    I would love to set my own keyboard shortcuts for cycling through open tabs in PS and AI 2014 on OS X. I found out that this can be achieved with ctrl+tab in PS, but I couldn't manage to make any of the suggestions in the forum work for AI. As said, I would like to set a more "standard" shortcut like alt+cmd+arrow-keys for both of the apps. If that shouldn't be possible, does anyone know a shortcut in AI CC 2014?
    Many thanks!
    Amadeus

    Thanks! The shortcut can be set like this in AI, although all key combinations I would want to use are not allowed. Too bad. But anyways, thank you very much for the tip!
    cmd+~ is not an option for me, I guess, since the swiss/german keyboard layout has no dedicated tilde key.
    So, I have a working shortcut in PS (ctrl+tab / of which I still don't know how to change, if possible at all) and thanks to you, I can now set one in AI as well. Unfortunately, I can not set it to be identical as in PS, since the "cmd" key needs to be included in AI's shortcut assignment dialogue, but I guess, this is as good as it gets.

  • When I press play on my iPod the only the thing that happens the songs cycle through the current playlist instead of playing the audio. How do I fix this?

    Ever since this morning I synced my ipod to my computer all that happens is the ipod cycles through the songs in the current selected playlist. No audio or anything. All the songs that are in my song libraries and are synced to my ipod properly. I did not disconnect the cable whiile it was syncing. It has been a long time since I synced it. Why is my ipod doing this? This ipod is the current ipod classic with 160 GB. Please help

    Thank you, when I meant by I haven't synced with my library in a long time. I meant the day before this morning. So I already synced it and I am not hearing any audio when I press play. Right now I am in front of a mac at my job and I have synced and ejected it from a different computer and it still isn't working. Does this have anything to do with the fact that it might have something to do with my music library at my home computer?

  • How do I change the keyboard shortcut for Cycle through open documents in PS CC for Mac?

    Sorry to bug the community with such a seemingly inconsequential task, but I am seriously tired of using the awkward default keyboard shortcut for cycling through open docs in PS.  I'd like to change it to what I am used in in Chrome, which is Cmd+Option+[left] or {right} arrow keys.  I noticed this is not a command listed in the in keyboard shortcuts, for whatever reason.  Where on Earth can I change this? 
    If it is not possible to do it by default, is there a plug-in or a change to the code that will allow this basic functionality? 
    Thanks again guys and gals!

    As far as I know, you can't. It's "hard wired" in.  Not even Edit > Keyboard Shortcuts is allowed  to change it.
    However I did find this tip:
    Anyway i never found tabs in Adobe application useful, instead i prefer the old school method: simply switch off tabs feature via illustrator/ preferences/ user interface/ open documents as tabs. Then in Mac preferences panel, under keyboard, just search for the “focus on next application window” field (under menu, keyboard and text) and assign a shortcut if the default option doesn't fit you. And there is now you can easily switch between open documents!.
    The best part of this is that it can be used in all mac applications, not only Adobe ones. And remember, if you want this working on Indesign, Photoshop, etc be aware of first switch off the tab features so that the system could “see” multiple documents opened not only one single tabbed document.
    Gene

  • Im running a web-based CMS, that cycles through a number of pages, and wanted to know if there is an auto reload code option ( not plug-in ) that can restart previous page when connection failed.

    I am running a web-based CMS that cycles through a number of pages, each for different times ( ranging from 40 seconds to 2 minutes )and is displayed in a number of shops. Every now and then our internet drops, and the page errors with connection failed. I’m wondering if there is anyway to auto reload the page as soon as the error connection failed is showing. auto-reload addon is not an option as this will interrupt the sequence.
    The following error was encountered:<br />
    <br />
    <ul><li><b>Connection Failed</b></li></ul><br />
    <br />
    This means:<br />
    <br />
    <pre>

    I am running a web-based CMS that cycles through a number of pages, each for different times ( ranging from 40 seconds to 2 minutes )and is displayed in a number of shops. Every now and then our internet drops, and the page errors with connection failed. I’m wondering if there is anyway to auto reload the page as soon as the error connection failed is showing. auto-reload addon is not an option as this will interrupt the sequence.
    The following error was encountered:<br />
    <br />
    <ul><li><b>Connection Failed</b></li></ul><br />
    <br />
    This means:<br />
    <br />
    <pre>

  • Windows 7 cycles through updates on shut down (all the time)

    i have been having a devil of a time with my mac pro and am hoping this forum might have some leads on a problem.
    i have a first generation mac pro and an installation of windows 7 using parallels and every time i use windows 7 it cycles through a windows update procedure. this is a minor pain now which takes about five minutes but in the past it was a very long procedure.
    i recently had to re-install this setup due to a WD HD with "bad sectors" and i would like to solve this problem.
    can anyone advise?
    TIA
    P.S. I had to use "Jowie's" method to install windows 7 on this computer. i am running Lion 10.7.5.
    P.P.S. apologies for the apparently off-topic post but i have not gotten any leads on this on the windows forums or from the boot camp forums and i am almost at a total loss at this point in terms of getting this OS on this computer to work.

    you like me face the problems post Vista SP1 with 64-bit versions.
    Modifying and using Imgburn via Jowie is best I know of to get it to boot and install.
    There are always issues with native Boot Camp Windows updates and a VM like Parallels as to whether you can or should apply any update whatsoever in a VM or stick to doing so natively.
    Always have a backup image to restore from for ANY OS.
    Paragon Software Camp Tune and the great Hard Disk Mgr 12 Suite which will perform an "Clone OS" migration to another disk drive.
    For convenience never share a hard drive with Mac and Windows. Esp. for you and I. Dedicated drive only.
    WD Lifeguard in Windows is great at mapping out bad sectors.
    Use Carbon Copy Cloner to image your Mac and the Recovery partition to another drive also.
    You would then never ever have to reinstall any or either.
    There are people on the Boot Camp forum where I burned out that you and I well... we've been over this before to the point I stopped and left.
    Apple's BootCamp 4.0 64-bit from my attepms (I run Windows 8) will not install and I guess needs CMD.exe and direct it at Apple installer MSI program or Setup. I would not normally and not needed except for data and time and the Boot Camp Startup  Manager in Windows.

  • Photoshop unexpectedly cycling through newly-opened files

    This is a weird one, and I can't get a foothold on what's causing it. I routinely have to open a batch of five graphics (it's not the same five graphics each time, but each project starts from the same five templates). Lately, when I open them all at the same time, a few seconds after I open them, Photoshop suddenly cycles through them in what seems to be a random order (though it never ends on the file I was looking at when it starts cycling). This is playing havoc with my workflow, as I have actions that rely on the files being opened in a particular order. Not to mention the fact that it often happens just as I'm starting to edit the files. All of a sudden, I'm looking at a different image in the set.
    It doesn't seem to be making any changes when it cycles, as there aren't any files that need saving after it's done. I just can't figure out what it's doing, or why.
    I'm using Photoshop CC 2014.2.1, on a Macbook Pro, running OS X Yosemite (10.10.1). Happy to provide any additional details!

    Have you tried a Preference reset? It has been known to clear up a lot of things in Photoshop when they go haywire. Press Cmd+Opt+Shift immediately after initiating Photoshop startup. Select "yes" when prompted.

  • How to create a small field that cycles through a series of images. (using Acrobat Pro)

    Using Acrobat Pro, we need to use a small field to track student progress.  With successive mouse clicks, the field would cycle through: 
    -- a number (that identifies an element of study),
    -- same number surrounded by a circle (indicates element is assigned to the student),
    -- same number with a check mark (indicates element was completed by the student),
    -- back to the original number.
    This could probably be handled by cycling through a series of small images when the user clicks on the field.   
    The "Check Box" field allows only a check to be added to the field.  It does not allow the circle and does not cycle through multiple states. 
    The "Text Box" field might allow this capability, but if so we are not able to configure it properly.  
    Any solutions?   Thanks!

    Thanks Michael,
    The information at the link you provided enabled us to create a button that cycles through a series of ASCII characters. 
    This us useful, but we need to cycle through a series of images.  A more difficult problem. 
    FYI, an example of the javascript that cycles through a series of ASCII characters is shown below.  (The "else" statement pertaining to a null "" buttonGetCaption state is used to initiate an initial state of "1" for the button when the form is first opened.). 
    if
    (event.target.buttonGetCaption()=="1"+"\u2714") {
        event.target.buttonSetCaption("1");
        event.target.textColor = color.black; }
    else if (event.target.buttonGetCaption()=="") {
        event.target.buttonSetCaption("1");
        event.target.textColor = color.black; }
    else if (event.target.buttonGetCaption()=="1P") {
        event.target.buttonSetCaption("1"+"\u2714");
        event.target.textColor = color.green; }
    else if (event.target.buttonGetCaption()=="1") {
        event.target.buttonSetCaption("1P");
        event.target.textColor = color.red; }
    loop
    Again, we are still looking for a way to cycle through a series of images so any help with that problem would be appreciated. 

  • Programmat​ically Cycle through Boolean Array

    I'm using an Agilent 34970 with a 34901A switch module. It has 16 switches going to two commons. The end function is to switch through all the sources to read resistance and voltage.
    The driver and sample vi from the NI idnet were used as a base for my vi.
    The sample vi uses a user-controlled 2-d boolean array (false = open). I want to be able to programmatically cycle through all the switches, but I don't know how to tell the dimensions of array I have.
    I would like to go through every element of the 2nd raw for each element in the 1st row. If I could programmatically ignore elements #9, 10, 19, and 20, that would be helpful too.
    Thanks for any help!
    Attachments:
    Agilent 34970 Advanced Scan-2U test-1.vi ‏31 KB
    Agilent 34970 Switch-2U test.vi ‏23 KB

    CelerityEDS wrote:
    Is there a way to determine what's in the vi front panel right now? I cannot determine if it's 2x10 or 10x2... There are no properties of the 2-d array that plainly tell me.
    There is "array size" which tells you the actual size of the 2D array.
    There are properties that tell you how many rows and columns are visible in the front panel array container.
    There are also properties that tell which element is currently scrolled to the top left corner.
    The size and index position of the front panel array control or indicator is not related to the actual array size. You can show only 2x2 elements of a 1000x1000 array or vice versa. if the container is too big, the extra elements are greyed. 
    LabVIEW Champion . Do more with less code and in less time .

  • How to visualise continues Data aquisition from a PCI 6602 with 2121 BNC connector board in C++ ?

    Hello everyone,
    We are trying to get on the screen the aquired pulses from our  PCI 6602 with a 2121 BNC connector board, from several devices. We are able to read the data and save without problem, but we cannot look at it while we are measuring. Anybody has an idea to how program this in C++ ? Any suggestion is welcome!
    Thanks for the help

    Hi,
    try to look for some example programs and Tutorials:
    Examples Results
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:ex/q/DAQmx%20C%2B%2B/...
    Tutorials Results
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:tu/q/DAQmx%20C%2B%2B/...
    You should also have a look at the "C Reference Help" which is installed with the NI DAQmx driver.
    Acquire N Scans (Visual C++ 6.0, CW++, NI-DAQ)
    http://zone.ni.com/devzone/cda/epd/p/id/207
    Continuous Analog Acquisition with Producer Consumer Architecture in C#
    https://decibel.ni.com/content/docs/DOC-4253
    Good Luck!
    Matteo

Maybe you are looking for

  • After Effects CC 2014 crashing on startup

    I downloaded the trial version of After Effects. By downloading it, it activated a 30-day trial. However, every time I try to start up the program, it gives me an error and crashes. I read on the forums issues about fonts and OpenGL, but it doesn't e

  • 1-800-VERIZON is useless!

    I ordered high speed DSL on April 19, and I'm irate! I called 1-800-VERIZON on Wednesday, April 25, one week after placing my order to confirm the status of the modem that was being shipped.  I was told that the order had been processed and the modem

  • Vertical Hold problem

    I have successfully connected my 5th gen Ipod to my television using A/V cables and the S-video cable. I can see I-tunes-purchased video and my pictures and the audio is present. My issue is that the picture rolls and the contrast is a little off to

  • Profit center substitution rule

    hi ,i am wondering is it possible to assign profit center substitution rule by sales org,instead controlling area?

  • Investment Mgt

    Hi All, Could you pls provide me the related documentation for the entire process flow as well as the Configuration Document for the Investment Management for my mail ID : [email protected] Request you to sent me atleast the Process Flow/User Documen