socket protocol
Cita da lscholl su 20 Dicembre 2024, 19:24Hi, where can I find a description of the socket protocol used by ot biolab+ and biolab light? is there a way to start and stop recording? is there a command to read the config for sampling frequency and packet frequency? I can't find these details in the user manuals.
Thanks!
Hi, where can I find a description of the socket protocol used by ot biolab+ and biolab light? is there a way to start and stop recording? is there a command to read the config for sampling frequency and packet frequency? I can't find these details in the user manuals.
Thanks!
Cita da Enrico su 23 Dicembre 2024, 10:38Hi, we have the communication protocols for every device, that you can find in the download section. We have also Matlab and Python script examples for the different devices. The softwares, OT BioLab+ or OT BioLab Light, are intended to be controlled through the PC user interface, mouse and keyboard. We don't have a way to control the software through a socket.
There are 3 options:
- control the acquisition and settings of any device using the set-up tool on OT BioLab+ or the new OTBioLab24
- control directly any device writing your own code in Python or Matlab starting from the device communication protocol and example scripts
- configure the device using the OT BioLab Light main window, start it and then get the data from Matlab or Python through the socket opened from OT BioLab Light
Let us know if you need more details.
Enrico
Hi, we have the communication protocols for every device, that you can find in the download section. We have also Matlab and Python script examples for the different devices. The softwares, OT BioLab+ or OT BioLab Light, are intended to be controlled through the PC user interface, mouse and keyboard. We don't have a way to control the software through a socket.
There are 3 options:
- control the acquisition and settings of any device using the set-up tool on OT BioLab+ or the new OTBioLab24
- control directly any device writing your own code in Python or Matlab starting from the device communication protocol and example scripts
- configure the device using the OT BioLab Light main window, start it and then get the data from Matlab or Python through the socket opened from OT BioLab Light
Let us know if you need more details.
Enrico
Cita da lscholl su 26 Dicembre 2024, 20:43ok, thanks for the info. in OT BioLab Light we can set the refresh frequency from 1 to 32 hz. Is there a way to set the refresh frequency in OT BioLab+ or BioLab24? What is the default refresh frequency for OT BioLab+ sending ascii data through the socket on port 31000?
ok, thanks for the info. in OT BioLab Light we can set the refresh frequency from 1 to 32 hz. Is there a way to set the refresh frequency in OT BioLab+ or BioLab24? What is the default refresh frequency for OT BioLab+ sending ascii data through the socket on port 31000?
Cita da Enrico su 27 Dicembre 2024, 10:07OT BioLab Light allows to set a refresh frequency because it has been designed to forward the data received from one of our devices to a script or application. Thus, you can set how many times per second you want the OT BioLab Light forward one packet to your script.
OT BioLab+ and OTBioLab24 can acquire data from one of our devices and store it on the hard drive. The two softwares can also show the signals online on the screen, but they have not been designed to forward data to another script or application. For this reason, you cannot set the refresh frequency on OT BioLab+ and OTBioLab24. The only option, especially if you want to have data as ascii, is to acquire data with OT BioLab+ or OTBioLab24 and offline export the files as .csv (Comma Separated Values).
OT BioLab Light allows to set a refresh frequency because it has been designed to forward the data received from one of our devices to a script or application. Thus, you can set how many times per second you want the OT BioLab Light forward one packet to your script.
OT BioLab+ and OTBioLab24 can acquire data from one of our devices and store it on the hard drive. The two softwares can also show the signals online on the screen, but they have not been designed to forward data to another script or application. For this reason, you cannot set the refresh frequency on OT BioLab+ and OTBioLab24. The only option, especially if you want to have data as ascii, is to acquire data with OT BioLab+ or OTBioLab24 and offline export the files as .csv (Comma Separated Values).
Cita da lscholl su 27 Dicembre 2024, 22:12I see, thank you. So there is no way to simultaneously record data in OT Biolab+ and also stream data over the network?
I see, thank you. So there is no way to simultaneously record data in OT Biolab+ and also stream data over the network?
Cita da Enrico su 28 Dicembre 2024, 14:35No, I don't think it is possible. I can double check with the software guys after January 6th.
No, I don't think it is possible. I can double check with the software guys after January 6th.