Flash touchscree to turn on LEDS?

Hello y’all,

I have a question to anyone that is a wiz with Velleman products. Here is the deal…I’m a multimedia and 3D designer working between an architect and a model (maquette) builder. The model is of a high-tech “green” building with a touch screen to highlight the 6 to 8 features of the building (sun-panels, river cooling, etc.). I can make the interface in flash, but I need a box to connect the computer (touchscreen with flash impulses) that does nothing more than turn on groups of leds for a set period to show the location of the features.

I found a simple velleman 8 chanel USB switch box that looks right (8 channel usb relais control K8090), but it requires programming in Visual Basic…I can do a bit of action script, but compiling in VB is beyond me. Has anyone had experience with this kind of thang? My bottleneck is that there has to be an artists impression of the building (probably made in Flash) with buttons to activate the LEDS…maybe there is another product that is better suited for this kind of thing. It’s really simple…

Let me know.
Brian Drescher
brian@drescher.nl

I’ve found the following links that might help you.

http://www.gamedev.net/community/forums/topic.asp?topic_id=419789
and
http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html

It’s all about fscommand that allows you to start another program from flash.
The program that might do the job for you is
http://www.edutechsoft.nl/k8055/k8055.exe

You need the DLL from Velleman to use the program.

So I think that FSCommand(“exec”, “k8055.exe /set2”); might do the job for you.

Because I use motionartist 4.0 for creating flash I can’t test if it works.

Succes…

I’ve read your post and included something similar for the K8090. An extra tool has been added to the install package of the K8090 which allows you to control the K8090 via the command prompt in Windows.

Download the K8090 Installer for Windows

The tool is called K8090C.exe and will be installed to C:\Program Files\Velleman\K8090\Tools folder.

Usage:
K8090C.exe -p PORT -c CHANNEL -f FUNCTION

p - port name - COM1, COM2, .., COM20, ..
c - channel number - 1, 2, 3, 4, 5, 6, 7, 8
f - function - ON, OFF, TOGGLE

Example:

This example toggled the third relay of the board connected to port COM17.