PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to count number of edges using PXIe-6363 Counters

Solved!
Go to solution

Hello,

 

I am trying to count number of edges in a test signal in a 50 ms duration. I am using PXIe-6363 card and connecting the test signal to CTR 0 SRC (PFI 8). Is it a correct connection? What else do I need hardware-wise to make a correct set up for this application?

 

Thanks

Jeet

0 Kudos
Message 1 of 6
(5,201 Views)
Solution
Accepted by topic author jeet

Hello Jeet,

 

That configuration is correct. Hardware-wise that is all you need to do.

 

Regards,

 

Jorge Fernandez
Applications Engineer
National Instruments
____________________________________________
Certified LabVIEW Associate Developer (CLAD)

Jorge
Applications Engineer
National Instruments
________________________________________
Certified LabVIEW Associate Developer (CLAD)
0 Kudos
Message 2 of 6
(5,184 Views)

Hello Jorge,

 

Allow me to piggyback another question I have regarding using PXIe-6363 card.

 

I need the PXI test system (controlled by LabVIEW) to respond to an interrupt coming from a chip. Can I connect the interrupt signal from the chip to any PFI line on 6363 card? If yes, how can I do coding in LabVIEW to respond to that interrupt pulse on PFI line?

 

Thanks

Jeet

0 Kudos
Message 3 of 6
(5,181 Views)

Hi Jeet,

 

When you say interrupt signal, do you mean a pulse that will pause your counter task? If that is the case, and you want to pause your task with a digital pulse, you need to use the DAQmx Trigger Property Node and set that to Pause, Trigger Type. As you said, you can connect that signal coming from the chip to any PFI line and then set that line as the source of the property node.

 

There is an example that you can use that does exactly what I just described. This example is called Count Digital Events-Pause Trig.vi, and you can find it by going to Help>Find Examples..., then on the NI Example Finder window go to the Browse tab and navigate in the folders to Hardware Input and Outpout\DAQmx\Counter Measurements\Count Digital Events.

 

Regards.

 

 

Jorge
Applications Engineer
National Instruments
________________________________________
Certified LabVIEW Associate Developer (CLAD)
0 Kudos
Message 4 of 6
(5,152 Views)

Hi,

 

The interrupt signal (digital pulse) is not used to pause any task. Let me describe.

 

I am working on a PXI tester to test ASIC chips. In the tester, I am using PXIe-6363 card and NI USB-8452 SPI module to talk to ASIC chips. The ASIC chip sends an interrupt signal ((digital pulse)) to the PXIe-6363 when its finished with a certain measurement, for eg. an ADC voltage measurement. Upon receiving this interrupt signal from ASIC, the PXI tester running LabVIEW needs to get that measured value through SPI (NI 8452) from ASIC.

 

I have the following questions regarding this set up:

 

1. Can I connect the Interrupt signal from ASIC to any PFI line on PXIe-6363 so that when the interrupt pulse occurs, the tester can respond to that interrupt by initiating SPI Comm through Ni-8452 module?

 

2. If so, how can I do coding in LabVIEW to respond to that interrupt pulse on PFI line?

 

Thanks,

Jeet

0 Kudos
Message 5 of 6
(5,149 Views)

Hi jeet,

 

Unfortunately those questions fall a little bit beyond the scope of this forum since this is more related to IC2/SPI. I suggest you to start a new post with these questions in the Automotive and Embedded Networks forum.

 

Regards.


Jorge
Applications Engineer
National Instruments
________________________________________
Certified LabVIEW Associate Developer (CLAD)
0 Kudos
Message 6 of 6
(5,131 Views)