Hi, Clocks are system (hardware, OS) dependent. Documentation (http://doc.qt.io/qt-5/qtimer.html) says 1 ms can be expected. You may want to keep track of events using a separate clock (rather than relying on a QTimer timeout event). The python time module should help there (https://docs.python.org/3/library/time.html), where you can query the accuracy of the system clock(s), and access the perf_counter() to get the most accurate system clock available.
Patrick On Friday, 30 November 2018 02:55:44 UTC+10:30, [email protected] wrote: > > Hi All, > I am new to pyqtgraph and was curious about the precision of the qtimer. > How accurate is it and Can it do microseconds? > Regards, > Dev > -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/9f313f09-a55f-4ef5-9744-f8373a2ee607%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
