Jump to content



Photo
- - - - -

Ultimate IO and DOF?

ultimate io dof pacled64

  • Please log in to reply
45 replies to this topic

#1 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 23 October 2016 - 04:24 PM

2 year lurker here, love the forum.

 

Is it possible to get the Ultimarc Ultimate IO to run in DOF? Can it be controlled as a (or 2) "pacled64" ? Are there plans for support?

 

Spent a few hours last week, got nowhere, and seems like I bought the wrong hardware. Wonderful hardware, absolutely amazing product, just not getting anywhere with DOF. Wondering if I should just buy an 8ch Sainsmart USB relay.



#2 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,346 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 23 October 2016 - 06:55 PM

I just took a quick look at the Ultimarc web site, and it looks like this product might be a bit too new right now - they don't even seem to mention it anywhere in their own SDK documentation.  It's possible that it has a Pacled64 compatibility mode, but they don't mention that anywhere that I see.  My guess is that it will require its own SDK because of its larger set of outputs; maybe they've already published such a thing and I missed it, or maybe it's coming soon.  

 

If it does require its own separate interface, DOF could be extended to include that, but that would require someone doing that work.  I think that SwissLizard (DOF's creator) is on hiatus from it right now, so someone else would have to do the work.  If you have C# knowledge, you could do it yourself, since DOF is all open source.



#3 zebulon

zebulon

    Cantankerous old B****D

  • Platinum Supporter
  • 1,179 posts
  • Location:Whitby, Ontario, Canada

  • Flag: Canada

  • Favorite Pinball: xenon, Medieval Madness, Royal Flush, Silverball Mania

Posted 24 October 2016 - 11:09 PM

According to the Ultimarc site, the ultimate is basically 2 pacled64s...

 

.https://www.ultimarc...rogramming.html    

https://www.ultimarc.com/ipacuio.html

 

If you were to assign the 1st 64 outputs as pacled #1 and the second 32 as pacled #2 you should be good to go.

 

Just my thoughts, YMMV


 ZB%20%20Storefront1%20.png               [email protected]

Don't pm or expect an answer from me here ... the links above are my contacts.

I know so much about so little that I could teach you all there is to know about nothing......


#4 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 29 October 2016 - 12:47 PM

I got a Sainsmart 8ch USB relay to work with DOF, but no PacLed64 detected when using AutoConfig. I'm assuming the DirectOutput.log should have said "Detected and added PacLed64 Id 1 with name PacLed64 1" or something along those lines.

 

If I add one manually in cabinet.xml I do get "initialized and updater thread started" for that item, but no effect on the actual lights. Nothing. Same output setup with Sainsmart = plenty of relay action, just nothing on PacLed64 outputs.

 

Appreciate the help though.



#5 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 13 November 2016 - 07:07 PM

Downloaded DOF Github sources, installing Visual Studio now (12GB, being download). If I can get this thing to compile and still run without errors I'll do some digging and see if I get anywhere.



#6 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 13 November 2016 - 09:49 PM

Managed to compile, and do some trial & errors (development PC not in Pincab = not ideal environment). Eventually got it to detect IPACIO, even some lights working using DOF. DOFLinx crashed, but will do some more digging tomorrow and keep this thread updated.



#7 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 23 November 2016 - 06:01 PM

Github branch "ultimateio", early test. DOF Config: create a PacLed64, export, rename to xxx27.xml (Id is 27). Awaiting contactors, RGB-flashers, and need a booster board to test it all out.

https://github.com/r...mits/ultimateio



#8 GInsonic

GInsonic

    Enthusiast

  • Platinum Supporter
  • 188 posts

  • Flag: Austria

  • Favorite Pinball: Addams Family

Posted 24 November 2016 - 09:00 AM

Many thanks rambo3, this is great !

I currently have two additional PacLad64 controllers, only because DOF does not recognize my UltimateIO !

Could you please give a short explanation, what to change in a current configuration and how ?

Is it possible to mix up both PacLed64 and UltimateIO devices ?



#9 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 24 November 2016 - 09:53 PM

It should be, you volunteering as a guinea pig? :) I wouldn't try this on anything solenoid-related right now given the early days of this code.

 

Currently the UIO is auto detected, and not added in cabinet.xml. I'm guessing your PacLed64s are also auto detected, using something like directoutputconfig20.ini + directoutputconfig21.ini? Mine is directoutputconfig27.ini for instance as I had to pick a range that was not being used in the source. A second UIO would be xxx28.ini.

 

It's still early days since eventually I have to get in touch with the original developer of DOF, then DOF Config Tool, to see how they want the support added. But lights / outputs are being fired off, from a modified DOF Config Tool XML based on PacLed64.

 

Got a reply from Ultimarc support that the PacDrive SDK supports two UIO devices. I'm going to modify the DOF sources / "ultimateio" branch tomorrow after work for 2 devices, do some pinball, then let you know how things work. I only have a SainSmart 8ch USB + UIO, no PacLed64, so testing this on PacLed64 + UIO would be really great. Give me a few days and I'll let you know how things go.

 

Side story: I just got 10x 24VDC Siemens contactors today, but no 24v to power it. LEDs don't care if software crashes, which did happen a few days ago; I had the UIO crash on me in a frozen output state (all outputs on) because the USB cable got slightly loose during a test where I activated all outputs. It was powered off a USB hub, so shutdown of PC didn't help because it was running on its own. Not because of DOF, or code, but the PC lost communication with UIO and the UIO was running on its own. Had to unplug power. If I had my solenoids hooked up, I'm not sure they'd last the 60 seconds of panic at the time.


Edited by rambo3, 24 November 2016 - 09:55 PM.


#10 GInsonic

GInsonic

    Enthusiast

  • Platinum Supporter
  • 188 posts

  • Flag: Austria

  • Favorite Pinball: Addams Family

Posted 25 November 2016 - 06:15 AM

It should be, you volunteering as a guinea pig?  :) I wouldn't try this on anything solenoid-related right now given the early days of this code.

Sure ! No risk no fun  :P

And... I have an easily reachable main DOF power switch  ;)

 

 

I'm guessing your PacLed64s are also auto detected, using something like directoutputconfig20.ini + directoutputconfig21.ini?

Exactly !

 

 

Got a reply from Ultimarc support that the PacDrive SDK supports two UIO devices. I'm going to modify the DOF sources / "ultimateio" branch tomorrow after work for 2 devices, do some pinball, then let you know how things work. I only have a SainSmart 8ch USB + UIO, no PacLed64, so testing this on PacLed64 + UIO would be really great. Give me a few days and I'll let you know how things go.

 

Great, thanks ! I'm looking forward to it !


Edited by GInsonic, 25 November 2016 - 06:16 AM.


#11 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 27 November 2016 - 10:44 PM

Slight issue - PIP (pinball in pieces), no way to test or play. Watching paint dry as the contactor panels are getting ready  :tapping: ...which meant redoing the insides while I was at it. Will keep you updated when she's online again.



#12 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 12 January 2017 - 07:15 AM

PIP still in peaces. Ebay-orders not coming through, a 24V PSU got lost during transport (40 days of waiting, grrrr). Don't have power or the correct resistors to power my toys and test properly. Will keep you updated.


Edited by rambo3, 12 January 2017 - 07:15 AM.


#13 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 07 February 2017 - 10:44 PM

Pincab up and running again, and contactors have been installed. There's some reports that the latest branch of DOF that I'm basing this on (~october 2016) is having some technical issues I'm not seing. I'll be rolling back tomorrow just to be sure, do some testing, and put a link online.

 

Sorry for the delay.



#14 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 10 February 2017 - 07:37 AM

Got the new UltimateIO branch of DOF running, and arngrim added support in DOF Configtool for two Ultimate I/Os. According to Ultimarc we actually have two UIOs running at the same time, but you'll need to get in touch with him for a firmware ID to differentiate them.

 

I'll be adding downloadable builds here:
https://github.com/r...ctOutput/Builds

 

It is early days still, but the support from Ultimarc and arngrim speeded things up. Version was forked off djrobx, which was forked off the original January 2nd 2016 version by Tom.



#15 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 10 February 2017 - 08:21 AM

keep up the good work :)



#16 GInsonic

