Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

Multi frame streaming #5

Description

@1oly

Hello,

Thanks for making well-documented scripts - easy to get started!

I would like to record signals from several modules (PTP syncronized in a DAQ frame). I can follow streaming.py for a single module, but how would that look like for multiple modules?

  1. Do I open recorder for all modules or just the master? response = requests.put(host + "/rest/rec/open")
  2. Looping through the different hosts, I can get all channels and make the setup: response = requests.put(host + "/rest/rec/channels/input", json = setup)
  3. But what about the socket and measurement?
response = requests.get(host + "/rest/rec/destination/socket")
response = requests.post(host + "/rest/rec/measurements")

I had a look in the PTP multiframe example for C#, but that's only for two frames and slightly difficult to translate into python.

Best regards,
Oliver

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions