LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview dll in delphi

I have a very simple labview 6.1 dll that does a little bit of high speed rs232 i/o and returns a string. I want to call this dll from a Delphi 5 program. Can this be done? Is it particurlary difficult?  Can someone point me to a thread other than those I found searching on the header?

 

thanks.

0 Kudos
Message 1 of 3
(3,309 Views)

I believe this can be done. I have found some Knowledge Based articles from our site that may be of assistance. Are you using NI-DAQ to interface with your RS232 ports? If so, I believe the below articles should help.

I am not sure of the difficulty level, but below are the articles you can read to attempt to implement.

 

1)NI-DAQ and the Delphi Language Interface
http://digital.ni.com/public.nsf/allkb/6DA2B77222315EE08525644B0077C1CA?OpenDocument

2)Can I Make NI-DAQmx Calls From Borland Delphi?
http://digital.ni.com/public.nsf/allkb/A6715AA42405ACD786256F0A00633B8F?OpenDocument

3) This example describes how to correctly pass memory: 
Calling LabVIEW DLL in Visual C++ That Passes Array Handles by Reference

http://zone.ni.com/devzone/cda/epd/p/id/1518

Cheers,

Ricky

National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(3,275 Views)

thanks for the response. I'll begin reading

 

 

0 Kudos
Message 3 of 3
(3,264 Views)