06-24-2005 09:02 AM
06-27-2005
02:34 PM
- last edited on
12-02-2025
10:11 AM
by
Content Cleaner
Hello,
If you need to playback your recorded macros from another application, implementing an ActiveX server in your CVI application will certainly be the best approach. You can find more information about creating ActiveX servers in CVI in the tutorial titled Building ActiveX Servers in LabWindows/CVI.
If you will be recording and playing back this macro in only CVI, ActiveX may not be necessary. You should be able to set a "record flag" and in each UI callback in your application record that the button was pressed, or what other action occurred. By keeping track of which callbacks occurred and their arguments you should be able to play back the same operations.
Unfortunately I am not aware of any sample code for this type of application, and I was not able to locate any in our example databases.
Scott Y
NI
06-27-2005 03:00 PM
06-28-2005 02:51 PM
06-28-2005 03:28 PM
06-28-2005 04:44 PM
06-29-2005 05:11 PM
06-30-2005 08:50 AM