Monitor
Monitor Screen
The Monitor screen in the PeekSmith app provides a simple way to view information sent by your connected devices and mini-apps. It works as both a status panel and a peek screen, so you can use it whether or not you own a dedicated peek device. Scroll down for videos showing how different mini-apps use the Monitor screen in real performances.
What You Can Do
- See mini-app outputs โ When Quantum (or other devices) run mini-apps, their textual information is displayed here in real time.
- Check device connections โ Instantly see which devices Quantum is connected to.
- Use it as a peek screen โ If you donโt have a PeekSmith device, the Monitor screen becomes your peek display. If you do, it works as a secondary screen or a reliable backup.
Why Itโs Useful
- Access Quantumโs full feature set even without extra hardware.
- Keep track of connected devices in one place.
- Always have a fallback peek option.
Using Monitor in Your MagiScript Mini-Apps
For Developers:
If youโre creating custom MagiScript mini-apps for Quantum, you can send information to the Monitor screen using the monitor() function. This is useful for debugging, displaying status information, or creating custom peek experiences.
Basic Usage:
// Send text to Monitor screen
monitor("Hello from Quantum!")
// Display calculation result
var result = 42
monitor("Result: " + result)
// Clear the monitor
monitor("")
// Multi-line display
monitor("Line 1\nLine 2\nLine 3")
Practical Examples:
// In a custom force routine
on("key.=", function() {
var forcedNumber = 1234
display(forcedNumber)
monitor("Forced: " + forcedNumber) // Peek the forced number
})
// Status updates during a routine
monitor("Waiting for input...")
// ... user interaction ...
monitor("Processing...")
// ... calculation ...
monitor("Complete: " + finalValue)
// Debugging during development
monitor("Debug: Variable X = " + x)
Best Practices:
- Keep messages short and readable on small screens
- Use clear labels (e.g., โForce: 42โ not just โ42โ)
- Clear the monitor when starting a new routine
- Test on actual devices to ensure visibility
For more MagiScript documentation, visit MagiScript Docs.
Monitor Q-Force
Monitor Q-Seq