I think I have fixed my problem but now I am getting serial exception with error messages that say that my access is denied?
aplummer
@aplummer
Posts made by aplummer
-
RE: Connecting Issues using Python
-
RE: Connecting Issues using Python
@Will-Dickson Is there any way you could provide me further documentation of the functions in the API reference?
If not, could you provide some explanation for the use of a class in the constant voltage logger example.
Basically, I wrote a python file that contains a function. Outside the function I open a connection to the rodeostat. Then I call the function to perform a chronoamperometric test. It works on the first sweep, but when I try to run the function again the serial connection to the rodeostat fails. I could not figure how to share my code easily or I would.
-
RE: Connecting Issues using Python
Hello again,
I am having more trouble connecting to my rodeo stat. I want to be able to run a long chronoamperometric test with lots of cycles. I have already looked thoroughly through the examples, cany anyone offer me some assistance?
-
RE: Connecting Issues using Python
I have been able to run Python in the command window and run my code consecutively and it worked fine. I double checked that the REPL feature I was using is the cause of my trouble. Thanks for your help.
-
RE: Connecting Issues using Python
I have tried some things on my own but have not been successful. How do I run a python script in the command window? I am not familiar with this method of using the Python Interpreter. If you could give me some commands or instructions to use that would help I think. Thanks.
-
RE: Connecting Issues using Python
Awesome thank for that clarification. I will try that and get back to you.
-
RE: Connecting Issues using Python
Hi again,
I am reconnecting the Rodeostat each time I run my script. I am using a Windows system so the behavior of my system matches the situation you describe.
I have code that to my knowledge closes the connection to the device at the end of the script to prevent such a situation. Thanks for taking the time to help me I appreciate it.
Just for clarity's sake, what exactly is a REPL? I will try running my program from the command line and see if my problem persists.
Thank yo for clarifying that technical difference between serialport-bridge and python REPL/kernel.
I am unsure how to embed pictures in this forum post or I would show my code and exact error messages.
-
RE: Connecting Issues using Python
Awesome. Thank you so much for your input.
I will try these suggestions and get back to you with answers to your questions. -
Connecting Issues using Python
Hello,
I am a UF undergrad research assistant. I am working on a project and am using the Rodeostat.I am having troubles connecting/communicating with the Rodeostat over the Python Interface. I am using Enthought Canopy as my IDE for Python. I have successfully connected to the device using the serial port bridge software on chrome and via Python/Canopy many times. My application requires using Python to interface with the Rodeostat.
However, when I use run my code I get error messages that the Rodeostat is unable to connect. I can provide the error messages from command window and Canopy. I have used this code successfully many times but inconsistently so I am lead to believe it is not my code causing my problem.
I can also provide a successful output so I know the connection is possible it is just inconsistent.
I can temporarily and inconsistently fix my problem by
*Unplug and plug back in the Rodeostat and rerun the code
*Restarting the kernel environment where the Python code is compiled/interpreted and rerun the code
*Restart Canopy (Python IDE) and rerun the codeDo you have any suggestions on fixing this?
I have also double checked the file that I am using is current, have you updated your files since last year?