Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
castiel

Junior Member
Registered:
Posts: 27
Reply with quote  #1 
Hello, i am facing a big problem about combine behavioral codes and eventmarkers with my recording system.
Here is my connection way, i got a 68 pin port, my recording device is USB-ME32-FAI-System
20180624_234519.jpg  20180624_234506.jpg Here is the 68-Pin MCS Standard Connector of USB-ME32-FAI-System (Digital IN / OUT Connector )

   截图20180625000757.png  And i connect pin27-34 to my BNC-2090,as the second picture show, The 8 pins are all inserted into DIO. and the pin27 is firstly inserted into DIO-0, and the other seven pins followed in order

Here is my settings in monkeylogic:

20180624_235028.jpg  20180624_235020.jpg 
And i define the eventmarker in my behavioral file like this below:
20180624_234954.jpg  20180624_234805.jpg  20180624_234855.jpg  At last my neuron spike recording software is MC_Rack, and it was set like this:
  20180624_235233.jpg  20180624_235141.jpg  20180624_235157.jpg 

........But i can see anything combine with my behaviour task...so here must be somthing wrong, maybe i connect wrong pin cable, or maybe my set of both softwares were wrong, but the important thing is that i wander how to test whether you have made the I/O assignments of behavioral codes and strobe bit sucessfully? and what else should i do?


0
aboharbf

Member
Registered:
Posts: 60
Reply with quote  #2 
The part where you have similarly colored cables seems like a potential source of problems. If you're confident those are correct, I would additionally share what your "Strobe" setting is in MonkeyLogic, which you'll see next to "Strobe" a few lines below the IO Assignment boxes you're showing.

I found the "Strobe Test" to be very useful for determining what was going wrong. It sends 10 cycles of 1, 2, 4, 8, 16, 32, 64, 128 (2^7, in your case). You can sometimes get a sense for what is going wrong if you can read these numbers out at the other end. See if you can start the recording of your system, initiate a strobe test, and then stop and recover those values. If you have a "Raster plot" option in your recording device, that will allow you to see signals arriving, which allows you to know that the connection exists.

Also, when I was having these issues, people recommended using Port 0 (Which I'm guessing DIO is), Line 0 as Strobe (0.0) and then using P1.1 - P1.7 as the bits of the code (which I'm guessing is PFI 1 - 7 for you).

This is the thread where I had related issues - http://forums.monkeylogic.org/post/interfacing-with-blackrock-system-8422729?pid=1294899836
0
Jaewon

Administrator
Registered:
Posts: 716
Reply with quote  #3 
What is the sampling rate of the USB-ME32-FAI-System?
0
castiel

Junior Member
Registered:
Posts: 27
Reply with quote  #4 
Quote:
Originally Posted by Jaewon
What is the sampling rate of the USB-ME32-FAI-System?
hello, Jaewon, here is the sample frequence that we set in MC_Rack
20180625_213527.jpg  and it's the mannual:
截图20180625215436.png 
By the way, Did i have mistakes about these pictures above?
0
castiel

Junior Member
Registered:
Posts: 27
Reply with quote  #5 
Quote:
Originally Posted by aboharbf
The part where you have similarly colored cables seems like a potential source of problems. If you're confident those are correct, I would additionally share what your "Strobe" setting is in MonkeyLogic, which you'll see next to "Strobe" a few lines below the IO Assignment boxes you're showing.

I found the "Strobe Test" to be very useful for determining what was going wrong. It sends 10 cycles of 1, 2, 4, 8, 16, 32, 64, 128 (2^7, in your case). You can sometimes get a sense for what is going wrong if you can read these numbers out at the other end. See if you can start the recording of your system, initiate a strobe test, and then stop and recover those values. If you have a "Raster plot" option in your recording device, that will allow you to see signals arriving, which allows you to know that the connection exists.

Also, when I was having these issues, people recommended using Port 0 (Which I'm guessing DIO is), Line 0 as Strobe (0.0) and then using P1.1 - P1.7 as the bits of the code (which I'm guessing is PFI 1 - 7 for you).

This is the thread where I had related issues - http://forums.monkeylogic.org/post/interfacing-with-blackrock-system-8422729?pid=1294899836
Hello[biggrin], Maybe I'm sure it's correct about the cable connection, but i have one question, the strobe bits have it's own cable connection or not? so please share with me what "Strobe" setting  in MonkeyLogic 
0
Jaewon

Administrator
Registered:
Posts: 716
Reply with quote  #6 
One thing I am not sure about is the meaning of the mask. The description in the manual sounds as if it filters out the unused bits, but you set the mask the same as the "Bit". What if you change the mask to 8-15?
0
castiel

