PLIN API Read Hardware - Name
Posted: Thu 10. Oct 2019, 10:07
Hello,
I want to read the hardware-name of the device "pcan-usb pro" using PLIN-API 11.01.2011 - Version 2.2.28.71.
code:
What did i do wrong?
Thx!
I want to read the hardware-name of the device "pcan-usb pro" using PLIN-API 11.01.2011 - Version 2.2.28.71.
code:
Code: Select all
Peak.Lin.TLINError lLINErr;
StringBuilder lnName = new StringBuilder();
lLINErr = Peak.Lin.PLinApi.GetHardwareParam(lwHw, Peak.Lin.TLINHardwareParam.hwpName,lnName,47);
lLINErr == errBufferInsufficient :?
Thx!