LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to close(quit) TI Code Composer Studio with Labview?

Is there any way to actually close Code Composer Studio from Labview? Don't have any problems launching CCS and opening/closing projects, just exiting CCS...
0 Kudos
Message 1 of 7
(5,706 Views)
I don't know this software, so I'll speak in general. How did you manage to manipulate it the way you have? Is it through some speacial interface or with the windows API? I presume you should be able to use the same method to close it. Anyway, here's some code I had to modify only slightly, so I'm posting it. It allows you to simulate a mouse click somewhere on the screen. You can use it to click on the close button (if the program has one) or for a series of clicks. I'm sure there are better ways of doing this through the windows API.

___________________
Try to take over the world!
Message 2 of 7
(5,695 Views)
I am not able to verify this suggestion, but I would assume that you can access CCS through it's ActiveX interface. That way you should be able to remote control the applications and also close it.

Is this the way that you open and close projects within CCS programmatically?
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 3 of 7
(5,682 Views)
Hello, i am trying to simulate the mouse in windows with labview. I was able to control the mouse coordinates, but not the mouse click. Do you know how to simulate a mouse click with labview in windows. Is there an available programme?

thanks
Lukas
0 Kudos
Message 4 of 7
(5,649 Views)
Have you tried using the VI attached to the last post?
It should use Windows API calls both to control the mouse position and to simulate the click. I don't remember offhand which functions I used there, but you can tell by double clicking the Call Library Function nodes.
You can find more info on this in the Microsoft developer network (MSDN).
Search this site for "DLL Tutorial". There should be a few examples of how to use DLLs in LV.

___________________
Try to take over the world!
0 Kudos
Message 5 of 7
(5,644 Views)
Hello, the vi close.vi is working, but how can i simulate a mouse click. I think that the cell "sim mouse down" is to simulate the mouse click is that right? than it stays pressed for a certain time (i tried with 1000ms) and then it is released in the cell "simulate mouse up".
Problem: the mouse click is not executed, is there a way to do that?

Thanks
Lukas
Lab v7.1
Lukas
0 Kudos
Message 6 of 7
(5,637 Views)