mccdaq/mcculw

Acqknowledge does not detect digital signal

Closed this issue · 4 comments

I'm trying to send digital signal from "Psychopy" to "Acqknowledge", to check timing.
Before implementing, I checked if example codes worked well.
I used "USB-1280FS-Plus" module with "InstaCal". When I run examples, there was no error. It showed me message such as "Setting FIRSTPORTA to 255" and "Setting FIRSTPORTA bit 0 to 0" in digital_out.py example. However, in acqknowledge, nothing happened.
I'm using MP150 and STP100C to receive digital signal. "USB-1280FS-PLUS" module is connected with STP100C by printer port. 5V, GND, A0 port, B0 port is connected to printer port.
I could check digital channel 8 and 15 are connected because only they are read as 0V. But their values never changed to 5 (high) whatever I run the example or not.

I thought that A0 port and B0 port in "USB-1280FS-PLUS" are corresponded to 8 and 15 channel in Acqknowledge. So When I run the example code, at least one value of those channels (8, 15) should be changed since I got "Setting FIRSTPORTA to 255" message back.

I'm wondering what is the problem and can I solve the problem by fixing the code, or is it the hardware problem.
Thank you in advance.

  • Examples which I run to check it was worked are as follows: digital_out.py, v_out.py, ULDO01.py, ULDO02.py, and VOut01.py

Hello Juny0ung, github is not the correct venue for your question as it has little to do with the MCC Windows Universal Library for Python, but more to do with your application of the hardware. if you would like to pursue assistance on this matter, please submit your question directly to https://www.mccdaq.com/support/support_form.aspx

I see
Thank you for information

Hello Jeff
Since I do not get the answer from mccdaq and I may think I found out the reason why it didn't work which is directly using the library, I want to ask a question once more. Tell me if you can help me with.

I found out that connection from laptop to MP150 worked well which means that the problem was only because of my code. I installed mcculw by following instruction. Using pip command to install it, I got complete message,
"Requirement already satisfied: mcculw in c:\users\memcoglaptop6win\appdata\roaming\python\python36\site-packages (1.0.0)"
So I runned the example code and my code but I could check that none of sending and receiving is happened with my Psychopy code. What I'm curious is that after pip mcculw installing, is there anything for me to do additionally? I added mcculw downloaded path to Preferences in Psychopy due to this page.
https://www.psychopy.org/recipes/addCustomModules.html#addmodules

Thank you in advance. If this is also the problem that you can't help, sorry for bothering you with these kinds of problems.