ADC-24: Program freezing in HRDLRun() call

Post general discussions on using our drivers to write your own software here
Post Reply
davidm
Newbie
Posts: 1
Joined: Mon May 22, 2006 11:44 pm
Location: Australia

ADC-24: Program freezing in HRDLRun() call

Post by davidm »

I have developed a Win32 console C++ program (using Visual Studio .Net 2003 on Windows XP SP2), based on the example code provided with the ADC-24, and am experiencing strange freezing behaviour on 2 out of 3 machines that I have tested the program on (works on a Dell laptop (although this was using VC++ 6.0 - possibly a influencing factor, but not a Dell or unbranded desktops). I have tried this with the R27 driver release, as well as the latest drivers downloaded from the website.

All the HRDL channel setup functions (including HRDLGetSingleValue()) work and return meaningful data and no error codes with my -seemingly- valid settings, but when it reaches the point where it begins to record data the program never returns from the HRDLRun() call (in block, window or streaming modes).

The provided PicoLog software (which appears to use the picoHRDL.dll library) works just fine, so as an exercise, I rewrote the code to load and bind to the picoHRDL.dll at runtime instead using the static picoHRDL.lib library to check if the behaviour was different. This version also froze in the HRDLRun() call.

Finally, I compiled and ran the provided example code as is with the same parameters and experienced similar freezing.

Can anyone shed any light on the problem?

Sarah

Post by Sarah »

Hi

Thank you for your post.

I have Visual Studio .NET 2003 here so if you want to email the project to me at tech@picotech.com then I will see if I can get it to freeze on my computer.

Remember to include a brief outline of the issue in your email.

Best Regards

Post Reply