Search found 5 matches

by sphericle
Thu Apr 17, 2014 2:15 pm
Forum: VB and VBA (Excel, Access)
Topic: VB 2010 Express: pl1000SetInterval :AccessViolationException
Replies: 9
Views: 13573

Re: VB 2010 Express: pl1000SetInterval :AccessViolationExcep

Hi Hitesh Cruising on the Mediterranean Sea is healthy for the programmers mind: Back from my holydays, I got the right declarations of the functions and everything works fine. Thank You for Your help! This Problem is solved . This is working for me on Win7 P64Bit Declare Function pl1000OpenUnit Lib...
by sphericle
Fri Apr 04, 2014 1:36 pm
Forum: VB and VBA (Excel, Access)
Topic: VB 2010 Express: pl1000SetInterval :AccessViolationException
Replies: 9
Views: 13573

Re: VB 2010 Express: pl1000SetInterval :AccessViolationExcep

Hi Hitesh I tried to get the things done as you proposed. but I'm having still difficulties to get the right declaration for the functions (Ushort, short, UInteger and so on...) now it's the SetIntervall function that returnes a Status of "16". it seems to me that the declarations in the 'programmer...
by sphericle
Wed Apr 02, 2014 7:28 am
Forum: VB and VBA (Excel, Access)
Topic: VB 2010 Express: pl1000SetInterval :AccessViolationException
Replies: 9
Views: 13573

Re: VB 2010 Express: pl1000SetInterval :AccessViolationExcep

Hello Hitesh Thank you for your help. almost the half way down: that's it. ByRef in front of 'channels As Integer no more Exceptions! Now, the PicoLog still Returns no values. here are the status-Returns of the functions: pl1000open Unit: status / handle : 0 / 16384 pl1000maxValue: status / handle /...
by sphericle
Mon Mar 31, 2014 2:59 pm
Forum: VB and VBA (Excel, Access)
Topic: VB 2010 Express: pl1000SetInterval :AccessViolationException
Replies: 9
Views: 13573

Re: VB 2010 Express: pl1000SetInterval :AccessViolationExcep

Hello Hitesh I changed all Long datatypes to integer. This is the declaration: Declare Function pl1000OpenUnit Lib "pl1000.dll" (ByRef handle As Integer) As Integer Declare Function pl1000CloseUnit Lib "pl1000.dll" (ByVal handle As Integer) As Integer Declare Function pl1000GetUnitInfo Lib "pl1000.d...
by sphericle
Mon Mar 31, 2014 7:31 am
Forum: VB and VBA (Excel, Access)
Topic: VB 2010 Express: pl1000SetInterval :AccessViolationException
Replies: 9
Views: 13573

VB 2010 Express: pl1000SetInterval :AccessViolationException

Visual Basic 2010 Express, Win7 64 Bit, pl1000.dll (10.0.3.170) Can't get rid of this AccessViolationException when calling pl1000SetInterval. same DLL with Excel 2013 works fine. order of calling the function: status = pl1000OpenUnit(handle) status = pl1000MaxValue(handle, maxValue) Call pl1000SetT...