Query on NI PXI 6602 Timing I/O Module

How to configure the PXI 6602 Timing I/O module to generate frequency on 8 lines and measure the frequency using the same card?

To me, the pinout is pretty clear so yes, the PFI lines and P1,P2 are related.
I can't advise you whether you should get the board repaired or make do. My concern would be whatever caused the failure of P0 would also cause the failure of whatever port you moved to.
Attachments:
pxi-6220.PNG ‏36 KB

Similar Messages

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

  • 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

  • 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 - Retriggerable Finite Pulse Train Generation

    Hi,
    I have a VI in LV7.1 where I configure PXI 6602 to generate finite pulses whenever a trigger is received. And the Retriggerable Property is set to TRUE. I look for the task to complete in order to proceed with the other operations.. This actually works. As soon as the pulses are generated DAQmx Task Done becomes TRUE.
    The same VI I upgraded to LV 2011but this time the 'DAQmx Task Done?' never becomes TRUE even after the trigger is received and pulses are generated. 
    Does anyone know if the 'DAQmx Task Done?' functionality is changed in higher version of LabVIEW so that it no more works as it was in LV 7.1?
    Is yes, then do you know what property to use to know that the operation is done?
    Any help is highly appreciated.
    Thanks.

    CORRECTION TO PREVIOUS POSTING THERE WAS AN ERROR IN HOW I DESCRIBED THE PROBLEM:
    I have a problem using a retriggerable finite pulse train as in the NI example Retriggerable_Finite_Pulse_Train. I use ACTOUT to gate the first re-triggerable pulse control and the second pulse control generates the continuous pulse train which is gated by the first retriggerable pulse control. The ACTOUT signal is generated by an AI control which senses a crank trigger (Hall Sensor). The re-triggerable pulse train is used to modulate a fuel injector in sync with ignition timing and RPM.  If the period of the ACTOUT signal changes due to a change in RPM, the pulse train is recalculated. It works OK with one hitch. Even at constant RPM, after about 15 re-triggerer pulse trains the final pulse of the train does not complete. This leaves the signal high in-between successive re-triggerer pulse trains. This incorrect high signal between re-triggerer pulse trains means that the fuel injector is incorrectly left on in-between pulse trains. This incorrect high signal goes on for about 10 pulse train events and then returns to normal. This pattern repeats. I use the ActualPeriod of the second control's continuous pulse train to ensure the pulse train ends correctly within window of the first re-triggerable pulse. This work but with time this pulse train seem to shift slightly. Is there another way to create a different type of re-triggerable pulse train that overcomes this problem?

  • How to use 20 MHz clock of the 6602 Timing card on other boards?

    Hello,
    I have a 1042 PXI with 6602 timing card and several other boards including 6534 Digital I/O board and 5122 Digitizer.
    I want these boards (6534 and 5122) to use the 20 MHz clock of the 6602 board as their Sample Clock.
    But when I set "/TimingIO/20MHzTimebase" as the source of the Sample Clock for the 6534 board I get the following error sometimes (sometimes everything works fine) :
    """Error -200621 occurred at DAQmx Wait Until Done.vi:2
    Onboard device memory underflow. Because of system and/or bus-bandwidth limitations, the driver could not write data to the device fast enough to keep up with the device output rate. Reduce your sample rate, or reduce the number of programs your computer is executing concurrently. """
    When I use "OnboardClock" as the source of the Sample Clock for 6534 I never get this message. I tell 6534 to use 6602's 20 MHZ clock by connecting
    "/TimingIO/20MHzTimebase" terminal to the appropriate input of the
    "Sample Clock vi" in the 6534's task. Output rate of the 6534 that I use is (much) less than 1 MHz.
    Could somebody explain the source/reason of the error message above? It seems like 6534 can not use 6602's 20 MHz clock though it has 20 MHz oscillator itself...
    Is there a way to use 20 MHz clock of the 6602 for 6534?
    Thanks in advance!

    Hi Ampm,
    The two answers are related to each of the answers:
    1) In this knowledgebase we can see that actually the 6602 cannot
    export his clock into PXI_Star. Since your digitizer cannot received but from
    this line, we need to find a different solution (see below).
    2) PXI_Star is actually a signal and should be named something
    like this “/Slot5/PXI_Star”. Make sure you PXI chassis is configured in MAX.
    There are two possible approaches:
    1)     
    I would suggest to PLL all
    clocks to the PXI 10 MHz clock. This takes full advantage of the hardware you
    have.
    2)     
    Export the 6602 20 MHz clock
    on a front panel PFI line and externally connect it to the CLK IN of the 5122.
    Good luck,
    Gerardo O.
    RF Systems Engineering
    National Instruments

  • Error when trying to use DO as "open collector" on PXI-6602

    When I try to configure a DO of my PXI-6602 as "open collector" I receive the error -200452 ("Measurements: Specified property is not supported by the device or is not applicable to the task."). This is completely mysterious to me since the PXI-6602 should have this feature and my code (see attachment) is practically identical to any of the numerous examples for this topic. Am I overlooking anything really stupid? (LV 8.5, PXI-8145RT) Cheers, uli
    Solved!
    Go to Solution.
    Attachments:
    openCollectorTest.vi ‏14 KB

    Hi uli,
    Did you try setting DO.Tristate while the task is running? There are a few DAQmx devices that do not support setting DO.Tristate while the task is running, but I don't think that the PXI-6602 is among them. I don't have an actual 6602 installed but with a simulated PXI-6602 and DAQmx 8.9, setting DO.Tristate while the task is running does not error.
    Using external hardware is perfectly fine, and should also work for timing I/O (whereas using DO.Tristate would only work for single-point digital I/O).
    I don't see the text that you quoted in the NI 660x Specifications, so I don't know what context it was in, and apparently it has been reworded since then. Note that devices that support open collector output say "open collector (open-drain)" in their specifications; for an example, see the NI USB-6008/6009 User Guide and Specifications.
    Brad
    Brad Keryan
    NI R&D

  • 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

  • Pxi 6602 pulse generation

    Hi i am new user and i got pxi 6602 iwant to generate a 5 khz 3.5ms 2.5 amplitude and 2.5 offset i probably need to use 2 counters can someone tell me which wires i need to connect on scb 68 device and how ican write this program?
    Thanks for helping me
    Solved!
    Go to Solution.

    Did you read the specs before buying the device? You can't use any counter, let alone two. The device has TTL compatible signals so no amplitude or offset control. A card with timed analog output would work.

  • 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

  • PXI 6602 and encoder reading with two counters

    I'm reading three encoders with 2000 pulses for each revolution with a PXI 6602. As the loads are connected to the motors through a transmission ratio of 200 I need to count both the encoder pulses in each revolution and the number of revolutions.
    I think I could use one counter, with the standard connections, to count the number of pulses in each revolution and another counter, with the source connected to the Z index signal and the up/down connected to the B channel, to count the number of revolutions.
    Does somebody know if there is a simpler solution or a solution that needs only one counter?
    Thanks

    You can do this with one counter. Since you know the relationship between counts and revs (2000:1), you don't really have to count the index pulse separately. Just take the total count and divide by by the counts per rev. The quotient is the number of revs and the remainder is the position within a particular revolution. Make sure to turn off Z indexing with Counter Set Attribute (attribute 20), so that the counter does not reset each revolution.
    Take a look at the NI-DAQ shipping examples in LabVIEW 6.1\examples\daq\counter\ni-tio.llb or at the example linked below. Just add the division operation to get the number of revs.
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/8bebc7cce0aa65f686256866005e411b?OpenDocument
    This
    seems like a fairly simple solution. Please let me know if I have misunderstood the question.
    Good luck,
    Brent R.
    Applications Engineer
    National Instruments

  • 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

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

  • Comment mesurer un fréqunce avec une carte pxi-6602?

     Bonjour,
    Je cherche grâce à une carte PXI 6602 à mesurer la fréquence d'une signal périodique.
    Cette carte possèdent 8 compteur/timer, et je suis déja parvenu à genérer des trains d'impulsion sur ces compteurs.
    Néanmoins je ne parviens pas à mesurer des fréquences...
    Pour cela j'ai tenté de mesurer la fréquence d'un simple signal carré de 50Hz (amplitude 10V) généré par un GBF. J'injecte ce signal sur le PFI38/GATE0 du compteur 0, mais j'obtiens apres génération de mon code une fréquence nulle. J'ai réalisé ce code sur labVIEW 8.6 avec la fonction "Measure Pulse Width or Period.vi"   (code en pièce jointe)
    Merci d'avance pour votre aide
    Pièces jointes :
    mesure_freq.jpg ‏515 KB

    Desole, je ne parle pas francais bien. Vous devriez avoir des exemples pour l'usage du dispositif de l'E-serie DAQ en Visual Basic dans le repertoire \Program Files\National Instruments\NI-DAQ\Examples.
    Chris Matthews
    National Instruments

  • PXI-6602 is not detected by M&A

    Hello,
    I have a PXI-1033 (integrated MXIe card) chassis with a PXI-6602 module installed in it.
    Measurement & Automation Explorer shows only PXI System (Undifined), please see attached file (1.jpg). In the list "Identify as" I can not see NI-1033 controller. Before that I have installed software form "NI PXI Platform Service". When I choose NI-1033 controller from CD the message "could not import controller information" is appeared, when I choose any other controller, Measurement & Automation Explorer shows "chassis" which I can identify as PXI-1033. But there is no possibility to detect PXI-6602 card by Measurement & Automation Explorer.
    System information: Win XP, LabView 8.5.1,NIDAQ922f0 drivers are installed.
    So, the questions:
    1. Why there is no DAQmx branch in Measurement & Automation Explorer tree with PXI-6602 card? 
    2. How can I test my PXI-6602 card (it absolutely new, but...)?
    3. How it is possible to install correct controller for PXI-1033 chassis?
    Thank you.
    Attachments:
    1.jpg ‏141 KB

    Hello,
    the problem discussed in the previous message was fixed and here is the solution:
    After additional investigation it was found that the issue is with "This device cannot find enough free resources that it can use. If you want to use this device, you will need to disable one of the other devices on this system. (Code 12)". This topic was discussed (http://digital.ni.com/public.nsf/allkb/04C12CB4A5143ECC862572DC007B8DF6). But it did not help. I updated the BIOS in my Laptop (Dell Vostro 3300) from A05 to A09 version. But it did not help again.
    After that I found a "MSI-Express BIOS Compatibility Software". Installation this software fixed the problem.
    Hope this information will be helpful.

Maybe you are looking for

  • Open in Same Window

    I am rather new to Flash. I have created several drop down buttons in flash for a webpage. I have set the action to open the links in the same window but they are opening in a new window. I am wondering if it is because when opened the flash buttons

  • How do i delete music on my ipod classic. so that i don't loose music i syced to the ipod library.

    my computer crashed so i had to re sinc my music to the i tunes library. now i need to no how to delete music on my i pod classic so i can re sinc my music in the new library, to my ipod classic

  • How to find the list of  different material in other SAP system.

    We have two SAP different systems.  there is an integration between two systems. One system has 2 millions materails (parts) and other system has 6 millions materails (parts). I need to know the list of what are those 4 miilions of materials in the o

  • Syncing iBooks And newsstand between devices

    I have an iPad and iPhone and sync collections is on with both. However the books that I have on the iPad don't all show up on my iPhone. The same applies with newsstand. I bought a magazine with my iPad and it doesn't show up on the iPhone. I though

  • REUSE_ALV_GRID_LAYOUT_INFO_GET!!

    Hi, This Fm works fine in foreground and returns the relevant fieldcatalogue ( with no_out and tech updated) but when i call the same FM in background it doesn't give me all those columns which are hidden with no_out and tech field updated in i_field