Issue while connecting ISCAN to mworks

marcus.haag's Avatar

marcus.haag

08 Oct, 2019 03:38 PM

Hi Chris,

I am currently setting up Michael Schmids lab in Fribourg.
Here, we are using the ISCAN system in combination with mworks. Following instructions I found here https://mworks.github.io/documentation/latest/components/iscan_devi...
I managed to connect the ISCAN computer with the mworks computer (mini mac) without any complaints.
I am now trying to run a calibration file (xml, see attached) while the ISCAN software is running (see image attached). Basically I decided to go for output_01 and output_02 in ISCANs auxiliary output controls and try to import them using the the ISCAN IO Device in mworks.
Unfortunately, mworks does not show the eye traces or run the file (even with an eye window of 100000000) and seems to be crashing while the calibration file is running, which results in me having to restart he mini mac as the mwserver is unresponsive up to the point that I cannot even force quit it.
Do you by any chance have a running xml file resolving the issue I mentioned or can fix the attached one?

Thanks for your help with this,

Marcus

  1. Support Staff 1 Posted by Christopher Sta... on 09 Oct, 2019 01:46 PM

    Christopher Stawarz's Avatar

    Hi Marcus,

    I don't see any issues with your XML file. In the ISCAN software, I see that you've correctly selected a binary format for the auxiliary outputs.

    It sounds like MWServer is freezing, not crashing. Is that correct? If so, then I suspect it's blocked trying to read from the serial port, which suggests that ISCAN isn't sending data.

    Have you tried using the alternate start/stop codes mentioned in the docs? As I recall, the only ISCAN manual I could find listed those values (132 and 136) as the correct ones. However, the one and only ISCAN device I've tested on expected 128 and 129, which is why those are the defaults.

    Cheers,
    Chris

  2. 2 Posted by marcus.haag on 09 Oct, 2019 02:25 PM

    marcus.haag's Avatar

    Hi Chris,

    yes, you`re right. MWServer is freezing, so I have to restart the PC.

    I now also tried the alternate command bytes 132 and 136, which unfortunately resulted in the same issue.

    Is there an easy way to read out the correct start and stop signal as provided by the ISCAN PC (windows 7).

    Thanks for your help with this,

    Marcus

  3. Support Staff 3 Posted by Christopher Sta... on 09 Oct, 2019 02:34 PM

    Christopher Stawarz's Avatar

    Hi Marcus,

    Is there an easy way to read out the correct start and stop signal as provided by the ISCAN PC (windows 7).

    I'm not aware of any. I got the 128/129 values from the user who asked me to implement MWorks' ISCAN interface. I don't know where he got them.

    Have you tried contacting ISCAN? Presumably someone there could tell you.

    Chris

  4. Support Staff 4 Posted by Christopher Sta... on 22 Oct, 2019 08:08 PM

    Christopher Stawarz's Avatar

    Hi Marcus,

    Have you managed to resolve this issue? Were you able to find start/stop codes that worked for your ISCAN device?

    Cheers,
    Chris

  5. 5 Posted by marcus.haag on 22 Oct, 2019 10:10 PM

    marcus.haag's Avatar

    Hi Chris,

    Thanks for asking. For now we decided to proceed by connecting the iscan pc with the minimac using an ni card. Since this is not the most elegant solution we eventually will try to get the connection going via serial to usb. At the moment the most likely reason for the failure was that we did not use a null modem cable for the connection.
    I'll keep you posted.

    Thanks,
    Marcus

  6. Support Staff 6 Posted by Christopher Sta... on 23 Oct, 2019 07:07 PM

    Christopher Stawarz's Avatar

    Hi Marcus,

    Thanks for the update. FYI, I used a FTDI US232R-100 cable to connect the ISCAN PC to the Mac running MWorks.

    Chris

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • vclab_test.xml 53.6 KB
  • IMG_20191008_171749276.jpg 4.43 MB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac