![]() |
![]() |
![]() |
![]() |
![]() |
![]() ![]()
|
DDE Programming List of Questions
1. How do I get back data from ICS?
2. Are there any Visual Basic examples for the DDE calls?
3. How can I query Metrics ICS to determine if it is finished with a measurement?
4. Does ICS support the OLE 2 standard for embedding objects in other applications?
5. Can Metrics ICS be used with my HP-VEE programs?
Answers to Questions 1. How do I get back data from ICS? There are various commands in the DDE API to retrieve data from Metrics ICS. You can get all the measured data for an ICS setup by using the TOPIC 'DATA' and supplying the ICS setup name as the ITEM in a DDE Request command. This is the typical way programs like Excel request data from ICS when establishing a hot link. The programmer can also obtain a particular vector of a data set by using the GETVECTOR command. Reference the ICS DDE API manual for more information on these commands. 2. Are there any Visual Basic examples for the DDE calls? The Metrics ICS 3.6 distribution CD contains an Online Manual that has a sample Visual Basic program for programming with DDE. 3. How can I query Metrics ICS to determine if it is finished with a measurement? There is a new DDE command called AREYOUBUSY in Metrics ICS that acts similar to a status poll. This command returns FALSE when ICS is busy performing a measurement or some other function. The calling program can call the function from a WHILE loop until the function returns TRUE and then proceed with the next task. 4. Does ICS support the OLE 2 standard for embedding objects in other applications? The OLE 2 standard has not been implemented in the current version of ICS. 5. Can Metrics ICS be used with my HP-VEE programs? Several customers have successfully integrated Metrics ICS with the VEE environment using the DDE command interface. Users are able to take advantage of the instrument control provided by ICS and integrate the ICS data with a VEE control shell to provide a completely custom test solution.
|
|||