InstrumentStudio has debug mode enabled by default. You can enter debug mode from the Home screen by selecting Debug. With this method, InstrumentStudio searches for open device driver sessions. Then, based on the result of this search, InstrumentStudio creates a new layout. The devices in the newly created layout automatically enter debug mode.

You can also enter debug mode while an InstrumentStudio project is already open. With this method, a device that is in use by an external session automatically enters debug mode in the following cases:
  • The device is placed in a layout
  • The device is already part of an active layout

Take, for example, a scenario where you run an oscilloscope in an InstrumentStudio panel alongside a LabVIEW application that acquires measurements from that oscilloscope. In this case, the InstrumentStudio panel enters debug mode until the LabVIEW application (the external session using the oscilloscope) closes.

Devices that are currently in use by an external application display the external session icon (Icon of a play button and a check mark that represents an external session.) in the Edit Layout window.

Note If a device cannot enter debug mode, debug mode might be disabled. You can enable debug mode in the following way:
  1. Select Configure debug session from the instrument settings menu (A cogwheel icon for the instrument settings menu of InstrumentStudio.). The Configure Debug Session window opens.
  2. Fill the Configure Debug Session checkbox next to the device that you want to debug.
  3. Click OK.
If you change settings in the Configure Debug Session window while an external session is open, you must restart the external session to apply the changes.