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.
Post by Hitesh »
Code: Select all
Declare Function ps4000SetSimpleTrigger Lib "ps4000.dll" (ByVal handle As Integer, ByVal enable As Integer, ByVal source As Integer, ByVal threshold As Integer, ByVal direction As Long, ByVal delay As Long, ByVal autoTrigger_ms As Integer) As Integer
Code: Select all
Dim threshold As Integer
Dim ps4000_Ext_Max_Value As Integer
ps4000_Ext_Max_Value = 32767
threshold = (2000 / 5000) * ps4000_Ext_Max_Value
Code: Select all
Dim channel_ext As Integer
Dim direction As Long
channel_ext = 4 'EXT
direction = 3 ' Falling
status = ps4000SetSimpleTrigger(handle, 1, 4, threshold, direction, 0, 20000)
Return to “General Software Discussions”