--Convert the value under the LogRegister column from Decimal to Hex to determine the LogHandle as shown in Diagnostics Viewer and for configuration in LogAcquisitionControl.xml
USE ION_Data
SELECT Recorder.Label, RecorderState.LogRegister
FROM Recorder
LEFT JOIN RecorderState
ON Recorder.ID = RecorderState.RecorderID
WHERE Recorder.SourceID IN (SELECT ID FROM Source WHERE DisplayName = 'Group.DeviceName')
ORDER BY Label ASC