Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Data acquisition package/toolbox in Julia or Python

Tags:

python

julia

Are there any toolbox or package in Julia which is similar to the data acquisition toolbox of Matlab? In Python I encountered Pyserial. Are there more?

like image 345
MOON Avatar asked Apr 29 '26 10:04

MOON


1 Answers

You can call pySerial directly from Julia via the PyCall.jl package.

To make life easier pySerial is easily available as SerialPorts.jl Julia package, so the setup should be straight forward. Please note that this package is not yet translated to Julia 1.0. However it installs (with warnings) under Julia 0.7.

Note that pySerial is using Java Communications API (JavaComm) so another option is to download JavaComm from Oracle and use it via JavaCall.jl API. This is easy if you have some basic knowledge of Java (requires reading and understanding Java docs).

From Julia you can also call directly C libraries. One such library is libserialport. It has been already repackaged for Julia as LibSerialPort.jl.

like image 56
Przemyslaw Szufel Avatar answered May 05 '26 09:05

Przemyslaw Szufel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!