The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Serial Port / USB
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tinkusch

Germany
94 Posts

Posted - 09/03/2015 :  03:51:11 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin 2015 Pro and Service Release Sr2
Operating System: WIN 7

Hi,
are there any new tools, libraries, example code etc. about handling of RS 232, USB ports in Labtalk or Origin C?
Is it possible to have more than one port opened?
Thanks and bye
Stefan

cpyang

USA
1406 Posts

Posted - 09/03/2015 :  8:18:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Will this help?

http://blog.originlab.com/data-handling/import-data-from-hp-multimeter-into-origin-using-pyserial

CP
Go to Top of Page

tinkusch

Germany
94 Posts

Posted - 09/04/2015 :  10:37:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I get the following error message in the script window after clicking the button:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\username\Documents\OriginLab\2015\Anwenderdateien\PyserialToWorksheet.py", line 4, in <module>
import serial
ImportError: No module named 'serial'


The file PyserialToWorksheet.py" does indeed not contain a modul "serial"??
Go to Top of Page

YimingChen

1598 Posts

Posted - 09/04/2015 :  12:54:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The error message indicates that pySerial module wasn't installed correctly. Did you manage to install pySerial module? If not, please follow the steps in "installation of pySerial module" in
http://blog.originlab.com/data-handling/import-data-from-hp-multimeter-into-origin-using-pyserial
Please let us know if you have questions during installation, Thanks!!

quote:
Originally posted by tinkusch

I get the following error message in the script window after clicking the button:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\username\Documents\OriginLab\2015\Anwenderdateien\PyserialToWorksheet.py", line 4, in <module>
import serial
ImportError: No module named 'serial'


The file PyserialToWorksheet.py" does indeed not contain a modul "serial"??


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000