取消
显示结果 
搜索替代 
您的意思是: 

How to count number of edges using PXIe-6363 Counters

已解决!
转到解答

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 项奖励
1 条消息(共 6 条)
5,199 次查看
解答
已被主题作者 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 项奖励
2 条消息(共 6 条)
5,182 次查看

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 项奖励
3 条消息(共 6 条)
5,179 次查看

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 项奖励
4 条消息(共 6 条)
5,150 次查看

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 项奖励
5 条消息(共 6 条)
5,147 次查看

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 项奖励
6 条消息(共 6 条)
5,129 次查看