Patent ID: 8645589
Filing Date: 2014-02-04
Classification: G05B,G06F,Y02P

Abstract:
1. A method for sampling and storing data in a system comprising a host processing unit and system memory, the method comprising: a data acquisition (DAQ) device acquiring first data samples; in response to one or more specified events in the DAQ device, the DAQ device writing DAQ hardware (HW) status information corresponding to the first data samples into a first location in the system memory; in response to said writing the DAQ HW status information, incrementing a count value by a specified amount; the DAQ device writing the first data samples into a second location in the system memory; writing the count value into a third location in system memory and into a fourth location in system memory; reading, in order, the third, first, and fourth locations in system memory; if the count value read in the third location in the system memory is not the same as the count value read in the fourth location in the system memory, designating the DAQ HW status information as incoherent, otherwise designating the DAQ HW status information as coherent; the host processing unit accessing the first location in the system memory and reading the DAQ HW status information; the host processing unit accessing the second location in the system memory according to the DAQ HW status information, and reading the first data samples from the second location in the system memory; and the host processing unit using the first data samples to perform one or more system operations.