DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

How to call Dasylab from other software(written with C#)

Hi,
Anyone can help me? I have to write a software(COMO-an c# user interface)that allow the user to call Dasylab out to run, collect data and send the data back to COMO for analysis.Below are my questions:

1)how dasylab can be called by other software (written in C# language) to work?
(As i know,there is only instruction on Dasylab manual that teach how to make Dasylab as DDE input(dynamic Data Exchange) with VB)

2)do i need to contact the dasylab vendor to get the API for communicating with Dasylab?

3)Any reference(example of the code/book/website) that you can recommend to me?

Really Thanks a lot!


Regards,
Alex.
Newbie that lost.
0 Kudos
Message 1 of 6
(8,813 Views)

Hello,

you would like design a communication interface between your program and DASYLab. Here some hints for this:

1) Your program can't direct send any command which start a worksheet under DASYLab itself (only via keyboard buffer handling). But you can start a DASYLab worksheet via console command for instance with the Windows WinExec command. In the worksheet you can write any data into an ASCII Multi file. So you can read out the current-1 Multi files from your program. You can also transfer data between your program and DASYLab via TCP/IP socket programming or you write a special data "sending" module for DASYLab with the Extension Toolkit driver.

2) There are no DASYLab internal API interfaces for your job available.

3) sorry, not available

Best regards,
MHa

 

0 Kudos
Message 2 of 6
(8,806 Views)

Hi Alex,

I am not sure about the full capabilities of COMO SOftware. However, one approach to this problem is to use TCP/IP communication. If the external application you are using can send TCP/IP commands, then you can use TCP/IP for communicating with DASYLab.

Please refer to this discussion forum for further information.

http://forums.ni.com/ni/board/message?board.id=50&message.id=37&query.id=110112#M37

Thanks,

Kalyan

Kalyanramu Vemishetty
Automated Test Systems Engineer
National Instruments
0 Kudos
Message 3 of 6
(8,791 Views)
There is a description of the DASYLab Extensions Toolkit available in the http://www.dasylab.com web site, under the Downloads / DASYLab Information section. This is the API used to create DASYLab modules, including drivers for various devices.

Under the Reseller section, there are names of DASYLab Systems Integrators who might be available to work with you to create a module or set of modules to work with the Device.

An alternate way to talk to many devices is via the OPC interface (part of the DataSocket modules). DASYLab can be an OPC Client, and works with a wide variety of OPC Servers to talk to devices from PLCs to FieldPoint modules.
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 4 of 6
(8,742 Views)
Thanks!
0 Kudos
Message 5 of 6
(8,738 Views)

Hi Mr. Kalyanramu Vemishetty,

1)Is TCP/IP only applicable for connection between software or PC over the network? Can it be used for my case which the COMO will be operate on the same PC together with the Dasylab?

2)As i know, Labview code can be integrated into other programming languages by either creating VI into share libraries, or transform labview code into standard interface that allows other program to execute the labview code in process. Does Dasylab have such features too? Can i intergrate Dasylab module /interface to my software?If yes, could you please show me how to do it?

Thanks!

Regards,

Alex

 

0 Kudos
Message 6 of 6
(8,732 Views)