[Paraview] Set total recording time in VeloView

Magician info at paraview-expert.com
Thu Feb 15 15:36:46 EST 2018


Hi Bastien,


Thanks for your advice.
I tried the script and the button is toggled on the GUI, but no data is recorded.


Magician


> 2018/02/15 3:03、Bastien Jacquet <bastien.jacquet at kitware.com>のメール:
> 
> 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 <mailto: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/ <http://www.paraview-expert.com/>
> _______________________________________________
> Powered by www.kitware.com <http://www.kitware.com/>
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html <http://www.kitware.com/opensource/opensource.html>
> 
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView <http://paraview.org/Wiki/ParaView>
> 
> Search the list archives at: http://markmail.org/search/?q=ParaView <http://markmail.org/search/?q=ParaView>
> 
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview <https://public.kitware.com/mailman/listinfo/paraview>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180216/a8fe2fd9/attachment.html>


More information about the ParaView mailing list