<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Bastien,<div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks for your advice.</div><div class="">I tried the script and the button is toggled on the GUI, but no data is recorded.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Magician</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">2018/02/15 3:03、Bastien Jacquet <<a href="mailto:bastien.jacquet@kitware.com" class="">bastien.jacquet@kitware.com</a>>のメール:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello Magician,<br class=""><br class="">I think you can use Python, and PythonQt to make a fake "record" button press, after the desired amount of time.<div class="">Just try this:</div><div class="">def myfunc():</div><div class="">    vv.app.actions['actionRecord'].toggle()</div><div class="">    print ("Toggled recording")</div><div class=""><br class=""></div><div class=""><div class="">qq=QtCore.QTimer()</div><div class="">qq.setSingleShot(True)</div><div class="">qq.connect('timeout()',myfunc)</div></div><div class="">recordingTimeInMilliseconds = 60 * 1000</div><div class="">qq.start(recordingTimeInMilliseconds)</div><div class=""><br class=""></div><div class="">Hope this helps,</div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><a href="https://www.linkedin.com/in/bastienjacquet" target="_blank" class="">Bastien Jacquet, PhD</a><br class="">VeloView Lead Developer - Computer Vision Team<br class=""><a href="http://www.kitware.eu/" target="_blank" class="">Kitware SAS</a><br class="">26 rue Louis Guérin - 69100 Villeurbanne - France<br class="">F: +33 (0)4.37.45.04.15</div></div></div>
<br class=""><div class="gmail_quote">On Sun, Feb 11, 2018 at 3:55 PM, Magician <span dir="ltr" class=""><<a href="mailto:info@paraview-expert.com" target="_blank" class="">info@paraview-expert.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br class="">
<br class="">
<br class="">
I’m using VeloView 3.5.0 (Windows 64bit) and recording VLP-16’s data packets.<br class="">
I want to set the total recording time or stopping time, but VeloView have no option to do it on the GUI.<br class="">
<br class="">
Is there a good way? (ex. using Python)<br class="">
<br class="">
<br class="">
Magician<br class="">
<a href="http://www.paraview-expert.com/" rel="noreferrer" target="_blank" class="">http://www.paraview-expert.<wbr class="">com/</a><br class="">
______________________________<wbr class="">_________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">http://www.kitware.com/<wbr class="">opensource/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank" class="">http://paraview.org/Wiki/<wbr class="">ParaView</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank" class="">http://markmail.org/search/?q=<wbr class="">ParaView</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank" class="">https://public.kitware.com/<wbr class="">mailman/listinfo/paraview</a><br class="">
</blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></div></body></html>