NI Home > Community > NI Discussion Forums

Counter/Timer

Showing results for 
Search instead for 
Do you mean 
Reply
Member
DickBiz
Posts: 14
0 Kudos

Re: PXI 6602 RT missing pulses

Hi Thierry,

 

Attached the requested files:

VI with your requested adaptations

scope screenshot Hardware timed simultaneously updated io using while loops 1; Boolean array 11110000..

scope screenshot Hardware timed simultaneously updated io using while loops 2; Boolean array 01111000..

 

The behavior is comparable with my previous post, only this VI keeps running without the errors, after a while it get worse. see next post with picture.

 

Regards,

Maarten

Member
DickBiz
Posts: 14
0 Kudos

Re: PXI 6602 RT missing pulses

Scope screenshot Hardware timed simultaneously updated io using while loops 3; Boolean array 01111000.. running about 5 minutes.

Member
DickBiz
Posts: 14
0 Kudos

Re: PXI 6602 RT missing pulses

Hi Kevin,

 

Thanks for your input. I'll try to answer your questions.

1. I've tried polling before, which stone didn't I turn. Result: no more CPU use but results are worse and after only 10 loops it will fail.

2. The counter task is only used to establish hardware-based timing. It is not clear to me what could be gained by counting edges of the internal 20 MHz clock, but I'll give it a try.

3. This one is new and I tried it. Doesn't make any difference.

 

Kind Regards,

Maarten

 

 

 

Member
DickBiz
Posts: 14
0 Kudos

Re: PXI 6602 RT missing pulses

Hi Thierry,

 

I've tried the example for the 6133 using correlated DIO. Works flawless up to much higher frequencies (tried 50k) and within timed loops. This is the behavior I expect from the 6602. Because this example use correlated DIO I can't use this with 32 ports on the PXI 6508/6509? How do we proceed?

 

Kind Regards,

Maarten

Trusted Enthusiast
ThiCop
Posts: 2,522
0 Kudos

Re: PXI 6602 RT missing pulses

Hello Maarten,

 

For this there are several options: M-series cards, X-series cards or other S-series cards.

In some cases you might have to change ports to U32 inputs.

 

The escalation is ongoing now.

Can you also provide me with a MAX Report for The RT PXI System and the Windows System?

This can be created the following way:

http://ae.natinst.com/public.nsf/web/searchinternal/271f252b4ef0a2e0862570e70056a1e4

 

 

Kind Regards,

Thierry C - Platinum Applications Engineer - NI Belgium
CLD, CTD

If someone helped you, let them know. Mark as solved and/or give a kudo. :smileywink:
Member
DickBiz
Posts: 14
0 Kudos

Re: PXI 6602 RT missing pulses

Hi Thierry,

 

Attached the MAX reports. I've tested the application on 3 different RT system with the same inconsistent behaviour.

 

Regards,

Maarten 

Trusted Enthusiast
ThiCop
Posts: 2,522
0 Kudos

Re: PXI 6602 RT missing pulses

Hello Maarten,

 

I've sent you an e-mail towards your personal e-mail address that contains some extra information regarding this issue and some contact persons.

 

Kind Regards,

Kind Regards,

Thierry C - Platinum Applications Engineer - NI Belgium
CLD, CTD

If someone helped you, let them know. Mark as solved and/or give a kudo. :smileywink:
Trusted Enthusiast
ThiCop
Posts: 2,522
0 Kudos

Re: PXI 6602 RT missing pulses

[ Edited ]

Hello Maarten,

 

As discussed in the e-mail and on the phone I'm also posting some extra information over here.

 

The issue you're encountering seems to be related to a limitation regarding the PXI-6602 card.

This issue can be caused by the (relatively) small buffer size on this card, together with other devices that use the PXI/PCI bus and the CPU Performance.

 

For this specific application it is more suitable to use a DAQ-card that supports Hardware Timed DIO (with enough Digital Outouts).

This will also simplify the code you have to use and improve latencies by just being able to use one card.

 

Some solutions could be:

- M-series cards (62xx) by using Correlated DIO

- X-series cards (63xx) by using Hardware-Timed DIO

 

 

Kind Regards,

Thierry C - Platinum Applications Engineer - NI Belgium
CLD, CTD

If someone helped you, let them know. Mark as solved and/or give a kudo. :smileywink: