11 Commits

Author SHA1 Message Date
Sang Woo Kim de3fb5d915 qsrv: pvaLink getTimeStampTag return remote timeStamp.userTag
pvaLink cached the remote timeStamp.userTag in fld_usertag but never
assigned snap_tag from it (pvalink.h initialises snap_tag to 0 and no
code path updated it), so pvaGetTimeStampTag() always returned 0.
Records reading a user tag through a PVA link lost that metadata.

Assign snap_tag from fld_usertag in the same snapshot block that
derives snap_time from fld_seconds/fld_nanoseconds, defaulting to 0
when the field is absent.
2026-05-24 14:13:25 -07:00
Michael Davidsaver 847c548064 pvalink: AMSG when disconnected 2025-04-06 11:21:51 +01:00
Michael Davidsaver 2fef15f3ab pvalink: also copy AMSG with MS/MSI 2025-04-06 11:21:51 +01:00
Joao Paulo Martins f42bc97699 Fixed pvaGetLink for Union types; Added tests 2025-03-31 11:05:42 -07:00
Michael Davidsaver a7d761d507 fix spelling 2024-10-13 17:38:28 -07:00
Michael Davidsaver 4cb39e3686 mark all callbacks from C as noexcept
These functions should already be catching all exceptions.
2023-11-21 12:20:34 -08:00
Michael Davidsaver eddc687021 ioc: combine registrars and detect QSRV1
also consolidates initHook and epicsAtExit() hooks
into a single sequence.
2023-11-20 10:59:44 -08:00
Michael Davidsaver 6d1216daad pvalink: porting part 3
add pvalink json schema
avoid JSON5 in testpvalink for portability.
fixup build with pvalink
trap bad_weak_ptr open during dtor
  Not sure why this is happening, but need not be CRIT.
c++11, cleanup, and notes
fix pvalink test sync
fix test cleanup on exit
pvalink disconnected link is always INVALID
pvalink logging
pvalink capture Disconnect time
pvalink eliminate providerName
  restrict local to dbChannelTest()
  aka. no qsrv groups
pvalink onTypeChange when attaching link to existing channel
pvalink eliminate unused Connecting state
pvalink add InstCounter
pvalink AfterPut can be const
pvalink add atomic jlif flag
include epicsStdio.h later
  avoid #define printf troubles
assert cleanup state on exit
pvalink add newer lset functions
test link disconnect
testpvalink redo testPutAsync()
pvalink fill out meta-data fetch
pvalink fix FLNK
pvalink cache putReq
pvalink test atomic monitor
pvalink test enum handling
pvalink handle scalar read of empty array
  make it well defined anyway...
pvalink test array of strings
handle db_add_event() failure
handle record._options.DBE
2023-11-20 10:59:44 -08:00
Simon Rose 5f48325890 pvalink: porting part 2
Fix pvaGetValue for string scalars
Remove pvaLink* variables
Move close() call to pvaGlobal_t from worker queue
Removed latch state
Update .gitignore to ignore VS code configuration
Add lset(pva) support for base 7.x
Remove pvalink support for base 3.x
Update cached value object in pvaLinkChannel::run
Removing queued state from pvaLikeChannel
Add debug functionality
Rename internal fields to match json spec
prepare for puts
Fix array response size
Add tests for pvalink properties
2023-11-20 10:59:44 -08:00
Michael Davidsaver c00938600e pvalink: porting part 1 2023-11-20 10:59:44 -08:00
Michael Davidsaver 1dcdd8e61a pvalink: import existing
from pva2pva f1a3db44158a239a44d14b99b7823f340e95d7e0
2023-11-20 10:59:44 -08:00