LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i transfer the data to the iFIX application?Thanks

I have writen a program to sample the data via RS232, I can save the data in the txt file and display them in the control of Table!
 
Now there is a task that i must transfer the sampling data to the application of iFix.
 
How can I complete this task?
 
Can DDE  realize this project? If yes ,how can I do that?
 
Thanks
0 Kudos
Message 1 of 2
(3,390 Views)
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时编辑过了
0 Kudos
Message 2 of 2
(3,356 Views)