Skip to content

Patch Release v6.1.2

Compare
Choose a tag to compare
@ruck314 ruck314 released this 08 Feb 20:51
· 174 commits to main since this release
0a7d4dd

Pull Requests Since v6.1.1

Bug

  1. #984 - Fix bug in Device.setPollInterval()
  2. #985 - Fix suggested default address. Fix broken address/port lookup
  3. #983 - Fix nodeList method in Node and add global node count tracking

Enhancement

  1. #977 - Use NTScalarArray for 1D arrays.
  2. #976 - Docker context that uses Anaconda to build rogue
  3. #985 - Fix suggested default address. Fix broken address/port lookup
  4. #983 - Fix nodeList method in Node and add global node count tracking

Documentation

  1. #984 - Fix bug in Device.setPollInterval()

Unlabeled

  1. #979 - test_block_overlap.py update
  2. #980 - Update LICENSE.txt

Pull Request Details

Docker context that uses Anaconda to build rogue

Author: Ryan Herbst [email protected]
Date: Mon Jan 8 11:20:05 2024 -0800
Pull: #976 (22 additions, 3 deletions, 3 files changed)
Branch: slaclab/docker-dev
Issues: #976
Labels: enhancement

Notes:

Description

This PR adds a Docker context that builds rogue using Anaconda and automatically runs the virtual rogue environment at start up. The context that builds rogue bare-metal has been renamed to rogue to distinguish it from the Anaconda version.

Details

The Anaconda Docker context uses continuumio/anaconda3 as the base image and creates an environment using the latest rogue tag. To test if the rogue conda environment was automatically started, I used the following command

docker run -it <image_name>

The git workflow was updated so it can find the correct location of the original bare-metal context. For now, the Anaconda context is not automatically built and deployed to DockerHub.


Use NTScalarArray for 1D arrays.

Author: Larry Ruckman [email protected]
Date: Tue Oct 31 13:58:30 2023 -0700
Pull: #977 (112 additions, 77 deletions, 1 files changed)
Branch: slaclab/array-dev
Issues: #6, #977
Labels: enhancement

Notes:

This PR updates the protocol epicsV4 to use the normative type NTScalar when a 1D array is encountered. Currently, the type NTNDArray is being used but that is meant to encode a data frame from a detector or an image from a camera.

Description

Make use of the normative type NTScalar when encoding 1D arrays in pyrogue.protocols.epicsV4.

JIRA

https://jira.slac.stanford.edu/browse/ESROGUE-640

Related

This PR addresses the following issue: slaclab/darpa-accel-llrf-phase-1p5#6


test_block_overlap.py update

Author: Larry Ruckman [email protected]
Date: Thu Jan 11 13:34:14 2024 -0800
Pull: #979 (29 additions, 5 deletions, 4 files changed)
Branch: slaclab/var-overlaps-corner-case
Issues: #979

Notes:

Description

  • Adding corner case to test_block_overlap.py for non-4kB aligned base offset
  • Fix bug found when running test_block_overlap.py

Overlap bug fix

Rogue was implicitly requiring that Device offsets fall on orthogonal "power-of-two" boundaries, e.g. 0x123000, 0xF00, where the LSB zeros indicate the address space of the Device. For most firmware with registers on an AXI-Lite bus, this will always be the case. But a corner case was recently encountered where an I2C peripheral requires a very odd offset. This change will support such offsets without breaking existing functionality.


Update LICENSE.txt

Author: Larry Ruckman [email protected]
Date: Tue Dec 19 09:55:40 2023 -0800
Pull: #980 (1 additions, 1 deletions, 1 files changed)
Branch: slaclab/ruck314-patch-1

Notes:

Description

  • Updating for Year 2024

Fix nodeList method in Node and add global node count tracking

Author: Benjamin Reese [email protected]
Date: Thu Jan 11 13:07:10 2024 -0800
Pull: #983 (7 additions, 1 deletions, 1 files changed)
Branch: slaclab/node_count
Labels: bug, enhancement

Notes:

Description

Fixes the Node method nodeList which was broken.

Also adds a class counter for Node to determine how many nodes exist in the system as a scaling metric.


Fix bug in Device.setPollInterval()

Author: Ryan Herbst [email protected]
Date: Tue Jan 23 13:12:07 2024 -0800
Pull: #984 (50 additions, 30 deletions, 2 files changed)
Branch: slaclab/poll_interval_fix
Issues: #983, #984
Labels: bug, documentation

Notes:

Description

This fixes a bug where Device.setPollInterval() was making an obsolete call to set the poll interval of each variable.

Documentation has also been updated to make note of the API change when setting Variable poll interval in Rogue v6.

Related

Need to merge #983 first.


Fix suggested default address. Fix broken address/port lookup

Author: Larry Ruckman [email protected]
Date: Wed Feb 7 11:46:12 2024 -0800
Pull: #985 (7 additions, 3 deletions, 3 files changed)
Branch: slaclab/server_addr
Issues: #985
Labels: bug, enhancement

Notes:

This updates the documentation to suggest using 127.0.0.1 for the zmqServer listen address. This will avoid getting annoying messages from cyber security port scanners.

We still need to properly document ZmqServer to explain the various addr arg options.

I also fixed a bug where the address lookup always returns localhost, which will break the gui when users define options other than * or 127.0.0.1