Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos
Message 21 of 28
(2,884 Views)

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

0 Kudos
Message 22 of 28
(2,883 Views)

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

 

 

 

0 Kudos
Message 23 of 28
(2,878 Views)

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

0 Kudos
Message 24 of 28
(2,874 Views)

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?

 

 

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 25 of 28
(2,849 Views)

Hi Thierry,

 

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

 

Regards,

Maarten 

Download All
0 Kudos
Message 26 of 28
(2,843 Views)

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 - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 27 of 28
(2,826 Views)

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 - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 28 of 28
(2,823 Views)