Commit Graph

72 Commits

Author SHA1 Message Date
Michael Davidsaver
5a81763fb8 Adapt to DBR_AMSG/DBR_UTAG 2022-07-05 11:08:39 -07:00
Michael Davidsaver
c95d9a68fe pvif: more error checking 2022-06-22 06:39:48 -07:00
Michael Davidsaver
b3d37e7f39 Add +type:"structure" 2022-06-22 06:39:48 -07:00
Michael Davidsaver
1682c991d2 use dbChannel* in builder 2020-11-28 10:45:34 -08:00
Michael Davidsaver
c68c0038e6 store dbChannel* in builder 2020-11-28 10:45:34 -08:00
Michael Davidsaver
b69c25feb6 pass dbChannel* to PVIFBuilder::create() 2020-11-28 10:45:34 -08:00
Michael Davidsaver
8e7a1ad295 checkDISP 2020-07-05 23:06:30 -07:00
Andrew Johnson
c7a54de469 Move include of osiSock.h below db headers for Windows 2019-09-07 09:43:11 +02:00
Michael Davidsaver
0e0400022c vx const fixup
std::set iteration really should always be const
as mutation would invalidate the ordering.
2019-09-05 20:02:46 -07:00
Michael Davidsaver
bdbf57350b replace shareLib.h with QSRV_API
and hopefully avoid at least some of the maddening
include order bugs so common with sharedLib.h.
2019-09-05 20:01:56 -07:00
Michael Davidsaver
c3b6fc08b8 re-add missing enum_t 2019-08-13 20:07:26 -07:00
Michael Davidsaver
d7314eaef4 asLib check against PeerInfo
Check Put permissions
2019-05-16 18:19:38 -07:00
Michael Davidsaver
1ce449d40d parse unknown format as number
forward compatibility
2019-01-15 19:15:21 -08:00
Michael Davidsaver
f3d7d7cd8f change display.format, add display.form and .precision
Replace printf-style format string with enum + integer.

ScalarBuilder explode scalar()/scalarArray()
2019-01-15 18:48:18 -08:00
Michael Davidsaver
3c5a5c805c fix 64-bit integer field access 2019-01-08 09:10:10 -08:00
Michael Davidsaver
76c6473b6f QSRV: fix put w/ proc w/o values
A put with forced processing, but no values
will cause all mappings to process.
2018-05-28 08:10:21 -07:00
Michael Davidsaver
c0ac33dc4b pvif handle NELM=1, NORD=0
Sometimes a DBF "scalar" isn't really a scalar.
2018-04-17 22:36:49 -07:00
Michael Davidsaver
1cc1d1857e fix DBR2PVD() DBF_ENUM handling
must treat DBF_ENUM differently in
pvif than in dbf_copy as the storage
types used are different.
2018-04-17 19:10:54 -07:00
Michael Davidsaver
cd2c1762b7 pvd <-> dbf
Yet more type conversions.

This is a complement to pvif.h in that
PVIF calls into dbPut() which this code is
called by dbPut().
2018-04-17 19:10:54 -07:00
Michael Davidsaver
8b8e421a65 pvif type code mapping cleanup
DBR2PVD() remove default: so that missed case is a compile warning.
return -1 for invalid codes.

PVD2DBR() correct int64 (not used so far)
2018-04-17 19:10:54 -07:00
Michael Davidsaver
d229efbb66 pvif: DBCH cleanup
avoid some duplication
2018-02-14 11:10:09 -08:00
Michael Davidsaver
392a44b791 pvif: DBCH drop unused overload 2018-02-14 10:52:52 -08:00
Michael Davidsaver
6982fa2d8f pvif: DBCH fix NULL check 2018-02-14 10:52:37 -08:00
Michael Davidsaver
9cc417103b pvif: consolidate timestamp translation 2018-01-30 08:19:31 -08:00
Michael Davidsaver
413102a4bc pvif: more put bitset
Better handling of put w/ compressed bitset
2017-11-14 10:49:56 -06:00
Michael Davidsaver
f9c1489fcc pvif: enable array of string
turns out I did the hard part already...
2017-11-13 11:39:19 -06:00
Michael Davidsaver
c79f3624bd add meta-data mappings
map:
* display.description to DESC
* display.format based on PREC
* valueAlarm.*Limit based on alarm limits

format is always empty if qsrvDisableFormat=1
which is the default as I worry that
clients will this printf() spec is unfortunate ways.
2017-11-02 14:43:15 -05:00
Michael Davidsaver
1f070bb849 more compat 2017-11-01 19:34:36 -05:00
Michael Davidsaver
26c3b4e944 fix RTEMS macro name conflict
RTEMS defines "PVM" in sys/param.h
2017-10-04 11:56:41 +02:00
Michael Davidsaver
01388fb526 more pvif 2017-10-04 10:42:36 +02:00
Michael Davidsaver
e89653306a pdb: consolidate metaLONG w/ metaDOUBLE 2017-10-03 15:43:09 +02:00
Michael Davidsaver
512819e3a9 switch remaining to pv/typemap.h 2017-10-03 15:01:01 +02:00
Michael Davidsaver
fbf301c151 replace pvatypemap.h with pv/typemap.h in pvDataCPP 2017-10-03 14:53:33 +02:00
Michael Davidsaver
d9a4061064 another try 2017-10-03 11:09:23 +02:00
Michael Davidsaver
1e6230b623 header change 2017-10-03 10:26:15 +02:00
Michael Davidsaver
3e87bde899 missing header 2017-10-01 10:18:02 -05:00
Michael Davidsaver
cca924fa49 pvif: fix alarm status mapping 2017-09-30 15:29:08 -05:00
Michael Davidsaver
67aa5e616c compat 2017-09-29 15:25:40 -05:00
Michael Davidsaver
bda905217a pdb: add "proc" mapping 2017-09-29 15:09:20 -05:00
Michael Davidsaver
e0bac39667 pdb: group put w/ process 2017-09-29 14:48:24 -05:00
Michael Davidsaver
b839d5dc6d pdb: meta mapping 2017-09-28 18:27:40 -05:00
Michael Davidsaver
e084a9e943 pdb: time/alarm meta mapping 2017-09-28 14:56:14 -05:00
Michael Davidsaver
786e9ec7d3 encapsulate nanoseconds splitting 2017-09-21 18:12:29 -05:00
Michael Davidsaver
0d4e99c1a2 ntndarray mapping 2017-09-21 12:45:42 -05:00
Michael Davidsaver
67bda75bcb redo mappings to handle fieldOffset of structure array 2017-09-20 18:57:11 -05:00
Michael Davidsaver
0e4ba7eceb NTNDArray mapping 2017-09-19 14:18:53 -05:00
Michael Davidsaver
2e0fe07135 minor 2017-09-14 11:37:39 -05:00
Michael Davidsaver
b5d0678c75 pvif simplify 2017-09-13 19:31:15 -05:00
Michael Davidsaver
0118f70193 pvif add simple mappings 2017-09-12 20:10:33 -05:00
Michael Davidsaver
850d79dc62 add PVIFBuilder abstraction 2017-09-12 15:31:46 -05:00