DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer data between DIADEM and visual basic program using DDE.

I want transfer date between DIADEM and Visual Basic using DDE or another technology like OLE
May anybody help me?
0 Kudos
Message 1 of 6
(5,665 Views)
Hello JDD

DIAdem has both DDE and OLE interfaces, the best choice would be to use OLE. In the DIAdem help file there is a good amount of information relating to OLE and describing how to make the necessary connections between your external application and DIAdem.

There is also a very good shipping example with DIAdem, found in the DIAdem directory ?C:\Program Files\National Instruments\DIAdem 8.00? the files ?Diad_vb.vbp? and ?OLE_Expl.vbp? can provide a good starting point.

Let me know if this helps or you have further questions
0 Kudos
Message 2 of 6
(5,665 Views)
 
0 Kudos
Message 3 of 6
(4,819 Views)

Hi,

 

I want ot use OLE interfaces too, but I didn't find the examples that you said.( I have Diadem10.2).

I want to control using OLE, from an Excell File, both Diadem and a controller,  to transmit the measured data from the controller to Diadem and make the report there, including the details of the test too.

Please if you have an example in wich you comunicate with Diadem using OLE,  were you can load data(.csv file) make a report and write data( test details) in the report, please tell me about.

 

Thanks

0 Kudos
Message 4 of 6
(4,818 Views)

Hello Marse!

 

A good point to begin is to have look into the DIAdem help. Open the index page and look for 'ToCommand' (name of the DIAdem Standard OLE interface). To get an idea what to do to solve your problem try to make a script in DIAdem. You can also use the TeachIn function. If this script work you can start to send these commands via OLE and the CmdExecuteSync method instead.

 

BTW: It is always a good idea to start a new thread in this forum if your question not realy realys to an existing thread Smiley Wink

 

Hope this helps

 

Matthias

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 5 of 6
(4,814 Views)

Hi Marse,

 

Here is the VB example that used to ship with DIAdem.

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

Message 6 of 6
(4,804 Views)