T O P I C R E V I E W |
AKazak |
Posted - 07/30/2020 : 08:29:01 AM OriginPro 2020b (64-bit) 9.7.5.184 Windows 7 Pro x64 SP1
Greetings!
I was thinking to connect Origin to my lab analytic scale via RS-232 to fetch the weighting results in real-time. What is the current approach to implementing this?
Thank you.
--- AK |
6 L A T E S T R E P L I E S (Newest First) |
AKazak |
Posted - 07/31/2020 : 06:22:27 AM quote: Originally posted by cpyang
We will update the blog we published in 2015 to show how in more current Python status.
We will show both from external Python and use Auto Import with CSV Connector, as well as using Python inside Origin.
CP
OK. I will be checking the blog on a regular basis. Do you plan to implement directly COM port connectivity?
--- AK |
cpyang |
Posted - 07/30/2020 : 2:08:25 PM We will update the blog we published in 2015 to show how in more current Python status.
We will show both from external Python and use Auto Import with CSV Connector, as well as using Python inside Origin.
CP
|
AKazak |
Posted - 07/30/2020 : 1:02:52 PM quote: Originally posted by Chris D
We don't support connecting to COM ports either via LabTalk or Origin C and even if we did, you'd still need to write code to convert signal to data.
Hence my suggestion to look at Python for your solution.
Thanks, Chris Drozdowski Originlab Technical Support
Do you mean to find an external Python library that is capable of connecting to COM ports?
--- AK |
Chris D |
Posted - 07/30/2020 : 11:04:14 AM We don't support connecting to COM ports either via LabTalk or Origin C and even if we did, you'd still need to write code to convert signal to data.
Hence my suggestion to look at Python for your solution.
Thanks, Chris Drozdowski Originlab Technical Support
|
AKazak |
Posted - 07/30/2020 : 10:09:08 AM quote: Originally posted by Chris D
We have vi's for LabView.
Alternately, if there is a Python interface to the piece of equipment, you may use try to it from within 2021 Beta's Python support.
Thanks, Chris Drozdowski Originlab Technical Support
Currently, I don't control the scale via LabView or Python. Can I connect to the scale via RS-232 seen as COM 1 port? This seems to be the simplest way to get the data in text format and then parse it to columns.
--- AK |
Chris D |
Posted - 07/30/2020 : 08:31:43 AM We have vi's for LabView.
Alternately, if there is a Python interface to the piece of equipment, you may use try to it from within 2021 Beta's Python support.
Thanks, Chris Drozdowski Originlab Technical Support
|