User`s guide
isvisible
Purpose Determine whether CCS IDE is running
Syntax isvisible(cc)
Description isvisible(cc) determines whether CCS ID E is running on the desktop
and the window is open. If CCS IDE window is open,
isvisible returns
1. Otherwise, the result is 0 indicating that CCS IDE is either not
running or is running in the background.
Examples Test to see if CCS IDE is running. Start CCS IDE. Then open MATLAB
software. At the prompt, enter
cc=ticcs
TICCS Object:
API version = 1.0
Processor type = C67
Processor name = CPU
Running? = No
Board number = 0
Processor number= 0
Default timeout = 10.00 secs
RTDX Object:
Timeout: 10.00 secs
Number of open channels: 0
MATLAB software creates a link to CCS IDE and leaves CCS IDE
visible on your desktop.
isvisible(cc)
ans =
1
Now, change the visibility state to 0, or invisible, and check the state.
7-75