Commit Graph

83 Commits

Author SHA1 Message Date
d34844e76c 1746 trick view variable search causes large spike in cpu usage (#1786)
* Add new "greedy search" option to toggle multi-threaded variable search

* Back down to a single thread

* Fixed a typo.

---------

Co-authored-by: Hong Chen <hong.chen-1@nasa.gov>
2024-09-27 08:25:43 -05:00
d2ec14dc02 Wiki button (#1755)
* Added a wiki button

* Removed commented code

* Updated SCP image

---------

Co-authored-by: Pherring04 <plherrin@JSLRL0523040929.ndc.nasa.gov>
2024-08-27 15:03:33 -05:00
de1cb6740b Fixed the warning and error messages when toggling monte carlo (#1761) 2024-08-20 10:47:05 -05:00
14708ca9cc Issue-1677 Fix (#1688)
* Added timeout to control panel to variable server connection attempts

* Updated 127.0.0.1 to localhost
2024-04-18 13:46:05 -05:00
da0ddfcb89 Updated to get bsaf-1.9.2.jar locally instead of from maven repository. (#1667) 2024-03-13 10:21:50 -05:00
7547d36ab4 Repurpose the "Sim/Real Time" field on the sim control panel #1626 (#1627)
* Repurpose the "Sim/Real Time" field on the sim control panel #1626

Added calculations in the realtime sync monitor job to calculate the
average sim/realtime ratio for the past 100 frames.  This is saved to
a new variable, actual_run_ratio.  Changed the sim control panel to
display the actual_run_ratio value.

* Repurpose the "Sim/Real Time" field on the sim control panel #1626

how does this compile locally but not in CI?  Didn't include cmath.
2024-01-23 10:46:55 -06:00
dad8e3b872 Standardized error messaging in Sim Control Panel. (#1636)
* Standardized error messaging in Sim Control Panel.

* Allowed for a popup when in Lite mode

* Fixed the NullPointerException

* Cleaning up and documenting implementation.
2024-01-18 10:57:52 -06:00
cca7191129 1504 trick run summary enhancement for memory used (#1545)
* Added SIM RAM usage info to trick run summary.

* Fixed to use #if for determing which OS.

* Removed the system print out statement when MonitorHealthStatusTask is finished.

* Changed "M" to "MB" for RAM usage info on run summery.
2023-08-24 13:51:19 -05:00
c2e42f4ef4 Refactor and test Variable Server.
- Split VariableServerThread into VariableServerSession and VariableReference classes
- Use C++ streams for data handling
- Unit tests
2023-06-26 12:23:58 -05:00
cad38de0d6 Fix typo in ProductVar.java 2022-06-27 16:17:48 -05:00
2153eaa6f0 Add print statement back to configure. Tidy up GridLayout instnciation. #28 #1183 2021-08-30 12:30:35 -05:00
e487e5609f Initial excision of DMTCP from Trick. #28 2021-08-27 19:38:56 -05:00
edcacba00f Give trick-dre the capability to expand arrayed variables like trick-tv. #381 2021-04-29 14:29:18 -05:00
663f9937be remove Set Units field from TV closes #1014 2020-07-02 14:05:10 -05:00
6f85dc19b4 #960 fix launchQP 2020-02-21 13:51:44 -06:00
ea6ff1b233 fix TV bug where you could not convert multiple variables at the same time, also add set units field closes #940 2020-02-06 12:19:55 -06:00
4f5ce7e4a1 Maven, offline mode, and --enable-mongoose (#939)
closes #938 
closes #941 
closes #943
2020-02-05 14:31:58 -06:00
d92acb133d Cmake using http instead of https to download java files #937
Changed http to https.
2020-01-24 08:08:25 -06:00
0a19f19c90 #858 #262 allow manual entry of conversion unit for any compatible udunit in TV (#921)
* #858 #262 allow manual entry of conversion unit for any compatible udunit in TV

* #858 #262 remove combo boxes from unit conversion for consistancy and flexability when converting units
2020-01-02 13:28:42 -06:00
ce0cdc9636 Cmake merge (#901)
* Merging changes from cmake branch to master

* Fixing includes for renamed header files

* still need build rule

* Adding warning for swig code for gcc8+

* Adding CMakeLists.txt for data products

* Cmake merge #901

Making adjustments to get cmake working on the Mac (Mojave)

* Cmake merge #901

Changing string append to list append
2019-11-19 09:01:16 -06:00
5dd8fe4cf1 TrickView: Order enums according to S_sie.resource
Closes #860
2019-09-09 08:53:00 -05:00
d5544a5991 Correct decimal formatting for ints in TrickView
3032aae added fixed-width to binary formats. Looks like I modified
TVInteger's Decimal format instead of Binary.

Refs #661
2019-04-25 07:29:58 -05:00
35b4cf7880 fix right click in java uis 2019-01-24 16:19:01 -06:00
00b4b2c8d9 Fix incorrect initialization of units in trick-qp, and incorrect generation of XML that caused fermi tables to crash. (#666) 2018-09-13 14:00:29 -05:00
fcbd99aaf4 Two Java plot fixes (#665)
* MinY and MaxY of Plot axis should never be the same, even with flatline data.

* In addition to a null check, add a empty units String check.
2018-09-06 14:46:08 -05:00
c112290265 Replace iText Java PDF library with PDFBox. (#664) 2018-09-04 16:59:06 -05:00
3032aae3e4 Trick View: use fixed width for binary format
Closes #661
2018-08-28 08:22:56 -05:00
a6274680a5 #647 update depricated code 2018-07-13 15:15:35 -05:00
62f95e784f Default exit confirmation dialog to off
Worst feature ever.

Closes #612
2018-05-07 08:10:31 -05:00
af6727408c Limit log file size (#594)
* #585 create new method to set max file size for DataRecordGroups.  Needs testing and DRD interface function

* #585 dre implementation and other improvements, needs more work

* #585 update dre, add intf for drd max size functions. Still requires better comments, wiki updates, some refactoring, and testing

* #585 refactor trick-dre

* format trick-dre

* improve readability of dre output for set_max_file_size
2018-04-10 16:02:44 -05:00
a1aaf52ce7 #521 preparation for java 10 support for xmls annotation and improved safety of file separator call 2018-03-21 08:27:11 -05:00
a2cf18f6d3 Added needed module compiler flags and changed MtvView Vector<Object> to Vector<Vector> for Java 9 DefaultTableModel constructor compatibility 2018-03-02 09:19:11 -06:00
bb2c6fbb91 Double clicking array variable in Trick QP adds it correctly once again.
Fixes #539
2018-01-14 20:32:46 -06:00
eba6118c92 Remove Line# from data products java table generation. Ref #497 2017-10-26 13:23:00 -05:00
41558d7188 Format table column data per the format property. Ref #496 2017-10-25 18:17:02 -05:00
87e59a9d17 Add reverse byte order formats to Trick View
Format added for shorts, ints, and longs.

Closes #482
2017-10-03 12:02:21 -05:00
841473583c Updated var server multicast address to 239.3.14.15. Ref #452 2017-07-05 16:40:22 -05:00
87423ec5aa Add option to hide search and tree panels
Restore previous size of Variable Tree and Search Panel when visibility
is restored.
Save/restore visibility across sessions.
Add mnemonics and tooltips to menu items.
Ensure the Variable Tree is visible as part of the "Expand Parent in
Tree" actions.
Remove calls to setOneTouchExpandable.

Refs #415
2017-06-21 08:16:09 -05:00
38960e6505 Made brackets consistent on modificaitons. 2017-06-21 08:16:09 -05:00
12e74744b6 Changed the view menu items into checkbox menu items.
The two view menu toggles are now checkbox menu items. The default state is enabled and is toggled when the option is selected.
2017-06-21 08:16:09 -05:00
70369fdb71 Added menu options to toggle the visibility of Trick View panes.
This currently doesn't work 100% properly. It will toggle fine, but when showing the panels it starts them collapsed. Resizing the pane causes them to appear for some reason.
2017-06-21 08:16:09 -05:00
57cebe4c70 s/sepcified/specified 2017-06-16 13:58:45 -05:00
8fb1355de3 +-NaN and +-Infinity are now correctly represented in Trick View. (#437)
* Values that return "-nan" will now properly show <NaN> in the Trick View variable table.

* +-NaN and +-Infinity are now correctly represented in Trick View.

This solution now handles +- infinity and +-nan instead of just -nan.

* Lifted fix logic into a protected function in the super class.

Removed author/date information.
Put duplicate code from VSFLoat and VSDouble into VSValue.
Added support for -NaN.
2017-06-08 12:09:39 -05:00
af6b8cbea8 Capped the maximum throttle value to 1000. (#434)
* Capped the maximum throttle value to 1000.

Entering extremely large values into the maximum value field of the throttle GUI caused the GUI to freeze. Imposing a cap of 1000 to the maximum value prevents the GUI from freezing.

* Updated brace style from Allman to K&R.
2017-06-06 09:08:10 -05:00
c5fbaeb7d6 Fix fonts in java GUIs #192
I fixed a hard coded size=12 font in the sim control panel.
2017-03-13 11:10:24 -05:00
9fdb5d4c51 Merge input and error streams for plotting apps
Refs #355
2016-11-29 15:59:36 -06:00
4281b92141 Fix MonteMonitor
Refs #354
2016-11-29 11:28:15 -06:00
eedd0783cd Replace multiple radian units with single instance
One of the constructor parameters enables automatic creation of
SI-prefixed versions of the root unit, which obviates the need to
create them individually.

Refs #345
2016-11-07 08:22:55 -06:00
2248b5bcfa Remove unused variables. Normalize formatting.
Refs # 345
2016-11-04 15:56:51 -05:00
de69363cbd Improve formatting
Remove trailing whitespace. Replace tabs with spaces.

Refs #345
2016-11-04 15:48:29 -05:00