Hello, I'm new here, I lived in France. So apologize for my poor English
I've just finished a Solar Seeing Monitor + VB.NET software for Solar Imaging.
This device send datas from serial port : 3 datas average, flux and seeing.
No problem to record with JSON file, VB, or internal log file (dat or csv).
I would like to know if it's possible to declare import serial in the IronPy scripting interface and manage some external data to customize my capture. In other words is it possible to read serial port with a py script in Sharpcap using serial module.
Thanks !
JJ
Sharpcap with Solar Monitor.
- admin
- Site Admin
- Posts: 13319
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Sharpcap with Solar Monitor.
Hi,
Yes, that should be possible – you will need to use the .Net framework classes to access the serial port rather than the native Python way of doing it. Have a look at this page which details someone else who succeeded in getting the serial ports to work using IronPython
http://python.6.x6.nabble.com/serial-po ... 79246.html
Hope this helps, Robin
Yes, that should be possible – you will need to use the .Net framework classes to access the serial port rather than the native Python way of doing it. Have a look at this page which details someone else who succeeded in getting the serial ports to work using IronPython
http://python.6.x6.nabble.com/serial-po ... 79246.html
Hope this helps, Robin
Re: Sharpcap with Solar Monitor.
Thanks !
it perfectly works in IronPy, with an "ipy script.py" in cmd line under W10.
Now I've got to check it in SharpCap to split data as good as possible to launch capture with a criteria of good seeing .
it perfectly works in IronPy, with an "ipy script.py" in cmd line under W10.
Now I've got to check it in SharpCap to split data as good as possible to launch capture with a criteria of good seeing .