View Issue Details

IDProjectCategoryView StatusLast Update
0008349NodeSets, XSDs and Generated CodeSpecpublic2022-10-11 15:41
ReporterJim Luth Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.05.02 RC1 
Fixed in Version1.05.02 
Summary0008349: Various issues on OptionSet DataType
Description

we discussed OptionSets based on the OptionSet DataType today and came to several conclusions:

  • The length of the ByteString in the OptionSet shall be for default the number of used bits + the offset to fill full Bytes (e.g. 1 Byte for 3 bits, 2 Bytes for 10 bits).
  • Subtypes of a concrete subtype of OptionSet shall not change the length anymore!
  • The length of an OptionSet can also be defined explicitly by a new defined optional Property on the DataType NodeClass (e.g. OptionSetByteStringLength, which is similar to MaxByteStringLength on Variables, but defines the length always to be used). So each concrete OptionSet DataType has a fixed length. The Property allows defining an OptionSet that may have subtypes with additional bits.
  • As stated currently in the 1.05.02 RC the structure of the structured DataType OptionSet shall never be extended. However, a subtype may add additional bits as long as it does not exceed the length of the ByteString defined in the supertype. In the Subtype, the OptionSetValues shall repeat or refine all entries of the supertype and may add additional entries. A refinement of a bit may be to change from "Pump is off" to "First Pump is Off", but not to something completely different like "motor is on".
TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0008300 closedJeff Harding 10000-003: Address Space Various issues on OptionSet DataType 

Activities

Jeff Harding

2022-09-22 20:08

reporter   ~0017812

During Foxboro Face to Face we agreed to fix this for 1.05.02.

Randy Armstrong

2022-10-11 15:40

administrator   ~0017987

Added OptionSetLength Property.

Jim Luth

2022-10-11 15:41

administrator   ~0017988

Agreed to changes in web meeting.

Issue History

Date Modified Username Field Change
2022-09-22 20:08 Jim Luth New Issue
2022-09-22 20:08 Jim Luth Status new => assigned
2022-09-22 20:08 Jim Luth Assigned To => Jeff Harding
2022-09-22 20:08 Jim Luth Issue generated from: 0008300
2022-09-22 20:08 Jim Luth Note Added: 0017812
2022-09-22 20:08 Jim Luth Relationship added related to 0008300
2022-09-22 20:08 Jim Luth Assigned To Jeff Harding => Randy Armstrong
2022-09-22 20:08 Jim Luth Project 10000-003: Address Space => NodeSets, XSDs and Generated Code
2022-10-11 15:40 Randy Armstrong Status assigned => resolved
2022-10-11 15:40 Randy Armstrong Resolution open => fixed
2022-10-11 15:40 Randy Armstrong Note Added: 0017987
2022-10-11 15:41 Jim Luth Status resolved => closed
2022-10-11 15:41 Jim Luth Fixed in Version => 1.05.02
2022-10-11 15:41 Jim Luth Note Added: 0017988