Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Wenn ich mit dem Silent-Stepper den Schrittmotor fahre ist alles gut.

Wenn ich mi dem Silent-Stepper den Schrittmotor fahre, bis das AnalogIn mit CB ein Signal (Spannungsänderung) schickt, wird bei jedem neuerlichen Motor anfahren wieder ca. 5% CPU Auslastung gebraucht. D.h. nach 20x anfahren ist die CPU-Auslastung 100% und mein Programm hängt (Visual Studio 2022 mit vb.net und aktueller tinkerforge.dll)

Geschrieben
  • Autor

Firmware ist auch aktuell

Geschrieben
  • Autor

Master 2.1

Analog In Bricklet 3.0

Geschrieben
  • Autor

------Code-Schnipsel-ANFANG---------------

        Do Until volt > 2
            'txt_Motor_Lift_Pos.Text = stepper_motor.GetCurrentPosition
        Loop
-------CODE-Schnipsel-ENDE------------

Lasse ich den CODE-Schnipsel weg habe ich kein CPU-Problem, aber frage nicht mit dem Analog-In-Bricklet ab !?!?!

Geschrieben

Prinzipiell ist es keine gute Idee, wenn du in einer Schleife ohne irgend eine Art von Limitierung die GUI zu verändern. Außerdem solltest du mal testen, ob die Schleife überhaupt beendet wird. Ersetze den Code-Schnipsel mal durch z.B.

Do Until volt > 2
    txt_Motor_Lift_Pos.Text = "volt " & volt
    Thread.Sleep(100)
Loop

Dann solltest du sehen können, was die Schleife tut.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.