"Bad request" exception
Posted: Mon Mar 15, 2021 2:46 pm
Hi,
I have a "KLOP" and a "KONNECT" connected to it via "JP6 #AUX1" . My program runs the c file whose content is as follows.
And i am reading inputs succesfuly every 100 ms. But Kmotiondotnet.dll sometimes throws "Bad Request" exception during ".GetDigitalValue()".
I couldn't understand.I'm waiting for your help.
Thanks
I have a "KLOP" and a "KONNECT" connected to it via "JP6 #AUX1" . My program runs the c file whose content is as follows.
Code: Select all
#include "KMotionDef.h"
main()
{
InitAux();
AddKonnect(2,&VirtualBits,VirtualBitsEx);
}
And i am reading inputs succesfuly every 100 ms. But Kmotiondotnet.dll sometimes throws "Bad Request" exception during ".GetDigitalValue()".
I couldn't understand.I'm waiting for your help.
Thanks