Author Topic: Rigol DHO stops transferring data at 200K  (Read 713 times)

0 Members and 1 Guest are viewing this topic.

Offline luis garciaTopic starter

  • Regular Contributor
  • *
  • Posts: 83
  • Country: es
Rigol DHO stops transferring data at 200K
« on: June 07, 2023, 11:37:08 pm »
DHO1000.
I set the memory depth to 1M.
Then I capture some signal on channel 1. All remaining channels are off.
From my PC i open the instrument using Visa, select source channel1, data format Byte, mode Raw, start=1 and stop=1M, and then read the waveform. I read the waveform length from the data itself and the number is correct, 1M.
However, when reading the actual data, It stops at 200K with error "VI_Error_IO".
Below 100K it works well. Beyond that it always stops at 200K.
The PC is connected to the instrument by USB.

Anything I am missing perhaps?

L.
 

Offline luis garciaTopic starter

  • Regular Contributor
  • *
  • Posts: 83
  • Country: es
Re: Rigol DHO stops transferring data at 200K
« Reply #1 on: June 08, 2023, 11:58:44 am »
Thanks for yor answer Peter. It makes sense.

However I do not see it working as expected.
If I change start and stop points i need to perform a ":wav:data?" again. But if I do this, the memory pointer is reset to zero and what i read is the first 200K again.
If I set the start and stop points after "wav:data?" the read timeouts, apparently because setting start and stop points resets the buffer.

So, my question now is: if I want to read by chunks of 200K, which of the following is the correct approach?

1. Wav:data?; Wav:start; Wav:stop; read data
2. Wav:start; Wav:stop; Wav:data?; read data
3. ???

L.
 

Offline luis garciaTopic starter

  • Regular Contributor
  • *
  • Posts: 83
  • Country: es
Re: Rigol DHO stops transferring data at 200K
« Reply #2 on: June 08, 2023, 01:29:33 pm »
Hmmm.
I see no difference placing the PRE? after DATA?.
I can see the PRE command reads all parameters and they look fine.
But it behaves as I explained above.

This is my second Rigol device. The first one, the DHO4, had to be returned. I have no much experience with this brand.
Everything looks promising with DHO1000. Reading the buffers was essential to me and is not working as expected. I was happy to see that the unit came with USB3 instead of USB2. But everything is fading away now.:-(



 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17518
  • Country: 00
Re: Rigol DHO stops transferring data at 200K
« Reply #3 on: June 08, 2023, 01:36:39 pm »
Why are you using Visa? That's the most horrible software and just gets in the way.

Just make a direct connection to the 'scope and see what happens.

 

Offline luis garciaTopic starter

  • Regular Contributor
  • *
  • Posts: 83
  • Country: es
Re: Rigol DHO stops transferring data at 200K
« Reply #4 on: June 08, 2023, 02:00:12 pm »
Yes, i stop it with ":stop" command. Actually it is stopped before i start to read data but to be safe i send the command before i send the other commands.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf