Skip to content

Speeding up transmission #31

Open
Open
@MaorKeshet

Description

To start with - I'm not a programmer, so please bear with my semi professional terminology.

SETUP: The SPJS is used to control local hardware from an HTML5+jc application. The application is running locally on Windows7/Chrome. Baud Rate is 9600.

The typical command is very simple: image

PROBLEM: On the peak of my application's activity I send to the SPJS one command string every 150 ms. I didn't think that sending such simple commands that are 150 ms apart would be a problem on a local setup, but the SPJS takes about 750 ms (!) to actually transmit each of these short strings to the hardware controller. I have tried setting "default" and "tinyg" buffer algorithm, but it only made things worse.

Is there a way to shorten this latency on the transmission?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions