Save batch file to one LSL recording


Author
Message
astovall
astovall
New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)
Group: Forum Members
Posts: 8, Visits: 32
Dave - 10/6/2025
astovall - 9/26/2025
Dave - 9/25/2025
Recording multiple batched tasks to a single LSL Recorder session should work in the next version (7.1.3). I'm not entirely sure when that will be released. It shouldn't be too long and I will post an update here once it's out.

Great, thank you!!

I did fully test your suggestion to run Inquisit LSL Monitor along with Lab Recorder, but that still did not resolve the issues like I had initially thought it would. The result was the same as if only Lab Recorder was running, in which events are only saved for the first task. Running from a Windows batch file resolves the issue, so that is the workaround I will use until version 7.1.3 is released.

We released Inquisit Lab 7.1.3 over the weekend: https://www.millisecond.com/download/

Please give this a test at your earliest convenience and let us know if you're still seeing any issues with single-session recording.

I just tested Inquisit Lab 7.1.3 and all is working well. Thank you for your help, I appreciate it!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
astovall - 9/26/2025
Dave - 9/25/2025
Recording multiple batched tasks to a single LSL Recorder session should work in the next version (7.1.3). I'm not entirely sure when that will be released. It shouldn't be too long and I will post an update here once it's out.

Great, thank you!!

I did fully test your suggestion to run Inquisit LSL Monitor along with Lab Recorder, but that still did not resolve the issues like I had initially thought it would. The result was the same as if only Lab Recorder was running, in which events are only saved for the first task. Running from a Windows batch file resolves the issue, so that is the workaround I will use until version 7.1.3 is released.

We released Inquisit Lab 7.1.3 over the weekend: https://www.millisecond.com/download/

Please give this a test at your earliest convenience and let us know if you're still seeing any issues with single-session recording.

astovall
astovall
New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)
Group: Forum Members
Posts: 8, Visits: 32
Dave - 9/25/2025
Recording multiple batched tasks to a single LSL Recorder session should work in the next version (7.1.3). I'm not entirely sure when that will be released. It shouldn't be too long and I will post an update here once it's out.

Great, thank you!!

I did fully test your suggestion to run Inquisit LSL Monitor along with Lab Recorder, but that still did not resolve the issues like I had initially thought it would. The result was the same as if only Lab Recorder was running, in which events are only saved for the first task. Running from a Windows batch file resolves the issue, so that is the workaround I will use until version 7.1.3 is released.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
Recording multiple batched tasks to a single LSL Recorder session should work in the next version (7.1.3). I'm not entirely sure when that will be released. It shouldn't be too long and I will post an update here once it's out.

astovall
astovall
New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)
Group: Forum Members
Posts: 8, Visits: 32
Dave - 9/24/2025
astovall - 9/24/2025
Dave - 9/24/2025
astovall - 9/23/2025
Hello,

I am running a batch file of three different task scripts. Each individual task script opens LSL ports to send events during the task, and I am wanting all events to save to one LSL recording. However, when I run the batch file, I get the "waiting for consumers" notification at the start of each task, which indicated to me that it was looking for a new LSL recording for each task. After reviewing the Lab Recorder data, I confirmed that only the first task in the batch file was successfully saved to the LSL recording. Is there a way to save events from all tests in a batch file to one LSL recording?

Thank you.

Just tried this with the following setup:
- Two tasks sending LSL markers batched on an Android device.
- Inquisit Lab LSL Monitor running on a Windows box.
- Both running version 7.1.2.
- Both connected to the same wireless network.

Result:
Both tasks send markers as expeced, and markers from both tasks are registered in the LSL Monitor.

As long as the the app can locate an LSL consumer on the network, it should just work.

Dave - 9/24/2025
astovall - 9/23/2025
Hello,

I am running a batch file of three different task scripts. Each individual task script opens LSL ports to send events during the task, and I am wanting all events to save to one LSL recording. However, when I run the batch file, I get the "waiting for consumers" notification at the start of each task, which indicated to me that it was looking for a new LSL recording for each task. After reviewing the Lab Recorder data, I confirmed that only the first task in the batch file was successfully saved to the LSL recording. Is there a way to save events from all tests in a batch file to one LSL recording?

Thank you.

Just tried this with the following setup:
- Two tasks sending LSL markers batched on an Android device.
- Inquisit Lab LSL Monitor running on a Windows box.
- Both running version 7.1.2.
- Both connected to the same wireless network.

