PicoScope 7 Software
Available on Windows, Mac and Linux
PicoScope 7 Software
Available on Windows, Mac and Linux
OEM & custom applications
PicoScope, Pico data logger and RF products can be used as components in custom applications and OEM projects.
A to Z of PC oscilloscopes
Everything you need to know about PC oscilloscopes from Advanced Triggers to Zooming.
A to Z of Data Loggers
Everything you need to know about PC-based data loggers from Alarms to Zooming.
Application Notes
Details of some of the many applications for Pico data logger and oscilloscope products.
How do I measure...?
Find out how you can measure using Pico products
Videos
Showing you how to get the most out of PicoScope oscilloscope software.
Documentation
Up-to-date versions of the documentation supplied with your products in PDF format.
Educational Experiments
Our library of science experiments suitable for use with oscilloscope and data logging products.
PicoApps
Want to share hints, tips and code with other developers? Show your Pico-based products to the world.
Newsletter
Archive of our monthly Test and Measurement Newsletters.
Code: Select all
[3617769.153920] usb 1-9: device descriptor read/64, error -110
Code: Select all
// Only modify ctrl_c volatile variable here to avoid accidentally calling
// functions that are not async-signal-safe.
volatile ctrl_c = 0;
void sigint_handler(sig_t s)
{
ctrl_c = 1;
}
void main (void)
{
// ... lots of code snipped
signal (SIGINT, sigint_handler);
// Main loop
while(!ctrl_c) {
CollectSingleBlocked();
}
printf("Exiting due to ctrl-c\n");
HRDLCloseUnit(g_device);
printf("Device closed\n");
}
}
Post by Hitesh »
Return to “PicoScope 6 for Linux”