/// <summary> /// Constructor /// </summary> public MainForm() { InitializeComponent(); _ethernetConfig = new LJV7IF_ETHERNET_CONFIG(); _callback = new HightSpeedDataCallBack(ReceiveData); _cbxSelectProgram.SelectedIndex = 2; }
internal static extern int LJV7IF_HighSpeedDataEthernetCommunicationInitalize( int lDeviceId, ref LJV7IF_ETHERNET_CONFIG pEthernetConfig, ushort wHighSpeedPortNo, HightSpeedDataCallBack pCallBack, uint dwProfileCnt, uint dwThreadId);
internal static extern int LJV7IF_HighSpeedDataUsbCommunicationInitalize(int lDeviceId, HightSpeedDataCallBack pCallBack, uint dwProfileCnt, uint dwThreadId);
public ObjectLJV7() { _callback = new HightSpeedDataCallBack(ReceiveData); }