I am trying to read images from a camera using NETLink. The documentation and example code for the camera API is located at This link. The code seems to work until I try to read out a parameter from the camera.
Needs["NETLink`"];
InstallNET[];
LoadNETAssembly["C:\\XIMEA\\API\\x64"];
LoadNETType["xiApi.NET.xiCam"];
myCam = NETNew["xiApi.NET.xiCam"];
out = 0;
myCam@GetParam["PRM.EXPOSURE", out];
The last line of code produces this error:
NET::netexcptn: A .NET exception occurred: xiApi.NET.xiExc: GetParam PRM.EXPOSURE: Parameter is not supported at xiApi.NET.xiCam.GetParam(String prm, Int32& val).
Any ideas what I am doing wrong?