ADC-24: Program freezing in HRDLRun() call

 
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
Author Message
davidm
Newbie


Joined: 22 May 2006
Posts: 1
Location: Australia

PostPosted: Tue May 23, 2006 12:44 am    Post subject: ADC-24: Program freezing in HRDLRun() call Reply with quote

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?
Back to top
Sarah
Guest





PostPosted: Wed May 31, 2006 10:30 am    Post subject: Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group