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.

[VB.NET] Counter von IndustrialDigitalIn4 mittels Callback ausgeben

Featured Replies

Geschrieben

Hallo Zusammen,

ich möchte mit einem IndustrialDigitalIn4 die Anzahl der Umdrehungen pro Sekunde protokollieren.Man kann zwar jede Sekunde mit .GetEdgeCount dies abfragen, aber es wäre doch toll, wenn man es wie beim Rotary Encoder Bricklet mittels Callback erledigen könnte.Ist dies nicht möglich? :)

Vielen Dank

Geschrieben

Das würde eine Änderung der Firmware im Bricklet und Anpassung aller Bindings bedeuten, wofür mit großer Wahrscheinlichkeit in diesem Jahr nicht zu rechnen ist. Und dann sind da jede Menge anderer Wünsche zwecks Anpassung bzw. neuer HW, die schon viel früher und zahlreicher angefragt wurden.

 

Ich würde alternativ einen Timer in deiner Implementation instanziieren, der jede Sek. den EdgeCount prüft oder im OnInterrupt Callback die Zustandsänderung mitzählen.

Geschrieben
  • Autor

Dank für die Rückmeldung. Ich war mir nur nicht sicher, ob es diese Funktion schon gibt, und ich sie nur übersehen habe.

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.