27 lines
1.3 KiB
Batchfile
27 lines
1.3 KiB
Batchfile
|
|
#==============================================================================
|
|
# ecmcAddDaqDataItem.cmd
|
|
#-------------- Information:
|
|
#- Description: ecmc_plugin_daq ecmcAddDaqDataItem.cmd
|
|
#- Add a DAQ-dataitem to the last added DAQ-channel object
|
|
#-
|
|
#- by Anders Sandström, Paul Scherrer Institute, 2024
|
|
#- email: anders.sandstroem@psi.ch
|
|
#-
|
|
#-###############################################################################
|
|
#-
|
|
#- Arguments
|
|
#- PARAM : Parameter to add (ec0.s1.positionActual01)
|
|
#- FORMAT: Optional formatting of data
|
|
#- 0 = raw (default) : Take raw value (do not apply special format)\n");
|
|
#- 1 = time_micro_s : Time: Recalc 64bit nano seconds to 32 bit micro second counter\n");
|
|
#- 2 = time_micro_s_minus_period : Time: Recalc 64bit nano seconds to 32 bit micro second counter minus one ec-period.\n");
|
|
#- Useful for oversampling slaves where normally the nextsync time is available.\n");
|
|
#- The calculated time then would correspond to the first data in the array recived.\n");
|
|
#- 3 = time_ns_minus_period : Time: Raw value minus one period.\n");
|
|
#-
|
|
#################################################################################
|
|
|
|
ecmcAddDAQItem(${PARAM},${FORMAT=0})
|
|
|