How to simulate PIE (Pulse interval encoding) coding

how to manipulate in the data rates in a binarystream where 0's and 1's are represented as bellow
i am using Labview
where Tari is a Value ranges from 6.25us and 25us
please suggest anything..i am stuck

Hey Eldokch,
Let us know some things you've tried.  That way, we'll have a starting point and be able to help you out a little better.
-Jim B
Applications Engineer, National Instruments
CLD, CTD

Similar Messages

  • How do I get the Interval to keep from repeating after it's used once?

    How do I get the Interval to keep from repeating after it's used once? Because I tried clearInterval but I couldn't get it working.
    When my code looks like this, with ClearInterval, it refuses to execute my action, which is to change scenes after a short interval:
    (Pardon if there is some formating errors, I had to reformat it for the Internet)
    Code with clearInterval command
    stop(); 
    Kollektiv.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_2);
    function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void{
       gotoAndPlay(29);   
       var myInterval:uint = setInterval(fl_ClickToGoToNextScene_14,3000);   
       clearInterval(myInterval);
    function fl_ClickToGoToScene_14(event:MouseEvent):void{
        MovieClip(this.root).gotoAndPlay(1, "Testside");
    However, when my code looks like this it refuses to stop looping:
    Code without ClearInterval command
    stop();
    Kollektiv.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_2);
       function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void{
       gotoAndPlay(29);
       setInterval(fl_ClickToGoToNextScene_14,3000);
    function fl_ClickToGoToScene_14(event:MouseEvent):void{
        MovieClip(this.root).gotoAndPlay(1, "Testside");
    Any ideas? Also, feel free to dumb your answer down, because I am completely new to Flash, Actionscript and coding.

    If you insist on using setInterval - you need to declare interval id in a higher scope so that you can clear it later:
    stop();
    var myInterval:uint;
    Kollektiv.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_2);
    function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void
              gotoAndPlay(29);
              myInterval = setInterval(fl_ClickToGoToNextScene_14, 3000);
    function fl_ClickToGoToScene_14():void
              clearInterval(myInterval);
              MovieClip(this.root).gotoAndPlay(1, "Testside");
    I suggest you use Timer instead:
    stop();
    import flash.events.TimerEvent;
    import flash.utils.Timer;
    var timer:Timer = new Timer(3000, 1);
    timer.addEventListener(TimerEvent.TIMER, fl_ClickToGoToScene_14);
    function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void
              timer.start();
              gotoAndPlay(29);
    function fl_ClickToGoToScene_14(event:TimerEvent):void
              timer.stop();
              MovieClip(this.root).gotoAndPlay(1, "Testside");

  • How to generate biphasic pulses and change parameters?

    Hi I am a beginner. I need to know how to generate biphasic pulses. What are the functions i need to use(the logic involved in labview to generate)? I should be able to change the parameters like duration,interval during the course of the program.

    Greetings:
    You can go to the Analysis/waveform/signal generation toolbox and find Pulse Pattern. You can set the duty cycle, frequency and phase with the standard controls.
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • 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 change the default save encoding of the dvm files when create dvm???

    When I creating a DVM(domain-value mapping) in Chinese on the ESB control and confirm it, then restarted the SOA service, the DVM that I created in Chinese disappeared from ESB control. All the maps(both English and Chinese ) are in DVM Repository.
    After I updated the encoding from ‘UTF-8’ to ‘GB2312’ in the three files below, and restarted the SOA service, the DVM in Chinese appeared on ESB control.
    But when I adding the second row in Chinese and save it, then restart the SOA service, the DVM in Chinese disappeared from ESB Control once again. Because the encoding in the three files below is updated from ‘GB2312’ to ‘UTF-8’ .
    Files:
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm\Chinese.xml.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\content\files\dvm\Chinese.xml_1.0
    How to change the default save encoding of the dvm files when create dvm in ESB control ???

    I have the same problem.  When I updated to Mavericks now the bookmarks bar font is huge.  I liked it the way it was before.  I liked the smaller font.  Also wish I could change the color of the sidebar and font/folders too.
    I tried to see in preferences if there was anyway to change it, but I don't see anything there.

  • How can I uninstall adobe media encoder cc at macbook (Mavericks)?

    How do I uninstall adobe media encoder cc on macbook (Mavericks)? I have installed two versions (AME AME CC and CC 2014), AME CC 2014 has unistall file, but the application AME CC has unistall file or i can not find it. The situation is similar in the application ADOBE EDGE CODE CC and ADOBE EDGE CC Reflow CC.

    Because I have installed two versions, CC and CC (2014) I have a small ssd drive, I want to uninstall unnecessary applications and replace them with new ones from the 2014 edition. I have a problem with applications: Media encoder CC, EDGE CODE CC, Rreflow CC, Lightroom 5, these applications just do not have the files "uninstall". CC Photoshop, Illustrator CC,  InDesign CC, Media Encoder CC (2014) - with these applications I do not have a problem, I can uninstall these applications because have files "uninstall".

  • How to generate a pulse on x number of events PCI-6602

    I am running LabVIEW 5.1 full development with a PCI-6602 counter board.
    I would like to generate an output pulse after counting x number of input pulses. I would also like to reset the counter with an external signal.
    My application is I am trying to generate a second index pulse for an encoder.
    I would like to count the pulses from encoder phase A and generate an output pulse on x number of counts. Then I would like to reset the counter using the encoder’s index pulse. This way I can change the phase of the “generated” index pulse with respect to the “real” index pulse by x number of counts (degrees) and maintain that regardless of encoder rpm.
    Thanks
    Brian

    Brian,
    There actually is a way to do what  you want, but it gets a little complicated.  I don't have LV on this machine so I'll have to just describe the idea.  First a summary: the counter will repeatedly countdown to 0.  Each time it reaches 0, it will generate a brief pulse which will in turn hw-reset the counter value to N.  Then it will countdown to 0 again, etc.  The same brief pulse could also be wired to a different encoder-measuring counter to create a "delayed" reset to 0 (or some other #).
    1. Configure your counter for "position measurement" instead of "simple event counting".  Set the encoder type to, um, I forget the name -- something like "two pulse encoder."  It's the setting that will increment with every SOURCE edge and decrement with every AUX edge.  Wire your encoder channel A to the counter's default AUX input (in position encoder mode, you must use the default input pins).  Hard wire from the default SOURCE input to GND.  Now every encoder edge will decrement the count, and nothing wlil ever increment it.
    2. Configure the counter to use z-indexing.  Set the z-index reload value to be N-1, where N is the # of encoder counts by which to delay the encoder's real z-index pulse.  Set the z-index reload phase appropriately, probably to A low B low.  Wire the real z-index pulse to the counter's GATE input.
    3.  Configure the counter to "pulse on terminal count" -- you do this using 'Counter Set Attribute.vi'.  So N encoder edges after the real z-index pulse, you'll generate a pseudo-z-index with this counter.
    4. You can wire this pseudo-z-index to the GATE input of the encoder-measuring counter.  Now the encoder's z-index pulse is delayed by an amount you can program.
    5. Note: this method requires the motion to be uni-directional.
    Good luck!
    -Kevin P.

  • How to set DB driver's encoding ??

    I'm currently using Access 2000 with tomcat as server. My problem is how to set the database's encoding in java ?? for both read and write ?? I'm trying to storea strings from the JSP in UTF-8 format in to access but as I retrieve it from database it has a lot of "???" I have the unicode support turned on but still no use, can anyone please help ~ thank you

    Hi.
    Read documentation on JDBC driver that you use to connect to MS Access database.
    Victor Letunovsky

  • DBMS_DATAPUMP - how to simulate commit=N ?

    Hi,
    I am writing a PL/SQL procedure to export/import data from any database. Concerning the import part, how to simulate using DBMS_DATAPUMP api the command line option COMMIT=N?
    Our environment is Oracle 10.2.4 EE.
    Thanks for your help,
    Cyryl

    Hi,
    I don't think you can use commit with data pump. COMMIT is an option with standard import (imp), not an option with datapump, hence not available in DBMS_DATAPUMP. You should remember that standard import uses simple INSERT statement to insert the data into the table during import, but, data pump is entirely different.
    Salman

  • How to make utf-8 default encoding firefox 4.0

    how to make utf-8 default encoding firefox 4.0

    The default encoding that you set in Firefox/Tools > Options > Content is only used if a server doesn't send an encoding via the HTTP response header and if there is also no meta tag or other indication in the file.

  • How to change the Content-Transfer-Encoding for the fmddataa.fmd from base

    Dear all,
       When I using this SO_DOCUMENT_REPOSITORY_MANAGERto send email,I find the fmddata.fmd  file have been changed  to binary file attachment. I don't hope so.any one have good idea to avoid this case occur?
      Can you tell me how to change the Content-Transfer-Encoding for the fmddata.fmd from base64 to quoted-printable.  The quoted-printable is the Content-Transfer-Encoding for text file with extension .txt
    Best Regards,
    Merry

    Thank you

  • How to simulate HOST command from DB Procedure

    Hi,
    I'm using Oracle 9.2 database on Win2000 PC.
    I need to start .bat file from a database procedure. More generaly how to simulate HOST command that I'm using from Forms6i.
    Thanks,

    Thanks for the reply,
    But, I am able to successffuly execute HOST from SQL+
    only from the PC where the database is, not from the client. My .bat file is on the server side.
    From the procedure I was not able to run it in either cases
    Procedure TEST
    IS
    BEGIN
    EXECUTE IMMEDIATE 'host C:\MYBATCHFILE.BAT'
    END;
    returns ORA-00900 INVALID SQL STATMENT
    with EXECUTE IMMEDIATE '$ C:\MYBATCHFILE.BAT' returns Invalid Character Error.
    BR,

  • How do i set colors on javascript coding page, colors are not seen after installing Firefox version 8

    How do i set colors on javascript coding page, colors are not seen after installing Firefox version 8 . I am using WaveMaker application for web development

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    *http://kb.mozillazine.org/Website_colors_are_wrong
    *http://kb.mozillazine.org/Websites_look_wrong

  • How to simulate the escalation process

    Hi All,
    Can somebody tell me how to simulate the escalation process in service?I need to know whether all configuration in my system has done or not done yet....
    In my system if there's a problem in customer system for more than 7 hour, then system will detect the problem and send an sms/email to the person responsible in some level (ex: level 1 for SLG 95%), if the customer system still have a problem for more than 10 hour, then system will send an sms to person responsible in level 2, etc.
    I want to know how can I simulate this escalation process in CRM service manually. I'm using CRM 5.0. Any helpful answer will be rewarded. Thank you.
    Rgds,
    Aleluya sap.

    Hi Aleluya,
    You can use date types which will have the times at which the trigger of mail is supposed to happen and once the current date and time is equal to say date type 1 there can be an action setup to send a mail to a particular partner function .
    Also you can use status condition for controlling the mails ..
    hope it helps
    Cheers!
    Raj

  • How to simulate writing in flash

    Hi - I'm new to flash and just need direction to a tutorial
    on how to simulate writing. Basically I want to create a flash file
    that has wording appear like someone's typing or handwriting it.
    I'm an editor by trade and not completely green to FX, but
    completely green to flash.
    So if anyone knows of a good place to look that'd be cool.
    THANKS!

    Handwriting is much more difficult than typing. If you can
    get away with typing you can either just cover each letter of your
    sentance then "uncover" each letter in each frame to achieve the
    look of typing or buy a cheap program like:
    http://www.swishzone.com/index.php?area=products&product=max
    and have the animation done for you. And, no I don't work for
    them but I do use that program to make my life much easier when
    people ask me to do cheesy effects they have seen on the web and
    would take me a long time to animate without the program.
    -Cheers

Maybe you are looking for

  • Picture was yellow when using flash - iPhone 5

    Hi , Since a while ago, all pictures taken by my iPhone 5 with Flash on are yellow and nothing in it. But pictures taken with natural light are OK. I feel this is some issues in the hardware in my phone but am not sure about it. Note, the IOS on my p

  • Adobe Photoshop CS6 trial

    I've been waiting this CS6 and I downloaded ADA(adobe download assistant) but its downloads so slow i just want the 'animation' app in PS can you give me advices for downloading fast???

  • I'm having trouble opening pdfs and ppt...

    Is there something I need to download to help open these files?

  • Adding fields to PR/PO Reg

    Hi SAP GURUS, I want to add some 3 fields in PR/PO screen. Can you please throw some light on this issue. Thanks in advance.

  • Color filling entire layer & not object?

    Hello:                                                                                                               Level: Newbie  OS: Win7 64bit  Ps: Cs6 I am trying to follow this tutorial ... http://rgbjam.com/tutorials/creating-a-pencil-in-photo