08-06-2012 07:41 AM
i have an application file.i need to control the inputs of that application through labview 8.5 automatically. is there any suggestions for that one?
Regards
Naresh G
08-06-2012 07:50 AM
Hi,
Can you give some details of what you are trying to achieve?
08-06-2012 07:56 AM
just consider the windows media player application, in that one i am able to open the mediaplayer and play the video.But i also need to operate the PAUSE & STOP buttons of media player through my labview button (like Normal Boolean Buttons) with out using Mediaplayer buttons.is there any chance for that one?
08-06-2012 11:22 AM
Hi nk0435,
It sounds like what you want to achieve is Inter-Application Communication; In other words, having a LabVIEW VI's Front Panel communicate with Windows Media Player and control the buttons.
You can acheive Inter-Application Communication using ActiveX. A brief article on this can be found here; You may also want to look at the Wikipedia article on ActiveX here.
With regard to communicating with Windows Media Player through LabVIEW, there is some very appropriate example code here.
I hope this helps,
08-07-2012 07:12 AM
hi
good evening.
thanq for your valuable suggestions.the SendKey.vi helps me to achieve my application.
08-07-2012 09:28 AM