I have the same problem with my picoscope 2203. It sometimes (it is hard to reproduce and find a pattern, sometimes after 10 minutes, sometimes after 2 days) looses the connection to the PC, meaning the picoscope is not found by any application (picoscope 6 software, or my own little app) anymore. In order to get it back, i have to unplug the usb connection and plug it again, or restart the PC.
My little app, that causes the crash does the following:
- Code: Select all
// activate wave generator
ps2000_set_channel(m_handle, PS2000_CHANNEL_A, true, false, rangeps)
ps2000_set_trigger(m_handle, PS2000_NONE, 0, 0, 0, 0)
// start streaming
m_samplingInterval = 1;
m_localBufferSize = 250000;
ps2000_run_streaming_ns (m_handle, m_samplingInterval, PS2000_US, m_localBufferSize, 0, 1, 150000)
// read data
while (ps2000_get_streaming_last_values(m_handle, ps2000FastStreamingReady) == 0)
// copy data from the buffer and do some stuff
It basically streams the whole time data from the picoscope and does some anlysis on the data.
Are there some known issues with USB 1.0, 2.0 or 3.0? Do I have to set something special when i do long time streaming?
Thanks already in advance for your help, best