Result:
Both tasks send markers as expeced, and markers from both tasks are registered in the LSL Monitor.

As long as the the app can locate an LSL consumer on the network, it should just work.

Thank you for your reply!

My setup is as follows:
-    Three tasks sending LSL markers batched on a Windows tablet, running Inquisit Lab 7.1.1
-    Lab Recorder running on a Windows laptop
-    Tablet and laptop connected to same wireless network

Result:
All tasks send markers as expected, but only markers from the first task are registered in Lab Recorder. For the first task, the “waiting for consumers” box disappears automatically (I assume this happens when it finds the Lab Recorder consumer), and Lab Recorder successfully registers events. For the second and third tasks, the “waiting for consumers” box does NOT disappear until I click Continue, and no events are registered.

If I stop Lab Recorder when the “waiting for consumers” box pops up for the second and third tasks and then restart again, the box automatically disappears and all events are saved (but events are saved in a separate file for each task; I just tried this for testing, but I can’t do this for my purposes).

If I start recording in Lab Recorder first, then run each task individually (by clicking on each *.iqx file to run, then closing Inquisit after each test before clicking the next file to run), Lab Recorder registers all events and the “waiting for consumers” box disappears automatically for each task, as expected. When Inquisit is closed between each test, Lab Recorder warns that it lost the stream, but then finds it again when the next script is ran (I do NOT get this warning for my original setup above).

However, if I do the same as above but I run each script through the Inquisit app (instead of clicking each Inquisit file to run and closing Inquisit in-between), the same issues arise. Only the first test is registered in Lab Recorder. Events from the other tests aren’t registered and the “waiting for consumers” button doesn’t disappear automatically. Lab Recorder does NOT give a warning that it lost the stream between tests.

I also tried using Inquisit Lab LSL Monitor instead of Lab Recorder while running the batch file of three tests. This works just as you described. All markers are registered and the “waiting for consumer” box disappears automatically for each task.

The following trick might work:
(0) Start the batch.
(1) Start recoding the stream with Lab Recorder as usual.
(2) After that, put the Inqusit LSL Monitor in receiving mode.
(3) Run through all the tasks and check whether the Lab Recorder recording is complete.

I tried this, and it seemed like it was going to work ("waiting for consumers" box closed automatically for all tasks). However, there was a lag with the events coming in through Inquisit LSL Monitor (I noticed this with my previous testing, too). Even though all tests had finished, LSL Monitor was still showing events from the first task coming through. When I checked the recording, it only had events for the first task (I assume up to the point where LSL Monitor was still pulling them in when I stopped the recording). I assume if I let Inquisit LSL Monitor catch up before stopping Lab Recorder, it might've worked (I will test this right now to confirm), but not a practical solution for my purposes. If there is a way to fix the lag, this could be a workable solution for me.

Another workaround that I found was to run the tests with a Windows batch file instead of an Inquisit batch file. There seems to be some disconnect between an Inquisit batch file and Lab Recorder, where Lab Recorder doesn't recognize that the Inquisit stream has been closed/reopened for each task. It looks like the Windows batch file works and saves all events, however now I'm struggling with command-line arguments to call the tests in the way that I’d like. I’m trying the following:

set /p SubID=Enter SubjectID:
set /p GroupID=Enter GroupID:
start /w "C:\Program Files\Millisecond\Inquisit 7\Inquisit.exe" "C:\MyInquisitScripts\Test#1.iqx" -s %SubID% -g %GroupID%
start /w "C:\Program Files\Millisecond\Inquisit 7\Inquisit.exe" "C:\MyInquisitScripts\Test#2.iqx" -s %SubID% -g %GroupID%
start /w "C:\Program Files\Millisecond\Inquisit 7\Inquisit.exe" "C:\MyInquisitScripts\Test#3.iqx" -s %SubID% -g %GroupID%

I added the “start /w” to the beginning of each command to wait until each test closes before running the next one. However, this seems to interfere with the SubjectID and GroupID parameters, and the prompt box still pops up when each task runs. If I remove the “start /w”, the provided subjectID and groupID are accepted and no prompt box pops up, however all tasks run at the same time in three different Inquisit windows. Additionally, I'm also not sure how to run the three scripts in a random order.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
astovall - 9/24/2025
Dave - 9/24/2025
astovall - 9/23/2025
Hello,

I am running a batch file of three different task scripts. Each individual task script opens LSL ports to send events during the task, and I am wanting all events to save to one LSL recording. However, when I run the batch file, I get the "waiting for consumers" notification at the start of each task, which indicated to me that it was looking for a new LSL recording for each task. After reviewing the Lab Recorder data, I confirmed that only the first task in the batch file was successfully saved to the LSL recording. Is there a way to save events from all tests in a batch file to one LSL recording?

Thank you.

Just tried this with the following setup:
- Two tasks sending LSL markers batched on an Android device.
- Inquisit Lab LSL Monitor running on a Windows box.
- Both running version 7.1.2.
- Both connected to the same wireless network.

Result:
Both tasks send markers as expeced, and markers from both tasks are registered in the LSL Monitor.

As long as the the app can locate an LSL consumer on the network, it should just work.

Dave - 9/24/2025
astovall - 9/23/2025
Hello,

I am running a batch file of three different task scripts. Each individual task script opens LSL ports to send events during the task, and I am wanting all events to save to one LSL recording. However, when I run the batch file, I get the "waiting for consumers" notification at the start of each task, which indicated to me that it was looking for a new LSL recording for each task. After reviewing the Lab Recorder data, I confirmed that only the first task in the batch file was successfully saved to the LSL recording. Is there a way to save events from all tests in a batch file to one LSL recording?

Thank you.

Just tried this with the following setup:
- Two tasks sending LSL markers batched on an Android device.
- Inquisit Lab LSL Monitor running on a Windows box.
- Both running version 7.1.2.
- Both connected to the same wireless network.

Result:
Both tasks send markers as expeced, and markers from both tasks are registered in the LSL Monitor.

As long as the the app can locate an LSL consumer on the network, it should just work.

Thank you for your reply!

My setup is as follows:
-    Three tasks sending LSL markers batched on a Windows tablet, running Inquisit Lab 7.1.1
-    Lab Recorder running on a Windows laptop
-    Tablet and laptop connected to same wireless network

Result:
All tasks send markers as expected, but only markers from the first task are registered in Lab Recorder. For the first task, the “waiting for consumers” box disappears automatically (I assume this happens when it finds the Lab Recorder consumer), and Lab Recorder successfully registers events. For the second and third tasks, the “waiting for consumers” box does NOT disappear until I click Continue, and no events are registered.

If I stop Lab Recorder when the “waiting for consumers” box pops up for the second and third tasks and then restart again, the box automatically disappears and all events are saved (but events are saved in a separate file for each task; I just tried this for testing, but I can’t do this for my purposes).

If I start recording in Lab Recorder first, then run each task individually (by clicking on each *.iqx file to run, then closing Inquisit after each test before clicking the next file to run), Lab Recorder registers all events and the “waiting for consumers” box disappears automatically for each task, as expected. When Inquisit is closed between each test, Lab Recorder warns that it lost the stream, but then finds it again when the next script is ran (I do NOT get this warning for my original setup above).

However, if I do the same as above but I run each script through the Inquisit app (instead of clicking each Inquisit file to run and closing Inquisit in-between), the same issues arise. Only the first test is registered in Lab Recorder. Events from the other tests aren’t registered and the “waiting for consumers” button doesn’t disappear automatically. Lab Recorder does NOT give a warning that it lost the stream between tests.

I also tried using Inquisit Lab LSL Monitor instead of Lab Recorder while running the batch file of three tests. This works just as you described. All markers are registered and the “waiting for consumer” box disappears automatically for each task.

The following trick might work:
(0) Start the batch.
(1) Start recoding the stream with Lab Recorder as usual.
(2) After that, put the Inqusit LSL Monitor in receiving mode.
(3) Run through all the tasks and check whether the Lab Recorder recording is complete.
astovall
astovall
New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)
Group: Forum Members
Posts: 8, Visits: 32
Dave - 9/24/2025
astovall - 9/23/2025
Hello,

I am running a batch file of three different task scripts. Each individual task script opens LSL ports to send events during the task, and I am wanting all events to save to one LSL recording. However, when I run the batch file, I get the "waiting for consumers" notification at the start of each task, which indicated to me that it was looking for a new LSL recording for each task. After reviewing the Lab Recorder data, I confirmed that only the first task in the batch file was successfully saved to the LSL recording. Is there a way to save events from all tests in a batch file to one LSL recording?

Thank you.

