Sulzer,
Thank you for your prompt response.I am sending herewith the Build setup file for your reference.
I am using Labview Express 7.0 version to build the shared DLL.Pls find below is the brief info about building DLL.
1)I have used NI VISA driver build Wizard to build the Driver for my own designed PCI I/O Card.This driver works well and able to communicate with card by using VISA open/VISA IN/ VISA OUT VIs.
2)I would like to call this driver by using other text based languages like Visual Basic or Visual C++ as Shared DLL.
3)Hence, I have built the Driver VI (PCIDLL.VI) by using the following parameters.
PCIDLL(Command, Address,Data,Value)
i.e. Command ====> CWRITE,CREAD, WRITE, READ and CLOSE
Address ====> 8 bit Hex Address Read/Write Value
Data ====> 16 Bit Hex Data - Write value
Value ====> 16 Bit Hex -output (Read Value)
As soon as the DLL is being called ,driver should open the VISA resources and do the write or read or close operation based on user command.
4)When I was trying to build the Shared DLL by using PCIDLL.VI (as exported VI) and parameters (as per the BLD file ), I was encountered with build error as I mentioned earlier.
I hope the above functionality could be built as shared DLL and could be called by other Text based languages.
Regards
Aru