0 = Motors Connecte...
 
Notifications
Clear all

0 = Motors Connected ? "The given array is too small" system log help - Please

1 Posts
1 Users
0 Likes
987 Views
(@scottsim)
New Member
Joined: 3 years ago
Posts: 1
Topic starter  

Hi Guys,

Using SimHub (licenced) and all been going great I use it for Bass Shakers and a form of simwind via Arduino Uno and Adafruite V2 shield.

My problem, after all working great for months my motors have stopped, 0=Motors connected on the motor output screen

From what I can see Arduino is connected fine under the my hardware screen

I tried connecting to another PC and all works fine (4 = Motors Connected and can test them all), so tried back on my main rig swap USB's ect.... but still 0 = Motors connected.

So I thought I would take a look at the log file, I have no idea but the log from the PC having the issue is pasted below and I would be  grateful if someone had an idea of what the issue could be a point min the right direction.

any assistance appreciated. Just some of the log file (The given array is too small. It must be at least 2 long) does not appaer on the PC itworked on for fault finding.

Cheers,

[2021-08-06 17:10:30,682] WARN - System.ArgumentException: The given array is too small. It must be at least 2 long.
Parameter name: x
at MathNet.Numerics.Interpolation.CubicSpline.InterpolateBoundariesSorted(Double[] x, Double[] y, SplineBoundaryCondition leftBoundaryCondition, Double leftBoundary, SplineBoundaryCondition rightBoundaryCondition, Double rightBoundary)
at MathNet.Numerics.Interpolation.CubicSpline.InterpolateBoundariesInplace(Double[] x, Double[] y, SplineBoundaryCondition leftBoundaryCondition, Double leftBoundary, SplineBoundaryCondition rightBoundaryCondition, Double rightBoundary)
at SimHub.Plugins.DataPlugins.ShakeItV3.Filters.SplineFilter.LoadInterpolator(Boolean updateCurve)
at SimHub.Plugins.DataPlugins.ShakeItV3.Filters.SplineFilter.GetOutput(Double input, Boolean simulation)
at SimHub.Plugins.DataPlugins.ShakeItV3.EffectsContainers.EffectsContainerBase.ProcessEffects(GameData data, CalibratedFeedbackData calibratedFeedback)
at SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITV3PluginBase`1.DataUpdate(PluginManager pluginManager, GameData& data)
at SimHub.Plugins.PluginManager.manager_DataUpdated(GameData data, IGameManager manager)
[2021-08-06 17:10:30,698] WARN - System.ArgumentException: The given array is too small. It must be at least 2 long.
Parameter name: x
at MathNet.Numerics.Interpolation.CubicSpline.InterpolateBoundariesSorted(Double[] x, Double[] y, SplineBoundaryCondition leftBoundaryCondition, Double leftBoundary, SplineBoundaryCondition rightBoundaryCondition, Double rightBoundary)
at MathNet.Numerics.Interpolation.CubicSpline.InterpolateBoundariesInplace(Double[] x, Double[] y, SplineBoundaryCondition leftBoundaryCondition, Double leftBoundary, SplineBoundaryCondition rightBoundaryCondition, Double rightBoundary)
at SimHub.Plugins.DataPlugins.ShakeItV3.Filters.SplineFilter.LoadInterpolator(Boolean updateCurve)
at SimHub.Plugins.DataPlugins.ShakeItV3.Filters.SplineFilter.GetOutput(Double input, Boolean simulation)
at SimHub.Plugins.DataPlugins.ShakeItV3.EffectsContainers.EffectsContainerBase.ProcessEffects(GameData data, CalibratedFeedbackData calibratedFeedback)

This topic was modified 3 years ago by ScottSim

   
Quote
Share: