View Full Version : Multiple sessions, multiple logs?
mikedf
08-23-2005, 01:26 PM
Hi, I'm fairly new to CRT, but I am enjoying it thus far. I'm interested in being able to open up multiple sessions, each having their own log file, as well as being able to scan for certain incoming text on each session in parallel.
Can I do this? Right now I've only got one crt.Session.log running, and I don't see how I can do this concurrently. I'd also like to automate all of this with VBscript.
thanks,
Mike
For instance:
Open up session1, do some stuff
Open up session2, start log
Open up session3, start log.
Go to session1 and do more stuff
Scan for keys in session2 and session3.
bocks
08-24-2005, 02:35 PM
Hello mikedf,Can I do this? Right now I've only got one crt.Session.log running, and I don't see how I can do this concurrently. I'd also like to automate all of this with VBscript.The current version of SecureCRT does not have support for multiple, concurrently opened connections to be called from inside a script. It is possible to have only a single connection open at any given time per script.
The ability to control several sessions from inside a single script is a feature that we gathering feedback from users on for possible implentation in a future version of SecureCRT. If such a feature were implemented in conjunction with our Tabbed interface, what kind of objects would you expect to see?
Would you like to be able control the sessions from inside SecureCRT, or control the sessions using an external application?
Can you tell me more about the project you are working on that requires the use of concurrent sessions and logging?
Thanks,
-bocks
mikedf
08-24-2005, 03:31 PM
If such a feature were implemented in conjunction with our Tabbed interface, what kind of objects would you expect to see?
Would you like to be able control the sessions from inside SecureCRT, or control the sessions using an external application?
Can you tell me more about the project you are working on that requires the use of concurrent sessions and logging?
Thanks,
-bocks
Bocks,
Thanks for the reply. I'm attempting to set up CRT for test automation. My setup has an instrument/controller connected to COM1, and a UUT connected to both COM3 and COM4.
After launching some instructions to the controller, I would like to provide stimulus and monitor the responses at each of the UUTs.
After digging into this a bit more, I think I can accomplish my goals by launching seperate sessions with their own scripts and playing some tricks with how to communicate between sessions. Although this is rather messy!
I would like to see an easy way to log by the session name, so that several sessions could be launched initially from Startup, then have a internal script control the logging such as:
crt.Session1.LogFileName = ...
crt.Session2.Log TRUE
...
I would also like to know if there is a way that sessions could pass variables to eachother. For example, if my UUT#1 has finished, can I set a flag that the Controller will be able to read so it knows to move on?
thanks,
Mike
vBulletin v3.5.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.