Test and Measurement Forum

Issues using SDK

Post general discussions on using our drivers to write your own software here

Issues using SDK

Postby nm1 » Mon Jun 27, 2016 12:59 pm

I am using the 32-bit SDK to collect data from the PicoLog ADC-24. The software is being written in C#, and I am following guidance in the ADC-24 User's Guide, section 5 (document adc20.en). I have come across two issues:

Firstly, I attempted to use the streaming method of collecting data, as outlined in section of the User's Guide. However, when using the function HRDLGetValues(), the indexing of the data returned is not correct. I am retrieving data from channels 1, 3, 5, 7, 9 (differential configuration). The first call to the function returns '5' (to indicate 5 channels are being returned) and returns the correct data in the correct order (i.e. 1, 3, 5, 7, 9). The second call to the function also returns the number '5' but returns in the sequence 5, 7, 9, 1, 3. The documentation outlines the "ordering" of returned data (section 5.4.9) of the HRDGetValues() function, but the driver does not appear to operate in the correct way, instead skipping channels 1 & 3, so causing the data to be assigned to the wrong channel. Having doubts over the correct indexing of the returned values using this function, I tried an alternative method, see below...

Secondly, I attempted the alternative approach of collecting data: "Single Value (non-blocking)", as outlined in section of the User's Guide. Whilst this operates correctly at first, after a short while the function HRDLReady() blocks the code and returns no value.

I am using the latest version of the SDK for the PicoLog ADC-24 available on the website, version

I would appreciate your guidance as to how I can deal with both (or either) of these issues so that I can reliably log data from this device.

Thank you and kind regards.
Posts: 0
Joined: Mon Jun 27, 2016 12:36 pm
Location: North East, UK

Re: Issues using SDK

Postby Martyn » Tue Jun 28, 2016 7:15 am

Can you post your code so that we can take a look at it for you.
Technical Support Manager
Site Admin
Site Admin
Posts: 2971
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests