The File Viewer component provides a quick means to include trace displays in a host program. File Viewer supports four modes of operation – Trace Array, Local File System, Remote File System, and Channel Power Measurement (.cpm) Files.
Trace Array
When using Trace Array mode, the side panel will normally be hidden, and possibly the spectrogram as well. Trace Array mode allows for a simple trace viewer without file system navigation. If you leave the side panel visible, the user can select a different file mode and change what is shown in the trace window. Trace Array mode is typically used when the trace source is not a standard spectrum monitor or Vision files. For example, traces can be captured using the SCPI interface to the remote spectrum monitor and displayed without using either the RSM file format or the CPM file format.
To use Trace Array mode, hide the side panel and spectrogram panels and call the SetTraceData method. You will need to supply the start and stop frequencies, the desired reference level, and optionally timestamp and GPS coordinates for each trace.
Trace Array Mode
Local File System
Local file system allows the user to browse for spectrum monitor files already downloaded and stored on the local file system. You can lock the user into a particular path on the local file system by hiding the side panel. If the side panel is not visible, the application will have to provide an alternative means for setting the filename(s) to be displayed.
Local File System
Remote File System
Remote File system provides a simple means for viewing and downloading measurement files stored on a remote spectrum monitor. You can make the side panel visible, which allows users to browse directly for different target receivers. Alternatively, you can hide the side panel, while providing an alternate means in the host application to select the Hostname.
Remote File System
Channel Power Measurement (*.cpm) files.
Channel Power Measurement files are created by the Vision High-Speed Channel Scanner API. You can make the side panel visible, allowing users to browse directly for CPM files, or hide the side panel and provide an alternate means in the host application to select a file.