How do I read all 8 counters on PXI-6602 nearly simultaneously?

I need to be able to read all 8 counters on the 3 PXI-6602 boards nearly simultaneously. I've attempted to use the Multiple Counter vi's (such as Multiple Counter Group Config.vi) but unfortunately, I can't seem to configure all eight counters on a given 6602 for edge counting.
Is this a limitation of the hardware or am I missing something? I've tried this example http://digital.ni.com/softlib.nsf/websearch/abc2de0382fb157a86256ad90068986e?OpenDocument
but to no avail.
Any help is appreciated.

Hello,
Are you able to read from 2 counters using these VI? I just ran the Event Count (multiple counters).vi on my PCI-6070E. Because this card only has 2 counters, I had to set my counter list to contain 0 and 1 only. I also had to delete the second Multi-Counter Set Attribute.vi because I did not have counters 3 and 4 available. The last thing I modified was the PFI number. I had to set this to a valid value for my device. After I did this, I was able to read both counters simultaneously. See if you are able to use this VI with your 6602. If you cannot read from all 8 counters try 2 counters.
Let me know your results.
Sincerely,
Sean C.
Applications Engineer
National Instruments

Similar Messages

  • How do I read 2 counters simultaneously using a PXI-6052E board?

    Labview help files seem to suggest that I should be able to use the "Group Config" vi to configure 2 counters within a single task ID so that I can read both counters simultaneously with a single read command, but I am having trouble doing this so far.
    The only way that I can read both counters is to run the group config vi two times, creating two separate task IDs. For each task ID, I can then run "Set Attribute" to set the attributes of the counters, and then "Get Attribute" to actually read the counter values.
    I need to configure the two counters separately (so that each looks at a different input), but I would like to be able to arm them and reset them together.
    Any help would be greatly appreciated! I've seen example vis that read them sequentially (in the way that I am doing now), but Labview help suggests that the "Group Config" vi can allow you to group several counters together so that you can address multiple counters with a single read command.
    Polly

    Hello Polly. Thank you for contacting National Instruments. If you right click on Group Config.vi and select Help, LabVIEW Help will open up. The description of the VI says, "Groups with multiple counters are not currently supported by MIO-16, E Series boards or NI-TIO-based devices." Some legacy boards that we don't sell anymore used to support this, but most of our current boards do not. The best way to do what you want is to configure one counter and then just copy and paste it to make the second one. Please let me know if you have any questions. Have a great day!
    Marni S.
    National Instruments

  • How can i read all my past messages from imessage from my iphone into my laptop?

    i need to see my messages how can i read it on my lap top

    Install one of the many apps for your computer that can view iphone messages eithr from the iphone backup on your computer or directy from the phone.
    Google "iPhone mesage viewer"

  • How can i read all the lines from a text file in specific places and use the data ?

    string[] lines = File.ReadAllLines(@"c:\wmiclasses\wmiclasses1.txt");
    for (int i = 0; i < lines.Length; i++)
    if (lines[i].StartsWith("ComboBox"))
    And this is how the text file content look like:
    ComboBox Name cmbxOption
    Classes Win32_1394Controller
    Classes Win32_1394ControllerDevice
    ComboBox Name cmbxStorage
    Classes Win32_LogicalFileSecuritySetting
    Classes Win32_TapeDrive
    What i need to do is some things:
    1. Each time the line start with ComboBox then to get only the ComboBox name from the line for example cmbxOption.
       Since i have already this ComboBoxes in my form1 designer i need to identify where the cmbxOption start and end and when the next ComboBox start cmbxStorage.
    2. To get all the lines of the current ComboBox for example this lines belong to cmbxOption:
    Classes Win32_1394Controller
    Classes Win32_1394ControllerDevice
    3. To create from each line a Key and Value for example from the line:
    Classes Win32_1394Controller
    Then the key will be Win32_1394Controller and the value will be only 1394Controller
    Then the second line key Win32_1394ControllerDevice and value only 1394ControllerDevice
    4. To add to the correct belonging ComboBox only the value 1394Controller.
    5. To make that when i select in the ComboBox for example in cmbxOption the item 1394Controller it will act like i selected Win32_1394Controller.
    For example in this event:
    private void cmbxOption_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxOption.SelectedItem.ToString(), ref lstDisplayHardware, chkHardware.Checked);
    In need that the SelectedItem will be Win32_1394Controller but the user will see in the cmbxOption only 1394Controller without the Win32_
    This is the start of the method InsertInfo
    private void InsertInfo(string Key, ref ListView lst, bool DontInsertNull)
    That's why i need that the Key will be Win32_1394Controller but i want that the user will see in the ComboBox only 1394Controller without the Win32_

    Hello,
    Here is a running start on getting specific lines in the case lines starting with ComboBox. I took your data and placed it into a text file named TextFile1.txt in the bin\debug folder. Code below was done in
    a console app.
    using System;
    using System.IO;
    using System.Linq;
    namespace ConsoleApplication1
    internal class Program
    private static void Main(string[] args)
    var result =
    from T in File.ReadAllLines(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TextFile1.txt"))
    .Select((line, index) => new { Line = line, Index = index })
    .Where((s) => s.Line.StartsWith("ComboBox"))
    select T
    ).ToList();
    if (result.Count > 0)
    foreach (var item in result)
    Console.WriteLine("Line: {0} Data: {1}", item.Index, item.Line);
    Console.ReadLine();
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my webpage under my profile but do not reply to forum questions.

  • How to list/read all files in a folder

    actually i want to list all the files/folders in a specified
    folder on server.
    please somebody suggest me how can I.

    ya actually i realize the scenario now.
    i work on flex with php.
    i'm going to do it with php now.
    but if i want to develop a desktop application with flex (
    actually i'm thinking of a photo gallery) without PHP/XML ( or
    other headaches for programming illiterates ) so that they simply
    put my swf application in their my pictures folder and enjoy it, I
    CANT DO IT RIGHT?????
    so SAD..... :(

  • How can I read ALL the compilation errors in a DOS window?

    On compilation using a DOS window, if the number of errors exceeds the window size, some of the errors disappear off the top of the window and I cannot read them.
    Is there an effective solution to somehow use scrolling of the DOS window or transfer the compilation errors to a file?

    Hey buddy,
    When I first started programming with Java, I wondered the same thing. I have the very best solution for you. This one is waaay easy!!!!
    There is a text editor which will not only color code your text for you, but you can easily configure it to give you the compiler /DOS output for Java. Just go to this website and download the program. Enjoy!
    http://www.textpad.com/

  • How can I see all mail associated with my account simultaneously

    My boss has tasked me with finding a way to be able to see all sent & received mail associated with an account in mail simultaneously. InBox, Sent, Trash, Drafts, all at once, is that possible?
    Thanks

    Hello!
    If you want to see all of that in a single mailbox, you can create a Smart Mailbox from the "file" menu in the top left corner of your screen. It's a bit of trial and error before you get the rules correct, perhaps, but that will work.

  • How should i read two counter through software of Ni 6602

    Hello all,
    i want to know that how should i read two counters same time of NI 6602  using c#.net.
    Please  guide me.

    Hello,
    I have a couple of suggestions for you to look into and determine which is best for you application. 
    -  Use a Two Edge Separation task to count ticks and not seconds (by changing the units) between a start and stop trigger.  The two trigger signals will need to come from different sources.  The KnowledgeBase (KB) linked below describes the task in further detail.  This KB explains why a reference trigger is not recommended.  Open up the C# example in the Measure 2 Edge Separation folder from the location listed in the previous post.
    AE KB 2IK8FRXA: How Do I Count Digital Edges Between a Start and Stop Trigger on an NI 6602 Counter/...
    -  Use an Arm Start Trigger as a start trigger with the Count Digital Event task.  It will only allow of a start trigger and not necessarily a stop trigger.  The Developer Zone link below provides a coded example. 
    Developer Zone: DAQmx - Event Counting on Multiple Counters with Digital Start Trigger (TIO) - LabVI...
    -  Use an Arm Start Trigger to synchronize multiple Count Digital Edge tasks and paired with Pause Triggers to pause acquisition based on source level. 
    Developer Zone: Synchronous trigger start of multiple counters and pause independently
    For more information on the type of triggers mentioned, refer to the DAQmx Help.
    Samantha
    National Instruments
    Applications Engineer

  • Read all partner in GET_I_ACT_STATUS

    Dear All,
    I wand to read all parties involved in transaction in GET_I_ACT_STATUS method of status attribute
    i write following code
      DATA:   lr_btstatus TYPE REF TO cl_crm_bol_entity,
              lr_btadminh TYPE REF TO cl_crm_bol_entity,
              lr_partset  TYPE REF TO cl_crm_bol_entity,
              lr_partner  TYPE REF TO cl_crm_bol_entity.
    data:lr_partner_coll type ref to if_bol_bo_col,
         lr_prrtner_ent type ref to  if_bol_bo_property_access,
         lv_partner_guid type BU_PARTNER_GUID.
      IF current IS BOUND.
        lr_btstatus ?= current.
        lr_btadminh = lr_btstatus->get_parent( ).
        IF lr_btadminh IS BOUND.
          lr_partset ?= lr_btadminh->get_related_entity( 'BTHeaderPartnerSet' ). " Get BTHeaderPartnerSet
        ENDIF.
        IF lr_partset IS BOUND.
          lr_partner ?= lr_partset->get_related_entity( 'BTPartnerAll' ). " Get BTPartnerAll
    How can i read all partner using get_collection_wrapper( ).
    please guide .

    Hi Vijay,
    This code would be useful if you have btadminh context node also in the same view or event you can get it from custom controller if not there in the same view.
    DATA: lr_btadminh TYPE REF TO cl_crm_bol_entity,
    lr_partset TYPE REF TO cl_crm_bol_entity,
    lr_coll   TYPE REF TO if_bol_entity_col,
    lr_iterator TYPE REF TO if_bol_entity_col_iterator,
    lr_current TYPE REF TO if_bol_bo_property_access,
    lr_partner TYPE REF TO cl_crm_bol_entity.
    lr_btadminh =me->typed_context->btadminh->collection_wrapper->get_current( ).
    IF lr_btadminh IS BOUND.
    lr_coll = lr_btadminh->get_related_entities(
                       iv_relation_name = 'BTHeaderPartnerSet' ). "#EC NOTEXT
              lr_current = lr_coll->get_current( ).
              lr_entity ?= lr_current.
              CHECK lr_entity IS BOUND.
            lr_coll = lr_entity->get_related_entities(
                       iv_relation_name = 'BTPartnerAll'' ).     "#EC NOTEXT
              lr_iterator ?= lr_coll->get_iterator( ).
              IF lr_iterator IS BOUND.
              lr_entity ?= lr_iterator->get_first( ).
                WHILE lr_entity IS BOUND.
                  lr_entity->if_bol_bo_property_access~get_property_as_value(
              EXPORTING
                iv_attr_name = PARTNER_NO'               
              IMPORTING
                ev_result    = lv_partner_no ).
    " Read you partner data and do your processing here             
                  lr_entity ?= lr_iterator->get_next( ).
                ENDWHILE.
              ENDIF.
    I hope this would resolve your issue. If yes please award the points
    Regards
    Ajay

  • Timed digital IO in PXI-6602

    Dear All,
            I have PXI-6602 timer card. In which i have 8 timer IO and 32 Digital IO. In my application i need timer tick or counter on which i have to change my 32 digital IO state.
            I mean to say that if timer tick is 100, i have to make high on D0
                                         at timer tick 250, i have to make D0 low and D1 high.
                                         at timer tick 500, i have to make D0 hign and D2 high etc......
    means i want to use one timer, use timer interrupt at each timer tick and in software at particular timer tick i have to do start heate, then after give chemical......
    Thanks
    --Vishnu

    Hi Andreu,
    the best way to analyze your question is to post a short example on the programming language that you´re using in order to investigate a little bit.
    Moreover, under NI Find Examples of LabVIEW (if you programm with LabVIEW), you can find several examples how you can programm your digital port about (you can type "Write" or "digital" under Search tab).
    One example would be: "Write Dig Chan-Int Clk-Dig Start.vi".
    Regards
    Diego M.

  • How to read all values of a queue

    Hi All,
    In Message mapping I am checking condition for field value based on incoming value.
    In test cases i can see the second or third  occurence is getting supressed and first value fails the condition and mapping node not created.
    I would like to know how to read multiple values from queue and check condition for each value and if correct value present condition should pass.
    I tried all possible context changes but no luck.
    Any ideas how to read all values coming .
    Thanks.

    <?xml version="1.0" encoding="UTF-8"?>
    <msg version="" dbName="">
       <rowOp isLast="" cmitLSN="" cmitTime="" authID="" correlationID="" planName="">
          <updateRow subName="" srcOwner="" srcName="" intentSEQ="" rowNum="" hasLOBCols="">
             <col name="END_RSN_CDE" isKey="852369" invalidData="" rawData="">
                <smallint>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </smallint>
                <date>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </date>
                <char>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </char>
             </col>
             <col name="SVC_USER_SDT" isKey="789654" invalidData="" rawData="">
                <smallint>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </smallint>
                <date>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </date>
                <char>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </char>
             </col>
          </updateRow>
       </rowOp>
    </msg>

  • How 2 read all the line of a sales order text ID plz

    Dear all
    I have the following to read sales order text of single line of limited char(40)
      TIDNO = '0003'.
        CONCATENATE SSORD
                    LIPS-POSNR
        INTO        TNAME.
        TOBJT = 'VBBP'.
        PERFORM FINDTEXT.
        LOOP AT MSLINES.
          WA_ITEM-PACKTYP = mslines-tdline(40).
          EXIT.
        ENDLOOP.
      How do i read mutiple lines plz tell me ?
    Thnx
    Moni
    Message was edited by: md monirujjaman

    Hi Md,
    sorry I don't understand your question, can you explain more ?
    Regards
    Frédéric

  • I just got my new iPhone4 set up today and it has pulled in every email that is in my desk top as being unread.  Yet I have read all the emails.  Still the iPhone thinks they are unread.  Does anyone know how I can delete all of these at one time?

    I just got my new iPhone4 set up today and it has pulled in every email that is in my desk top as being unread.  Yet I have read all the emails.  Still the iPhone thinks they are unread.  Does anyone know how I can delete all of these emails at one time from the phone?

    I have taken it back to the Apple store genius bar, but they say they don't see anything wrong. Well unless you use it all day and experience the problems when they happen, you wont see anything wrong. But there are lots wrong with it. But this would be the same store as I purchased the phone. And they backed up my old Iphone 4, but were not able to get anything to load back onto my new phone. So, I lost pretty much everything. But over time, some of my contacts have started showing up, although i am still missing over 800 of them.

  • How to Delete Multiple/All Files in Reader

    How to Delete Multiple/All Files in Reader on iPad3?

    Read this:
    http://forums.adobe.com/thread/1012973?tstart=0

  • How to get reading list in my all my devices and computer (window 7). i have installed ios 6 on iphone and icloud control panel on both PC's (home and office) but i dont get updated reading list on all my devices.

    how to get reading list in my all my devices and computer (window 7). i have installed ios 6 on iphone and icloud control panel on both PC's (home and office) but i dont get updated reading list on all my devices.

    Hi bluegrandpanash,
    Thanks for visiting Apple Support Communities.
    If you backed up your iPhone to iCloud before updating the software, first try the steps under "Restore from an iCloud backup" in this article to recover your data:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    Best Regards,
    Jeremy

Maybe you are looking for