When a Saleae Logic device is not connected to the PC while the Logic 2 software is running, an option is provided to run the software in Demo Mode. This allows users to test the capabilities of the software without having to own our logic analyzer.
In this mode, when a data capture is run, randomly generated simulation data will populate the recording as shown below.
By default, when an analyzer is added to digital channels while in Demo mode, the simulation data on those digital channels will continue to contain random transitions and will not contain analyzer-specific data.
In order to generate analyzer-specific simulation data, you can run the following commands in the command line to open the software with simulation data enabled for analyzers.
This is assuming the Logic2 app is installed under Program Files.
set ENABLE_SIMULATION=1cd C:\Program Files\LogicLogic.exe
This is assuming the Logic2 app is located on your Desktop.
export ENABLE_SIMULATION=1cd Desktop/Logic2.app/Contents/MacOS./Logic
Once the software is run in this manner, the proper simulation data for added analyzers will be generated when running a demo capture as shown below.
export ENABLE_SIMULATION=1 and
set ENABLE_SIMULATION=1 will set an environment variable that lasts just for that terminal session. Other terminals won't see it, and when you close that terminal, the setting will be reset. Any application started from that terminal after that environment variable was set will see that variable and run accordingly.
The reason we added this is because we simply haven't tested this feature completely yet. Ideally, once we fully verify that this works properly, we plan to enable this setting by default. Until then, feel free to contact us if you run into any issues with this!
If you are using the older Logic 1.x software, the following images and instructions apply.
When the software is not connected to a Saleae Logic device, it switches into simulation mode so potential users can explore the features of the software before deciding to buy the unit.
In simulation mode, the title bar will say [Disconnected] and the green button will say Start Simulation.
When you click Start Simulation, the capture will proceed, and the results will contain data that appear to transition randomly.
If any protocol analyzers were added to the session before the simulation mode was run, then clicking Start Simulation will generate valid protocol data. This is useful to demonstrate the functionality of each protocol analyzer, without having to record real protocol data using the Logic hardware. In the example below, we have added an the Async Serial Analyzer to Channel 0. Afterwards, clicking Start Simulation will generate serial data as shown.