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 currently in use by an external application display the external session icon () in the Edit Layout window.

Note Debugging is enabled by default. If a device fails to enter debug mode, confirm that debugging is enabled. Open the Configure Debug Session window from the instrument header menu and check the Debug Enabled box for the device that you want to debug. 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.