Just tried this with the following setup:
- Two tasks sending LSL markers batched on an Android device.
- Inquisit Lab LSL Monitor running on a Windows box.
- Both running version 7.1.2.
- Both connected to the same wireless network.

Result:
Both tasks send markers as expeced, and markers from both tasks are registered in the LSL Monitor.

As long as the the app can locate an LSL consumer on the network, it should just work.

Dave - 9/24/2025
astovall - 9/23/2025
Hello,

I am running a batch file of three different task scripts. Each individual task script opens LSL ports to send events during the task, and I am wanting all events to save to one LSL recording. However, when I run the batch file, I get the "waiting for consumers" notification at the start of each task, which indicated to me that it was looking for a new LSL recording for each task. After reviewing the Lab Recorder data, I confirmed that only the first task in the batch file was successfully saved to the LSL recording. Is there a way to save events from all tests in a batch file to one LSL recording?

Thank you.

Just tried this with the following setup:
- Two tasks sending LSL markers batched on an Android device.
- Inquisit Lab LSL Monitor running on a Windows box.
- Both running version 7.1.2.
- Both connected to the same wireless network.

Result:
Both tasks send markers as expeced, and markers from both tasks are registered in the LSL Monitor.

As long as the the app can locate an LSL consumer on the network, it should just work.

Thank you for your reply!

My setup is as follows:
-    Three tasks sending LSL markers batched on a Windows tablet, running Inquisit Lab 7.1.1
-    Lab Recorder running on a Windows laptop
-    Tablet and laptop connected to same wireless network

Result:
All tasks send markers as expected, but only markers from the first task are registered in Lab Recorder. For the first task, the “waiting for consumers” box disappears automatically (I assume this happens when it finds the Lab Recorder consumer), and Lab Recorder successfully registers events. For the second and third tasks, the “waiting for consumers” box does NOT disappear until I click Continue, and no events are registered.

If I stop Lab Recorder when the “waiting for consumers” box pops up for the second and third tasks and then restart again, the box automatically disappears and all events are saved (but events are saved in a separate file for each task; I just tried this for testing, but I can’t do this for my purposes).

If I start recording in Lab Recorder first, then run each task individually (by clicking on each *.iqx file to run, then closing Inquisit after each test before clicking the next file to run), Lab Recorder registers all events and the “waiting for consumers” box disappears automatically for each task, as expected. When Inquisit is closed between each test, Lab Recorder warns that it lost the stream, but then finds it again when the next script is ran (I do NOT get this warning for my original setup above).

However, if I do the same as above but I run each script through the Inquisit app (instead of clicking each Inquisit file to run and closing Inquisit in-between), the same issues arise. Only the first test is registered in Lab Recorder. Events from the other tests aren’t registered and the “waiting for consumers” button doesn’t disappear automatically. Lab Recorder does NOT give a warning that it lost the stream between tests.

I also tried using Inquisit Lab LSL Monitor instead of Lab Recorder while running the batch file of three tests. This works just as you described. All markers are registered and the “waiting for consumer” box disappears automatically for each task.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
astovall - 9/23/2025
Hello,

I am running a batch file of three different task scripts. Each individual task script opens LSL ports to send events during the task, and I am wanting all events to save to one LSL recording. However, when I run the batch file, I get the "waiting for consumers" notification at the start of each task, which indicated to me that it was looking for a new LSL recording for each task. After reviewing the Lab Recorder data, I confirmed that only the first task in the batch file was successfully saved to the LSL recording. Is there a way to save events from all tests in a batch file to one LSL recording?

Thank you.

Just tried this with the following setup:
- Two tasks sending LSL markers batched on an Android device.
- Inquisit Lab LSL Monitor running on a Windows box.
- Both running version 7.1.2.
- Both connected to the same wireless network.

Result:
Both tasks send markers as expeced, and markers from both tasks are registered in the LSL Monitor.

As long as the the app can locate an LSL consumer on the network, it should just work.
astovall
astovall
New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)
Group: Forum Members
Posts: 8, Visits: 32
Hello,

I am running a batch file of three different task scripts. Each individual task script opens LSL ports to send events during the task, and I am wanting all events to save to one LSL recording. However, when I run the batch file, I get the "waiting for consumers" notification at the start of each task, which indicated to me that it was looking for a new LSL recording for each task. After reviewing the Lab Recorder data, I confirmed that only the first task in the batch file was successfully saved to the LSL recording. Is there a way to save events from all tests in a batch file to one LSL recording?

Thank you.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search