Preparing the Executable for Visualizing Data - QuanergySystems/quanergy_client GitHub Wiki

Preparing the Executable for Visualizing Data

In order to collect data, you need to have an All Build project open and running, as explained below:

  1. Open the Visual Studio application from the Microsoft Start menu (Figure 40).
  • The Visual Studio application window opens with a Start Page window of relevant news links (Figure 23). Click Start Page tab’s X button to close the news tab.

  • Figure 40 calls out important GUI features of the application as it will look later in the process.

 Figure 40. Visual Studio Application Window (bottom) with Enlarged Menu Bar (top)

  1. In the upper left corner of the menu bar, click the File menu, hover over the menu’s Open item, and select the Project/Solution... item, as shown in Figure 41.

 Figure 41. Visual Studio Opening a Project/Solution

  1. In the Open Project window that appears (Figure 42), navigate to C:\quanergy_client-master\Build\ALL_BUILD and click the Open button.

 Figure 42. Visual Studio Opening the All Build Project

  1. The Solution Explorer window and Properties window (Figure 40) now populate the right side of the screen. If they do not appear:
  • Click the Window tab in the menu bar (Figure 41).
  • From the drop-down menu, select the Reset Window Layout item.
  • From the Are you sure you want to... dialog box, click the Yes button.
  1. For the Debug Build. On the menu bar are two white fields (Figure 40):
  • If the Debug item is not visible in the left white field (called the Solution Configurations field when you hover over it), click that field’s down arrow, and select the Debug item in the drop-down menu, so that it is displayed as shown in Figure 40.

  • In the Solution Explorer window, right-click the ALL_BUILD solution, and select the Build item from the pop-up menu (Figure 43). The Visualizer application is placed in C:\quanergy_client-master\Build\Debug\ (Figure 44 top).

  • If any errors are produced when building the Debug version of the visualizer, step through the code using the Debugger, and fix them before creating the Release version.

 Figure 43. Visual Studio Choose All Build Project

 Figure 44. Visual Studio Visualizer Application in Debug (top), Release (bottom) Folders

  1. For the Release Build. On the menu bar:
  • Open the drop-down menu in the Solution Configurations field and change the selected item from Debug to Release, as shown in Figure 40.

  • In the Solution Explorer window, right-click the ALL_BUILD solution, and select the Build item from the pop-up menu (Figure 43). The Visualizer application is placed in C:\quanergy_client-master\Build\Release\ (Figure 44 bottom).

  1. By now, the quanergy_client-master Build folder should have all items shown in Figure 45.

  2. Click the X button in the upper right corner to quit Visual Studio.

 Figure 45. Contents of quanergy_client-master Build Folder