[Paraview] Set total recording time in VeloView

Bastien Jacquet bastien.jacquet at kitware.com
Wed Feb 14 13:03:19 EST 2018


Hello Magician,

I think you can use Python, and PythonQt to make a fake "record" button
press, after the desired amount of time.
Just try this:
def myfunc():
    vv.app.actions['actionRecord'].toggle()
    print ("Toggled recording")

qq=QtCore.QTimer()
qq.setSingleShot(True)
qq.connect('timeout()',myfunc)
recordingTimeInMilliseconds = 60 * 1000
qq.start(recordingTimeInMilliseconds)

Hope this helps,

Bastien Jacquet, PhD <https://www.linkedin.com/in/bastienjacquet>
VeloView Lead Developer - Computer Vision Team
Kitware SAS <http://www.kitware.eu>
26 rue Louis Guérin - 69100 Villeurbanne - France
F: +33 (0)4.37.45.04.15

On Sun, Feb 11, 2018 at 3:55 PM, Magician <info at paraview-expert.com> wrote:

> Hi all,
>
>
> I’m using VeloView 3.5.0 (Windows 64bit) and recording VLP-16’s data
> packets.
> I want to set the total recording time or stopping time, but VeloView have
> no option to do it on the GUI.
>
> Is there a good way? (ex. using Python)
>
>
> Magician
> http://www.paraview-expert.com/
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180214/373d9e12/attachment.html>


More information about the ParaView mailing list