PicoScope 7 Software
Available on Windows, Mac and Linux
Code: Select all
Declare Function pl1000OpenUnit Lib "pl1000.dll" (ByRef handle As Integer) As Long
Declare Function pl1000CloseUnit Lib "pl1000.dll" (ByVal handle As Integer) As Long
Declare Function pl1000GetUnitInfo Lib "pl1000.dll" (ByVal handle As Integer, ByVal S As String, ByVal lth As Integer, ByRef requiredSize As Integer, ByVal info As Integer) As Integer
Declare Function pl1000SetTrigger Lib "pl1000.dll" (ByVal handle As Integer, ByVal enabled As Integer, ByVal enable_auto As Integer, ByVal auto_ms As Integer, ByVal channel As Integer, ByVal dir As Integer, ByVal threshold As Integer, ByVal hysterisis As Integer, ByVal delay As Single) As Integer
Declare Function pl1000SetInterval Lib "pl1000.dll" (ByVal handle As Integer, ByRef us_for_block As Long, ByVal ideal_no_of_samples As Long, channels As Integer, ByVal No_of_channels As Integer) As Long
Declare Function pl1000GetValues Lib "pl1000.dll" (ByVal handle As Integer, ByRef values As Integer, ByRef no_of_values As Long, ByRef overflow As Integer, ByRef triggerIndex As Long) As Long
Declare Function pl1000Run Lib "pl1000.dll" (ByVal handle As Integer, ByVal no_of_values As Long, ByVal method As Integer) As Integer
Declare Function pl1000Ready Lib "pl1000.dll" (ByVal handle As Integer, ByRef ready As Integer) As Long
Declare Function pl1000MaxValue Lib "pl1000.dll" (ByVal handle As Integer, ByRef maxValue As Integer) As Long
Code: Select all
Declare Function pl1000OpenUnit Lib "pl1000.dll" (ByRef picohandle As Short) As UInteger
Declare Function pl1000CloseUnit Lib "pl1000.dll" (ByVal picohandle As Short) As UInteger
Declare Function pl1000GetUnitInfo Lib "pl1000.dll" (ByVal picohandle As Short, ByVal S As String, ByVal lth As Integer, ByRef requiredSize As Integer, ByVal info As Integer) As UInteger
Declare Function pl1000SetTrigger Lib "pl1000.dll" (ByVal picohandle As Short, ByVal enabled As UShort, ByVal enable_auto As UShort, ByVal auto_ms As UShort, ByVal channel As UShort, ByVal dir As UShort, ByVal threshold As UShort, ByVal hysterisis As UShort, ByVal delay As Single) As UInteger
Declare Function pl1000SetInterval Lib "pl1000.dll" (ByVal picohandle As Short, ByRef us_for_block As UInteger, ByVal ideal_no_of_samples As UInteger, ByRef channels As Short, ByVal No_of_channels As Short) As UInteger
Declare Function pl1000GetValues Lib "pl1000.dll" (ByVal picohandle As Short, ByRef values As UShort, ByRef no_of_values As UInteger, ByRef overflow As UShort, ByRef triggerIndex As UInteger) As UInteger
Declare Function pl1000Run Lib "pl1000.dll" (ByVal picohandle As Short, ByVal no_of_values As UInteger, ByVal method As UInteger) As UInteger
Declare Function pl1000Ready Lib "pl1000.dll" (ByVal picohandle As Short, ByRef ready As Short) As UInteger
Declare Function pl1000MaxValue Lib "pl1000.dll" (ByVal picohandle As Short, ByRef maxValue As UShort) As UInteger