Hi yeah sorry just realised. It does contain the decleration however it needs to be modified. The following should be used:
Declare Function ps2000_get_unit_info Lib "ps2000.dll" (ByVal handle As Integer, ByVal str As String, ByVal lth As Integer, ByVal line_no As Integer) As Integer
If ByVal or ByRef are not chosen VB will by default select ByRef.
Please find a modified version of the example.
- (84 KiB) Downloaded 206 times