ps3000_set_trigger?

Post general discussions on using our drivers to write your own software here
Post Reply
PG74
User
User
Posts: 4
Joined: Tue Oct 05, 2004 6:36 pm

ps3000_set_trigger?

Post by PG74 »

Im writing my own software for the picoscope 3206.
cant get the ps3000_set_trigger-funktion to work, get 0 back that indicates that one of the parameters are out of range. I have tried many arguments, but nothing works! I want to measure Using block mode and therefore I follow the the instructions in the 3000 manual that says to call funktions in the following order:

ps3000_open_unit()

ps3000_set_channel(1, 0, True, True, 10)

ps3000_set_trigger(1, 0, 10, 1, 0, 100)

this is just an example of the arguments I have tried.
the 2 first works fine, but not the trigger funktions.
Can someone explain the different arguments especially the handle argument?!

Thanks!

//PG

User avatar
markspencer
Site Admin
Site Admin
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Post by markspencer »

Hi,

I am sorry to hear that you are experiencing this problem.

When opening the unit with the open_unit the device is given a unique identifier this has to be stored for further use in the other functions such as set_channel or set_trigger.

I would advise that you look at the C examples for the PS3000 series.

Best regards,
Regards,

Mark Spencer

Post Reply