05-04-2004 03:35 PM
05-04-2004 04:07 PM
01-10-2006 02:48 PM
I also have a question regarding the run object
I have a .bat that i want to run using a run object but i need to pass the .bat a file parameter, held in column A of a table object.
Question,
How do I pass the table.A.txt.1 to the command line of the run object, with the file name of the .bat file.
Second,
"cmd /c c:\test\run.bat filename.txt"
I have tried it with a default file name (hard coded into the command line of the run object, and it does run, but only when i
edit the run object in edit mode. Is there something I need to specify that i want it run every time a radio button has been selected?
I have specified Run when = Radio1
Frank
01-12-2006 10:24 AM
Ok i have things running sort of.
I have a datasocket that reads a local text file.
I have a Run object that gets a file from the network and copies it to the local hard drive (as the text file above)
The run command is linked to a Radio button array (of 10), so that when a radio button is clicked, the run command
executes.
The problem i am having is that after the file is transferred to the local hard drive, i now want to display the information in
the text file using the datasocket.
If i set the Connect & Update members of the datasocket object to the radio button object i get the run command but
not the display of the updated data from the text file.
I have added a pushbutton that can be pushed after the file transfer occurs which is linked to the Connect & Update members
of the datasocket object. This works fine but i would really like to eliminate the need to click the pushbutton after the radio
button has been clicked.
Is there some way that allows the display of the datasocket object using just the radio buttons?
Is there some way to build in a pause of the display to ensure that the data transfer has been completed?
Also, is there some way that the run command can be triggered by the radio buttons but also every minute if
no radio button has been clicked. (the data on the server may have been updated for the selected radio button)
frank
01-14-2006 12:28 AM
01-16-2006 09:59 AM
Thanks for your help
I was able to use a timer to put in the delay and it works fine.
Frank
01-19-2006 09:49 AM
01-19-2006 10:35 AM
I used a Junction object to fire the reset of the switch, works well
frank