Finite pulse-trai​n generation with variable time lapses with NiDAQmx

Being a newby in Labview and NiDAQmx, I find it tedious to program the application I need to drive my experiment : I want to generate a finite pulse train, with variable delays between two consecutive pulses. These delays are known before the experiment starts, summurized in a table (element 0 decribes the time lapse between pulse 0 and 1, element 1 between pulse 1 and 2 ...). I would like to use NiDAQmx to program this. I had in mind the following scheme : two counters, first one counting time between pulses, the second one generating the pulse once "counter one" has finished his job. What I don't figure out is how to reprogram "counter one"'s register, without introducing unwanted delays in the time
sequence of my finite pulse train. I am using a 6052E DAQ, and I want to generate delays in a same pulse train ranging from 1 microsecond up to 20 seconds.
Thank you for ANY help :-)

Hello !
Well, I will try to be more precise while answering your questions. But first let me thank you very much for your help : your comments, questions and remarks are very helpful to help me shape my project, as you shed light on particular problems I strictly had no idea before !
1) I can certainly get on well with digital output as my flash device is triggered by TTL signals.
2) The lighting device is home-made, and I think it will be better for my needs to produce light throughout the duration of the input at the “on” level. In any case it will be driven by TTL-like signals. The intensity is manually set, so no analog control is required.
3) I will use Labview to collect the experimental data. The signal will be sampled during the light pulse : the rising edge of the TTL-like output signal will trigger both the lighting device and the data acquisition, the latter being stopped on the falling edge. The light emitted by the lighting device is called a “probe” for the following reasons : the photons are absorbed by the photosynthetic sample and “immediately” re-emitted at a longer wavelength. A photodiode acts as a signal transducer, and I monitor the intensity of this fluorescence. Knowing precisely when light pulses occurred after the initial start excitation (which is also a brief pulse of light but of a much greater intensity than the “probe” light) and the intensity of light emitted during theses pulses, I can reconstruct the kinetic of fluorescence decay. This kinetic reflects the behaviour of my biological sample. Thus no continuous acquisition is required as between two light pulses there is nothing to monitor. And all the half-time reaction are timed relative to the same “start” excitation as they reflect a jump sequence of an electron extracted by the “start” excitation : first jumps are quick ones (half-time in the 10 �s range) and last jumps are slow ones (half-time in the 1 s range). With respect to these kinetics, I would like a 1 �s precision. If not achievable, I could skip the quickest jump (but it would be a pity) and focus on the second one which has a 10 ms half-time reaction and a 100 �s precision would then be enough. But as we say in French : “Qui peut le plus, peut le moins !” (roughly meaning that when you can achieve the best, you easily can do the least). This precision relates to the position of one flash with respect to the others. I don’t need to be very precise on the duration of each individual light pulse : a typical value is 100 �s duration, but I can get on well with 90 �s or 110 �s, my data being an average of the light intensity emitted during the light pulse). All I want to know precisely is when it is fired.
4) Concerning the hardware, I already have a NI 6052E DAQ board, and unfortunately my laboratory cannot allow me to spend more money on this. I also have a fast acquisition board (IMTEC T3012) I intended to use to acquire my photodiode signal in place of the 6052E A/D converter. It has an old Labview driver, and I managed to upgrade it to suit my needs. It has an onboard segmented memory and can keep track precisely (it has a 60 MHz sample clock) of a trigger event. I am wondering if I can overcome the timing precision issue with this board, knowing that I strictly don’t care that flash n�1 is triggered at (t0 + 10 �s) or (t0 + 11 �s), provided that I know it, allowing me to place precisely my data point on the time scale. I can program the number of memory segments (i.e. the number of light pulses) and each one is filled with data coming from the photodiode upon receiving the rising edge triggering the light pulse. The precise date at which each triggered is received is stored in the board memory, allowing time reconstruction.
I do hope this is much clearer than my previous attempts ! Believe me, it is quite hard to leave biology for a while and enter the cryptic world of data acquisition !
Gritche

Similar Messages

  • How to mix time lapse with still images and imported movies ?

    Hello
    I have been shooting photos (time lapse with Camera Pro) and movies with a Nokia N8 and would love to use iMovie to mount all that.
    Unfortunately, for the time lapse I cannot get the duration of the photos to 0.03s, it just won't accept it. I have been looking around the forum and could only find sort of solutions when you have a transition or effect on the pictures but not when they are just fit to the screen...
    So now the time lapse looks much slower and broken than the movie itself... and it does not look nice.
    Another way would be to make the time lapse with QT Pro and then import it but I am affraid I am loosing quality in the process.
    Anybody knows how to fix this duration problem ?
    Thank you in advance for any helpful answer.
    Petri
    Mac OS 10.6.8
    iMovie : 9.0.4

    Able, Jim,
    thanks a lot, both solutions work just fine.
    Take the first image, adjust the Effects, copy it, select the other images and past attributes
    and
    just put all images together, make a new sequence and use that first sequence as nested sequence and put the effects on that

  • Problem with currency translation and variable time ref. with 0FISCPER

    Hello,
    We have a problem with a currency conversion with a variable time reference (as iobject we use 0fiscper)
    We created a currency conversion for several key fig:
    Our settings:
    Exchange rate Type: EURX
    dynamic ex rate determination
    Source cur from datarecord
    Fixed Target Curr (EUR)
    Variable time ref.: End of Period
    Special Infoobject: 0fiscper
    When we run the DTP we get the following error:
    <i>Enter rate GBP / EUR rate type EURX for 00.00.0000 in the system settings.</i>
    ending the DTP in a message type X.
    In table TCURR and T009/T009B all necessary information is available.
    After debugging the function module, it looks like the created date (created from the FISCPER) is set to 00.00.0000. This results in the error above.
    Does anybody have experience with this error and more important know how to solve it?
    We also have a 0FISCYEAR available but in the TCURR table al rates are defined per end of the month. When trying to use 0FISCYEAR as InfoObject in the variable time reference, a diffrent error occurs:  Enter rate GBP / EUR rate type EURX for 01.01.1001 in the system settings. While  the 0FISCPER is 2001001.
    Is there a bug in the function module? (couldn't find a SAP note)
    We are working with BI 7.0 and SP12
    Best regards
    Steven

    Please can you give more detail on how you were able to resolve this issue?  How did you add 0fiscper to the transformation?  I am on BW 3.5, how do I fix this same issue on it?  Please help, this is urgent.

  • The Comparing RAW with TS Time Lapse Recording file for MSI PANOCAM

    I am a big fan of MSI, I have been using its motherboard, MP3 and NB. MSI introduces a new IOT product in 2015, MSI PANOCAM, I feel excited about it, therefore I wanna share some experience of MSI PANOCAM here.
    Have you heard Time-Lapse, it is very popular skill for movie and advertisement. it looks very interesting because Time-Lapse shows interval recording fast forwarded.  It has been widely used in various industry, such as observation of flower growth; building construction and natural scene change.
    The Comparing Analysis of RAW and TS file for Time Lapse
    How to manage time lapse recording file is critical problem in the marketplace many end-users encountered. Generally speaking, there are two categories file have been used as Time Lapse recording, one is RAW file and another one is TS file.
    The advantage of RAW would be better video retouched, such as more flexibility of colorful balance, color temperature adjustment and less Zoom in/out distortion. Especially, RAW is quite suitable for weak light resource environment and low speed camera shutter. Therefore, the requirement capacity of RAW file is larger than TS.
    As beginner, be familiar with TS is suggested here, you can not perform as high quality as professional RAW quality until you learn proper shooting skill. Practicing shooting skill is necessary and should be prior than video retouching.
    Left part is shooting by TS and ambiguous scene can be seen; Right part is RAW which demonstrates more detail scene

    To change the amount of time you want each frame to display, you can do one of 2 things:
    -Change the frame rate of the Image Sequence in the Media settings (select the layer and typ Shift F). If the frame rate is less than the project frame rate, your clip will play more slowly.  If the frame rate is greater than the project frame rate, it will play more quickly.
    -Change the Speed in the Timing section (Inspector->Properties->Timing).  This is the method I think most people use.
    To blend the frames, change the Frame blending option, also in the Timing section of the properties.

  • Working with Raw Time Lapse images

    I have tried importing Raw images from Aperture via FCP Pro X photo browser, however the images are coming in as JPEG. When I use file/import/files the Raw files are imported.  Second part of my question is how can I set import still image default as 1 frame, the smallest I have been able to set is 2 frames.  Third part of my question, without exporting how can I combine the time lapse image sequence into a single clip?

    I'm very disappointed with Apple, they release the latest and greatest forward thinking professional editing program which as it turns out does not have the ability to import a sequence of single frame images.  I operate at 23.98 frame rate.  If I adjust the still image setting to 0.04 seconds no image in imported, if I set to 0.05 seconds images are set to 2 frames.  You used to be able to import images as single frames but only in JPEG.  You can't import Raw directly via photo browser integration with Aperture.
    Creating Time Lapse movies is increasingly becoming more popular which Apple seems to have completely overlooked.
    Seriously isn't Apple coordinated within its development teams.  Don't they have a list of functionally with previous software versions to check against when developing new applications?
    I could do all this with Adobe programs instead of going backwards with Apple programs.  So far I'm disappointed with this release.  I hope that Apple do something to broaden it's view of the user base needs.

  • Time lapse with Smart Control?

    If I use the time lapse app for my A7 camera, can I also use the smart remote control from my smartphone to adjust the exposure and other settings while the time lapse is running?

    QuickTime Player Pro ($30) can import an "Image Sequence".
    An Image Sequence is a folder of same dimension, sequentially named image files (of the same format). I've done as many as 64,000 in a single .mov file.
    If your camera was set steady on a tripod when shooting and you had some type of "automatic" frame capture then the files may already be sequentially named and would be the same dimension so all of the hard work is already done. Just move the entire folder from the iPhoto Library to your Desktop to start work with QuickTime Player Pro.
    Pro can create an image sequence at varying frame rates. If you shot one frame per second you could use a variety of export settings to help "speed it up".

  • HT4681 Problem exporting time lapse with FCPX 10.0.6

    I have been trying to export my time lapse and it processes for a bit, then this message comes up:
    The operation couldn’t be completed. (com.apple.Compressor.CompressorKit.ErrorDomain error -1.)
    Before updating to version 6, I had no problems exporting dozens of time lapses.  As far as I know, I'm not doing anything differently than my previous ones. This is not even the biggest file I've processed.
    I have Compressor 4, and that fails as well. 
    Thanks for any help

    See if it will export with other settings, like Master File, Pro Res. If it does, you can then do your h.264 encode in Compressor.
    Whether that works or not, try the usual troubleshooting steps of trashing preferences and repairing permissions.
    (I'm also assuming that you followed Tom's advice to make sure both FCP and Compressor were updated to their latest versions.)
    Russ

  • Time lapse with Camileo P10 or Camileo Pro HD

    Hi,
    I have both of these camcorders and I understand that time lapse photography is possible with them????? I've certainly seen a few sequences on youtube that are supposedly done with the P10.
    I've been right through the menu's on both and I cannot see how it is done! Anyone able to help please?

    I had to googled for +time lapse photography+ because I did not know what it is.
    Now Im a little bit slier ;)
    I assume both camcorders dont support such feature I also checked the user manual but could not find any details about that.

  • Time Lapse with iMovie 11

    I was really hoping to be able to build a time lapse movie with iMovie 11.  But, it looks as if it isn't possible.  There are two big issues:
    1.  It would appear that there is a maximum number of 'clips' that iMovie 11 will accept.  So, when importing still images, iMovie freezes at the maximum.  I'm not sure what that miximum is, but it's somewhere between 500 and 1000.  Does anybody know?
    2.  It would appear that the shortest period that I can allocate to an individual image is 0.04.  So, each image lasts for four frames.  It means that the effective frame rate for the time lapse is 6.25 frames per second (assuming a 25fps PAL movie).
    It's so annoying.  It was possible to develop time lapse movies with iMovie HD.  It took a bit of messing around, but it was possible!  I can't seem to find anyway to do it in iMovie 11.  Anybody got any suggestions?

    Thanks.  I'll look into getting Quicktime Pro ... although I was hoping to take advantage of iMovie so that I could interweave time lapse footage with standard footage.
    I did manage to come up with a workaround, but it isn't particularly elegant.
    I found that I could import around 500 still images without a problem.  Before importing, I adjusted the project properties so that Photo Duration was set to 1 and Initial Photo Placement was set to 'fit'.  I then dragged the images to the project and they imported.  Once they were all imported, I adjusted the clip properties so that the clip duration was 0.04 (the shortest duration I could get it to accept) and made sure that I checked the 'apply to all clips) box.
    I now had a string of 500 images at durations of 0.04, and I exported this as an HD quicktime movie.
    I then tried to do the same thing again, but found a weird anomaly and iMovie wouldn't import clips.  On a hunch, I deleted the project.  Exited iMovie.  Emptied the trash.  Restarted iMovie.  Opened a new project, and tried importing the next 500 stills.
    It worked!
    So, it's a bit of a fuss, but after each import of 500 stills, I exported an HD movie then deleted the project, emptied the trash, and started a new project.
    Eventually, I'd got through 1,799 images.
    So, finally, I created an entirely new project, and imported the four movies that I'd created.  I imported at 'full' quality to try to avoid as much degredation as possible.  I was then able to bring the four movies into the new project, speed them up (x4) and I've got a half-way decent time lapse.
    It isn't perfect, but it does provide a method of using iMovie 11 to generate time-lapse segments within broader movies.
    I will try Quicktime Pro too.
    Does anybody have any suggestions for best export settings from Quicktime so that the time lapse could then be imported into iMovie 11?

  • How to create a time-lapse with Premiere Elements?

    To whom it may concern,
    I have a DSLR (Rebel T3i) and I am planning to set it to take pictures every so often. I heard there was a way to do it within Premiere Elements and would rather save money since I already own this great software. I would like to have the steps to do so as soon as possible.
    Sincerely,
    Adobe Pat 206

    Adobe Pat 206
    Lots more details, but for starters please check out my blog post on Premiere Elements Time Lapse basics.
    http://www.atr935.blogspot.com/2013/07/pe-time-lapse-video-basics.html
    More later.
    ATR

  • Slideshow issues with variable time for each picture

    Hi all,
    I've migrated from AS1 to AS3, and boy, a lot has changed...
    Anyhow, to learn and understand AS3, I'm modifying a slideshow I found through thetechlabs. I want it to play SWF as well as JPG. These files are passed through an XML file. I added an element called <delaytime> to the XML file that replaces the standard time a photo is shown in the slideshow.
    I modified the onSlideFadeIn() function as follows:
    function onSlideFadeIn():void {
         slideTimer.removeEventListener(TimerEvent.TIMER, nextSlide);
         slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
         slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
         if(bolPlaying && !slideTimer.running)
         slideTimer.start();
    However, when I run it, I get this error message:
    ## [Tweener] Error: [object Sprite] raised an error while executing the 'onComplete'handler.
    TypeError: Error #1010: A term is undefined and has no properties.
    at slideshow_fla::MainTimeline/onSlideFadeIn()
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/::updateTweenByIndex()
    at caurina.transitions::Tweener$/::updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    It stops at the first picture of my slideshow. When I push the 'next' button it displays the next pic, but I get the same error message again.
    When I comment out this line:
    slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
    the slideshow runs OK, but without the delaytime specified in the XML file.
    I'm lost here, what am I missing?
    Any help to get me back on track is highly appreciated!
    Thanks a bunch in advance,
    Dirk
    Here is the complete AS, should you need it:
    // import tweener
    import caurina.transitions.Tweener;
    // delay between slides
    const TIMER_DELAY:int = 5000;
    // fade time between slides
    const FADE_TIME:Number = 1;
    // flag for knowing if slideshow is playing
    var bolPlaying:Boolean = true;
    // reference to the current slider container
    var currentContainer:Sprite;
    // index of the current slide
    var intCurrentSlide:int = -1;
    // total slides
    var intSlideCount:int;
    // timer for switching slides
    var slideTimer:Timer;
    // slides holder
    var sprContainer1:Sprite;
    var sprContainer2:Sprite;
    // slides loader
    var slideLoader:Loader;
    // current slide link
    var strLink:String = "";
    // current slide link target
    var strTarget:String = "";
    // url to slideshow xml
    var strXMLPath:String = "slideshow-data2.xml";
    // slideshow xml loader
    var xmlLoader:URLLoader;
    // slideshow xml
    var xmlSlideshow:XML;
    function initSlideshow():void {
         // hide buttons, labels and link
         mcInfo.visible = false;
         btnLink.visible = false;
         // create new urlloader for xml file
         xmlLoader = new URLLoader();
         // add listener for complete event
         xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
         // load xml file
         xmlLoader.load(new URLRequest(strXMLPath));
         // create new timer with delay from constant
         slideTimer = new Timer(TIMER_DELAY);
         // add event listener for timer event
         slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
         // create 2 container sprite which will hold the slides and
         // add them to the masked movieclip
         sprContainer1 = new Sprite();
         sprContainer2 = new Sprite();
         mcSlideHolder.addChild(sprContainer1);
         mcSlideHolder.addChild(sprContainer2);
         // keep a reference of the container which is currently
         // in the front
         currentContainer = sprContainer2;
         // add event listeners for buttons
         btnLink.addEventListener(MouseEvent.CLICK, goToWebsite);
         btnLink.addEventListener(MouseEvent.ROLL_OVER, showDescription);
         btnLink.addEventListener(MouseEvent.ROLL_OUT, hideDescription);
         mcInfo.btnPlay.addEventListener(MouseEvent.CLICK, togglePause);
         mcInfo.btnPause.addEventListener(MouseEvent.CLICK, togglePause);
         mcInfo.btnNext.addEventListener(MouseEvent.CLICK, nextSlide);
         mcInfo.btnPrevious.addEventListener(MouseEvent.CLICK, previousSlide);
         // hide play button
         mcInfo.btnPlay.visible = false;
    function onXMLLoadComplete(e:Event):void {
         // show buttons, labels and link
         mcInfo.visible = true;
         btnLink.visible = true;
         // create new xml with the received data
         xmlSlideshow = new XML(e.target.data);
         // get total slide count
         intSlideCount = xmlSlideshow..image.length();
         // switch the first slide without a delay
         switchSlide(0);
    function fadeSlideIn(e:Event):void {
         // add loaded slide from slide loader to the
         // current container
         addSlideContent();
         // clear preloader text
         mcInfo.lbl_loading.text = "";
         // check if the slideshow is currently playing
         // if so, show time to the next slide. If not, show
         // a status message
         if(bolPlaying) {
              mcInfo.lbl_loading.text = "Next slide in " + TIMER_DELAY / 1000 + " sec.";
         } else {
              mcInfo.lbl_loading.text = "Slideshow paused";
         // fade the current container in and start the slide timer
         // when the tween is finished
         Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:onSlideFadeIn});
    function onSlideFadeIn():void {
         slideTimer.removeEventListener(TimerEvent.TIMER, nextSlide);
         slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
         slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
         if(bolPlaying && !slideTimer.running)
         slideTimer.start();
    function togglePause(e:MouseEvent):void {
         // check if the slideshow is currently playing
         if(bolPlaying) {
              // show play button
              mcInfo.btnPlay.visible = true;
              mcInfo.btnPause.visible = false;
              // set playing flag to false
              bolPlaying = false;
              // set status message
              mcInfo.lbl_loading.text = "Slideshow paused";
              // stop the timer
              slideTimer.stop();
         } else {
              // show pause button
              mcInfo.btnPlay.visible = false;
              mcInfo.btnPause.visible = true;
              // set playing flag to true
              bolPlaying = true;
              // show time to next slide
              mcInfo.lbl_loading.text = "Next slide in " + TIMER_DELAY / 1000 + " sec.";
              // reset and start timer
              slideTimer.reset();
              slideTimer.start();
    function switchSlide(intSlide:int):void {
         // check if the last slide is still fading in
         if(!Tweener.isTweening(currentContainer)) {
              // check, if the timer is running (needed for the
              // very first switch of the slide)
              if(slideTimer.running)
              slideTimer.stop();
              // change slide index
              intCurrentSlide = intSlide;
              // check which container is currently in the front and
              // assign currentContainer to the one that's in the back with
              // the old slide
              if(currentContainer == sprContainer2)
              currentContainer = sprContainer1;
              else
              currentContainer = sprContainer2;
              // hide the old slide
              currentContainer.alpha = 0;
              // bring the old slide to the front
              mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
              //Van hier
              if (currentContainer.numChildren > 0) {
                   var slideObjRef:DisplayObject = currentContainer.getChildAt(0);
                   currentContainer.removeChildAt(0);
                   slideObjRef = null;
              //Tot hier
              // delete loaded content
              clearLoader();
              // create a new loader for the slide
              slideLoader = new Loader();
              // add event listener when slide is loaded
              slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
              // add event listener for the progress
              slideLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, showProgress);
              // load the next slide
              slideLoader.load(new URLRequest(xmlSlideshow..image[intCurrentSlide].@src));
              // show description of the next slide
              mcInfo.lbl_description.text = xmlSlideshow..image[intCurrentSlide].@title;
              // set link and link target variable of the slide
              strLink = xmlSlideshow..image[intCurrentSlide].@link;
              strTarget = xmlSlideshow..image[intCurrentSlide].@target;
              mcInfo.mcDescription.lbl_description.htmlText = xmlSlideshow..image[intCurrentSlide].@desc;
              // show current slide and total slides
              mcInfo.lbl_count.text = (intCurrentSlide + 1) + " / " + intSlideCount + " Slides";
    function showProgress(e:ProgressEvent):void {
         // show percentage of the bytes loaded from the current slide
         mcInfo.lbl_loading.text = "Loading..." + Math.ceil(e.bytesLoaded * 100 / e.bytesTotal) + "%";
    function goToWebsite(e:MouseEvent):void {
         // check if the strLink is not empty and open the link in the
         // defined target window
         if(strLink != "" && strLink != null) {
              navigateToURL(new URLRequest(strLink), strTarget);
    function nextSlide(e:Event = null):void {
         // check, if there are any slides left, if so, increment slide
         // index
         if(intCurrentSlide + 1 < intSlideCount)
         switchSlide(intCurrentSlide + 1);
         // if not, start slideshow from beginning
         else
         switchSlide(0);
    function previousSlide(e:Event = null):void {
         // check, if there are any slides left, if so, decrement slide
         // index
         if(intCurrentSlide - 1 >= 0)
         switchSlide(intCurrentSlide - 1);
         // if not, start slideshow from the last slide
         else
         switchSlide(intSlideCount - 1);
    function showDescription(e:MouseEvent):void {
         // remove tweens
         Tweener.removeTweens(mcInfo.mcDescription);
         // fade in the description
         Tweener.addTween(mcInfo

    Thanks, but no luck so far...
    With the debugging publish setting on, I get the following error message:
    TypeError: Error #1009: Cannot access a property  or method of a null object reference.
    at  slideshow_fla::MainTimeline/slideshow_fla::frame1()[slideshow_fla.MainTimeline::frame1:12 3]
    Line 123 says:
    trace(xmlSlideshow..file[intCurrentSlide].@time);
    However, when I comment out the trace() line it gives another error  message:
    ## [Tweener] Error: [object Sprite] raised an  error while executing the 'onComplete'handler.
    TypeError: Error #1010: A  term is undefined and has no properties.
    at  slideshow_fla::MainTimeline/onSlideFadeIn()[slideshow_fla.MainTimeline::frame1:118]
    Where line 118 is:
    slideTimer = new  Timer(Number(xmlSlideshow..file[intCurrentSlide].@time));
    Now, according to my Flash manual I bought, I need to 'instanciate' things.  Did I forget this?
    Just can't get my head around this OOP stuff...
    Thanks a bunch for helping me!

  • Slideshow with variable times

    I've got an audio track (spoken) that I'd like to combine with photos at appropriate times. I do not want an approach with n seconds per picture. I may have a photo for a minute or two, followed by several very quickly.
    Is iDVD the right tool for this? (If not, what is the better tool?)
    Dave P

    First of all, you should NEVER use nested functions - they are a recipe for disaster.
    To start you with, the following code should accomplish the same thing as your original one. It will not do everything you intend but, again, it is something to begin with (code is more compact and more manageable):
    myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loading);
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded);
    prev_btn.addEventListener(MouseEvent.CLICK, imageProgression);
    next_btn.addEventListener(MouseEvent.CLICK, imageProgression);
    function imageProgression(e:MouseEvent):void
         clickSound.play();
         preLoader.visible = true;
         if (e.currentTarget == prev_btn) {
              imageCount--;
         else {
              imageCount++;
         myLoader.load(new URLRequest(imageCount + ".jpg"));
    function loading(e:ProgressEvent):void
         var loaded:Number = e.bytesLoaded / e.bytesTotal;
         preLoader.SetProgress(loaded);
    function loaded(e:Event):void
         close_btn.visible = true;
         preLoader.visible = false;
         var tweenAlpha:Tween = new Tween(myLoader, "alpha", None.easeOut, 0, 1, 10, false);
         myLoader.x = 0;
         myLoader.y = 0;
         addChild(myLoader);

  • How to declare internal table in BADI with variable name beginning with 0..

    Gurus,
    How to declare an internal table within a BADI. I have to implement a BADI UC_TASK_CUSTOM for BCS to BW load and there i have to  declare an internal table like:
    TYPES:          BEGIN OF t_cube_data,
                    0cs_version       TYPE /bi0/oics_version,
                    0sem_cgcomp       TYPE /bi0/oisem_cgcomp,
                    bcs_vers          TYPE /bic/oibcs_vers,
                    bcs_lcus          TYPE /bic/oibcs_lcus,
                    bcs_ldch          TYPE /bic/oibcs_ldch,
                    bcs_invcom       TYPE /bi0/oibcs_invcom,
                    bcs_litem         TYPE /bic/oibcs_litem,
                    bcs_llob          TYPE /bic/oibcs_llob,
                    bcs_lmay          TYPE /bic/oibcs_lmay,
                    0move_type        TYPE /bi0/oimove_type,
                    pcompany         TYPE /bi0/oipcompany,
                    bcs_lprg          TYPE /bic/oibcs_lprg,
                    figlxref3         TYPE /bic/oifiglxref3,
                    fiscyear         TYPE /bi0/oifiscyear,
                    fiscper3         TYPE /bi0/oifiscper3,
                    fiscvarnt        TYPE /bi0/oifiscvarnt,
                    curkey_gc        TYPE /bi0/oicurkey_gc,
                    unit             TYPE /bi0/oiunit,
                    cs_trn_gc        TYPE /bi0/oics_trn_gc,
                    cs_trn_qty       TYPE /bi0/oics_trn_qty,
              END OF t_cube_data
    But with this declaration it gives a error saying that u cannot have a variable beginning with 0...like 0cs_version....
    but i have to do it for my functionality to wrk...
    Please help me do it....
    how can i declare a internal table that allows me to have variable names that start with 0....
    Please help....Its URGENT....
    Thanks
    Sam

    Murali,
    I need to have 0 before the variable name in the declaration of the internal table....how can i attain that....
    Please suggest...
    Thanks
    Sam

  • How do i get a preset for time-lapse with music in LR5?

    I already have a preset for Timelapse at 30fps, but I want to also add music to my video within Lightroom 5.  As soon as I select the music option, it deselects my preset.
    Thank you
    Helen
    :O)

    It's probable that you did purchase them, even if inadvertently, or they wouldn't have downloaded. All purchases are final: you may possibly be able to get a refund at the Store staff's discretion, but they aren't under any obligation to do this.
    Go to https://expresslane.apple.com ; select 'iTunes' in the first column and then 'iTunes Store' in the second column. In the third column click 'Purchases, Billing & Redemption' and proceed from there.

  • Apple TV and Time Capsule with 5ghz

    Hi.
    I have an Apple TV 3rd. generation and a Time Capsule with 2.4 / 5 ghz wifi capability.
    I was wondering that if I connect the Apple TV using the 5ghz network I could improve the speed of download in particular to contents in mi iMac that is connected to the time capsule too.
    Using the traditional wifi 2.4 ghz I can  access my itunes network on the Apple TV.
    But when I switch to the 5GHZ network, I can´t.
    Why?
    Any help please!
    Regards, Edgardo

    5 Ghz may help avoid interference, but it also has shorter range, it depends on the circumstances surrounding your location whether it's a better option or not.

Maybe you are looking for

  • Spending limit - what a joke!

    I have been a loyal customer for 2.5 years with a bill that is almost $500 per month for 8 lines on Edge plus one line that has completed a 2-year contract. That means I have paid verizon between 12,000 and 15,000 dollars on time every time. I have a

  • Error iPod Photo won't update

    I have 2600 songs in my library, but my iPod photo will only update about 1500. Then I get an error -XX Unable to update Cali's iPod an error occurred. I have 60GB so I know it is not a capacity issue. I tried the tips from Apple (deleting the photo

  • Reporting - Costs from the same GL account required in different categories

    We have a business requirement to report in the following way for management account reporting: Sales Gross Profit Freight DC Rent & Other Operating Costs DC Wages Intercoy Logistics Charge    Total Distribution Store Operating Expenses Wages Rent Ot

  • Firefox updates latest version, but sites like You Tube don't recognise it.

    I've installed the latest version of Firefox, but when I visit YouTube, it still displays the message that I need to update to the latest version, as mine is not supported, even though I have the latest version! == This happened == Every time Firefox

  • New window when clicking on cancel or link in ESS process

    Hello, When I am accessing an ESS scenario (Address for example), and I am changing my address, whenever i click on Cancel or another link (Overview for example), it opens up a new window. When i click cancel i want the current scenario to cancel, an