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

Similar Messages

  • How can I read a form using session in javaServerlet?(thanks)

    How can I read a form using session in javaServerlet?(thanks)

    you can not. You get the form entries through the request object.

  • How to generate a gps signal using the PXI-5671 after generating a gps binary file using the gps toolkit

    Hi,
    I am trying to test a GPS receiver and would like to use the PXI-5671 to stream a GPS binary data file which was generated using the GPS toolkit. I tried using the RFSG Arbitrary Waveform Generation.vi but it doesn't work.  Is there a sample code that will allow me to do this?
    Thank you.

    Hello,
    The NI-RFSG driver certainly allows you to stream waveform files to signal generators without the use of the GPS Toolkit, as shown here. However, the NI-RFSG driver does not provide the user with out-of-box applications that can stream GPS waveforms with Almanac and Ephemeris information to various signal generators. For this reason, the NI GPS toolkit will be needed. 
    The only alternative is that you will gather your own Almanac and Ephemeris files and implement your own functionality using the base RFSG driver to generate and stream the GPS signals. This is something that you would need to do on your own, which could prove to be difficult, thus making the GPS toolkit the best option.
    I hope this information helps.
    Regards
    Cameron T
    Applications Engineer
    National Instruments

  • What needs to be done in order to bring in a signal to a SCB-68 and have the SCB-68 caculate the frequency, etc. using a PCI-6052E board in LabView?

    I am using a basic function generator to create a signal to channels ach0,ach1,& ach2, using resistors as a way to change the signal a bit. I have built a VI to see these three waveforms, but I'd like to be able to use the internal counter of the SCB-68 to measure the pulse width and be able to convert it into a frequency measurement that can be displayed on the front panel. I've looked in the NI 6052E manual, but it is very vauge. Any help would be useful. Thanks
    SQ

    Hello;
    First of all, you need to make sure the three waveforms are TTL leveled, since the counters only support that data type.
    After you clear that out, you will need three counter to do frequency measurements on the three waveforms, and the board you have there has only two counter available.
    In case you have the thre counters, you can connect the pulse trains on the gate input of the counters, and use one of the two timebases to be the source input. You need to configure the counter to do buffered event counting. Then, the number you catch in the buffer will be the number of pulses that elapsed in between two active edges of your pulse train. Since you will know which time base you chose, you can do a simple math to calculate the total time.
    Hope this
    helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • How to change read-directory when using file adapter

    Hi, I'm deploying BPEL process to read files from a directory. I want to change the directory where to read dynamically. This can be achieved by using a file header variable. I know how to do this. But, the problem for me is that I can not find a place to assign this file header variable a correct value. The first step in my BPEL process is the receive-step and this has to be the first step. I wanted to place the assign-step before this step but this makes the BPEL process invalid. First step has to be a receive or a pick-step. So, now I have a dilemma! Anyone an advice on this?
    Thanks in advance.

    Maybe you can use this information :
    http://otndnld.oracle.co.jp/document/products/as10g/1012/doc_v3/integrate.1012/B14448-01/html/app_trblshoot.htm
    A.3.3 Common User Errors explains something about the fileheader messages

  • How to start managed servers simultaneously using WLST?

    Hi folks,
    I am trying to write a simple script to provide a simple way to bounce my env, I am pretty much done. However, my script now starts (and stops) the managed servers sequentially which is not what I wanted.
    I am wondering if there is a way to start (and stop) the managed servers within a domain in parallel as I can definitely do that using Admin Console.
    I do have an idea in mind:
    Write a simple python script to start/stop a single managed server, then use another shell script to trigger the python script in background mode.
    But I think this approach is really ugly, and am wondering if there is a native way to do that in WLST.
    Thanks for your repose in advance.

    This does not solve my problem, what I am trying to do is to being a an indefinite about of managed servers at the same time, not all the managed servers.
    For example, suppose I have 5 clusters in a domain, and there are 3 servers in each cluster. I might want to bring up all the major servers first at the same time,
    which mean to bring up one server in each cluster at the same time.
    Please help.

  • How to frequently read and email using developer/2000?

    Could anyone please tell me if there is a way to frequently
    read an email from the mail server into the database of oracle7
    using any of the tools of oracle7 or developer/2000?
    Thank you very much.
    null

    Mohammed Fadel Shatnawi. (guest) wrote:
    : Hello All,
    : I wonder if there is a way by which one can constantly read an
    : email from the mail server into a database!!
    : If there is a way, please do tell me about it.
    : Thank you very much.
    Hi Mohammed,
    I guess, you can use the Oracle InterOffice Product for your
    requirement. (Hope Oracle still supports/sells InterOffice).
    Using Forms, I am not aware. Sorry !
    Bala.
    null

  • 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

  • How do I read a singal on row 1 with my DMM connected to the HVBP

    I have placed a signal on c1 of my SCXI 1129 and connected it to r1. Then I connected r1 to com1 and com1 to ab1. At this point how do I read that voltage using my DMM that is connected to the backplane. I was able to do it by using c0, r0, com0, ab0 and I recieved the proper measurement. Also, i should not that I have done all my testing using the front softpanels.

    I was interested in connecting the 4 DMM leads to R0 thru R3 of a 4x64 matrix. It is not possible with the standard cable. The response accurately described the cable. Documentation that points this out seems to be lacking.

  • Reading Payroll Results using PNPCE

    Hi All,
    As far as reading infotypes/master data is concerned, I am comfortable using "PNPCE" instead of logical database "PNP".
    Can any one tell me how can I read payroll results using "PNPCE". Since Get payroll event is not available in pnpce.

    Hi khalid,
    1. U want the remuneration (monthly salary )
    2. U won't get it DIRECTLY from any table.
    (Its stored in cluster format)
    3. Use this logic and FM.
    DATA: myseqnr LIKE hrpy_rgdir-seqnr.
    DATA : mypy TYPE payin_result.
    DATA : myrt LIKE TABLE OF pc207 WITH HEADER LINE.
    SELECT SINGLE seqnr FROM hrpy_rgdir
    INTO myseqnr
    WHERE pernr = mypernr
    AND fpper = '200409'
    AND srtza = 'A'.
    IF sy-subrc = 0.
    CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
    EXPORTING
    clusterid = 'IN'
    employeenumber = mypernr
    sequencenumber = myseqnr
    CHANGING
    payroll_result = mypy
    EXCEPTIONS
    illegal_isocode_or_clusterid = 1
    error_generating_import = 2
    import_mismatch_error = 3
    subpool_dir_full = 4
    no_read_authority = 5
    no_record_found = 6
    versions_do_not_match = 7
    error_reading_archive = 8
    error_reading_relid = 9
    OTHERS = 10.
    myrt[] = mypy-inter-rt.
    READ TABLE myrt WITH KEY lgart = '1899'.
    4. the internal table myrt
    will contain what u require.
    regards,
    amit m.

  • I am unable to read pdf files using Acrobat Reader on my MAC OS X. Any suggestions?

    How do I read pdf files using my MAC OS X?

    You can read pdf files with preview. Select a pdf document, right click on it, and choose Preview. You can also get info and select to choose Preview for all.
    You can also install Adobe Reader 10.1.3 for Lion. It will also install a plug-in to read pdf docs in the browser.
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5360

  • Can't read text file using UTL_FILE

    Hi All,
    how can I read notepad file using UTL_FILE package.I have specified the UTL_FILE_DIR in the init.ora file.My objective is to when a button is clicked, the contents of the file will display in a text item.Here is my code written in WHEN_BUTTON_PRESSED trigger.
    DECLARE
         file_handle UTL_FILE.FILE_TYPE;
    data_line Varchar2(100);
    BEGIN
         file_handle := UTL_FILE.FOPEN('E:\vimal','abc.txt','R');
              message('directory created');
         UTL_FILE.GET_LINE(file_handle, data_line);
         :block2.t1 := data_line;
         UTL_FILE.FCLOSE(file_handle);
    END;

    Why don't you use text_io? Don't forget that UTL_FILE is reading directories from the database point of view. The E drive for the database is a different E then on your client pc. I presume your database is on a different computer. Are you getting any errors?

  • Simultaneous updation of sine wave using 2 PXI-6711 cards using RTSI Trigger

    Hi ,
    How to generate continuous sine wave using two pxi-6711 cards at same time without any phase shift using traditional nidaq functions.
    Regards,
    satya

    In LabVIEW, go to Help>>Find Examples. Navigate to Hardware Input and Output>>Traditional DAQ>>Multiple Device. There is an example there called "Two E Series Shared Scan Clock". That example is for analog input, but you should be able to modify it to be for analog output. Basically you will just have to share the scan clock from one board(master) and use it as an 'external' clock for the other board(slave).
    -Alan A.

  • 6602: How to use 8 counters simultaneously in C++ using traditional Daq for frequency measurement

    Hi Everybody;
    I'm new to Ni-DAQ cards and working on NI PCI-6602 Card in Borland C++, I should use Traditional DAQ for my project. Now I want to use all the 8 counters simultaneously for frequency measurement.
    1.Where should I connect my External signal, to source or gate, at present I have connected to source.
    2. How to set parameters and start the counters simultaneously, what are the parameters to be set for frequency measurement.
    3.How to start counting.(parameter settings)
    4.Should I set any PFI Lines or by default are they set to counters.
    status = GPCTR_Set_Application (1, gpctrNum, ND_SIMPLE_EVENT_CNT)
    status = GPCTR_Change_Parameter (1, gpctrNum, paramID, paramValue)
    iStatus = GPCTR_Watch(1, gpctrNum, ND_ARMED, entityValue);
    status = GPCTR_Watch (deviceNumber, gpctrNum,ND_COUNT, entityValue)
    what is the paramID in my case, Clear and appropriate answers would be very helpful and thanks in advance.
    Message Edited by Pavan K on 07-11-2009 12:38 AM

      I have made a program with LabVIEW 5.1 based on NI 6602, in which four counters were used.
      Counter 3 is used to generate pulses, which are directed to the gates of counter 0, 1 and 2. 
      The source terminals of counter 0,1 and 2 receive pulses, individually, to count how many pulses appear during the time interval of each gate pulse.
      The results are stored in a data file.
      In order to test its performance, only one signal of ramdom pulses is sent to counter 0,1 and 2.
      But I find that at the beginning the counts for the three counters are the same, but the following counts are totally different!
      What's wrong? And how to solve such a problem? Does it have something related with synchronization?
      Thank you very much!

  • I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  My iBook library does not show up in iTunes.

    I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  Some of my iBooks show up in my iTunes but they are "grayed" out.  The only books that respond in iTunes are audiobooks and that's not what I'm looking for.  Is this a stupid question?

    Nevermind - I answered my own question, which is I CAN"T READ ANY BOOKS I purchased in iBooks on my MacBook Pro.  If I want to read on my mac I have to use Kindle or Nook.  Which means any book I've already purchased through iBooks has to be read on my iPad.  Kind of a drag because there are times when it's more convenient for me to read while I'm sitting with my Mac.

