This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HDC2022EVM: Stream to file timeout

Part Number: HDC2022EVM
Other Parts Discussed in Thread: HDC2010EVM

I have two units of the HDC2022EVM board. One is wired and the other is as it was delivered. When I stream the data to a file after some unspecified time it will timeout and the file will not save. I've replicated this with both of the boards I have. I am unsure if there is something in the GUI I need to update in order for continuous streaming. Currently I am logging data to the CSV at 1hz. Any help would be much appreciated. 

  • Hello,

    What version of the GUI, are you using, and are you using the in-browser live version, or the local downloadable GUI?

    Also, can you check your power saving settings and verify that your PC is not set to auto-hibernate, or sleep while the GUI is logging? Any power settings that would disrupt power to your USB peripherals (which includes the EVM), may be able to cause this kind of failure. 

    Best Regards,
    Brandon Fisher

  • I've used both the in browser and the local downloadable GUI. My laptop is also set to stay powered on while it is plugged in. What I have since noticed is that the USB connection is being dropped after an unspecified time. I switched to a powered USB hub, but the dropped connection still persists on both units. I have on hand HDC2010EVM and used that without issue. I am thinking this is a hardware issue, but you know better than I do. 

  • Hi,

    Is there anything else about your setup that is special, for example, are you running multiple EVMs or multiple instances of the same GUI? I am trying to recreate this on my end. 

    I don't believe this is a hardware issue as you should be able to disconnect and connect the EVM during file streaming and not lose any data, if this were a hardware issue, I would expect disconnection to be a symptom. 

    If I understand correctly, then what  you're describing is similar to what you'd see if you refreshed your browser while the file data was saving (see below).

    In other words the file download/stream is being canceled. Is that correct?

    As an alternative option in the short term, you can also use the Save Plot/ Clear Plot and Plot Sample Size functions to log data. This should work as long as you are not required to save more samples than the maximum Plot Sample Size.

    Best Regards,
    Brandon Fisher

  • Hello,

    Can you open the Chrome DevTool by pressing F12 in the app? And goto the console tab and see if there is any error related to saving to file? You can also enable additional logging by entering gc.console.setCookie('all', 5) in the console. Please copy the log and send it to us. 

    Thanks,
    Patrick