Loops of scripts multiple times for each a vm

Hello

Someone can correct me on the code below.

foreach ($vCenterServer in ($DefaultVIServers)) {
foreach($vm in (Get-View -Server $vCenterServer -ViewType VirtualMachine -Property Name,runtime.powerState,Guest.net,Runtime.Host,Guest.GuestFullName,
Config.GuestFullName,Parent,ResourcePool,Config.Hardware.Device,Config.version,guest.toolsVersion,guest.toolsversionstatus)){
    $t = Get-View $vm.Parent -Property Name,Parent
    $path = $t.Name
    while($t.GetType().Name -eq "Folder"){
        $t = Get-View $t.Parent
        if($t.Name -ne "vm"){
            $path = $t.Name + "/" + $path
        }
    }
    $t = Get-View $vm.ResourcePool -Property Name,Parent
    while($t.getType().Name -eq "ResourcePool"){
        $t = Get-View $t.Parent -Property Name,Parent
    }
        if($t.GetType().Name -eq "ClusterComputeResource"){
        $cluster = $t.Name
        }
        else{
            $cluster = "I'm Single"
        }
    while($t.getType().Name -ne "Datacenter"){
        $t = Get-View $t.Parent -Property Name,Parent
    }
    $datacenter = $t.Name
    
    $vm.Config.Hardware.Device  | Select @{N="vcenter";E={$vCenterServer.Name}}, 
    @{N="VM";E={$vm.Name}},
    @{N='powerState';E={$vm.runtime.powerState}},
    @{N='IP';E={[string]::Join(',',($vm.Guest.Net | %{$_.IpAddress | where{$_.Split('.').Count -eq 4} | %{$_}}))}},
    @{N='VMHost';E={$script:esx = Get-View -Id $vm.Runtime.Host; $script:esx.name}},
    @{N='GuestOS';E={$vm.Guest.GuestFullName}},
    @{N='ConfiguredOS';E={$vm.Config.GuestFullName}},
    @{N="Folder";E={$path}},
    @{N="Cluster";E={$cluster}},
    @{N="Datacenter";E={$datacenter}},
    @{N="HW Version";E={$vm.Config.version}},
    @{N="Tools Status";E={$vm.guest.toolsversionstatus}},
    @{Name="ToolsVersion";E={$vm.guest.toolsVersion}}
    
 }           
 }
    

Why you loop through the devices of all virtual machines in line 27?

In fact the script does not use the properties of the device, so I think you could fall this loop

Tags: VMware