Maybe you are looking for

  • Using s-video out on my Satellite L300D-13Y

    Hello there, i hooked up the laptop with my tv using a s-video cable (4metres) and a s-vhs to scart adapter. I chose the s-vhs input on the tv but when i choose "extend desktop to this monitor" i get the "do you want to keep this setting" confirmatio

  • HP LaserJet 4250 Printer problem

    A baffling problem: Our building has 2 floors. This network printer resides on the 2nd floor. It is shared via the network and used the HP Universal PCL 6 (v.5.3) driver at first and then I switched it to the Universal PCL 5 (v.5.3) driver. Both prod

  • FCE4 and iDVD Anamorphic Ken Burns

    I created a 60min movie in iMovie8 using three media: 1) NTSC Anamorphic DV from a Panasonic PV-GS80, 2) JPEG 2816x2112 stills from a Panasonic DMC-FX3, and 3) 848x480 motion JPEG video from the DMC-FX3. An iMovie 8 project in 16:9 aspect was burned

  • Spry Tab link only works once... why?

    Hi all, I have a spry tabbed area with 4 tabs on my page. Each tab contains data that is dragged from an MSAccess table. A couple of the tabs have repeat regions. This all works fine.  One of my tabs has a repeat region where I can click on a button

  • Skype video call recorder?

    Is there any apps available to record the skype video call? That should happen in the background while I am in Skype call. How?