Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

04-19-2002 10:08 AM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Highlighted
Options
With the STC counter chip in the PCI-MIO-16E-4, you will not be able to configure it to return a zero if no pulses come in on the Source, it will always return the current value of the counter.

What you will want to do is set up a simple loop that will check every value of the array to the previous value. If both values are the same, change the second one to zero.

Let me know if you have any problems implementing this.

Brian

04-22-2002 10:22 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

What you will want to do is set up a simple loop that will check every value of the array to the previous value. If both values are the same, change the second one to zero.

Let me know if you have any problems implementing this.

Brian

Highlighted
Options
If I do as you tell me, I can not know the second value is zero or the previous value. There is the probability that both values are the same.

I don't know whether the stale data error could solve this problem. I'll try in my next step.

Thanks you very much!

04-22-2002 10:05 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

I don't know whether the stale data error could solve this problem. I'll try in my next step.

Thanks you very much!