12-03-2010 11:36 AM
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.
12-06-2010 09:58 AM
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
12-06-2010 11:46 AM
thanks for the response. I'll begin reading