Data types

Post general discussions on using our drivers to write your own software here
Post Reply
Advanced User
Advanced User
Posts: 194
Joined: Thu Nov 21, 2013 9:22 am

Data types

Post by Karunen » Thu Sep 04, 2014 8:13 am

Hi All,

As some of you many have noticed the data types have changed in the Software Development Kits for our products from version to use data types defined in the stdint.h header file. This is because the drivers now are created in compliance for 64-bit operating systems.

To make thing clearer I have created a table that shows all the new data types and how they vary using some different programming languages:
Data types.png
Data Type Table (Click to view larger image)
* As we generate prototype files for MATLAB it is best to use these files rather than making calls using the API we provide for the C examples as these will also provide access to enumerations and structures defined in the header files.

Normally you can use the same data types independent of the number of bits that your compiler uses, but 64-bit versions of National Instruments LabVIEW can have an issue with the C-style callback functions and so you will need to change the IpReady and pParameter to Unsigned 64-bit Integer data types in the RunBlock ‘Call library Function Block’.

For more information about the LabView ‘Call library Function Block’ please have a look at

I hope this helps you get started in coding in your preferred language with the PicoScope/PicoLog API functions.

Kind Regards,

Technical Specialist
Pico Technology

Posts: 2
Joined: Fri Mar 04, 2016 8:58 am

Re: Data types

Post by dfergenson » Tue Mar 08, 2016 10:37 pm

AndrewA asked if I would post Xojo equivalent data types for C/C++ as well. I've omitted all other programming environments other than which is Xojo's closest relative.

Please contact me through the forum if you find any errors or additions and I will update the chart.
Screen Shot 2016-03-08 at 2.29.31 PM.png

Post Reply