Now Redo the step (2-5), but now
The SetTriggerChannelConditons return error code=73 ,but SetTriggerChannelProperties return 0.
So what is the problem now?Why the trigger won't work?
I get the trigger work again once i closeunit or turn off the picoscope.
Any suggestion for solvong this problem?
Note:ATriggerConditions is declared as pTriggerConditions;
where pTriggerconditions= ^tTriggerConditions.
and tTriggerConditions is a record class.( tTriggerConditions = record)
The SetTriggerChannelConditons return error code=73
So what is the problem now?Why the trigger won't work?
Any problem in declaring the Atriggerconditions and passing this pointer into triggercondition function call?
Any suggestion for solving this problem PLEASE?HELP!!!
i have the same problems with my picoscope 5204 and Delphi.
1. the SetTriggerchannelproperties - function called with autotriggertime set to 0 results in a returncode 0 but the trigger is not working fine
2. in my case i have to have at least exactly 2041 (my buffersize) samples for the SetTriggerChannelProperties function to get an errorcode 0. the minuimum buffersize is not documented!!!
3.But the SetTriggerChannelConditions function still returns errorcode 73 (49hex) - the last several errorcodes are not documented, only in the newest picoStatus.h - wich means PICO_INVALID_TRIGGER_PROPERTY. I do not know if the errorcodes make a difference between Invalid Trigger Propertie and Invalid Trigger Condition?!?
I do not have any solution fo this...
By the way the .inc file has wrong definitions for the trigger function names!
At all i only need a simple Level-Trigger. Maybe it would be possible to include a ps5000SetSimpleLevelTrgger(handle,TriggerLevel,direction)-function into the API....
I hope one of the programmers at Pico can help and - by the way - can refresh the API-dcumentation and Delphi-Sources.
I have had a similar problem with the PS4424 when trying to use Channel C to trigger the units. I am getting an Error code 34(Hex 22) when I try to set the trigger conditions with coupling on Channel C. It will work fine on Channel A. If I first try to set the trigger conditions on Channel C and get the errror, when I go back after and set the Trigger coupling back to Channel A, I get the same error(73) you are getting on the trigger properties. The only way I can reset the error is to stop the application and restart it. I am using Borland Rad Studio 2007 with C++ Builder.
Thank you for your input and raising this issue, we have solution to this and are currently testing this through and should be available in the next two weeks.