WANTED: NI PXI-6602 counter/timer

I'm looking to buy a used NI PXI-6602 counter/timer board. Got one?

"Zvezdana S." wrote in message
news:[email protected]..
> Hugh,
> To possibly obtain an used board from National Instruments, you should
> contact your regional Internal Sales Representative (ISR) for possible
> used boards. If you are not sure who your ISR is, generate a service
> request at:
I never knew NI had an SRQ line we could pull.
Craig Graham
Physicist/Labview Programmer
Lancaster University, UK

Similar Messages

  • RPM Measurement using Quadrature Encoder and PXI 6602 counter

    Hi,
    I am on a project at work where I need to verify the speed (in RPM) of an unloaded motor which can operate up to 1400 rpm.  After doing some research, i determined that a quadrature encoder could be used to make the measurement.  I am looking at this encoder  http://sine.ni.com/nips/cds/view/p/lang/en/nid/205321.
    I have a PXI 6602 counter/timer module in which I would like to interface to the quadrature encoder.  I would like to create a VI that allows me to calculate the speed using the encoder.  Can someone provide me with details of what needs to be in the VI or an example which can do this?  At the most basic level, i want to calculate the speed on demand.  After doing this, i would like to figure out how to quickly calculate the speed so that i can determine response time of the speed changing within sub-millisecond resolution (1 ms resolution max).
    Further, i created a VI that allows me to change the pulse width of a 100 Hz pulse train at run-time which tells the motor controller the desired speed.  I would like to be able to use this VI to change the speed of the motor and the first VI (that I am seeking help about) to calculate the response time (time between the initial speed and settling at the new setpoint).
    I am familiar with the NI example finder, but have not been able to find an example that I can use.
    Thanks,
    Gary

    Hey Gary,
    I think for you setup, you should try using the Meas Dig Frequency - Low Freq 1 ctr. You can find it by searching example finder with 'low freq'. This vi tells you the frequency of a digital signal by sampling between two pulses and inverting the time between pulses. If you hook up your encoder to a counter and have that counter specified in the vi, it will be able to give you on demand readings of frequency (you can do some multiplication to get the rpm value, freq*60/pulses per revolution of encoder). A simple way to take continuous readings is to put a while loop around the daqmx read and the data output of the read. You can also replace the numeric indicator to a waveform chart to graphically display the change of frequency or rpm readings over time.
    You should be able to integrate this as two separate tasks with the pulse train vi you created earlier.
    Hope this helps
    Luke W

  • Configuring the NI 6602 Counter/Timer ?

    Is there a way to configure a NI 6602 Counter/Timer to generate a LabVIEW occurrence ever time it counts?

    Hello;
    Occurrences can be generated at every time the output of the 6602 counter change state. That operation is not supported for counting operations.
    One thing you can try to do to overcome that is to combine two counters, the first one will have the pulse train to be counted connected to its source and it will be configured as retriggerable pulse train generator. You can configure the pulses to be generated by this counter to have the minimun delay of 2 timebase clocks, and the same width of the pulses that are being counted.
    The second counter will receive the output of the first counter on its source and will be configure as simple event counter.
    You will catch the occurence generated by the first counter and the value read by the second counter.
    There is a drawbacks with this implementation, which is:
    There will be a 2 timebase clock pulses delay in between the generation of the occurrence and the event of the pulse on the first counter.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • NI 6602 counter/timer card

    Hi,
    following question:
    i am using the x4 encoder application on an ni 6602 card.
    and also i am using a gated signal generation on it.
    both things are working without any problem.
    My intention is to read the counter value of the encoder on every rising
    edge of the signal and write the value into an array in the pcmemory.
    Is this possible, how?
    Is it possible to create an interupt on rising edge, and signal the
    programm, >read the encoder reader value
    I'm using the 6602 card with the HDDK in Linux, well i also have the
    register level manual.
    Thanks a lot
    Mario
    Mario Behn
    345 Lincoln Avenue Apt. 1025
    Amherst, MA, USA
    Tel.: +1-413-546-6656

    Hello,
    thanks for your answer, well my problem is slightly different, so let me
    explain:
    I got from NI the following the files for the NI 6602 Counter/Timer Card to
    work with Linux:
    http://sine.ni.com/apps/we/nioc.vp?cid=11737⟨=US
    one is the common driver.
    The other are the sample programms.
    However, every programm except the one which uses the
    interupt/dma works(gpct_ex8.cpp).
    Here is the errormessages:
    [root@proto OSinterface]# ls
    gpct_ex1.cpp gpct_ex4.cpp gpct_ex7.cpp osiBus.cpp osiUserCode.cpp
    tTIO.cpp
    gpct_ex2.cpp gpct_ex5.cpp gpct_ex8.cpp osiBus.h trace.h
    tTIO.h
    gpct_ex3.cpp gpct_ex6.cpp gpct_ex9.cpp osiTypes.h tStatus2.h
    tTIO.ipp
    [root@proto OSinterface]# g++ gpct_ex8.cpp osiBus.cpp osiUserCode.cpp
    tTIO.cpp
    In file included from osiBus.h:9,
    from gpct_ex8.cpp:15:
    osiTypes.h:39:1: warning: "NULL" redefined
    In file included from /usr/include/_G_config.h:14,
    from /usr/include/libio.h:32,
    from /usr/include/stdio.h:72,
    from gpct_ex8.cpp:14:
    /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/stddef.h:366:1: warning: this
    is
    the location of the previous definition
    gpct_ex8.cpp: In function `void test(iBus*)':
    gpct_ex8.cpp:112: `class tTIO' has no member named `G0_DMA_Control_Register'
    gpct_ex8.cpp:113: `class tTIO' has no member named `G0_DMA_Control_Register'
    gpct_ex8.cpp:136: `class tTIO' has no member named `G0_DMA_Status_Register'
    gpct_ex8.cpp: In function `void gpct_ISR(tTIO*)':
    gpct_ex8.cpp:154: `class tTIO' has no member named `G0_DMA_Status_Register'
    [root@proto OSinterface]#
    So the question is, when there is a general driver system and example
    programms, than they should work?
    Who can help my with this ?
    If you can't, could you forward my question at NI to someone, who is
    responsible for the Measurement Hardware Driver Development Kit (DDK) and
    can help me?
    I have Redhat-Linux 8.0 and kernel 2.4.18.
    Thank you
    Mario Behn
    ----- Original Message -----
    From: "Sastry V."
    Newsgroups: natinst.public.daq.general
    Sent: Friday, January 10, 2003 16:44
    Subject: Re: NI 6602 counter/timer card
    > Hi Mario,
    >
    > I would like to tell first that interrupts do not work with PCI-6602.
    >
    > I would also suggest you to take a look at the examples on Encoder
    > Measurements:
    >
    > >
    http://zone.ni.com/devzone/devzone.nsf/webcategories/75CA12ECD25F39A78625679
    000743752?opendocument&...
    >
    > The Quadrature Encoder with DAQ-STC cards example shows the property
    > that you can use to count.
    >
    > Please do let me know if you need more help.
    >
    > Sincerely,
    > Sastry Vadlamani
    > Applications Engineer
    > National Instruments

  • I need tips on programming a 6602 counter/timer

    I am new to Labview but have been a command line programmer for some time.  I have a 6602 card in a PXI system.  I would like to use the internal clock of the 6602 to control the delivery of triggers to various instruments.  These triggers need to be both user inputted and optionally scanned in time.  Eventually, I will trigger the 5112 NI scope board to recieve signal and plot to the screen. 

    Darrin,
    There are a lot of terrific LabVIEW examples that ship with the
    NI-DAQmx driver that are compatible with the PXI-6602.  These
    include counter examples as well as pulse train generation
    examples.  For example, some of these that would be great to looks
    at can be found by opening the NI Example Finder (Help >> NI
    Example Finder).  Under the Browse tab, navigate to Hardware Input
    and Output >> DAQmx >> Generate Digital Pulses.
    There are also shipping examples that show how to use a common signal
    between boards.  Most of these examples share clocks, but you
    could also apply this to triggering.  These are found in: Hardware
    Input and Output >> DAQmx >> Synchronization >>
    Multi-Device and Hardware Input and Output >> DAQmx >>
    Synchronization >> Multi-Function
    There are also a lot of great examples, DevZone posts, and tutoirals
    that you can find on our website by searching for various keywords like
    6602, synchronization, triggering. etc.
    One example that shows how to export a digital signal from one board
    and use it on another board via the RTSI lines that are built into the
    backplane of the PXI chassis can be seen here.
    Hopefully this gives you a good place to start!
    Regards,
    Doug Mumford
    Applications Engineer
    National Instruments
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • DMA transfer rate for PCI-6602 counter/timer

    I'm strongly interested in raising the DMA transfer rate between the PCI-6602 counter and computer. At the moment, I've got a Pen-4 2.4GHz operating under Win98. I have to move an 80 Megaword array at an ~5 MHz speed. So far, I've been able to reach just 2 MHz. Would it be possible? What is the battleneck here - the soft- or hardware?

    Hello,
    I think the bottleneck you are seeing here is a limitation of the dma transfer capabilities that is dependant on the bus of your PC and not your 6602 card. Here is a link of a knowledgebase that you could try to use to see if that would improve your transfer rates. I still doubt you will be able to achieve approximately 5MHz.
    http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/1b64310fae9007c086256a1d006d9bbf?OpenDocument
    Regards,
    Steven B.

  • Can I use Intel 815EP AGP 4X Pentium and plug in 5 Nos NI 6002 PCI counter Timer cards, instead of going for expensive PXI based solution? Hope there will be no degradation in performance - when used for constructing an Energy Meter test Bench.

    I was recommended to buy NI 6002 with PXI series, 5 Nos cards($875x 5 nos), and additionally a PXI rack costing about $ 2195 + some min--- card to interface with the computer costing another $ 875. Compare this with $ 675 x 5 Nos for 5 Nos PCI based NI 6002 + some cablesa nd connectors for synchronisation.
    First option is extremely expensive. But NI marketin manager will be glad that he sold more harware. But I want the truth. Why can't Intel 815 Pentium board be used?

    I am addressing the question if using PCI-6602s instead of using PXI-6602s will affect the performance, and the answer is NO. 6602 counter/timer devices comes in two different form factors, PXI/Compac PCI and PCI. The accuracy and performance is the same for both the PXI and PCI 6602s. However, using PXI solution will allow users an easier time with synchronization since that is the provided in the backplane of the PXI chassis. Additionally, if you ever need a higher accuracy solution you can add the 6608 device which has 75 parts per billion ppb vs 50 ppm of the 6602 devices. With 6608 plugged in the second slot of the PXI chassis (the one next to the controller), the high accuracy timebase is automatically shared acrossed the backplane of the PXI chassis which mean
    s that other 6602 devices in the chassis will share the same accuracy of the 6608. If the difference in the accuracy is not a concern and you are currently not ready to invest in the PXI platform, then you can go with the PCI 6602 devices.
    Best Regards,
    June Zhu
    National Instruments
    Digital and Timing Product Support Engineer

  • How can i find out the resolution and accuracy of PXI-6602 module?

    I have a 32 bit  8 channel PXI-6602 counter module.  PXI card is interfaced to PC with MXI-4 link. How can i find out the resolution and accuracy of this system.What is the maximum accuracy and resolution i will get from this system. Because optical signal to cmos conversion signal is given as a input to the counter.

    Hi chandhu,
    Were you referring to the accuracy of the count register or the timing clock? 
    PXI-6602 specifications can be found in the NI 660x Specifications.  The resolution of the count register is, as you’ve noted, 32 bits.  This corresponds to a maximum count value of 4,294,967,295.  As long as all of the edges are in accordance with TTL specifications, the accuracy of the count register is 100%.
    On the other hand, the PXI-6602 baseclock accuracy takes on the baseclock accuracy of the PXI CLK 10 signal.  Again, this is all found in the specifications.
    You may also want to check out the NI 660x User Manual – it contains a lot of details on the operation of these counter/timer devices.
    I hope this helps.  Please post back if you have further questions.
    Ed W.
    Applications Engineer
    National Instruments

  • PXI 6602 interrupts

    I cannot configure a PXI-6602 counter to use Interrupts"
    "I am trying to collect data on 4 channels. Each channel uses a counter of the NI-DAQ PXI-6602.
    For the first three channels I use DMA by default.
    I have added this line of code for the fourth channel which uses counter 3, before I PREPARE & ARM this counter:
    Set_DAQ_Device_Info (device,
    ND_DATA_XFER_MODE_GPCTR3,
    ND_INTERRUPTS);
    but I always become a SetupError (-10600)
    I've tried several different things, also:
    GPCTR_Change_Parameter(device, ND_TRANSFER_MODE, ND_INTERRUPTS);
    but it does not work.
    I am obviously not setting the last channel to use interrupts correctly. Am I supposed to do something else besides Set_Device_Info? Is ND_PROGRAM initializing
    the counter back to use DMA?
    Any help?

    There is a KnowledgeBase Entry that discusses the problem:
    http://digital.ni.com/public.nsf/websearch/540B236C81310B6F862569B5007D5DDC?OpenDocument
    So I would recommend to download and install the latest NI-DAQ driver. After that it should work.

  • PXI 6602 shared DIO Counter lines

    Hi,
    I have a question regarding the PXI-6602. From the manual I see that some of its PFI channels are shared. If I wanted to use a counter to generate a timed pulse. Can I use the associated gate and source PFI as digital output lines without affecting the counter?
    Here's a concrete example: Let's say I'm using the counter 7 to generate a timed pulse on PFI 8 which is the CTR OUT. Can I simultaneously use PFI 10, which is listed in the manual as having possible signals CTR 7 Gate and P0.10, as a digital output? Can I simultaneously use PFI 11, which is listed in the manual as having possible signals CTR 7 Source and P0.11, as a digital output?
    Thank you!

    Hi,
    Take a look at this example related to routing counter signals through the RTSI lines.
    http://www.ni.com/example/27109/en/
    Reference Table:
    http://zone.ni.com/reference/en-XX/help/370466W-01/mxdevconsid/tiosigconcounters/
    Luis S
    Application Engineer
    National Instruments

  • Only want one counter/timer,  keep getting far more.

    My problem is that if a apply a new number to the counter/timer while it's still running, it adds a new counter along with the previous counter.
    Is there a way of reseting the first counter to use the new chosen numbers.
    I can cancel the old with a second button within the main timer method.
    But I would like to cancel or reset from the select button.
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import javax.swing.DefaultListModel;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.math.*;
    import javax.swing.Timer.*;
    public class CountDown3 extends JPanel
      JList list;
      DefaultListModel model;
      int counter = 1000;
      String time;
      final int SECONDS = 60;
      int minutes = 0;
      JButton btn2 = new JButton("end");
      public static void main(String s[])
          JFrame frame = new JFrame("List Model Example");
          frame.setContentPane(new CountDown3());
          frame.setSize(70, 80);
          frame.setVisible(true);
      public CountDown3()
        setLayout(new BorderLayout()); model = new DefaultListModel();
        list = new JList(model);JScrollPane pane = new JScrollPane(list);
        pane.setPreferredSize(new Dimension(100,22));
        JButton btn = new JButton("Min");
        for (int i = 1; i < 1000; i++)model.addElement(""+i);
        list.setSelectedIndex(0);add(pane, BorderLayout.NORTH);
        add(btn,BorderLayout.WEST);add(btn2,BorderLayout.EAST);
        btn.addActionListener(new ActionListener()
              public void actionPerformed(ActionEvent ae)
                   int bob = list.getSelectedIndex();
                   if(bob == JOptionPane.OK_OPTION);
                        String time = (String)list.getSelectedValue();
                       System.out.println(time);
                       ddd(time);
      public void ddd(String time)
         final java.util.Timer sid = new java.util.Timer(true);
         minutes = Integer.parseInt(time);
         sid.scheduleAtFixedRate(new TimerTask()
            int bbb = minutes * SECONDS;
            public void run()
                   System.out.println(""+bbb/SECONDS+" : "+bbb % SECONDS);
                      bbb--;
                 if(bbb < 0)
                           sid.cancel();
        },0,1000);
    }

    A little modification try this
    Your program is good and superb
    /* Try JSpinner instead of using JList with JScrollPane ... */
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.math.*;
    import javax.swing.Timer.*;
    public class CountDown3 extends JPanel{
      JList list;
      DefaultListModel model;
      int counter = 1000;
      String time;
      final int SECONDS = 60;
      int minutes = 0;
      JButton btn2 = new JButton("end");
      java.util.Timer sid=new java.util.Timer();
      public CountDown3(){
        setLayout(new BorderLayout());
        model = new DefaultListModel();
        list = new JList(model);
        JScrollPane pane = new JScrollPane(list);
        pane.setPreferredSize(new Dimension(100,22));
        JButton btn = new JButton("Min");
        for (int i = 1; i < 1000; i++)
            { model.addElement(""+i); }
        list.setSelectedIndex(0);
        add(pane, BorderLayout.NORTH);
        add(btn,BorderLayout.WEST);
        add(btn2,BorderLayout.EAST);
        btn.addActionListener(new ActionListener(){
              public void actionPerformed(ActionEvent ae)
                   int bob = list.getSelectedIndex();
                   if(bob == JOptionPane.OK_OPTION);
                       String time = (String)list.getSelectedValue();
                       System.out.println(time);
                       sid.cancel();
                       ddd(time);
      public void ddd(String time){
            sid= new java.util.Timer(true);
         minutes = Integer.parseInt(time);
         sid.scheduleAtFixedRate(new TimerTask(){
            int bbb = minutes * SECONDS;
            public void run(){
                   System.out.println(""+bbb/SECONDS+" : "+bbb % SECONDS);
                      bbb--;
                 if(bbb < 0)
                           sid.cancel();
        },0,1000);
      public static void main(String s[]){
          JFrame frame = new JFrame("List Model Example");
          frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
          frame.setContentPane(new CountDown3());
          frame.setSize(70, 80);
          frame.setVisible(true);
    }

  • PXI 6602 +BNC-2121 +LabView 7.0

    Hello,
    I am using a PXI 6602 with BNC-2121 Connector Accessory and LabView 7.1 to measure a time in a cams programmer (it is composed by a motor, cams, microswitches. The cams rotate and commutate the microswitch state). I need to use all eight counter but for the moment I set up the program with only one counter ( only one cam). When the measure start I need to count the seconds until the microswitch commutate. In a complete rotation of the cam the microswitch can commutate more times and I need to measure every operation (see Figure 1) and I want to save every time (ti) in a matrix because in a second time I would create a output plot. There is a difficult in this measure: when the microswitch commutate there are a rebound problem. The rebound time (Tr in Figure 2) in negligible respect the cams programmer tolerance and I want eliminate it from my measure. Can Somebody help me to write the program, I am new in LabView world.
    Thank you
    Luca
    Attachments:
    Figure.jpg ‏26 KB

    Hi AlessioD,
    I understand that this is an old post, but I'm also interested in using
    buffered event counting with all the 8 counters of PXI-6624. Is it
    possible to do this and will there be any DMA issues. Do I need to use
    some sort of interrupt for counting? Also the link that you send no
    longer seems to be valid. I would love to read the document that you
    are referring to.
    Actually i'm more concerned because my application requires me to sync
    all the 8 counters of 6624 with 4472( I will be sharing the
    oversampling clock of 4472 with the counters).
    Thanks
    Kallis
    Have a nice day!!!
    LabVIEW | LabWindows/CVI | TestStand
    Certified LabVIEW Architect

  • 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.

  • Routing signals PXI-6602

    I'm trying to route a single input to more than one counter.  I've been wading through the routing signals options with no success.  I have a PXI-6602 and using LabView 8.20.  I have a single input that I want to measure the period and pulse width on.  Hooking up multiple external lines is an option, but I'm converting from fiber to the input so it would be much easier to route the signals internally.
    My 6602 is Dev1.  I can't seem to nail down how to use the route signals vi.  I've looked at some examples with no more clarity.  What's the easiest way to accomplish this task internally and is there a simple clear example?

    I would wire to the PFI pins associated with the Gate input of either Ctr0 or Ctr1.  These PFI pins are *not* shared with DIO functions so there's no chance of conflict with future DIO usage.
    Both period and pulse width measurements should allow you to successfully specify any of the Gate input PFI pins as the signal source.  You shouldn't need to call any explicit signal routing functions if you're using DAQmx -- it handles most stuff auto-magically.
    Another option may be to configure for semi-period measurement.  Depending on the polarity setting, the pulse widths will be either the even or the odd values in the measurement data.  The periods will simply be the sum of adjacent pairs of values, though you may need to ignore the very first value in a buffered measurement -- it represents the (meaningless) time from starting the task until the first active edge.
    Sorry, not at a LV machine to create & post an example...
    -Kevin P.

  • PXI 6602 pulsewidth timing?

    Using the PXI-6602 with LabView 8.5, is there anyway to get the time of when a pulse occurs?  Continuous pulsewidth reading is good, but just need time info also.  Essentially we need the function of cont. digital read, which we do on the PXI 6123, but we might run out of channels on that. 
    Thanks.

    Hi Beck,
    I would still recommend a period measurement if you are looking for times between rising edges. See the screenshot below from the NI-DAQmx Help which shoes the differences between these counter measurements.
    You can then add the period between rising edges from each subsequent an initial timestamp to get the timestamp of when that pulse occurred. This can then be complied into an array which can be written to a file.
    Regards,
    Kent
    Applications Engineer NIC
    Message Edited by tnek on 12-11-2008 04:56 PM
    Digital Multimeter Home
    Attachments:
    periodmeasure.png ‏6 KB

Maybe you are looking for

  • When saving a File OS Is Creating Multiple Folders With The Same File Name

    Not sure what I changed but, now when I save a any file (ppt. word, Keynote,Pages e.g.,) to the desktop or any other location the OS will also create multiple file folders with the same file name as the file I'm saving. Inside the folders are what ap

  • Warping IMac Facia

    Has anyone noticed any strange gaps appearing between the LCD display and the white casing? I noticed a 2mm gap in the bottom right hand corner, no problem with the display as such, purely a cosmetic problem! Popped into my local PC World and looked

  • ESB and BPEL in different servers

    Hi , Is there any performance based advantage when we have BPEL and ESB in different servers ?

  • Error when saving shipment cost document

    Hi, I am facing below error No purchase order item was generated for shipment cost item 0000001003 000001 Message no. VY633 Diagnosis You have marked the shipment cost item for transmission to the finanacial accounting department. For this transactio

  • Error 0210 stuck key 38 on T400

    Hi, I have T400 running windows 7 64 bit. Today my keyboard stoppded working after windows updated but mouse was working. I tried to check the device manager. It says it is working fine and also tried to update key board driver but there was no updat