Picoscope 3206 ps3000_run_block command random failure

Post any questions you may have about our current range of oscilloscopes
Post Reply
rilgin
Newbie
Posts: 0
Joined: Fri Sep 30, 2011 6:50 am

Picoscope 3206 ps3000_run_block command random failure

Post by rilgin » Sun Oct 02, 2011 7:50 am

I am using picospcope 3206 for developing automatic test equipment. In one part of my flow chart I need to measure some signals from scope and I need to do this programmatically. For this reason in my code snippet I am calling the functions below in the same order:

ps3000_stop()

ps3000_set_channel()

ps3000_set_trigger()

ps3000_get_timebase()


ps3000_run_block()

In run time normally they all are successfully done. But randomly ps3000_run_block() command returns error so I cannot accomplish the task. I could not see any missing point in my coding so could you please suggest something to correct the problematic situation?

For coding I am using NI LabWindows/CVI and NI TestStand.

Martyn
Site Admin
Site Admin
Posts: 3331
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Picoscope 3206 ps3000_run_block command random failure

Post by Martyn » Mon Oct 03, 2011 7:53 am

What error code are you receiving when the call to ps3000_run_block() fails ?
Martyn
Technical Support Manager

rilgin
Newbie
Posts: 0
Joined: Fri Sep 30, 2011 6:50 am

Re: Picoscope 3206 ps3000_run_block command random failure

Post by rilgin » Mon Oct 03, 2011 8:04 am

I am getting 0 as error code. Also in its function definition it says that ps3000_run_block returns 0 if one of the parameters is out of range and 1 if successful.

Martyn
Site Admin
Site Admin
Posts: 3331
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Picoscope 3206 ps3000_run_block command random failure

Post by Martyn » Mon Oct 03, 2011 9:40 am

We need to look more closely at your code so please can we continue this using the Helpdesk ticket you have already created.

Thanks
Martyn
Technical Support Manager

Post Reply