Regarding NI PXI-6602 - How to route PFI_33 to a grounded DIO Line.

The PXI-6602 card with the TIO chip seems to be very robust on counter and DIO pin assignments and routing, but I have found that counter 1 has a pin (PFI_33 -AUX IN (UP/DOWN) ) that has been troublesome.  I need to either route this pin to another pin such as a DIO pin set as an output and pulled LOW or be able to manipulate the pin to a low state when I setup counter 1.  This is to ensure that noise is kept to a minimum due to the PXI-6602 being cabled to a board with a PLD on it.  Any solutions on how to tie PFI_33 low?
-Tim

B Spears,
Looks like I'm heading down that path... We were looking to do it in software, but nothing has come to light.  Interesting enough, DAQmx has a good sub-vi (DAQmx Connect Terminals.vi) but I am dealing with code back from LABView 5 days utilizing Traditional DAQ.  Try writing a snipet utilizing both "Write to DIO.vi" and "DAQmx Connect Terminals.vi" and watch the error codes fly. 
One option NI has offered was to re-write the DIO tasking in DAQmx instead of traditional... this maybe an option... but, wow!  That's a lot of code.
Thanks for the reply B Spears,
-Tim

Similar Messages

  • 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

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

  • Route signal from pxi 6602 to RTSI

    Hi,
    I have a problem to export pulse from pxi 6602 to RTSI0. The code is simple as follows:
    DAQmxCreateTask("",&taskHandle);
      DAQmxCreateAOVoltageChan(taskHandle,"AO/ao0","",-10.0,10.0,DAQmx_Val_Volts,NULL);
      DAQmxCreateAOVoltageChan(taskHandle,"AO/ao1","",-10.0,10.0,DAQmx_Val_Volts,NULL);
      DAQmxCfgSampClkTiming(taskHandle,NULL,1000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,2);
      DAQmxCfgDigEdgeStartTrig (taskHandle, "RTSI0", DAQmx_Val_Rising );
      DAQmxWriteAnalogF64(taskHandle,2,0,10.0,DAQmx_Val_GroupByChannel,out,NULL,NULL);
      DAQmxCreateTask ("", &countHandle0);
      DAQmxCreateCOPulseChanTime(countHandle0,"TimingIO/ctr0","",
       DAQmx_Val_Seconds,DAQmx_Val_Low,1,0.5,1);
      err = DAQmxExportSignal (countHandle0, DAQmx_Val_StartTrigger, "RTSI0");
    //  err = DAQmxConnectTerms ("TimingIO/Ctr0Gate", "RTSI0",DAQmx_Val_DoNotInvertPolarity );
      DAQmxStartTask(taskHandle);
      DAQmxStartTask (countHandle0);
    the lines at DAQmxExportSignal(..) and DAQmxConnectTerms(..) both generate big negative number, I spent hours and no answer. In fact I have to use the counter to trigger other boards in my project, I plan to use the route signals a lot.
    Sincerely,
    Taishan

    Hello Taishan,
    Thanks for contacting National Instruments. 
    When you are using DAQmx with a PXI system, much of the signal routing can be handled implicitly by the driver.  From your code, it appears that you want to use a counter output to start an analog output task.  Please let me know if this assumption is incorrect. 
    When used while configuring your analog output task, the following function will cause the internal output of Counter0 to be routed automatically over the PXI backplane to the analog output device.  I have assumed that your PXI-6602 is in slot 2 of the PXI chassis. 
    DAQmxCfgDigEdgeStartTrig (AnalogOutputTaskHandle, "/PXI1Slot2/Ctr0InternalOutput", DAQmx_Val_Rising);  
    The tutorials Getting Started with NI-DAQmx and Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications are great starting points for programming with the DAQmx API.  Since you are using C, Using NI-DAQmx in Text Based Programming Environments, is a great starting point for comparing the LabVIEW API to the C API for DAQmx. 
    Please post back if you have any questions. 
    Regards,
    Browning G
    FlexRIO R&D

  • 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

  • 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

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

  • 6602: Want to route a dedicated DIO (0-7) Line configured for output to a RTSI line

    PXI-6602: I want to use a dedicated DIO (0-7) line configured for output to trigger all 8 counters on the 6602 card. The counters are configured for two-signal-edge-separation measurement. I Have tried to use Route-Signal.vi to route PFIn (0-7) to RTSI bus with no luck.

    You should be able to trigger counters on the 6602 using the Digital Lines DIO (0-7).
    Use the Set Attribute VI and set the attribute value type to Enabled and attribute ID to Start Trigger.
    Wire the output of Set Attribute Task ID to the Task ID input of the Route Signal VI. Select the start trigger for the Signal Name input, PFI n for Signal Source input and PFI line Number for Signal Source Line Number input. Try this and see if this works.
    Regards,
    Bharat Sandhu
    Applications Engineering
    National Instruments."
    Penny

  • Filter pxi-6602 LabVIEW DAQ-mx

    Hi,
    I have a PXI-6602 card.
    The signal to measure is on the gate pin.
    On the source pin, it is the internal 20MHz.
    The counter uses the ND_BUFFERED_EVENT_CNT mode.
    I have a LabWindows code with NI driver DAQ for this card which uses filter with this function <<< Line_Change_Attribute( device number, line name, ND_LINE_FILTER, ND_5_MICROSECONDS) >>>
    I must rewrite the code to LabVIEW with NI driver DAQ-mx.
    I use the counter to count edge mode.
    I don't know how to configure the same filter in LabVIEW with DAQ-mx.
    Can you help me ?
    thanks
    best regards

    Assuming you're using the external signal as a "sample clock" in your edge count task, you would enable the filter like this (called before starting the task):
    There are other ways to configure what is essentially the same thing though--if you're using the external signal as something other than a sample clock (e.g. a "pause trigger") then there would be a different property that you would need to set instead.
    Best Regards,
    John Passiak

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

  • 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

  • HT1338 how to route the mails directly to the folders in MS Office

    I need to know how to route the messages to folders from In Box once they arrived in MS Office. I tried by applying rules but its not working.

    Hi,
    we can check the multiline  present in receiver determination  and specify the condition for both US an UK  receiver systems.
    Or   if you are sure that only  two (UK and US) will come , then check the condition for  Say  UK and  check the defualt reciver system in case of failure ,if its US it will go to the default system.
    You can also  try out the interface determination condition, please check if below links can help.
    How to write Conditions in Interface Determination for 2 IDOCs
    Single File to multiple IDoc
    Reciever idoc adapter Determination error
    Regards,
    Srini

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

  • How to route the file, base on the file name without touching file content?

    Hi All,
    can you please provide me solution how to route the file based on file name with out touching file content.
    Business criteria :
    > One source directory having zip files with different file names
    > File adapter have to pick the zip files and have to route it to different email addresses based on fist 5 characters of file name.
    please provide possible solutions to route the zip files to target.
    Regards,
    Sreeramulu Konjeti.

    You can use Standard context object FILENAME.
    in receiver determination Put a condition based on standard context object FileNAME
    In the receiver determination, in the condition channel, use the Technical context object 'FileName' for file adapter.
    Follow the below path:
    Goto Receiver Detrmination --> Condition --> Left Operand f1 Help --> select first option 'Context Object' --> 1 List will be popped up --> Select FileName for File adapter from that list
    It will route the file based on filename.
    You can use CP for contains pattern (u2248) in condition
    FileNAME u2248  ABCFI*

  • 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

Maybe you are looking for

  • Looking for App for books owned (not ebooks)

    Looking for a simple app to keep tracks of books I own. The only one I have been able to find is Clz books (collectorz.com). It looks okay but something simpler would be better. And you need the app on your computer to add/edit anything.

  • BizTalk : MQSeries adapter throwing error after 30 minutes idle time

    We have BizTalk and windows MQSeries on separate servers. As long someone logged on to MQseries server, BizTalk able to communicate with MQSeries server and able to receive and send messages to MQs.  If there is no session active on MQSeries server,

  • How to import seeburger adapter and mdm adapter in sap pi 7.3

    Hi all, how to import seeburger adapter and mdm adapter in sap pi 7.3

  • MSI N9800GTX Series Available

    Triple output of most powerful GeForce® 9800 GPU MSI N9800GTX Series, 3-Way SLI ready to roll Details: http://global.msi.com.tw/index.php?func=newsdesc&news_no=598 >>><a href="http://global.msi.com.tw/index.php?func=proddesc&prod_no=1439&maincat_no=1

  • AT line selection in ALV

    Hi Experts, How to apply the below logic in ALV. ( how to apply at line selection in ALV ) AT LINE-SELECTION.   DATA NO TYPE I.   DATA F(16).   DATA G(16).   CASE SY-LSIND.     WHEN 1.       GET CURSOR FIELD F.       IF F EQ 'IT_FIRST-MATNR'.