I am attempting to use Generic HID to talk to my TI MSP board. I can find the device, but an exception is thrown here:
private void ExchangeInputAndOutputReports()
fileStreamDeviceData.Write(outputReportBuffer, 0, outputReportBuffer.Length);
The exception says:
System.IO.IOException was caught
Message=IO operation will not work. Most likely the file will become too long or the handle was not opened to support synchronous IO operations.
at System.IO.FileStream.WriteCore(Byte buffer, Int32 offset, Int32 count)
at GenericHid.FrmMain.ExchangeInputAndOutputReports() in C:\Users\Mike\Documents\Visual Studio 2010\Projects\generic_hid_cs\FrmMain.cs:line 1256
I am fairly new to all of this. Can anyone offer a suggestion on what could be happening?