Jump to content



Photo
* * * * * 9 votes

Pinscape Controller software V2

pinscape

  • Please log in to reply
951 replies to this topic

#941 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,069 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 04 April 2023 - 05:35 PM

WadeZ - I'm not sure what's going wrong.  It sounds like the config tool is having problems communicating with the device - that message about "an error occurred loading settings" suggests that it's having trouble with the USB data exchange.  But USB problems usually show up in much more obvious ways, like you get repeated bing-bong tones from Windows because the device is randomly connecting and disconnecting.  I haven't run into an issue like this before so I'm not sure what to suggest.  Do you have another PC you can try it on?  Maybe there's something about this PC's USB hardware that's conflicting, or you're running some other software that's getting in the way, or whatever else - trying on another PC wouldn't do much to narrow down what the problem is, but it might at least confirm that it's something about the PC rather than something wrong with the KL25Z board.



#942 WadeZ

WadeZ

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: ---------

  • Favorite Pinball: aliens

Posted 06 April 2023 - 01:11 PM

MJR

I tried it on another computer and I got it to work, thanks a lot for your help.



#943 Geteos

Geteos

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: ---------

  • Favorite Pinball: Deadpool

Posted 15 June 2023 - 08:59 PM

Edit: Moving the folder from My Downloads to just the C: drive appears to have resolved this. I'll leave it here in case anyone else runs into this problem.

 

I'm having an issue with my setup. I'm on Firmware 2148 which I believe is the most up to date version.

 

If I click on the Joystick menu, the browser says "Can't reach this page, make sure the web address http://ps is correct."

 

When I try to click on the 'Buttons' menu I'm presented with an Unhandled exception error. 

 

The details show this:

 

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at PinscapeConfigTool.ButtonStatus.statusTimer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4614.0 built by: NET48REL1LAST_B
 
----------------------------------------
PinscapeConfigTool
    Assembly Version: 1.0.8026.24749
    Win32 Version: 1.0.0.0
 
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
 
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4550.0 built by: NET48REL1LAST_C
 
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
 
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
 
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
 
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
 
----------------------------------------
System.IO.Compression
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
 
----------------------------------------
System.IO.Compression.FileSystem
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0
 
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
 
----------------------------------------
 
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
For example:
 
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
 
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Any idea what might causing this?
Thanks in advance.

Edited by Geteos, 16 June 2023 - 10:29 PM.


#944 dopdahl

dopdahl

    Hobbyist

  • Members
  • PipPip
  • 35 posts

  • Flag: United States of America

  • Favorite Pinball: Triple Action

Posted 28 September 2023 - 07:17 PM

This is an odd one.  Pinscape has been fine for a couple of years.  Swapped out monitor only recently.

Noticed that button 'shift' mode functionality isn't working any more.  Inspected keystrokes.  With my keyboard, a keydown event shows 'shift' the key was pressed.  When I press the cabinet  button that is mapped to the 'shift' mode key, no keystroke is shown as having been pressed.  I assume this is because I have the OR option selected so no keystroke is sent for the 'shift' key until the second key is pressed by the KLZ.

Pressing the second key, however, doesn't emit the "shifted" mode keystroke even though I've changed nothing in the config and it worked forever.  So this one has me stumped.  Pinscape is otherwise working well, flashing blue and green light, non-shifted button presses work normally.

 

So I figure, let me push my config to the PinScape again just to make sure nothing is corrupted.

The latest PinScape Tool fails with the following 2 errors.  Not sure exactly what path the Pinscape Tool is failing to access here.  And also not sure if these 2 issues are even remotely related.

Any ideas would be a big help.  Already checked out the cables.  I use 2 and they seem fine.  The config tool seems happy until I try to update the KLZ itself.  And I don't see any issues in Event Viewer.

PinScape Tool is just run from a folder under C:\ and is always launched with Admin rights.

 

Could this be some sort of browser related issue?

 

"An Error occured.  Error writing file:Access to the path is denied."

 

and THEN

 

"An error occured.  An error occurred saving the external config data in the local file system. [File error:  Access to the path is denied]

 



#945 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,069 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 28 September 2023 - 07:52 PM

dopdahl - I don't have any good guess about what's going on, but I'd start by taking the error message at face value.  "Access to the path is denied" probably means that you have a permissions problem.

 

You say you're launching in Admin mode, which is something I'd try to avoid whenever possible, because it can have weird effects with Windows permissions.  (The common belief is that Admin mode just kind of turns off all of the Windows security mechanisms and makes you invincible, but like everything about Windows, it's more complicated than that.)  The config tool is meant to be an ordinary user-mode program; there's no scenario where it needs Admin mode.

 

Windows usually sets default permissions on the root of the system boot drive to be read-only for normal users, so you might just need to move the whole config tool folder tree somewhere where Windows wants you to put user files, such as under your c:\users\dopdahl folder.



#946 dopdahl

dopdahl

    Hobbyist

  • Members
  • PipPip
  • 35 posts

  • Flag: United States of America

  • Favorite Pinball: Triple Action

Posted 29 September 2023 - 03:27 PM

Thanks so much for the quick response!

 

So, yeah.  Not sure exactly what happened but the dlFolder permissions were messed up at some point.

After ensuring user access permission and even resetting permissions on the Drive itself, still no go.  So I allowed a windows update ran DISM and SFC and the problem resolved.

 

The shift-mode issue was confusion on my part.  Partly caused by weird behavior with the VP 10.8 builds.

 

So everything appears to be fine.

Thanks!

 



#947 draziw

draziw

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: Canada

  • Favorite Pinball: none

Posted 04 January 2024 - 04:21 AM

I did a search on how to enable IR Trans/Receiver using the default pins stated in the software and it brought me here. When I do use them I get the red exclamation and the reason why. The pins have multiple uses, where do I need to go to change this and how do I do it. I bought 2 pre-made units, wired them up but....appreciate any help you may offer. No Toys are being used, Hey I'm 68:-) no time to lose. 



#948 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,069 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 04 January 2024 - 06:28 AM

I did a search on how to enable IR Trans/Receiver using the default pins stated in the software and it brought me here. When I do use them I get the red exclamation and the reason why. The pins have multiple uses, where do I need to go to change this and how do I do it. I bought 2 pre-made units, wired them up but....appreciate any help you may offer. No Toys are being used, Hey I'm 68:-) no time to lose. 

 

If you hover the mouse over the error icon, it should pop up a little box that says what the conflicting use of the pins is.  You can also just scroll through the settings window and look for OTHER red error icons - each pin that's assigned more than once will show an error icons everywhere it's used.  Once you find the other usage of the same pin, you need to delete that other usage.  The way you do that varies according to what the other usage is - if it's not clear how to delete the other thing once you find it, post the details of what you found, and someone should be able to explain how to delete it.



#949 draziw

draziw

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: Canada

  • Favorite Pinball: none

Posted 16 January 2024 - 12:27 PM

Thanks MJR, I couldn't find this post so I posted in another forum so please disregard the other. I wanted to use the recommended pins in your Manual. PTC9 = PWM - GPIO In/Out  and  PTA13 = Interrupt - GPIO - PWM. I will try this out today and let you know how it went.



#950 draziw

draziw

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: Canada

  • Favorite Pinball: none

Posted 18 January 2024 - 09:41 PM

here's where I'm at now....changed the pins to PTA1 IR Trans and Output Port 1 and PTA2 IR Rec'r and Output Port 2 per someone else's setup, still getting the red exclamation mark. 



#951 JLPicard001

JLPicard001

    Enthusiast

  • Members
  • PipPipPip
  • 266 posts
  • Location:Earth

  • Flag: United States of America

  • Favorite Pinball: Attack from Mars, Theatre of Magic

Posted 04 February 2024 - 02:12 PM



https://www.aliexpre...7c-9aa74b4dac83

Edited by JLPicard001, 05 February 2024 - 01:38 PM.


#952 fhjui

fhjui

    Enthusiast

  • Members
  • PipPipPip
  • 120 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Hyperball from Williams

Posted 05 February 2024 - 10:00 AM

no, Pinscape firmware works only with "FRDM KL25z" controller-board and boards which use this controller like Rigmaster, Pinscape-All-in-one, KL-Shield


Edited by fhjui, 05 February 2024 - 10:02 AM.






Also tagged with one or more of these keywords: pinscape