Triks-c driver prog...
 
Notifications
Clear all

Triks-c driver program

84 Posts
25 Users
0 Reactions
39.1 K Views
Posts: 1424
(@oldcqr)
Noble Member
Joined: 18 years ago
TimW wrote: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!

There ya go. Always call the kill program before calling LTC. That should keep everything open and free.


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

Ahh....I figured there was a way........

Like you said....killing it with a keystroke is no problem....but I wanted to be able to program it in to run lots of different scripts during the nightly program....but didn't want to have to sit there and stop it manually.....

Hopefully this will cure the problem....

I'll give it a try when I get ready for this year....

Thanks

SC


Reply
tconley
Posts: 410
(@tconley)
Honorable Member
Joined: 19 years ago

if you plan to use cmd.exe in the scheduled the optimal way is

cmd.exe /c "commandtorun /switch1 /switch2"

I have to do this all the time on the servers i run at work. It will pass the whole value to the cmd prompt this way including all of the switches.


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

Thats neat

You can even change the colors of the text in the windows - saves confusion if running more than one port..

from a cmd window:
cmd /? gives the options
color /? tells you about the colors you can have...

Tim


Reply
rlilly
Posts: 993
(@rlilly)
Noble Member
Joined: 19 years ago

Tim,
I'm putting an embedded PC in my panel set up to start running a LTC script for the OK mini next week end. On start up, half the time the LTC09 can't find the port.

I thought perhaps the ports weren't getting setup before the LTC starting running, so I modified the LTC code from Sept last year to test the port until it opened successfully before starting LTC09.

Still about 1/2 the time LTC09 bombs due to not finding the port.

Could you post the source for LTC09 please? Thanks!


Reply
Page 9 / 17
Share: