SmooshBall
Member
Hello,
I some help to make an SCL code for sorting of 4 DINTS inn.
The plan is to have 4x Motors, where the total hours comes in to a block which sorts out which of the motors got lowest running hours.
Out of the block I want 4x INT's named Y_Dev1, Y_Dev2 etc.
The block should place the numbers 1-4 on them, where 1 is lowest.
Finding highest and lowest number isn't any problem, but the two inn middle I need some help with if some got the time
I some help to make an SCL code for sorting of 4 DINTS inn.
The plan is to have 4x Motors, where the total hours comes in to a block which sorts out which of the motors got lowest running hours.
Out of the block I want 4x INT's named Y_Dev1, Y_Dev2 etc.
The block should place the numbers 1-4 on them, where 1 is lowest.
Finding highest and lowest number isn't any problem, but the two inn middle I need some help with if some got the time