Document status

FINAL

Document owner
DesignerAlessandro Stecchi
DevelopersAlessandro Stecchi
QAAlessandro Stecchi

Description

New current monitor (using the KeySight Ethernet DVM)

Source

DEVIL 723, 724 (under development)

Keys

Key nameSource

Write freq. [Hz]

Data size [byte]

Throughput
[kbyte/s]

FormatNotes

DCTEL002_BUF

DEVIL723

2

32937

~64

Cluster of:
- DCTDyn
- 4096 [DBL]

LV cluster [flattened to str]

[DCTDyn (165 bytes)][4 bytes][array of 4096 DBLs]
Points are acquired at 50 Hz

DCTPS002_BUF

DEVIL723

2

32937

~64

Cluster of:
- DCTDyn
- 4096 [DBL]

LV cluster [flattened to str]

[DCTDyn (165 bytes)][4 bytes] [array of 4096 DBLs]
Points are acquired at 50 Hz

DCTA*002_BUF
(temporary key)

DEVIL724
(still running in test mode)
432937~128Cluster of:
- DCTDyn
- 4096 [DBL]

LV cluster [flattened to str]

[DCTDyn (165 bytes)][4 bytes] [array of 4096 DBLs]
Points are acquired at 50 Hz

Total throughput

Sourcekbyte/sMbit/s
DEVIL723128 kbyte/s (*)~0.125 Mbit/s (*)
DEVIL724128 kbyte/s~0.125 Mbit/s
TOTAL256 kbyte/s~0.250 Mbit/s

(*) NOTE: The DEVIL alternately acquires e-, e +, e-, e +, ... and does only one update at a time. As a consequence the throughput is not determined by the data volume of the 2 elements but by that of only one.

Keys usage

Example of LabVIEW code to use at level 1 to unflatten and extract the DCTDyn and the array od 4096 DBL values. The DCTDyn cluster occupies 169 bytes, then 4096 DBLs follow.

LabVIEW data format

When using languages different from LabVIEW, the "unflatten from string" operator is not available; in these case, you have to decode the LV cluster made of the DCTDyn typeDef followed by the array of DBLs.

DCTDyn

The DCTDyn typeDef format is described below along with an example of its flattened string.

Array of DBL

Immediately after the DCTDyn it follows an array af DBL of 4096 components. In LabVIEW the array serialization is made by a U32 containing the number of components of the array and then the array itselsf.

Meaningful offsets

Be aware that the following offsets depends on the number of components of the "tau" array in the DCTDyn cluster.

ValueOffset [byte]Data type
Acquisition pointer136U32
First component of the data array169[DBL]



  • No labels

2 Comments

  1. Andrea Michelotti

    Tra le informazioni, andrebbe scritto l'offset in byte all'interno del Flatten to String per fare il peek delle quantita' desiderate. Esempio non e' chiaro l'acquisition pointer a che offset e' 

  2. Alessandro Stecchi

    Fatto.