As soon as your signals are not bound to a file, but stream-in from different sources like processes, sockets, pipe and drivers, ports are the means in impulse to handle those signals.
Ports and Adapters
A Port can be opened by the impulse viewer like a normal file. It supports the viewer with
signals bound together in one record. Afterwards impulse can save the record as a file resource.
To open a port you need to have the Signals Port view visible (Window > Show View > Impulse > Signal Ports).
Adapters represent the interface to the outside world. Ports can have multiple adapters, so
your can stream in data from multiple source. Most adapters can be also used as ports, as soon as
you add them under the ports root.
- To achieve multiple source, add a Multi Adapter Port to ports. Then add additional adapters to that newly created port.
- If you just want one source, add any adapter under the root "Ports".
After opening the viewer, the user will find some additional icons in the tool-bar of the viewer. They are used to control the data stream from the port and the update inside the viewer.
|(or symbol of port)||Edit Port||Opens the port editor|
|Connect||Enables the user to connect to a port without starting streaming/aquisition. Depending
on the port design, the port may:
|Start/Stop Streaming||Connects to the port and starts streaming/aquisition. To end streaming press again.|
|Single / Multiple||For scope like ports, this button selects if the aquisition process is:
|Start/Stop Update||If the port generates a floating diagram, this button allows the user to start/stop updating the diagram. To stop the diagram you may also move a cursor.|
A socket adapter connect to a tcp server (ip, socket), reads its data and parses that data data with a given serializer.
Socket adapters can be used as ports and within multi adapter ports.
A pipe adapter reads its data from a apipe and parses that data data with a given serializer.
Typical use case: Write the system-C output into a pipe and connect your port to that pipe.
Pipe adapters can be used as ports and within multi adapter ports.
A resource adapter reads the content of a resource from a project.
Typical use case: You can use a Multi Adapter Port to combine multiple resources.
Resource adapters can only be used within multi adapter ports.
A process adapter starts a process (command line arguments), reads its data from a stdout and parses that data data with a given serializer.
Typical use case: Start a simulator or converter and read its output.
Process adapters can be used as ports and within multi adapter ports.
Multi Adapter Port
A Multi Adapter Port is a port to combine multiple adapters.
Typical use case: Combine the signals of multiple resources or inputs.
Additional Ports/Adapters of the Embedded extention
Reads a stream from a serial input device.
Typical use case: Read logs from embedded device.
Serial adapters can be used as ports and within multi adapter ports.
Reads trace data from Serial Wire Ouput.
Typical use case: Trace embedded design.
The SWV adapter can be used as ports and within multi adapter ports.
Have a look at Using the SWV Tracer
Additional Ports/Adapters of the Sigrok extention
The Sigrok adapter allows to connect to various aquisition device types, such as logic analyzers, MSOs, oscilloscopes, multimeters, LCR meters, sound level meters, thermometers, hygrometers, anemometers, light meters, Energy meters, DAQs, dataloggers, function generators, RF receivers, spectrum analyzers, power supplies and GPIB interfaces.
Sigrok itself is not part of this adapter. Please visit Sigrok to get information how to install.
Sigrok adapters can be used as ports and within multi adapter ports.
You can extend impulse and add your own adapters. In the impulse extension toolkit you find the following adapters.
Reads signal data from simulated analog inputs.
Example Highspeed AD
Reads signal data from simulated analog inputs and provides the data in bursts.
Example Scope AD
Example scope from simulated inputs.