Triks-c driver prog...
 
Notifications
Clear all

Triks-c driver program

84 Posts
25 Users
0 Reactions
39.2 K Views
Posts: 282
(@ponddude)
Reputable Member
Joined: 18 years ago

Tim...and everyone else...

Thank you for your help. I finally got it to work. I am new to the whole DIY arena, so I am learning slowly but surely. Thanks for your help!!

Great tool too!!

Any plans of getting this as a pluggin in Vixen?


Reply
TimW
Posts: 554
 TimW
Topic starter
(@timw)
Honorable Member
Joined: 19 years ago

Glad its sorted. Another DIY victory!

Eventually Vixen will support it (I hope!).


Reply
Posts: 1763
(@santacarl)
Noble Member
Joined: 19 years ago

Tim, last season I tried to use LTC to execute some batch files from within Vixen to run short triks annuncements/comments at specific places in my program (embedded in specific tunes)....Vixen executed the batch file....which called up and ran LTC and the associated message that I wanted..... Problem was...when the script finished the next time I tried to run LTC and another script I would get the dreaded "Windows failure" sound and the program would not execute. LTC again... I suspect it had something to do with the cmd prompt window still being open from the first call up of LTC.....but I'm not sure....

Is there a way to do what I described? Or am I trying to get too fancy here?


Reply
Posts: 1424
(@oldcqr)
Noble Member
Joined: 18 years ago
Santacarl wrote:Tim, last season I tried to use LTC to execute some batch files from within Vixen to run short triks annuncements/comments at specific places in my program (embedded in specific tunes)....Vixen executed the batch file....which called up and ran LTC and the associated message that I wanted..... Problem was...when the script finished the next time I tried to run LTC and another script I would get the dreaded "Windows failure" sound and the program would not execute. LTC again... I suspect it had something to do with the cmd prompt window still being open from the first call up of LTC.....but I'm not sure....

Is there a way to do what I described? Or am I trying to get too fancy here?

I had a similar problem executing batch files using the windows scheduler. If I am not mistaken, don't call the batch directly. Instead, call cmd.exe with a parm of the batch file (replace forward slashes [/] with backslashes [\]).

C:/Windows/System32/cmd.exe c:/pathname/batch.bat

Ensure there is nothing in your batch that will pause the execution (like a pause command).

If you are looping LTC, then you have a real problem since LTC will never end, which will never return control back to the bat, which will not end and pass control back to cmd.exe, so at the next execution the com port is still open.

If native support in Vixen for Triks-C is going to be delayed, LTC may need to be re-done as a Windows program. The program could then run in the background and accept control commands passed to it (via Vixen's existing call command). Otherwise the windows LTC can sit in the background and multitask with the rest of the OS doing what it does now.


Reply
TimW
Posts: 554
 TimW
Topic starter
(@timw)
Honorable Member
Joined: 19 years ago

Would This Thread help?

You can 'Kill' the LTC program whenever you want

(from memory hitting a key while its in loop mode (and you're in the cmd screen) would do the same thing.... but this doesn't help unattended operation!


Reply
Page 8 / 17
Share: