Test and Measurement Forum

ps3000_set_trigger?

Post general discussions on using our drivers to write your own software here

ps3000_set_trigger?

Postby PG74 » Mon Oct 18, 2004 12:30 pm

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
PG74
User
User
 
Posts: 4
Joined: Tue Oct 05, 2004 6:36 pm

Postby markspencer » Fri Oct 22, 2004 9:21 am

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
User avatar
markspencer
Site Admin
Site Admin
 
Posts: 598
Joined: Wed May 07, 2003 9:45 am


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests