01-16-2008 09:13 AM
01-16-2008 09:58 AM
01-16-2008 10:16 AM
01-17-2008 08:16 AM
dki55 wrote:
Hi,
using a PCI-6518 with C# (.net 2.0) we have a problem with possible lost values. We use DigitalChangeDetection and read when signaled the data with ReadSingleSampleMultiLine( ). But if we have some signal changes shortly one after another so we get only the last state an the last but one is possible lost.
Is there an other way or solution to prevent the lost?
This overflow bit is a DAQmx Read property: Status:Advanced:ChangeDetection:Overflowed.
The DIO device sends a change detection when any one of the changes
occurs, but it does not report which line changed or if the line was rising or
falling. After a change, you can read the input lines to determine the current
line states. The maximum rate of change detection is determined by the
software response time, which varies from system to system.
An overflow bit indicates that an additional rising or falling edge has been
detected before the software could process the previous change.
01-23-2008 09:26 AM
01-23-2008 10:09 AM
@dki55 wrote:
Thanks again Sebastian.
You wrote about a "DAQmx Read property: Status:Advanced:ChangeDetectionOverflowed" property. We are writing programs with C# under DAQmx. In this I found only a
Task.Timing.ChangeDetectionOverflowed property. Do we speak about the same property?? I tryed to get the property after the Read and got an exception (content: the task is in a wrong state to get this property). Since I use continous reading with ChangeDetection I should not change Task state.