Hi,all I meet a problem when i invoke dll of .net assembly with labview. my .dll is a driver of a device ,and I have invoke the method of the dll successfully,but i don't know how to configure the paras to realize the function of sending commands to control device.Expect someone could help me! Send method of it as follows: (in case VB2005/2008) Public Function Write( ByVal WriteBuffer As System.IntPtr, ByVal Size As Integer,ByVal Timeout As Integer ) As Integer
Description:
Method for transmitting data to splicer.
Return Value:
0xC0000005 : No error
0xC0000005 : Device not responding
0x20000015 : Timeout expired
Other : Other error
Parameters:
WriteBuffer : Pointer to transmitting data buffer (Unmanaged)
Size : Byte length of data
Timeout : Time out in milliseconds