Search found 7 matches

by jma
Tue Oct 28, 2008 7:46 am
Forum: C and C++
Topic: ps3000_close_unit
Replies: 11
Views: 14121

Hi Erik,
Ok, thanks for the information. It is always good to know what causes the issue. I think I have to study if it is possible to reset the USB connection silently somehow.

BR,
Jarkko
by jma
Mon Oct 27, 2008 6:46 am
Forum: C and C++
Topic: ps3000_close_unit
Replies: 11
Views: 14121

Hi Erik, Thanks for your reply. It seems that the discussion is going to take a wrong turn. I think I have not been clear what I try to accomplish, so here goes. I have no problem during "normal operation". I call run_block, get_times_and_values etc. and they work fine. I only call close_unit in des...
by jma
Fri Oct 24, 2008 5:36 am
Forum: C and C++
Topic: ps3000_close_unit
Replies: 11
Views: 14121

Are you running under windows/linux? -Windows Are you using streaming mode at all? -No only block mode Are you checking all of your return values from the driver calls? -yes, I call stop and close_unit in consecutive loops and check the return values. Have you tried reading an error code using ps300...
by jma
Wed Oct 22, 2008 5:17 am
Forum: C and C++
Topic: ps3000_close_unit
Replies: 11
Views: 14121

Hi, Thanks for the pointers. The scope is sometimes located elsewhere in the network and the user may not have access to the room scope is in, thus disconnecting the scope is not an option. If the scope does not have a reset-functionality of this kind, I think I should reset the USB connection to re...
by jma
Thu Oct 16, 2008 10:50 am
Forum: C and C++
Topic: ps3000_close_unit
Replies: 11
Views: 14121

Hi Ziko, Thanks for your reply. I have written my own software to read data from the scope. The ps3000_stop and ps3000_close_unit seem sometimes to lead to a situation, when they fail in a way that causes the next (and any consecutive) ps3000_open_unit to fail. I was just wondering if there is a way...
by jma
Fri Oct 10, 2008 6:41 am
Forum: C and C++
Topic: overflow in get_times_and_values
Replies: 6
Views: 9485

overflow in get_times_and_values

Hi,
Just a quick question, if overflow is set for a channel can I safely assume that data read from another channel (that does not have the overlow set) is valid or does the overflow for one channel corrupt the data for all the channels?

Edit: I am using PS3026

BR,
JMa
by jma
Mon Oct 06, 2008 5:50 am
Forum: C and C++
Topic: ps3000_close_unit
Replies: 11
Views: 14121

ps3000_close_unit

Hi, I have been writing a program for PicoScope 3026 and I have encountered the following problem: Sometimes when running the software and rebooting the computer, the close_unit is not run as it should. So after the computer has rebooted the scope is still "reserved" and next open_unit calls fail, u...