Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Hardware integration best practices

Discuss graphics hardware, computer hardware, and input/output devices to use with TouchDesigner

Hardware integration best practices

Postby george.profenza » Thu Aug 22, 2019 6:53 pm

Hi,

I'm very new to TouchDesigner and I was wondering how to best integrate hardware that isn't supported in TD yet, for example Serial(RS232/RS485) or USB protocol based devices.

Taking a high baud rate RS485 device as an example, I've got a proof of concept using Python and pyserial to establish communication, however the more data I send the more the framerate drops. (I haven't tried using the TD built-in Serial operators yet)

Having a quick look at the Wiki I've spotted the Custom OPs and C++ DAT sections.

Is that the most efficient way of integrating hardware with TD ?
What the recommended method and best practices ?

Thank you,
George
george.profenza
 
Posts: 1
Joined: Sun Sep 20, 2015 5:51 am

Re: Hardware integration best practices

Postby ben » Fri Aug 30, 2019 3:45 pm

The Custom OPs are all C++ and can be very fast, but I would recommend starting with the Serial DAT first and see how it works with your data since the built in OPs are all C++ as well and usually fast. Python is the most flexible option but can suffer from slow performance when used in some ways.
User avatar
ben
Staff
 
Posts: 2599
Joined: Thu Nov 08, 2007 6:55 pm
Location: Toronto


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests