The Count argument resumes incrementing, eventually reaching 0 and increasing back up to 2,147,483,647. Since the Count argument is a signed integer, at 2,147,483,647 + 1, the Count rolls back to a negative number (-2,147,483,647). With recent MCC DAQ designs, the CurCount argument continually increases in increments of the packet size as Windows' circular data buffer recycles, until it reaches 231. Refer to the board-specific information in the Universal Library User's Guide for the behavior of your board. When you set both the CONTINUOUS and BACKGROUND options, CurCount's behavior depends on the board model.
Instacal does not see at daq board windows#
Generally, CurCount returns the total number of samples transferred between the DAQ board and the Windows data buffer at the time cbGetStatus() was called. Use it to gauge how far along the operation is towards completion. The CurCount argument specifies how many points have been input or output since the Background process started. Status indicates whether or not a background process is currently executing. The number associated with the board when it was installed with InstaCal or created with cbCreateDaqDevice().
Int cbGetStatus(int BoardNum, int *Status, long *CurCount, long *CurIndex, int FunctionType)įunction cbGetStatus(ByVal BoardNum&, Status%, CurCount&, CurIndex&, FunctionType&) As Long Arguments Returns the status about the background operation currently running.