CA Lab Init
INPUT:
- PV Name(s)
- Name of EPICS variable OR string array of EPICS variable names
- Attention if you use an array of EPICS variable names!
Mixed target data types arise as a result of a 2-D array with size of:
number of names multiplied by size of largest data type of the group - Field Names
- Optional
- String array of static EPICS fields ("EGU", "DESC" etc.)
- Timeout (3)
- Optional
- Timeout for Channel Access requests in seconds (1-255)
- Default value: 3 seconds
- Write Synchronous (F)
- optional
- TRUE:
- writes value(s) after waiting for the end of record processing
- FALSE:
- default
- writes value(s) without waiting for the end of record processing
- Filter
- optional
- output filter (this can save ressources and increase performance)
Following values can be combined with OR:- PV indicators:
- firstValueAsString = 1
- firstValueAsNumber = 2
- valueArrayAsNumber = 4
- errorOut = 8
- PV Info cluster:
- pviElements = 16
- pviValuesAsString = 32
- pviValuesAsNumber = 64
- pviStatusAsString = 128
- pviStatusAsNumber = 256
- pviSeverityAsString = 512
- pviSeverityAsNumber = 1024
- pviTimestampAsString = 2048
- pviTimestampAsNumber = 4096
- pviFieldNames = 8192
- pviFieldValues = 16384
- pviError = 32768
- PV indicators:
- Error in (no error)
OUTPUT:
- CA Lab data
- Cluster with preinitialized data
- Error out
- Global I/O error
CaLabGet.vi and CaLabPut.vi can use "CA Lab data" cluster as input (first connector) to skip their automatically internal initialisation. Preinitialized CaLabGet.vi and CaLabPut.vi will start faster.
CaLabInit.vi is good if a VI uses a large number (>100) of EPICS PVs.