Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Managing interactive installation

Still a little green? Ask your beginner's questions here

Managing interactive installation

Postby igorrenzetti » Wed Jun 26, 2019 4:54 am

Hello there, I'm Igor.
I'm currently managing an exibition that has an interactive installation built in touchdesigner.
I didn't built it from myself so I don't have a deep knowledge of the network nodes in TD
It uses 2 Intel 415 Realsense Cameras.

I have this problem.
To run smootly this installation should be restarted every day but I can't rely on exibition stewarts to do so.
So I managed to autostart TD with a little max-msp patch that fires up the TD project and sends OSC commands to run fullscreen performance mode. This is going well.
But, if I try to close the application using the command
Code: Select all
taskkill /T /IM TouchDesigner099.exe

When I restart the computer installation after shutdown, Touchdesigner freezes at 100% load of the project and the only way to restart it is to unplug and plug back the USB cameras.
Cameras are on USB extensions and when computer is off there is no more power on usb devices, as it should.
I really need to be able to shutdown the computer and restart it every day as I noticed that after 12 hours of runtime one camera stops working and global frameate is going down drastically.
Maybe the Taskkill command isn't the most suitable to close touchdesigner automatically?
Please, any advice will be very much appreciated.
Thank you
igorrenzetti
 
Posts: 4
Joined: Sun May 20, 2012 5:15 pm

Re: Managing interactive installation

Postby Achim » Wed Jun 26, 2019 8:48 am

You could try to remotely (osc) trigger a script with
project.quit()

https://docs.derivative.ca/Project_Class

Or instead of shutting down td, shutdown the machine at night and send a wake on lan magic packet in the morning

Cologne area TD artists? Let’s get in touch

Achim
 
Posts: 1707
Joined: Wed Nov 14, 2007 1:52 pm
Location: Cologne

Re: Managing interactive installation

Postby igorrenzetti » Thu Jun 27, 2019 8:20 am

Hi Achim, tank you for the reply.
Actually the computer can be managed via remote shutdown and wake on lan and auto startup of TD.
The problem I think is a proper quit of TD and successive project initialization for camera drivers.
I will try for shure the project quit via OSC that I can surely manage remotely l, but
I’m a bit fresh of TD so can you suggest me how I can implement it? Do I need to put som other object in the network?
Many thanks
Igor
igorrenzetti
 
Posts: 4
Joined: Sun May 20, 2012 5:15 pm

Re: Managing interactive installation

Postby Achim » Thu Jun 27, 2019 3:10 pm

Its also hanging if you restart windows (instead of taskkill and restart TD) ?

Anyways, see attached file for a osc demo
Attachments
shutdown.toe
(4.81 KiB) Downloaded 56 times

Cologne area TD artists? Let’s get in touch

Achim
 
Posts: 1707
Joined: Wed Nov 14, 2007 1:52 pm
Location: Cologne

Re: Managing interactive installation

Postby igorrenzetti » Thu Jun 27, 2019 5:11 pm

Thank you very much Achim, I've seen your attachment and I'm able to integrate it.
I'll give it a try and see if it works with the installation.
To my experience the beheaviour of the installatio is that, if somehow the project is not closed properly, on restart (even after a complete shutdown of the computer) it will hang to 100% loading.
To restart it's actually needed to unplug and plug back the cameras, then restart TD.
I think your suggestion gives me the 100% certanty that TD will close properly with all the processes and driver unloading necessary.
I'll see if that can solve the restart issue.
Many thanks again, I'll update soon.
My best
igorrenzetti
 
Posts: 4
Joined: Sun May 20, 2012 5:15 pm

Re: Managing interactive installation

Postby igorrenzetti » Tue Jul 02, 2019 5:35 pm

Hello, here it is some follow up.
I implemented Achim's OSC dat in the project.
It works by quitting TD properly.
The issue appears to be the attached cameras, that on first start, need to be anyway unplugged and replugged to make the TD project start and work.
Anyway thank's a lot for the suggestion and the example, very useful also for future projects.
I have a question.
In that project there is also an OSCin CHOP that manages the fullscreen of the installation at startup, it receives on localhost address on the same port of the OSCdat that runs the quit script.
I don't think there should be any conflict, because they all receive commands anyway but each of those interprets the commands they need. Am I right?
Many thanks again.
My best
igorrenzetti
 
Posts: 4
Joined: Sun May 20, 2012 5:15 pm

Re: Managing interactive installation

Postby harveymoon » Thu Jul 04, 2019 1:12 am

you can set the project to start in perform mode in the window dialog
harveymoon
 
Posts: 119
Joined: Mon Jun 29, 2015 8:42 pm


Return to Beginners

Who is online

Users browsing this forum: Majestic-12 [Bot] and 7 guests

cron