Capture of sequences of images - issues with nested for loops

Hi all

I've written a vi. to capture a number of images ("Image") and save these images, sent to a folder of my choice.  Each image is identified sequentially.  However, I would like to make a number of iterations ("run") of this capture sequence, such that each image file name would be "Filename (Run) _(Image_No).png", for example run 5, image 10 'Filename 5_10.png.  I tried a nested for loop for this but I have an error message 'Current asynchronous i/o Operation' (I have attached a printscreen).

Can someone help me solve this problem?  Please find attached my vi.

Sincere greetings and thanks,

Miika

Hi toto26,.

Thank you for your response.  I solved the problem by using a sequence structure flat - file in the first image and all the treatment in the second.

Kind regards

Miika

Tags: NI Hardware

Similar Questions

  • Problems with nested for loops - save images from a camera


    Dear Norbert_B,

    Thank you for your response.  I solved the problem by using a sequence structure flat - file in the first image and all the treatment in the second! Easy as pi!

    Kind regards

    Miika

  • Creating tables in a nested for loop

    Hi all.

    I was stuck in this problem for quite a while now and I still don't know how to continue. Some outside the entrance would be greatly appreciated!

    I'm doing the following:

    -Take an array of numbers, to check if they are within a certain range (e.g. between 2 and 4)

    -Build two new arrays: one with all the numbers that are inside the beach and the other with the rest.

    An additional condition is that the amount and value of the range conditions will change (for example, it could be between 2 and 4 only / 2, 4 AND 6 and 7 according to the entry)

    To treat this, I created two nested for loops - one that goes on a table that contains conditions of the beach and inside that actually go and check if the values are in the range. I think I did that part successfully, but the next part is confusing to me - how to actually create the tables separated within two loops for?

    My apologies if I did not explain it well. Another method to support this problem is I want to translate following LabVIEW:

    Ranges of table / / [1 5 7 10] exodus-> This means we want to divide numbers based on those who are in (1,2) and (4.5) against those who are not

    Table of values / / [2 3 6 11 3]

    EndOperationDelegate table / / array of values within the range
    Table outValues / / Array of values out of range

    for m = 1:size (ranges)

    for n = 1:size (values)
    If (THE NUMBER IS on the INSIDE of EACH RANGE)
    EndOperationDelegate = [EndOperationDelegate NEWNUMBER]
    on the other
    outValues = [outValues NEWNUMBER]
    end

    end
    end

    Sounds easy enough, but it gets so chaotic with Labview that I don't know what to do. I have attached a reference image - insertion in the array function is not in fact add to the table, it creates a new table. How can I save that for when the nested for the ends of the loop?

    I have seen a few examples with shift registers which lie in a loop and I couldn't successfully that transfers in my block diagram.

    Any help/direction would be greatly appreciated.

    Hello!

    See the following example to understand how you can create a table in the loop For

    In your case, you also can uce conditional terminal to create a table only when then located nearby. It makes the code much cleaner that the structures of the case

    Hope this helps, if not, let me know if I can help you!

    Marcin

  • Nested for loops error

    Hi all members of the community, I am experiencing problem with pulling the attributes of an xml I created. I use nested for loop. Please kindly help me to solve this problem...

    Thanks in advance...

    Here's the code & xml...


    import flash.events.Event;
    import flash.events.EventDispatcher;
    import flash.events. *;
    flash.net import. *;

    var myXML:XML;

    var voiceOver: String;
    var startOffset:Number;
    var slideData:Array;
    var id_cont_array:Array = new Array();
    var id_textfield_array:Array = new Array();
    var id_image_array:Array = new Array();

    var myXML_Container_Length:Number;
    var myXML_textField_Length:Number;
    var myXML_images_Length:Number;

    var loader: URLLoader = new URLLoader();
    Loader.Load (new URLRequest ("dynamic.xml"));

    loader.addEventListener (Event.COMPLETE, processXML);

    function processXML(e:Event):void
    {
    slideData = new Array();
    myXML = new XML (loader.data);

    loader.removeEventListener (Event.COMPLETE, processXML);
    loader.removeEventListener (IOErrorEvent.IO_ERROR, loadError);

    myXML = new XML (e.target.data);
    voice-over = myXML. @ voice_over;
    startOffset = myXML. @ start_offset;

    for (var i: uint = 0; i < myXML.*.length (); i ++)
    {
    trace (myXML + 'slide');
    }


    myXML_List = myXML.children ();
    myXML_Container_Length = myXML.children () .length ();
    trace (myXML_Container_Length + "is myXML_Container_Length")
    myXML_textField_Length = myXML.containerss [0] .children () .length ();
    myXML_images_Length = myXML.children () .length ();
    trace (myXML.Child ("containerss") [3]. @ id.toXMLString () + "== myXML.containerss [0].") @ id; ») ;
    trace (.textfield myXML.containerss [0] [0]. @ id + "== myXML.slide.containerss [0].") ("@ id");
    trace (myXML.containerss [0] .textfield [1]. @ id + "== myXML.slide.containerss [1].") ("@ id");
    trace (myXML.containerss [3] [0] image. @ id + "is image [0]");
    trace(myXML.containerss[0].) Children() + "== myXML.containerss [0] .children ()"); "."

    for (var j: Number = 0; j < = myXML_Container_Length; j ++)
    {
    id_cont_array.push (myXML.containerss [j]. @ id);
    trace (myXML.containerss [j]. Children () .length () + 'is j');
    myXML_textField_Length = myXML.containerss [j] .children () .length ();
    trace (myXML_textField_Length + "is myXML_textField_Length");
    for (var k: Number = 0; k < = myXML_textField_Length-1; k ++)
    {

    id_textfield_array.push (.textfield myXML.containerss [j] [k]. @ id);
    id_image_array.push (image of [k] myXML.containerss [j]. @ id);
    trace (id_textfield_array [k] + "== id_textfield_array [k] ==" + k + "--j ==" + j);
    trace ("== id_image_array" + id_image_array [k]);
    }
    trace(id_textfield_array[j]+"==id_cont_array[j]");
    }

    trace (myXML_List.length () + "= myXML_List");

    }

    function loadError(e:IOErrorEvent):void
    {

    trace ("loadError");
    }

    XML is as below...

    < drag direction = "VERTICAL" voice_over = "Slide1.mp3" start_offset = "0" margin ="" > "

    < set id = "0" direction = "HORIZONTAL" padding = "10" margin = "10" x = "10" y = "160" width = "200" height = "150" >
    < textfield id = "Text1" text = "textfieldText1" padding = "10" margin = "10" x = "10" y = "160" / >
    < image id = "img1" text = "" padding = "10" margin = "10" x = "10" y = "160" / > "
    < textfield id = "Text2" text = "textfieldText2" padding = "10" margin = "10" x = "10" y = "160" / >
    < / define >
    < set id = "1" orientation = "HORIZONTAL" padding = "10" margin = "10" width = "200" height = "200" x = "10" y = "160" >
    < textfield id = "Text3" text = "textfieldText3" padding = "10" margin = "10" x = "10" y = "160" / >
    < image id = "img2" text = "" padding = "10" margin = "10" x = "10" y = "160" / > "

    < / define >
    < set id = "2" orientation = "VERTICAL" padding = "10" margin = "10" width = "200" height = "150" x = "10" y = "160" >
    < textfield id = "Rem5" text = "textfieldText5" padding = "10" margin = "10" width = "200" height = "150" x = "10" y = "160" / >
    < image id = "img3" text = "" padding = "10" margin = "10" x = "10" y = "160" / > "
    < textfield id = 'Text6"text ="textfieldText6"padding ="10"margin ="10"x ="10"y ="160"/ >
    < / define >
    < set id = "4" orientation = "VERTICAL" padding = "10" margin = "10" width = "200" height = "150" x = "10" y = "160" >
    < textfield id = 'Text7"text ="textfieldText7"padding ="10"margin ="10"width ="200"height ="150"x ="10"y ="160"/ >
    < image id = "img4" text = "" padding = "10" margin = "10" x = "10" y = "160" / > "
    < textfield id = "Texte8" text = "textfieldText8" padding = "10" margin = "10" width = "200" height = "150" x = "10" y = "160" / >
    < / define >
    < / slide >

    The analysis is totally false. You operate processXML() should be like this:

    function processXML(e:Event):void
    {
              slideData = new Array();
              loader.removeEventListener(Event.COMPLETE, processXML);
              loader.removeEventListener(IOErrorEvent.IO_ERROR, loadError);
              myXML = new XML(e.target.data);
              voiceOver = myXML.@voice_over;
              startOffset = myXML.@start_offset;
              myXML_Container_Length = myXML.children().length();
              var node:XMLList;
              for (var j:Number = 0; j <= myXML_Container_Length - 1; j++)
              {
                        id_cont_array.push(myXML.containerss[j].@id);
                        node = myXML.containerss[j].children();
                        myXML_textField_Length = node.length();
                        for (var k:Number = 0; k <= myXML_textField_Length - 1; k++)
                        {
                                  switch (node[k].name().toString())
                                  {
                                            case "textfield":
                                                      trace(node[k].@id);
                                                      id_textfield_array.push(node[k].@id);
                                                      break;
    
                                            case "image":
                                                      id_image_array.push(node.@id);
                                                      break;
                                  }
                        }
              }
    }
    
  • production batch Photoshop - issues with 'save for web '.

    Hello

    I'm having a problem with "save for web" on a lot. I have just spent the last 2 hours searching the web and this forum and although the question is addressed, threading or suddenly go in another direction, end, or I just can't give a sense of the answers given.

    I have 350 images I want to resize the thumbnails and then save it to the web. 2 hours ago, this seemed to be a 5 minute job.

    I create an action called "batch_thumbnail" and press "Record."

    I then select 'File' > 'Open' and select an image to open the dialog box.

    I then select 'Image' > 'Image size' and resize the image to the size of the thumbnail (200 x 125) and press 'OK '.

    I then select 'File' > 'Save for Web and devices', set my optimization settings and press "Save".

    Using the dialog box that opens, I navigate to a pre-created directory called "thumbs" and press "Save".

    I then select 'File' > 'Close' and on the dialog box that opens, I select 'don't save '.

    I then stop the Save action.

    So far so good.

    I then select 'File' > 'Automaton' > 'batch... ". "and the dialog box is displayed.

    I select my action to the 'Action' of the menu drop down.

    In "Source", I put the drop down "File" menu, select "Choose" and select target directory with my 350 images in.

    In 'Destination', I put the drop down "File" menu, select 'Choose' and select the target (inches) directory, where I wish to record the inches.

    "File name' I leave the first box under"name of document", set the seconds to"_thumb"and the third"extended. "

    I then click 'OK '.

    And that's where the problem starts. Everything works fine until he tries to save the second image. I can see what is happening, as the directory name path and image that are used while setting up the SFW action part, get into hard action. So each resulting image is saved in the same file, instead of being substituted by the "File Naming" settings.

    I tried selecting "Override action"Save"commands", but it makes no difference. It is actually possible batch to produce files using "save for Web and devices '?

    See you soon,.

    James

    First of all, unless you have a compelling reason to record a "Open" command, you should not...

    In addition, since save it for Web is an export command, THIS command is your backup... you don't want to select a destination because the destination is already stored in the save for Web.

    You want to save a close without saving... otherwise all 350 images will eventually be opened in Photoshop, after the batch is executed.

  • nested for loop in the collection

    Hi Experts,

    Collection1

    ============

    SELECT o.object_id

    LOOSE COLLECTION l_obj_info

    FROM (SELECT n.node_id, n.object_id

    N nodes

    START WITH n.node_id = 100

    N.node_id CONNECT BY PRIOR = n.parent_node_id) n

    JOIN IN-HOUSE

    objects o ON o.object_id = n.object_id

    WHERE o.object_type_id = 285;

    s Collection2

    ============

    SELECT *.

    LOOSE COLLECTION l_tab

    OF ((SELECT REGEXP_SUBSTR (i_l_text, "[^,] +', 1, NIVEAU)))

    OF THE DOUBLE

    CONNECT BY REGEXP_SUBSTR (i_l_text, "[^,] +', 1, LEVEL") IS NOT NULL));

    END;

    collection3

    ============

    SELECT o.object_id

    LOOSE COLLECTION l_fin_tab

    Of objects o JOIN ATTRIBUTES att

    ON o.object_id = att.object_id

    WHERE o.object_id = collection1.object_id

    - AND att. VALUE = collection2.val;

    Please tell me how to implement for loop in the collection3 to get the values of collection1 and s collection2.

    I tried in the way below

    CREATE or REPLACE TYPE LIST_OF_ATTRIBUTES_TYPE AS TABLE OF THE varchar2 (4000);

    /

    CREATE or REPLACE TYPE LIST_OF_OBJECT_IDS_TYPE AS TABLE OF THE number (9);

    /

    (F_get_objects_by_type_id) CREATE or REPLACE FUNCTION

    i_object_type_id in NUMBERS

    i_l_text IN VARCHAR2,

    i_scope_node_id NUMBER

    )

    RETURN list_of_object_ids_type

    AS

    CURSOR objs_info

    IS

    SELECT o.object_id

    FROM (SELECT n.node_id, n.object_id

    N nodes

    START WITH n.node_id = i_scope_node_id

    N.node_id CONNECT BY PRIOR = n.parent_node_id) n

    JOIN IN-HOUSE

    objects o ON o.object_id = n.object_id

    WHERE o.object_type_id = i_object_type_id;

    l_tab list_of_attributes_type: = list_of_attributes_type ();

    -l_obj_info list_of_object_ids_type: = list_of_object_ids_type ();

    l_fin_tab list_of_object_ids_type: = list_of_object_ids_type ();

    BEGIN

    BEGIN

    SELECT *.

    LOOSE COLLECTION l_tab

    OF ((SELECT trREGEXP_SUBSTR (i_l_text, "[^,] +', 1, NIVEAU)))

    OF THE DOUBLE

    CONNECT BY REGEXP_SUBSTR (i_l_text, "[^,] +', 1, LEVEL") IS NOT NULL));

    END;

    IF l_tab. COUNT > 0

    THEN

    BECAUSE me IN objs_info

    LOOP

    FOR j IN l_tab. FIRST... l_tab. LAST

    LOOP

    SELECT o.object_id

    LOOSE COLLECTION l_fin_tab

    O JOIN ATTRIBUTES att OBJECTS ON o.object_id =

    att.object_id

    WHERE

    att. VALUE = l_tab (j) and o.object_id = objs_info (i);

    END LOOP;

    END LOOP;

    END IF;

    RETURN l_fin_tab;

    END f_get_objects_by_type_id;

    /

    What this different problem from that of pls 00382 expression is incorrect, as they were returning a record type ?

    Please do not raise the same question several times. The answer is always the same. Your data model is seriously wrong - and that's the reason why you can't get data from it.

  • sequence of images, add the keyboard event loop?

    Hi all

    I have a sequence of 3d images that I want to run with the mouse and drag.

    So far I succeeded with that.

    Also added keyboard event.

    stage.addEventListener (KeyboardEvent.KEY_DOWN, keyPressed);

    function keyPressed(event:KeyboardEvent):void
    {
    If (event.keyCode is 39)
    {
    images_mc.gotoAndStop (images_mc.currentFrame + 1);
    }
    Else if (event.keyCode == 37)
    {
    images_mc.gotoAndStop (images_mc.currentFrame - 1);
    }
    }

    I tried looping event, that is, playing continuously until the button is pressed.

    Help, please.

    Thanks in advance.

    function keyPressed(event:KeyboardEvent):void

    {

    If (event.keyCode is 39)

    {

    If (images_mc.currentFrame<>

    images_mc.gotoAndStop (images_mc.currentFrame + 1);

    }

    else {}

    images_mc.gotoAndStop (1);

    }

    Else if (event.keyCode == 37)

    {

    {if(images_mc.currentFrame>1)}

    images_mc.gotoAndStop (images_mc.currentFrame - 1);

    }

    else {}

    images_mc.gotoAndStop (images_mc.totalFrames);

    }

    }

    }

  • Solution for blackBerry Smartphones on issues with Facebook for BlackBerry v.4.1.0.19

    Hello! I stumbled upon several threads on the questions users affected by the right after they upgraded they are Facebook for new construction (v.4.1.0.19).
    Issues such as the screen frozen, impossible to scroll and java error message lang at the opening of the app.
    And several members have accepted my suggestion as a solution. So I want to share with you guys.

    Unfortunately, soft - reset, reset hard and the application of uninstalling/reinstalling doesn't solve the problem.

    So one way to solve it is to downgrade. And the lates, I could get is v.4.0.0.13 (if you have the latest version in this post the links here).

    So delete the app first and reset your phone.
    Then install the older version.
    OS 6 Click here:
    http://www.theiexplorers.com/OTA/Facebook/4.0.0.13/OS6/Facebook.jad

    7 operating system click here:
    http://www.theiexplorers.com/OTA/Facebook/4.0.0.13/OS7/Facebook.jad

    OS 7.1 click here:
    http://www.theiexplorers.com/OTA/Facebook/4.0.0.13/OS71/Facebook.jad

    Good luck, hope this helps!

    Hello! I stumbled upon several threads
    on the questions users knows the right
    after they improve Facebook
    the new version (v.4.1.0.19).
    Issues such as the screen frozen, unable to
    scrolling and java lang error message
    at the opening of the app.
    And several members accepted my
    suggestion as a solution. So I want to
    share with you guys.
    Unfortunately, the soft - reset, hard-
    Resets and uninstalling/reinstalling
    the app does not solve the problem.
    So a way to solve it is to
    downgrade. And later I could get
    is v.4.0.0.13 (if you later
    version in this post the links here).
    So delete the app first and reset your
    phone.
    Then install the older version.
    OS 6 Click here:
    http://www.theiexplorers.com/OTA/
    Facebook/4.0.0.13/OS6/Facebook.jad
    7 operating system click here:
    http://www.theiexplorers.com/OTA/
    Facebook/4.0.0.13/OS7/Facebook.jad
    OS 7.1 click here:
    http://www.theiexplorers.com/OTA/
    Facebook/4.0.0.13/OS71/
    Facebook.jad

    We all are waiting for Facebook, in the hope of resolving the problems. For now, enjoy the older build.
    Good luck, hope this helps!

  • Install issues with PSE8 for Mac...

    I bought and downloaded from the Elements 8 for Mac yesterday - no problem with the download.  When I go to Setup/install the software, however, I get a "Installer alert" blank screen - no click or rectify (AFAIK).  I've seen other threads here, but I don't seem to have these questions (although I'm not the most tech savvy, I admit).  Here's my info:

    OS Tiger 10.4.1 (not upgraded to Snow Leopard)

    Intel processor

    Any ideas on how to move beyond the alert "Installer"?

    Thanks - Melissa

    Try to create a new administrative user (system prefs > user accounts) and running the installation from there.

  • Issue with video for the release of the ipad

    Hello

    I try to have a question slide that contains a video.  After a few seconds, the video stops and the user had to answer the question.  Then the video would continue... I am having some major problems!  I can't even video to display... have you tried in .flv and .f4v formats...

    The orignal file was a .mov

    On the import of video, Captivate asked me if I wanted to convert the video to a file .flv or .f4v I agreed and the video wouldn't show

    Solution: Convert the .mov to a .mp4 file onto mine and then insert the .mp4 file in the slide and now it works fine.

  • CS4 while Adobe has issues with CS5 for Mac?

    If someone from Adobe is followed by this forum, it is possible for the customers who bought the first Pro CS5 to have access to a fully functional copy of Premiere Pro CS4 in the meantime for corrections to two serious bugs in the version of CS5 Mac?

    The problems of not being able to save project files and the aspect ratio wrong being chosen at random when you import a DV widescreen - discussed in the discussions on this forum - film make CS5 unusable on a Mac now.

    Thank you.

    abualexander wrote:

    (my project file has reached 89Megs).

    This isn't a file size of small projects and I wonder how much memory you have in your system?  As the project gets larger, its looking more clips and each of those who take back a bit of memory.  If you said that you have 4 GB of memory only, I could ask to see if you could import a part of your project (maybe a smaller timeline) in a new project and see how is your overall functionality.  This memory based on the size of project is generally true for all NLE.

    Maybe you can share a little more about the system and the project.

    • System specs
    • size of the project file
    • number of items in film throughout the project
    • # timelines, PSD, etc.

    Dennis

  • Operation on line on table with a For loop

    Hello

    I work with a wide range of dimensions column one. I'm doing the following

    for i = 1:size (A) / 2

    B (i, :) = A (1 + (i-1) * 2:i * 2))

    So, for example if

    A =.

    0

    1

    2
    3
    4
    5
    6
    7

    then

    B =

    0 1

    2 3
    4 5
    6 7

    My approach was to use a subset of the table inside the loop for to select several items, but I don't know how to transpose the selected items in a new line to create the table (B) is there a simpler approach?

    Thank you

    Mike

    try experimenting with the table to reshape feeding your table entry and re-sizing for a 2d aray of output. It is much faster to use a loop For, because the data is never moved and LV just changes the dimensions of the matrix and updates the stride.

    Ben

  • nested for loop

    I have positioning XY with two different controllers.

    the time of execution of these two controllers are different.

    I have attached block digram to understand. In highlight mode, code works very well... but in execution mode, step there gets delayed a little and moves with X stage.

    How can I make sure movement of steps one after the other.

    Thank you

    A simple data dependency is expected to create the design.

    Lynn

  • Nested for loops EACH in the XML editor

    I have a xml like this.

    <?xml version="1.0" encoding="UTF-8"?>
    <DATA_DS>
         <Line_Approver>
              <getLineNumberAssigneesResponse>
              <result>
                    <LineNumber>1</LineNumber>
                    <Assignees>One</Assignees>
               </result>
              <results>
    
                   <LineNumber>2</LineNumber>
                   <Assignees>Two</Assignees>
              </result>
    
              </getLineNumberAssigneesResponse>
         </Line_Approver>
    <DATA_DS>
         <HEADER>
         <INVOICE_ID>300100071480733</INVOICE_ID>
         <AMOUNT>1111</AMOUNT>
         <INVOICE_CURRENCY_CODE>USD</INVOICE_CURRENCY_CODE>
         <INVOICE_NUM>100</INVOICE_NUM>
         <INVOICE_DATE>2015-11-13T00:00:00.000+05:30</INVOICE_DATE>
         <PAYMENT_CURRENCY_CODE>USD</PAYMENT_CURRENCY_CODE>
         <ORG_ID>204</ORG_ID>
         
         <INVOICELINES>
                  <LINE_NUMBER>1</LINE_NUMBER><LINE_TYPE>Item</LINE_TYPE><AMOUNT>1000</AMOUNT><INVOICE_ID>zzz</INVOICE_ID><EXPENDITURE_ITEM_DATE></EXPENDITURE_ITEM_DATE>
         </INVOICELINES>
         <INVOICELINES>
              <LINE_NUMBER>2</LINE_NUMBER><LINE_TYPE>Item</LINE_TYPE><AMOUNT>111</AMOUNT><INVOICE_ID>300100071480733</INVOICE_ID><EXPENDITURE_ITEM_DATE></EXPENDITURE_ITEM_DATE>
         </INVOICELINES>
         </HEADER>
    
    <some more xml/>
    </DATA_DS>
    
    </DATA_DS>
    

    As you can see there are two results and and two invoice lines.

    I want to create a table of invoice lines for which the line number is present in the result.

    So my psudo code is as follows

    for each in result:
         assign result.linenumber to variable
         for each in InvoiceLines:
              compare the InvoiceLines.Line_number to variable:
                   if match print row.
    

    I know I won't have access to the LineNumber result with in second forloop because of the determination of the lexical scope.

    Far from assignment, I am unable to get the value of the number of the line itself.

    I tried two methods of application for with in what work force. The underside of work that uses the absolute path.

    What xpath Miss. Can I do better?

    FOR1: <?for-each:/DATA_DS/Line_Approver/getLineNumberAssigneesResponse/result?>
    
    FOR2: <?for-each:/DATA_DS/DATA_DS/HEADER/INVOICELINES?>
    

    LINE_NUMBER

    LINE_TYPE

    AMOUNT

    For 1 <? LineNumber? > 2 LINE_NUMBER

    LINE_TYPE

    AMOUNT ENDFOR1 ENDFOR2

    I think I gave enough information. Answer just in case I did not say anything clearly.

    You can do this via a simple foreach loop and the code would be

    Please see the data XML and RTF attached for your reference.

    I changed the data in XML format (I added 10 instead of 1) just to make sure that its works or not, and it works very well.

  • Activation of channels with a for loop

    So basically, I try to select each one of my channels in the order and a complete set of tasks on each.  I want to be able to specify which channels are ACTED, so I already have a picture of my selected channels, but when I try to run the loop, it is said that "activeChannels =" needs a picture.

    I know that my table of channelNumber is good, but I can't figure out how to make this loop to work.

    Here's my loop for:

    for (var i = 0; i < channelNumber.length; i ++) {}

    doc.activeChannels = channelNumber [i];

    do stuff

    }

    I actually just thought of it.  When I declared my channelNumber variable I just declare "channelNumber = new Array (doc.activeChannels)" instead of "= doc.activeChannels channelNumber" and it worked fine.  Seems silly not to accept a single channel.

Maybe you are looking for

  • Windows Security Center does not illuminate

    Just installed Microsoft Security Essentials. Windows Security Center is in stop mode and running. Windows Firewall and microsoft defender both say they are on.

  • No calls blackBerry smartphones allowed whith new carrier

    I just changed the carrier but I'm not valid to make and receive calls. Y does it can someone help me, please?

  • Laptop for 4 k video editing - more than RAM vs best map Gfx

    Hi guys,.I am lucky to get 2 laptops for the same price.One of them has a Geforce 970 M with 6 GB and 32 GB of RAM, and the other a finer 980 M with 8 GB and 16 GB of RAM.Considering that I will edit mainly 4 k, which of these would be benefict my wo

  • Windows 7 x 64 ultimate detail and HP Pavilion DV9930us

    Hello I just installed Windows 7 64-bit ultimate detail on laptop HP Pavilion DV9930us (new installation, but I choose to keep Recovery Partition D: HP, just in case something goes wrong) The process was smooth and clean and I have no trouble at all,

  • Cannot connect in the application manager

    I've migrated my apps for my old Mac Pro to a new.  Now when I try to open photoshop, I get a message that the CC App Manager is missing or damaged and I need to reinstall it.  I do and nothing happens... the symbol in the menu bar is grey and when I