GInsonic

    Enthusiast

  • Platinum Supporter
  • 188 posts

  • Flag: Austria

  • Favorite Pinball: Addams Family

Posted 11 February 2017 - 06:44 PM

Great guys, thanks for all of your efforts :)

#17 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 18 February 2017 - 02:45 PM

Just a heads-up / warning:

 

I'm experiencing freezes / lockups of the UIO in Attack from Mars (green status-LED stops lighting) with this release. The lockup type is frozen inputs and outputs (last state) as the UIO-bord is essentially disconnected from the USB-bus and last state is stuck. For instance, lights will keep on lighting, pulse START-button will stop pulsing, and flippers will stay stuck. when it happens, shut down as essentially a SHIFT-key might be stuck causing multiple selections in the desktop for instance. Just START -> shutdown, or disconnect UIO from USB+power, the reconnect.

 

Happens so far from anywhere between 23 seconds up to 6 minutes.

 

I'm not sure if it is my code, updated PacDrive.dll, or the code inbetween the official R3 beta or the version I forked off. Debugging now... in the mean time, I'd wait for an update before testing it out.

 

R3 beta does not seem to have this problem in AfM, as I played multiple games for over 20 minutes. Reboot inbetween.



#18 greeze

greeze

    Enthusiast

  • Members
  • PipPipPip
  • 177 posts

  • Flag: United Kingdom

  • Favorite Pinball: Cirqus Voltaire, Attack from Mars, Theatre of Magic & Medieval Madness

Posted 18 February 2017 - 03:50 PM

I have a similar issue with my Ultimate IO. I'm not using your build because my UIO is used to light my LED buttons and handle the inputs. I have one of ZEb's all-in-one kits running the DOF. Occasionally, I get lock ups too. The LED's in the buttons will turn off and the flippers will get stuck. All input is frozen too. I doesn't happen anywhere near as frequently as your examples though.

 

I have tried various 'fixes'' plugging into different USB ports, alternative 5v supply for the LED's, leaving the LED's unpowered etc. but it still happens now-and-then. My next stage in troubleshooting this will be a new UIO.

 

I don't get the USB disconnecting sound though and I'm pretty sure the green LED on the UIO is still lit. I have also checked that the PC was not turning the USB root hubs off automatically.

 

Frustrating!  :throw:


Cabinet Build YouTube Channel: https://www.youtube....78ywgSq46UXFqjw

 


#19 rambo3

rambo3

    Enthusiast

  • Members
  • PipPipPip
  • 53 posts

  • Flag: Norway

  • Favorite Pinball: Attack from Mars!

Posted 18 February 2017 - 04:55 PM

That's interesting. Thanks for sharing, that helps alot. I've been playing way too much MAME on this cabinet with plenty of lights, and this DOF-case is the first time I've had it so aggressive. I don't get the USB-disconnecting sound either, but the LED does shut itself off.

 

What I do have issues with however are the freakin' dupont-connectors on the UIO pins. The pins on the UIO seem OK, but the male connectors I've been using lose connection from time to time. Reproduced just to calm my sanity by simply moving the affected cable slightly. Easy to reproduce: find a button, open up Notepad and keep hitting until it either doesn't register or keeps on hitting while you've let the button go. Taking out the affected male pin connector, and do some soldering / tweaking to it before reinserting it helped securing the connection. But I haven't done that yet to the remaining, oh 100+ ones.

 

Since you still have onboard LED, could that be your problem? Just the male pin connectors not having a decent connection?



#20 greeze

greeze

    Enthusiast

  • Members
  • PipPipPip
  • 177 posts

  • Flag: United Kingdom

  • Favorite Pinball: Cirqus Voltaire, Attack from Mars, Theatre of Magic & Medieval Madness

Posted 18 February 2017 - 05:34 PM

Hmm, the connectors? I hadn't thought about those TBH (and, thinking about it now, I have extended some of them. Maybe that's the problem). Thank you for the heads-up, I'll look in to them (like you said though, there're so many of the damn things!)  :D


Edited by greeze, 18 February 2017 - 05:36 PM.

Cabinet Build YouTube Channel: https://www.youtube....78ywgSq46UXFqjw

 






Also tagged with one or more of these keywords: ultimate io, dof, pacled64