Skip to content

Degauss Bug #3

@mothyjohn

Description

@mothyjohn

@djs56 ,
In magnet controller, the degauss function does not iterate through all the steps of a degauss prepossessing if if select less that 11 magnets to deguass at any given time. I think there is a peculiar relationship between the number of magnets you want to degauss and the number of stage the degauss process manages to get through.

For example: choosing two magnets to degauss will only complete two stages of the degauss process before it breaks.

I think the issue is to do with line 1044 in 'magnetInterface.cpp'

' for( size_t j = 0; j < ds.interface->allMagnetData[magToDeg**[j]**].numDegaussSteps; ++j )//MAGIC_NUMBER'

whats is in bold is the issue i think but I thought I'd run it by @djs56

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions