New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearing streams from port in interlaced mode. #195

Closed
apepelis opened this Issue Sep 12, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@apepelis

apepelis commented Sep 12, 2016

if you put the port in Interlaced mode and then try to delete all streams (issue 179), there is a 53 second pause.

    _sid_list = drone.getStreamIdList(port_string.port_id[0])
    drone.deleteStream(sid_list)

    # https://github.com/pstavirs/ostinato/issues/179
    stream_cfg = ost_pb.StreamConfigList()
    stream_cfg.port_id.id = port_string.port_id[0].id
    drone.modifyStream(stream_cfg)_

this needs to be added

    _port_id_list = drone.getPortIdList()
    port_config_list = drone.getPortConfig(port_id_list)
    for port in port_config_list.port:
        if port.port_id == port_string.port_id[0]:
            port.transmit_mode = ost_pb.kSequentialTransmit
            break
    drone.modifyPort(port_config_list)_

to change it to sequential

@pstavirs pstavirs added the bug label Sep 13, 2016

@pstavirs pstavirs closed this in 831b5c0 Sep 21, 2016

cdm-work pushed a commit to cdm-work/ostinato that referenced this issue Dec 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment