For iFix the data (which is transferred by DDE) can be add by this form:
‘ABCNDDE$’|‘DMDATA.DDE’! ‘SCADA1.AI1.A-CV’
ABCNDDE is the name of .exe file
DMDATA.DDE is the panel name of .exe file
SCADA1.AI1.A-CV is the control name of the .exe file
there is a successful application for this task ,the sample software is produced by VB6.0... I will add some other channels to sample the field data , so i will realize this task by CVI.
In the VB6.0 the .exe file name is ddeserver.exe THere is a panel named as "ddesv" to display the data sampled . There is a text control named as "text1" to display the data.
‘ABCNDDE$’|‘DMDATA.DDE’! ‘SCADA1.AI1.A-CV’ is written as "ddeserver|ddesv|text1" more or less.(I will check the exact synax later)
Similar to the sample program written by VB, How can I written the ‘ABCNDDE$’|‘DMDATA.DDE’! ‘SCADA1.AI1.A-CV’?
my sample program written by CVI is named as TPG.exe
the displaying panel is named as Panel
I use a table control to display the data. And the data is at row2 column 3.
the IFIX reference is as below:
Thank you for your help
帖子被lct0811在
03-30-2008 11:18 PM时编辑过了