My bad, I should have mentioned this in my previous post.
but PXCVA_Sync is not recognizing in the code. Looks like it requires some DLL needs to be added. That is the reason why i replaced that with integer 0 as method expecting integer.
Please let me know, if i am missing anything.