rzellertownson / neurorighter

Closed Loop, Open Source Electrophysiology
6 stars 5 forks source link

NR error when Matlab is open. #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open stimulation protocol in matlab (open-loop) and create .olstim file.
2. Open NR and adjust settings for voltage stimulation using open-loop 
stimulation protocol.
3. Start stimulation protocol.

What is the expected output? What do you see instead?
I expected the experiment to run to completion, but instead I got the error 
attached.

What version of the product are you using? On what operating system?
NeuroRighter V1.1.0.542
Windows 7

Please provide any additional information below.
It appears that it's a problem with having matlab open at the same time. I 
closed matlab and restarted the computer and it worked fine.

Original issue reported on code.google.com by SwimminQ...@gmail.com on 27 Nov 2012 at 5:39

Attachments:

GoogleCodeExporter commented 9 years ago
when you were running NR, did this error occur spontaneously, or was this a 
secondary error that occurred after attempting to close NR due to another error?

Original comment by RZellerT...@gmail.com on 27 Nov 2012 at 6:29

GoogleCodeExporter commented 9 years ago
It occurred right when I started the experiment.

Original comment by SwimminQ...@gmail.com on 27 Nov 2012 at 6:31

GoogleCodeExporter commented 9 years ago
This has nothing to do with Matlab unless you are using NI drivers from within 
Matlab as well. Some process on you computer is controlling the digital lines 
that NR is trying to reserve to use for MUXing stimulus signals. 

Are you using the Measurement and automation studio, labView, DAQmx via Matlab, 
another version of NR or anything else that could have reserved the lines?

By what means did you encounter this error by using `manual stimulation' or 
`open-loop' stimulation?

Original comment by jonathan...@gmail.com on 29 Nov 2012 at 2:29

GoogleCodeExporter commented 9 years ago
No, I didn't have anything else open. I was using open-loop stimulation.

Original comment by SwimminQ...@gmail.com on 29 Nov 2012 at 3:35

GoogleCodeExporter commented 9 years ago
So I think the Riley and I have deduced that the script had not finished being 
written before it was loaded into NeuroRighter. Thus, the script just ended 
aburbly during excution.

We added some text to the script generating files 'makeol<aux><dig><stim>' that 
says to wait until the file is done. We looked into file locks in matlab, but 
it seemed like more work than I'm willing to do.

I am not going to close this issue since I am not 100% sure this was the 
problem. Please report back any other incidents.

Original comment by jonathan...@gmail.com on 10 Dec 2012 at 3:35