supply1 for the output of a power supply. Tests and Workbench use the net name, not the instrument address. Lager stores the nets on the box, and the Nets tab shows them.
This concept comes from Lager, the open-source
runtime that Stout sits on top of. For the full reference, see the Lager
documentation.
The Nets tab
The heading shows the number of nets. When the box is online, the heading also shows how many instruments are connected. The tab groups nets by instrument. Each instrument card shows a product photo or an icon, the instrument name, the number of nets, the connection state, and the address.
Select an instrument card to expand it. The table shows the Name, Type, Channel, and Purpose of each net. A USB hub also shows the State of each port.
The tab refreshes every 30 seconds, and also when the box goes online or offline. When the box is offline, the tab shows the last known nets.
If the box detects no instruments, the tab says so. Connect an instrument to the box over USB, and then select Check again.
Each instrument card has these controls:
- Control opens the instrument in Workbench. It appears when Workbench supports a net type of the instrument.
- View Livefeed opens the Webcams tab. It appears for a camera.
- Add Net adds one net to the instrument. It does not appear when the instrument cannot take another net, for example a debug probe that already has its net.
- The … menu has Delete All Nets, which deletes the nets of this instrument.
Add nets for all free channels
Add Nets proposes one net for each instrument channel that has no net.- Select Add Nets.
- Clear the check box of each channel that you do not want.
- If you want different names, change them. Stout names each net after its type and the next free number, for example
supply1orgpio3. - For a debug probe, enter the Device type. This is the part number of the target MCU.
- Select the add button, for example Add 4 Nets.
- An instrument that runs one mode at a time offers no more channels after it has a net.
- An instrument that can switch between two roles offers its second role unchecked. If you choose that role, the instrument switches its mode.
- Stout hides two instruments that report the same address, because it cannot tell them apart.
Add one net
- On the instrument card, select Add Net.
- Enter the Net Name.
- Select the Role / Type.
- Select the Channel. For a debug probe, enter the Device type instead.
- Select Add Net.
Edit a net
In the net table, select Edit. The Edit Net dialog has these fields:- Name, Role / Type, and Channel define the net on the box. Instrument, Address, and Serial are read-only.
- Purpose is one sentence about what the net does on the device under test.
- Notes holds free-form details, for example jumper positions or probe points.
- Tags holds comma-separated tags.
lager nets describe sets with --purpose, --notes, and --tag. When the box supports it, Stout sends your changes to the box.
A Modified on box badge next to a field means that the box has a different value for that field. Save the field in Stout to keep the value that Stout shows.
When you rename a net, Stout keeps its purpose, notes, and tags.
To delete one net, select Delete in its row, and then confirm. Stout removes the net from the box.
For the Lager commands, see lager nets in the Lager docs.
Delete all nets
You can delete many nets in one step:- On an instrument card, … > Delete All Nets deletes the nets of that instrument.
- In the header of the box page, … > Delete All Nets deletes every net on the box.
Templates
A template saves the nets of one box. Use it to set up other boxes the same way. Only owners and admins can save, apply, and manage templates.Save a template
- Open the box, and then open the … menu in the header.
- Select Save as Template.
- Enter a Template Name.
- Select Save Template.
Apply a template
- Open the box, and then open the … menu in the header.
- Select Apply Template.
- Select the Template.
- Check the preview. It sorts the nets into Ready to create, Awaiting instruments, and Skipped.
- Select the apply button, for example Apply 12 Nets.
Manage templates
On the Boxes page, select Box Groups, and then select Templates. The Box Templates dialog lists every template with its number of nets and its source box.- Select the arrow to see the nets in a template.
- Select the pencil to rename a template.
- Select the refresh icon to update a template from its source box.
- Select the trash icon to delete a template.
Webcams
Watch the cameras that your webcam nets name.
Workbench
Drive the instruments behind your nets from the browser.