Test and Measurement Forum

C console examples for Linux

Post your C and C++ discussions here

C console examples for Linux

Postby AndrewA » Wed Jun 01, 2016 12:02 pm

Hello all,

The current update to Linux has removed C console examples and build scripts. This in preparation to separate all SDK code examples from driver and executables.

I have attached Linux built scripts and updated C console examples.

Below are instructions to install and build the example for the USB TC-08 datalogger.

You will need to change the commands for other devices.
This device/driver table maybe useful-

The packages have been provided on our Debian/Raspbian(new) repositories.
Code: Select all
deb http://labs.picotech.com/debian/ picoscope main

For Raspbian use the following:
Code: Select all
deb http://labs.picotech.com/raspbian/ picoscope main

Every package is signed with or key, so in order to verify them the public part has to imported:
Code: Select all
wget -O - http://labs.picotech.com/debian/dists/picoscope/Release.gpg.key | sudo apt-key add -

To pull/update repositories cache run
Code: Select all
sudo apt-get update

Install the driver
Code: Select all
sudo apt-get install libusbtc08

copy attached files-

copy one of the PicoStatus.h files from one the include folders to usbtc08 one- (loggers only)
Code: Select all
cp /opt/picoscope/include/libps3000a-1.1/PicoStatus.h /opt/picoscope/include/libusbtc08-1.8/

Install complier and build.
Code: Select all
sudo apt-get install build-essential autoconf automake make libtool
cd /opt/picoscope/share/doc/libusbtc08
sudo ./autogen.sh
sudo make
linux C console files
(107.18 KiB) Downloaded 111 times
Regards Andrew
Technical Specialist
Zen Master
Zen Master
Posts: 178
Joined: Tue Oct 21, 2014 3:07 pm

Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests