Jump to content

timo1803

Members
  • Posts

    1
  • Joined

  • Last visited

timo1803's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Dear anyone out there willing to help, I'm a software developer at a german company located in the south of germany. My task is to program test and production systems. We solve these tasks with C# programming and use to control the USB module 1208FS-Plus the MccDaq.dll in version 2.1.0.0. We use the USB module 1208FS-Plus to control small loads by means of the digital outputs and to query system states by means of the digital inputs. For controlling the digital outputs the following function provided in MccDaq is used. public ErrorInfo DOut(DigitalPortType portNum, short dataValue) To read the digital inputs the following function provided in MccDaq.dll is used public ErrorInfo DIn(DigitalPortType portNum, out ushort dataValue) Likewise the following function public ErrorInfo AInScan(int lowChan, int highChan, int numPoints, ref int rate, Range range, IntPtr memHandle, ScanOptions options) is used in combination with the following public static ErrorInfo WinBufToArray(IntPtr memHandle, short[] dataArray, int firstPoint, int numPoints) for recording several analog signals for a certain period of time in order to be able to evaluate them afterwards. Here we go to the limit of the USB module and record 4 channels, with a sampling rate of 10000 samples/second and allocate 50000 measured values. This method has been used in my company for several years and has become established. Especially with this program, however, the following error appears now and then (every 30 minutes) "digital device is not responding - is base adress correct?" The complete USB communication of the PC crashes and can only be solved by restarting the system. Has anyone ever had to deal with these sporadic errors and can give me any tips. Thanks a lot together.
×
×
  • Create New...