Skip to content

Commit bedcb3e

Browse files
authored
Merge pull request #535 from henriquesimoes/record-docs
Fix inconsistencies in the documentation of some records
2 parents 516e91f + a48a993 commit bedcb3e

File tree

5 files changed

+114
-139
lines changed

5 files changed

+114
-139
lines changed

ADApp/Db/NDFileHDF5.template

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -813,17 +813,6 @@ record(bi, "$(P)$(R)DimAttDatasets_RBV")
813813
field(SCAN, "I/O Intr")
814814
}
815815

816-
# File path.
817-
# % autosave 2
818-
#record(waveform, "$(P)$(R)XMLPath")
819-
#{
820-
# field(PINI, "YES")
821-
# field(DTYP, "asynOctetWrite")
822-
# field(INP, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))HDF5_layoutDirectory")
823-
# field(FTVL, "CHAR")
824-
# field(NELM, "256")
825-
#}
826-
827816
record(waveform, "$(P)$(R)XMLErrorMsg_RBV")
828817
{
829818
field(DTYP, "asynOctetRead")

docs/ADCore/ADDriver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ possible.
5757
- r/o
5858
- Actual detector temperature
5959
- TEMPERATURE_ACTUAL
60-
- $(P)$(R)Temperature_Actual
60+
- $(P)$(R)TemperatureActual
6161
- ai
6262
* -
6363
-

docs/ADCore/NDArray.rst

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,41 @@ loading ADBase.template.
409409
- BAYER_PATTERN
410410
- $(P)$(R)BayerPattern_RBV
411411
- mbbi
412+
* -
413+
-
414+
-
415+
- **Unique ID and time stamps of the array**
416+
* - NDUniqueId
417+
- asynInt32
418+
- r/o
419+
- Unique ID number of array assigned by the EPICS driver.
420+
- UNIQUE_ID
421+
- $(P)$(R)UniqueId_RBV
422+
- longin
423+
* - NDTimeStamp
424+
- asynFloat64
425+
- r/o
426+
- Time stamp of array.
427+
- TIME_STAMP
428+
- $(P)$(R)TimeStamp_RBV
429+
- ai
430+
* - NDEpicsTSSec
431+
- asynInt32
432+
- r/o
433+
- Seconds past epoch time stamp of array assigned by the EPICS driver. It
434+
is based on the EPICS epoch.
435+
- EPICS_TS_SEC
436+
- $(P)$(R)EpicsTSSec_RBV
437+
- longin
438+
* - NDEpicsTSNsec
439+
- asynInt32
440+
- r/o
441+
- Nanoseconds time stamp fraction of the EPICS time stamp. It should be
442+
composed with $(P)$(R)EpicsTSSec_RBV to get the final time stamp with
443+
nanosecond resolution.
444+
- EPICS_TS_NSEC
445+
- $(P)$(R)EpicsTSNsec_RBV
446+
- longin
412447
* -
413448
-
414449
-
@@ -430,13 +465,14 @@ loading ADBase.template.
430465
* - N.A.
431466
- N.A
432467
- r/o
433-
- Size of each array dimension, extracted from the $(P)$(R)Dimensions and $(P)$(R)Dimensions_RBV
468+
- Size of each array dimension K in [0..9], extracted from the $(P)$(R)Dimensions and $(P)$(R)Dimensions_RBV
434469
waveform records. Note that these are both longin record, i.e. readonly values using
435470
subarray records. In the future longout records may be added to write to the individual
436471
values in $(P)$(R)Dimensions.
437472
- N.A.
438-
- $(P)$(R)ArraySize[N] N=0-9
439-
, (P)$(R)ArraySize[N]_RBV
473+
- $(P)$(R)ArraySize<K>, $(P)$(R)ArraySize<K>_RBV
474+
475+
E.g. $(P)$(R)ArraySize0_RBV
440476
- longin, longin
441477
* - NDArraySizeX
442478
- asynInt32
@@ -479,7 +515,7 @@ loading ADBase.template.
479515
- Compressed size of the array data in bytes. Only meaningful if NDCodec is not empty
480516
string.
481517
- COMPRESSED_SIZE
482-
- $(P)$(R)Compressed_RBV
518+
- $(P)$(R)CompressedSize_RBV
483519
- longin
484520
* -
485521
-
@@ -614,8 +650,8 @@ loading ADBase.template.
614650
The value of this record must be set with caution, because too large a value could
615651
use all memory on the system, resulting serious performance degradation.
616652
- POOL_NUM_PRE_ALLOC_BUFFERS
617-
- $(P)$(R)NumPreAllocBuffers
618-
- longout
653+
- $(P)$(R)NumPreAllocBuffers, $(P)$(R)NumPreAllocBuffers_RBV
654+
- longout, longin
619655
* - NDPoolPreAllocBuffers
620656
- asynInt32
621657
- r/w
@@ -773,15 +809,15 @@ loading ADBase.template.
773809
- File write status. Gives status information on last file open or file write operation.
774810
Values are WriteOK (0) and WriteError (1).
775811
- WRITE_STATUS
776-
- $(P)$(R)FileWriteStatus
812+
- $(P)$(R)WriteStatus
777813
- mbbi
778814
* - NDFileWriteMessage
779815
- asynOctet
780816
- r/o
781817
- File write error message. An error message string if the previous file open or file
782818
write operation resulted in an error.
783819
- WRITE_MESSAGE
784-
- $(P)$(R)FileWriteMessage
820+
- $(P)$(R)WriteMessage
785821
- waveform
786822
* - NDFileCapture
787823
- asynInt32

docs/ADCore/NDFileHDF5.rst

Lines changed: 67 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,12 @@ Parameters and Records
662662
- HDF5_dimAttDatasets
663663
- $(P)$(R)DimAttDatasets, $(P)$(R)DimAttDatasets_RBV
664664
- bo, bi
665+
* - asynFloat64
666+
- r/w
667+
- Fill value for the dataset to be set in its creation property list.
668+
- HDF5_fillValue
669+
- $(P)$(R)FillValue, $(P)$(R)FillValue_RBV
670+
- ao, ai
665671
* -
666672
-
667673
- **SWMR**
@@ -677,7 +683,7 @@ Parameters and Records
677683
- Turn on or off SWMR mode for the next acquisition (1 = On, 0 = Off). Turning on
678684
will only work if SWMR mode is supported.
679685
- HDF5_SWMRMode
680-
- $(P)$(R)SWMRMode, $(P)$(R)SMWRMode_RBV
686+
- $(P)$(R)SWMRMode, $(P)$(R)SWMRMode_RBV
681687
- bo, bi
682688
* - asynInt32
683689
- r/o
@@ -723,67 +729,79 @@ Parameters and Records
723729
- r/w
724730
- Number of extra dimensions [0..9]
725731
- HDF5_nExtraDims
726-
- $(P)$(R)NumExtraDims, $(P)$(R)NumExtraDims
732+
- $(P)$(R)NumExtraDims, $(P)$(R)NumExtraDims_RBV
727733
- mbbo, mbbi
728734
* - asynInt32
729735
- r/w
730736
- Size of extra dimension N (no. of frames per point)
731737
- HDF5_extraDimSizeN
732738
- $(P)$(R)ExtraDimSizeN, $(P)$(R)ExtraDimSizeN_RBV
733739
-
740+
* - asynOctet
741+
- r/o
742+
- HDF5_extraDimNameN
743+
- Name of extra dimension N
744+
- $(P)$(R)ExtraDimNameN_RBV
745+
- stringin
734746
* - asynInt32
735747
- r/w
736748
- Size of extra dimension X
737749
- HDF5_extraDimSizeX
738750
- $(P)$(R)ExtraDimSizeX, $(P)$(R)ExtraDimSizeX_RBV
739751
- longout, longin
752+
* - asynOctet
753+
- r/o
754+
- Name of extra dimension X
755+
- HDF5_extraDimNameX
756+
- $(P)$(R)ExtraDimNameX_RBV
757+
- stringin
740758
* - asynInt32
741759
- r/w
742-
- Size of extra dimension Y
743-
- HDF5_extraDimSizeY
744-
- $(P)$(R)ExtraDimSizeY, $(P)$(R)ExtraDimSizeY_RBV
745-
- longout, longin
746-
* - asynInt32
747-
- r/w
748-
- Size of extra dimension 3
749-
- HDF5_extraDimSize3
750-
- $(P)$(R)ExtraDimSize3, $(P)$(R)ExtraDimSize3_RBV
751-
- longout, longin
752-
* - asynInt32
753-
- r/w
754-
- Size of extra dimension 4
755-
- HDF5_extraDimSize4
756-
- $(P)$(R)ExtraDimSize4, $(P)$(R)ExtraDimSize4_RBV
757-
- longout, longin
758-
* - asynInt32
759-
- r/w
760-
- Size of extra dimension 5
761-
- HDF5_extraDimSize5
762-
- $(P)$(R)ExtraDimSize5, $(P)$(R)ExtraDimSize5_RBV
760+
- Chunk of extra dimension X
761+
- HDF5_extraDimChunkX
762+
- $(P)$(R)ExtraDimChunkX, $(P)$(R)ExtraDimChunkX_RBV
763763
- longout, longin
764764
* - asynInt32
765765
- r/w
766-
- Size of extra dimension 6
767-
- HDF5_extraDimSize6
768-
- $(P)$(R)ExtraDimSize6, $(P)$(R)ExtraDimSize6_RBV
766+
- Size of extra dimension Y
767+
- HDF5_extraDimSizeY
768+
- $(P)$(R)ExtraDimSizeY, $(P)$(R)ExtraDimSizeY_RBV
769769
- longout, longin
770+
* - asynOctet
771+
- r/o
772+
- Name of extra dimension Y
773+
- HDF5_extraDimNameY
774+
- $(P)$(R)ExtraDimNameY_RBV
775+
- stringin
770776
* - asynInt32
771777
- r/w
772-
- Size of extra dimension 7
773-
- HDF5_extraDimSize7
774-
- $(P)$(R)ExtraDimSize7, $(P)$(R)ExtraDimSize7_RBV
778+
- Chunk of extra dimension Y
779+
- HDF5_extraDimChunkY
780+
- $(P)$(R)ExtraDimChunkY, $(P)$(R)ExtraDimChunkY_RBV
775781
- longout, longin
776782
* - asynInt32
777783
- r/w
778-
- Size of extra dimension 8
779-
- HDF5_extraDimSize8
780-
- $(P)$(R)ExtraDimSize8, $(P)$(R)ExtraDimSize8_RBV
784+
- Size of the K'th extra dimension, for K in [3..9]
785+
- HDF5_extraDimSize<K>
786+
- $(P)$(R)ExtraDimSize<K>, $(P)$(R)ExtraDimSize<K>_RBV
787+
788+
E.g. $(P)$(R)ExtraDimSize3_RBV
781789
- longout, longin
790+
* - asynOctet
791+
- r/o
792+
- Name of the K'th extra dimension, for K in [3..9]
793+
- HDF5_extraDimName<K>
794+
- $(P)$(R)ExtraDimName<K>_RBV
795+
796+
E.g $(P)$(R)ExtraDimName8_RBV
797+
- stringin
782798
* - asynInt32
783799
- r/w
784-
- Size of extra dimension 9
785-
- HDF5_extraDimSize9
786-
- $(P)$(R)ExtraDimSize9, $(P)$(R)ExtraDimSize9_RBV
800+
- Chunk of the K'th extra dimension, for K in [3..9]
801+
- HDF5_extraDimChunk<K>
802+
- $(P)$(R)ExtraDimChunk<K>, $(P)$(R)ExtraDimChunk<K>_RBV
803+
804+
E.g. $(P)$(R)ExtraDimChunk9
787805
- longout, longin
788806
* -
789807
-
@@ -814,45 +832,11 @@ Parameters and Records
814832
- stringout, stringin
815833
* - asynOctet
816834
- r/w
817-
- Specify the NDAttribute name for the 3rd index
818-
- HDF5_posNameDim3
819-
- $(P)$(R)PosNameDim3, $(P)$(R)PosNameDim3_RBV
820-
- stringout, stringin
821-
* - asynOctet
822-
- r/w
823-
- Specify the NDAttribute name for the 4th index
824-
- HDF5_posNameDim4
825-
- $(P)$(R)PosNameDim4, $(P)$(R)PosNameDim4_RBV
826-
- stringout, stringin
827-
* - asynOctet
828-
- r/w
829-
- Specify the NDAttribute name for the 5th index
830-
- HDF5_posNameDim5
831-
- $(P)$(R)PosNameDim5, $(P)$(R)PosNameDim5_RBV
832-
- stringout, stringin
833-
* - asynOctet
834-
- r/w
835-
- Specify the NDAttribute name for the 6th index
836-
- HDF5_posNameDim6
837-
- $(P)$(R)PosNameDim6, $(P)$(R)PosNameDim6_RBV
838-
- stringout, stringin
839-
* - asynOctet
840-
- r/w
841-
- Specify the NDAttribute name for the 7th index
842-
- HDF5_posNameDim7
843-
- $(P)$(R)PosNameDim7, $(P)$(R)PosNameDim7_RBV
844-
- stringout, stringin
845-
* - asynOctet
846-
- r/w
847-
- Specify the NDAttribute name for the 8th index
848-
- HDF5_posNameDim8
849-
- $(P)$(R)PosNameDim8, $(P)$(R)PosNameDim8_RBV
850-
- stringout, stringin
851-
* - asynOctet
852-
- r/w
853-
- Specify the NDAttribute name for the 9th index
854-
- HDF5_posNameDim9
855-
- $(P)$(R)PosNameDim9, $(P)$(R)PosNameDim9_RBV
835+
- Specify the NDAttribute name for the K'th index, for K in [3..9]
836+
- HDF5_posNameDim<K>
837+
- $(P)$(R)PosNameDim<K>, $(P)$(R)PosNameDim<K>_RBV
838+
839+
E.g. $(P)$(R)PosNameDim5
856840
- stringout, stringin
857841
* -
858842
-
@@ -863,59 +847,25 @@ Parameters and Records
863847
- HDF5_posIndexDimN
864848
- $(P)$(R)PosIndexDimN, $(P)$(R)PosIndexDimN_RBV
865849
- stringout, stringin
866-
* - asynOctet
850+
* - asynOcte9
867851
- r/w
868852
- Specify the NDAttribute index for the X dimension
869853
- HDF5_posIndexDimX
870-
- $(P)$(R)posIndexDimX, $(P)$(R)posIndexDimX_RBV
854+
- $(P)$(R)PosIndexDimX, $(P)$(R)PosIndexDimX_RBV
871855
- stringout, stringin
872856
* - asynOctet
873857
- r/w
874858
- Specify the NDAttribute index for the Y dimension
875859
- HDF5_posIndexDimY
876-
- $(P)$(R)posIndexDimY, $(P)$(R)posIndexDimY_RBV
877-
- stringout, stringin
878-
* - asynOctet
879-
- r/w
880-
- Specify the NDAttribute index for the 3rd dimension
881-
- HDF5_posIndexDim3
882-
- $(P)$(R)posIndexDim3, $(P)$(R)posIndexDim3_RBV
860+
- $(P)$(R)PosIndexDimY, $(P)$(R)PosIndexDimY_RBV
883861
- stringout, stringin
884862
* - asynOctet
885863
- r/w
886-
- Specify the NDAttribute index for the 4th dimension
887-
- HDF5_posIndexDim4
888-
- $(P)$(R)posIndexDim4, $(P)$(R)posIndexDim4_RBV
889-
- stringout, stringin
890-
* - asynOctet
891-
- r/w
892-
- Specify the NDAttribute index for the 5th dimension
893-
- HDF5_posIndexDim5
894-
- $(P)$(R)posIndexDim5, $(P)$(R)posIndexDim5_RBV
895-
- stringout, stringin
896-
* - asynOctet
897-
- r/w
898-
- Specify the NDAttribute index for the 6th dimension
899-
- HDF5_posIndexDim6
900-
- $(P)$(R)posIndexDim6, $(P)$(R)posIndexDim6_RBV
901-
- stringout, stringin
902-
* - asynOctet
903-
- r/w
904-
- Specify the NDAttribute index for the 7th dimension
905-
- HDF5_posIndexDim7
906-
- $(P)$(R)posIndexDim7, $(P)$(R)posIndexDim7_RBV
907-
- stringout, stringin
908-
* - asynOctet
909-
- r/w
910-
- Specify the NDAttribute index for the 8th dimension
911-
- HDF5_posIndexDim8
912-
- $(P)$(R)posIndexDim8, $(P)$(R)posIndexDim8_RBV
913-
- stringout, stringin
914-
* - asynOctet
915-
- r/w
916-
- Specify the NDAttribute index for the 9th dimension
917-
- HDF5_posIndexDim9
918-
- $(P)$(R)posIndexDim9, $(P)$(R)posIndexDim9_RBV
864+
- Specify the NDAttribute index for the K'th dimension, for K in [3..9]
865+
- HDF5_posIndexDim<K>
866+
- $(P)$(R)PosIndexDim<K>, $(P)$(R)PosIndexDim<K>_RBV
867+
868+
E.g. $(P)$(R)PosIndexDim9_RBV
919869
- stringout, stringin
920870
* -
921871
-
@@ -924,7 +874,7 @@ Parameters and Records
924874
- r/o
925875
- Total runtime in seconds from first frame to file closed
926876
- HDF5_totalRuntime
927-
- $(P)$(R)Runtime
877+
- $(P)$(R)RunTime
928878
- ai
929879
* - asynFloat64
930880
- r/o

0 commit comments

Comments
 (0)