Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Isadora: Communication & Sensors:
Barcode Trigger

 

 


jtbuckle
New User

Jul 17, 2008, 9:15 AM

Post #1 of 3 (6555 views)
Shortcut
Barcode Trigger Can't Post

Hi... I am quite the novice user so please forgive the ignorance if this is super simple...

I'm trying to use a barcode to trigger a specific video clip via isadora. There will be a number of barcodes (say 30) that will trigger 30 unique video clips. Each clip is specific to that bardcode.
My barcode reader outputs a numberic string of significant length. Via the readers software, I can get the output down to an handful of digits (6-10). The scanner software outputs as text into whatever application I click into; hence I can get the output into izzy. Is there an actor that is simply an input box that I could dump the codes into and then used that code as and output to send to a table?

Example:

Barcode:........................Table (Code To Video Clip)-...............(Media Player)
56489562------------------>56489562------------->Video Clip 1---------------->Player
(This field is................48658528------------->Video Clip 2
an input).....................78592259------------->Video Clip 3

Thanks for your help, Let me know if there's anymore information you need.

-Jeff


Matt
Novice

Jul 21, 2008, 2:23 PM

Post #2 of 3 (6275 views)
Shortcut
Re: [jtbuckle] Barcode Trigger [In reply to] Can't Post

Jeff,

you can do it if you can get the numbers to come in as numbers not text, by using the look-up actor. but if you can only get text i think you should program something that asigns a value to each string then transmit via OSC or midi. i know there is also a serial in watcher-text. i have never used it, so i'm not sure how it works

btw. did you just graduate from calarts?

-Matt


hal
User


Aug 1, 2008, 1:40 PM

Post #3 of 3 (3137 views)
Shortcut
Re: [Matt] Barcode Trigger [In reply to] Can't Post

Barcode readers I have used look like a keyboard to the computer, so you get keystrokes, not Integers or Strings.
Converting a long string of keystrokes to a trigger in Isadora is probably possible, but would be vastly more complex than in a traditional scripting language. So if you could have some other program have focus and capture they keystrokes, and send OSC to isadora that would be a good solution.

However I can imagine a situation where you really want Isadora to have keyboard and mouse focus.

So if you are generating the barcodes yourself you could just make use of a limited key-set, that would simplify the keyboard watcher -- movie selector patch in isadora.

Anyway if your barcode scanner is not keyboard device then never mind.
--
Hal Eagar - Media Effects Artist http://haleagar.com
Director - Digital Performance Institute http://digitalperformance.org
DPI-office 646 442 4435 | Hal-cell 917 257 8440

 
 
 


Search for (options) copyright © TroikaTronix 2007