Similar Questions

  • For the last week or three Firefox updated two or three times for each update and sometimes for no apparent reason...

    For the last week or three Firefox updates two or three times for each update. Sometimes it refreshes without obvious reason. For example, I'll be in the middle of typing in the message forum block & it refreshes. Or by filling out an online form. Or simply viewing a page.

    You can check for problems caused by an extension that is not working properly.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.
  • How to measure the time for each mapping?

    I use oracle11g with OWB.

    I have several mapping and each dimension tables to update the mapping.

    I want to measure how long it takes to complete each mapping. What is the best way to find the total time for each mapping.

    One way is, we can have POST MAPPING and PROCESS of MAPPING PRE. I can trigger the stored procedure to enter the start time and the end time of each match. On this basis, I can calculate the total time for each mapping. But I have 50 mapping. Now, I need to write 50 different stored procedure and open the POST-PROCESSING of the MAPPING and PROCESS OF MAPPING of the PRE for each mapping. It is complex.

    Is there another way, we enter the total for each mapping of execution? Y at - it that no data in OWF_ MGR dictionary can help on this?

    I would be grateful if someone can help me on this.

    He will remain forever unless you purge it explicitly.

    See you soon
    Katia

  • get the time for each transaction

    Hi Master,

    Someone asked me a question.

    I have a pl/sql block with multiple DML operations. How do you know how much time took each DML operation (not on a single table, tables different operations are underway in my pl/sql block)?  Like this

    Update statement

    INSERT statement

    Remove the statement

    I replied like that... Use dbms_utility.get_time... If each statement how long it takes... We can easily find...!  Once, he said... no I want to use predefined packages. DBA does not accept.

    How can I fix this... Masters?

    Please advise... !!!

    Concerning

    AR


    DBA will no longer accept pkgs installation... !!

    Create an account of RTO and defend his position to not use standard Oracle supplied packages, take the DBA.

    Therefore, these packages should already be installed.

    (Some essential element of the information seems to be missing).

    Since no valid rationale was given for this crazy requirement (IMHO), the correct solution may possibly be: replace your DBA.

    (I'd love to hear from experienced 'why' people, this requirement would be valid.)

    MK

  • analyze two times for each run?

    Oracle 11.2.0.3 Std Ed One

    Oracle Linux 64-bit 5.6

    New guy was trying to use MS Data Integrator for 1.7 million lines of charge of MSSQL to Oracle.  Process took more than 4 hours.  I started an on the session 10046 trace, let it run for about 5 minutes, then produced the report tkprof.  As I expected, the process was slow-by-slow transformation, issuing an INSERT for each line.  But what I wasn't expecting, it is the count analysis was twice the number of execution.  I am at a loss to explain this.

    callCountycentral processing unitelapseddiscquerycourselines

    ------- ------  -------- ---------- ---------- ---------- ----------  ----------

    Parse 832261.211.210000
    Run 4161341,4143.1954173228278641613
    Go get 0.000.000000

    ------- ------  -------- ---------- ---------- ---------- ----------  ----------

    Total 12483942,6244,4154173228278641613

    Chess in the library during parsing cache: 1

    Lack in the library during execution cache: 1

    Optimizer mode: ALL_ROWS

    I convinced the new guy to let me write a simple PL/SQL proc to do an INSERT... SELECT and it ran in under 4 minutes...  but I'm still curious about this count analysis.  In fact, I'm a bit puzzled by the results on my proc as well.  This time, 1 run (as expected) but ZERO parsed?

    callCountycentral processing unitelapseddiscquerycourselines

    ------- ------  -------- ---------- ---------- ---------- ----------  ----------

    Parse00.00
    0.000000
    Run1106.03193.34144849822433678739292
    Fetch00.000.000000

    ------- ------  -------- ---------- ---------- ---------- ----------  ----------

    total1106.03193.34144849822433678739292

    Chess in the library during parsing cache: 0

    Lack in the library during execution cache: 1

    Optimizer mode: ALL_ROWS

    The analysis of the user id: 656(recursive depth: 1).

    Clearly it 'parse' without 'run '.

    I've seen this before.

    Here is an example how it occurs when:

    SQL statement with some analysis but no executions or extraction on the remote database SQL Distributed (Doc ID 580301.1)

    Analysis number is high, but no executions (Doc ID 1335913.1)

  • Essbase - lead time for each statement in difficulty

    Hello world

    is there a way to monitor the execution of each statement to fix time in a business rule? I mean using a log file that returns the time as each statement of correction required for its calculation.

    Thank you all ;)

    Maurizio

    Published by: MauriceFIX on 6-mar-2013 3.28

    You can take a look on the essbase application log, it is also useful to have a read of the following calculation
    SET MSG - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?set_msg.html
    NOTICE - the VALUE http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?set_notice.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • You will need to run Adobe Customization Wizard each time for each new update of the player?

    Hello

    This should be a simple question...

    I run Adobe Customization Wizard each time on each new incremental update of player, or just once a major revision (Reader 9, Reader X)?

    Not answered this question because it would be better asked in the forum for enterprise deployment. The Wiz is a tool of deployment of the NTS and is used only for initial deployments in most cases. It allows to customize the installer and the product when it is first installed. You can use it for all installations, but it is a less common scenario.

    Usually, you customize the first version you install and then just apply updates as they become available.

    HTH.

    Ben

  • Breaking point taking up too much time for each step for every time to Jdeveloper 11.1.1.7

    Hi all

    I use Jdeveloper to ADF application development 11.1.1.7 and I use 64 bit JDK. When I run my application in debug mode, if the program control passes to the location of the breakpoint taking too in time for the next step (F8) a few times because of this I need to restart the server from WL. During this time of progress/loading showing symbol on the screen. I don't know why this is happening... ? Please someone help me on this.

    Vinoth-

    Try closing the Panel of the Structure of the ADF. I noticed a lot of requres JDev struggle to maintain synchronization with the Structure of the ADF. It helps in the design of JSF page and in brakepoints in support beans and other JSF related classes.

    I also had problems with 64 bit JDK on Windows and came back to 32-bit. (do not remember if I had WLS crashes but I know I had a lot of problems)

    Try growing JDev memory and heap WLS.

  • How to set the time for each slide in the slide show?

    Length of blade, pan and zoom, melted chained, etc. is adjustable for each slide or have all the same?

    If they can be individualized, what I don't see.

    Use Lightroom CC 2015.

    Thank you

    Leo Sopicki

    These features are not in the Lightroom Slideshow module. You will need to use another third party software to create these types of slideshows.

  • Slideshow of issues with a variable time for each photo

    Hi all

    I migrated from AS1 to AS3 and the boy, a lot has changed...

    In any case, to learn and understand AS3, I'm editing a slide show that I found through thetechlabs. I want to play SWF and JPG. These files are transmitted via an XML file. I added an element called < delaytime > in the XML file, which replaces the time that a photo is displayed in the slide show.

    I changed the function onSlideFadeIn() 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 photo of my slide show. When I push the 'next' button, it displays the next picture, but I get the same error message again.

    When I comment out this line:

    slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);

    the slideshow works OK, but without the delaytime specified in the XML file.

    I'm lost here, what am I missing?

    Any help to get back on track is much appreciated!

    Thanks in advance, broadband

    Dirk

    Here is the complete, if you need:

    // 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.mcDescription, {alpha:1, time:0.5, y: -37});
    }
    function hideDescription(e:MouseEvent):void {
         // remove tweens
         Tweener.removeTweens(mcInfo.mcDescription);
         // fade out the description
         Tweener.addTween(mcInfo.mcDescription, {alpha:0, alpha:1, time:0.5, y: 25});
    }
    function clearLoader():void {
         try {
              // get loader info object
              var li:LoaderInfo = slideLoader.contentLoaderInfo;
              // check if content is bitmap and delete it
              if(li.childAllowsParent && li.content is Bitmap){
                   (li.content as Bitmap).bitmapData.dispose();
              }
         } catch(e:*) {}
    }
    function addSlideContent():void {
         // empty current slide and delete previous bitmap
    while(currentContainer.numChildren){Bitmap(currentContainer.getChildAt(0)).bitmapData.dispose(); currentContainer.removeChildAt(0);}
    // create a new bitmap with the slider content, clone it and add it to the slider container
    var bitMp:Bitmap = new Bitmap(Bitmap(slideLoader.contentLoaderInfo.content).bitmapData.clone());
    currentContainer.addChild(bitMp);
    }
    // init slideshow
    initSlideshow();

    almost everything is possible.  There is no way to tell without looking at your xml file.

    Create a new fla, load your xml and make great use of the trace function to see what you do.

  • Different response time for each virtual server in the cluster, weblogic 11g


    Hello everyone

    currently I set up a server with the following characteristics.

    O.S. AIX 7
    RAM 32 G
    WebLogic 11 g
    Cluster 4 Server (4 GB each).

    My Web the application is deployed on the 4 using servers the management console on another physical server.

    J’ai responsible for tests on each server get different time as follows:

    Server 1: HostApp: 7090 -> 13 8 seconds
    Server 2: HostApp: 7090 -13 > 5 seconds
    Server 3: HostApp: 7090 -10 > 4 seconds
    Server 4: HostApp: 7090 -> 8 seconds

    distribution the load is material.

    Why This behavior?

    expected be around the same value or not?


    Thank you

    Please see my comments below:

    1. what made the request? It goes to the database? He calls a web service? Provide details

    2. how to access the application, you have a web server or a load balancer? Provide details.

    2 - is a web application? Is possible to test the application from a browser in the same area where the weblogic?

    I would try that because in this way we can isolate the problem to understand if this is a network problem or a matter of WebLogic Server.

    Best regards

    Luz

  • report time for each process of VI

    How can I know the big time consumig part of my VI

    in other words can I do something I would like to know how long each party in my VI took?

    Thank you

    Hi abdo,.

    what Tools-> profiling?

  • I downloaded a template that I need to fill out multiple times for different customers.  How to duplicate the model and save it in Adobe?

    Help

    Hi elir36398870,

    Forming this model is in? If it's a PDF file, then I suggest to make multiple copies before filling for various clients.

    Or whenever you want to save the PDF file, use Save as instead of save option to make a copy of the file.

    Thank you

    Abhishek

  • Is there a paper which would give a specific time for each website visit - revisit a website via the history seems to adapt the list?

    I am disputing the exact time that I visited a site Web - but because I revisited the sit by searching in history & clicking through the appearance of the new visit seems to replace the old in history.

    Hello, try the tool view historical mozilla : http://www.nirsoft.net/utils/mozilla_history_view.html

  • How do I either set channel name of a graph of cluster or get a 1 d waveform chart to start different time (t0) for each line of the waveform?

    I have a chart single 2D out a conditional of a loop indexing output such that over the rows of the table are not the same size. -Basically, they have different starting and ending points and sizes. -Not so concerned by the endpoints, because as soon as I get correctly starting points, everything shows fall in place.

    The challenge is that when I try to have the variable t0 (start time) for each line, the wave of construction vi form would always keep each line at the same starting point.

    I used the approach bundled with success (the cluster approach ensures that each waveform starts at different times according to the guidelines of my t0 defined for each line) but then I'm not able to get in the channel names I could make using the graphical approach (wave generation) waveform.

    In essence what I get here, I'm losing here.

    Because I don't want one of my mentors, Bob and Altenbach have fed up with me I have attached a vi this time

    Attached VI shows a combination of the two attempts (first with the waveform graph) and then with the graph of cluster

    1. with the first (graphical waveform), I get my channel names as you wish, but the alignment of the wave is not correct.

    2. with the second (graphical cluster), the alignment is good, but I can't do the names of channel in the chart, even if they are present in the cluster.

    I read some reviews that mentions that attributes can be displayed with waveform and data Dynamics (not clsuters) so I guess that's why.

    I saw another report indicating the start time for a waveform 1 d will always remain the same for the rest lines defined for the first line even if changed for the following lines in a loop.

    So I guess my question is: what is the way around questions like that?

    First of all, let me be the first to the congratulate and thank you for finally posting a code!  I'm not 100% certain I understand your question or your code, but I have an idea, perhaps, of what you want to do, so I wrote a little VI who made something simple that could be relevant.

    You mention waveforms of different lengths and beginning at different times.  You also want everyone to have a unique attribute (although I'm not sure what you want to do with the attribute).  So, I did the following:

    1. Generated an array of 100-sample random to represent one second of a waveform.
    2. Created 4 waveforms on this 100-sample basis.  The first waveform (channel 0) is just these 100 points.  The second, 1 channel, is the concatenation of string 0 with the base of 100 samples, or a waveform "double".  Channel 2 is 1 string concatenated with the base, and channel 3 is 2 string concatenated with the base.
    3. In order to trace the four channels that they rest 'on' the other, the waveform has the number of the channel added to it.  Channel 3 is 3 + (4 copies of the basis of 100 points), a waveform 400-point random centered around a shift of 3.
    4. All channels have dt value 0.01 (but I guess I could have varied, as well).
    5. To make the channels start at different times, I started channel N N seconds before channel 0 (by subtracting the index of the loop, I, T0).
    6. For each channel, I created an attribute called "Chan" equal to "Channel N" (where N = 0, 1, 2 or 3, as the case may be).

    This is the plot that results. Scale X is the absolute time value (no Date) using the 24-hour HH: mmS format.  You can see that the plots are 1, 2, 3 and 4 seconds of time, and are offset from each other by a second.  I used the trace attributes to change the name to the respective attribute.

    The code to do this is very simple - I almost don't need to show it, because I think it is completely described by the text above, but this is here:

    Now, it was not that much faster that some of your previous posts, when you refused to your postcode, "guess us" what you wanted (but not to not correctly guess), you tried to "push" us in the right direction (still refuses to post code), and no one seemed very happy?

    Bob Schor

Maybe you are looking for