Search found 4 matches

by rdang16
Tue Oct 05, 2010 4:41 pm
Forum: USB PC Oscilloscopes
Topic: Visual Basic help pc4424
Replies: 7
Views: 9194

Re: Visual Basic help pc4424

Here is some of my code. I have only changed the openUnit function using Byref for now. Also there is no short in VB 6 so I used integer.

thanks
-Richard
by rdang16
Tue Oct 05, 2010 12:36 am
Forum: USB PC Oscilloscopes
Topic: Visual Basic help pc4424
Replies: 7
Views: 9194

Re: Visual Basic help pc4424

the scope works when using Picoscope6. I made the changes you suggested and the result is still the same. I am unable to open the device and when stopping the program visual studio force quits. Am I supposed to add the ps4000.dll as a reference somehow? Because when I try i get an error message ("un...
by rdang16
Thu Sep 30, 2010 4:59 pm
Forum: USB PC Oscilloscopes
Topic: Visual Basic help pc4424
Replies: 7
Views: 9194

Re: Visual Basic help pc4424

Thank you for your prompt reply. I am using Visual Basic6, I am trying to model my program very closely to the 4000.xls example. But I cannot seem to get the device to open (using the OpenUnit(handle) command). It always returns 0. Also every time I stop the program VB6 force closes, I dont know if ...
by rdang16
Thu Sep 30, 2010 12:52 am
Forum: USB PC Oscilloscopes
Topic: Visual Basic help pc4424
Replies: 7
Views: 9194

Visual Basic help pc4424

Hello, I have some questions regarding programming the pc4424 in visual basic: 1. does anybody know if there is visual basic examples for the 4000 series? The programming guide found at: http://www.imex.ie/files/u3/ps4000pg_en_pdf_31123.pdf seems to indicate that one exists, but i have not been unab...