View Single Post
  #1 (permalink)  
Old 08-13-03, 11:21 AM
ro0t ro0t is offline
New Member
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Perl/Tk application

Hello Experts,

I am an ASIC tester and i have been asked to do something with Perl/Tk
so I would appreciate it, if I can get some help into this.I have done bits of it but I am stuck into one particular area. So here is the meat :

- I have been given lots of perl scripts that test verilog code. I didn't write the scripts, I simply open a terminal "perl scriptname.pl" and after 15 - 30 minutes i get a "testname.log".This is what is vital for me the log. I want to insert this thing into a gui, but to manage lots of scripts
running in parallel. So i though if i could make something like cells with rows and collumns, a widget to select the perl script, start/stop button and a status label would be perfect. I could load up many test cases and when they are done I could see the results.

Here is how I visualize it:


Test case _ _ Time Started _ _Status_ __ _ Start/Stop _ _View
My_case _____Today,12:23 ___ Running
My_case2 ___date,time ________Failed


and here are my problems.

1) How can i make a table that will add
extra rows each time another file is added.This should be increasing dynamically.

2) Can I give behaviour to a button to change label. Something like onclick() -label=>"Stop", this is for the start stop button.

3) I know how to run a perl script through
perl and grab its output, but how do I stop it ? Do i kill the job ?

Any ideas or recommendations? I haven't found any widget that can do
the cells and colums....

If you can point me to any samples or relevant topics I would be
greatful.


Thank you kindly
Vassili
Reply With Quote