Viewerframe Mode Refresh !!install!! ✓

// Step 2: Store the current operational mode const currentMode = viewer.getViewerMode(); // Returns 'realtime' or 'buffer'

A robust viewerframe mode refresh follows this sequence: viewerframe mode refresh

Ensure the source data path is active and accessible. // Step 2: Store the current operational mode