Junior Member
Registered:
Posts: 27
Reply with quote  #7 
Quote:
Originally Posted by Jaewon
One thing I am not sure about is the meaning of the mask. The description in the manual sounds as if it filters out the unused bits, but you set the mask the same as the "Bit". What if you change the mask to 8-15?
Hi, Jaewon, here is the mask:

截图20180628001639.png  Here is a strobe test that i recieved in my MC_Rack, it's digital out display, the biggest number is 129.
20180626_102617.jpg  Can you explain the meaning of this numbers?

Monkeylogic Should Send: 2 4 8 16 32 64 128 256 512 (10x)
Plexon Records: 255 254 253 251 247 239 223 191 127 (10x)

0
Jaewon

Administrator
Registered:
Posts: 716
Reply with quote  #8 
The figure doesn't give me a clue, since I cannot see the numbers it received. Because you are using 7 data bits (plus 1 strobe bit), the maximum number you can get is 127 (= 2^7-1), so 129 doesn't make sense.

As for the numbers you posted at the end, I guess you tested with Plexon and used 9 data bits. Then the numbers that NIMH ML is supposed to send is [1 2 4 8 16 32 64 128 256], not [2 4 8 16 32 64 128 256 512].

The numbers that Plexon actually received was decreasing, so I think it may be the case that LOW is set to be true in your Plexon. And it seems that the connection is misaligned by one line. If you subtract the numbers from 255, you will see a pattern.

>> 255 - [255 254 253 251 247 239 223 191 127]

ans =

     0     1     2     4     8    16    32    64   128


0
castiel

Junior Member
Registered:
Posts: 27
Reply with quote  #9 
Quote:
Originally Posted by Jaewon
The figure doesn't give me a clue, since I cannot see the numbers it received. Because you are using 7 data bits (plus 1 strobe bit), the maximum number you can get is 127 (= 2^7-1), so 129 doesn't make sense.

As for the numbers you posted at the end, I guess you tested with Plexon and used 9 data bits. Then the numbers that NIMH ML is supposed to send is [1 2 4 8 16 32 64 128 256], not [2 4 8 16 32 64 128 256 512].

The numbers that Plexon actually received was decreasing, so I think it may be the case that LOW is set to be true in your Plexon. And it seems that the connection is misaligned by one line. If you subtract the numbers from 255, you will see a pattern.

>> 255 - [255 254 253 251 247 239 223 191 127]

ans =

     0     1     2     4     8    16    32    64   128



Hello, Jaewon, today i try some strobe tests, and i recover the values recorded with my recording software: it's 2,4,8,16,32,64,128, (the order that these values appears was random.)  I'm using 7 data bits (plus 1 strobe bit: port 0, line 0).  But i still can not see the eventmarker in the recording display of MC_Rack..so i have to exclude all things, firstly is there anything wrong with these values which means probably the wrong cable connection? secondly, is it right for me to use this code: "eventmarker(20) " to define the event? Can you show me a spike recording display picture with eventmarkers? anyother data device is okay, maybe i can understand how to set my MC_Rack....
0
Jaewon

Administrator
Registered:
Posts: 716
Reply with quote  #10 
You should describe what test you did and how you "recovered" the values. I don't understand what result should be expected. Whatever numbers you send, you should be able to get the same numbers in the same order. If you call eventmarker(20), you will get 20. Unless you let us know which number you sent and which number you received one by one, there is no way for us to tell whether your connections are correct or wrong.

I don't know whether your recording system can display eventmarkers on the screen. That's something you have to ask to the company who made the system.

0
castiel

Junior Member
Registered:
Posts: 27
Reply with quote  #11 
Quote:
Originally Posted by Jaewon
You should describe what test you did and how you "recovered" the values. I don't understand what result should be expected. Whatever numbers you send, you should be able to get the same numbers in the same order. If you call eventmarker(20), you will get 20. Unless you let us know which number you sent and which number you received one by one, there is no way for us to tell whether your connections are correct or wrong.

I don't know whether your recording system can display eventmarkers on the screen. That's something you have to ask to the company who made the system.

Sorry, i have seen the markers on the display, but another question i have sent two mails to you mailbox, maybe you can see more clearly. The test was strobe test, i record the video, and use photoshop to slow down the video, and read out the number
0
castiel

Junior Member
Registered:
Posts: 27
Reply with quote  #12 
Quote:
Originally Posted by Jaewon
You should describe what test you did and how you "recovered" the values. I don't understand what result should be expected. Whatever numbers you send, you should be able to get the same numbers in the same order. If you call eventmarker(20), you will get 20. Unless you let us know which number you sent and which number you received one by one, there is no way for us to tell whether your connections are correct or wrong.

I don't know whether your recording system can display eventmarkers on the screen. That's something you have to ask to the company who made the system.

Hello, Jaewon, i searched many posts here, and found a question..i connected the DGround of BNC 2090 to the Ground pin of ME32 device, i will test tomorrow, wish everything will be fine.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.