We are using a PS4224-11 scope.
Our original program is in VB.Net. We are porting this to C#.
In our original VB program we used this function from your wrapper to set the trigger level for channel A:
Declare Function SetTriggerProperties Lib "ps4000wrap.dll" (ByVal handle As Short,
ByRef triggerChannelPropertiesArray As Integer,
ByVal nProperties As Short,
ByVal autoTrig As Integer) As Integer
The call in the application is:
triggerarray(0) = 150
status = SetTriggerProperties(_handle, triggerarray(0), 1, 0)
I’ve gone through your literature and cannot find a reference to the SetTriggerProperties function. Nor can I find a reference on a search of the website.
Could you please advise the equivalent C# call.
Thanks.
C#/VB Query on SetTriggerProperties PS4224-11
Re: C#/VB Query on SetTriggerProperties PS4224-11
Apologies, I’ve realised how badly my question was phrased.
It is my understanding that the wrapper class “ps4000Wrap.dll” is only used in VB because some calls directly to the main “ps4000.dll” cannot be made in VB.Net.
Therefore I would like to know the underlying call in the “ps4000.dll” made by the SetTriggerProperties call in the “ps4000Wrap.dll”.
Thanks.
It is my understanding that the wrapper class “ps4000Wrap.dll” is only used in VB because some calls directly to the main “ps4000.dll” cannot be made in VB.Net.
Therefore I would like to know the underlying call in the “ps4000.dll” made by the SetTriggerProperties call in the “ps4000Wrap.dll”.
Thanks.
Re: C#/VB Query on SetTriggerProperties PS4224-11
The code for the Wrappers can be found on our GitHub Pages
Martyn
Technical Support Manager
Technical Support Manager