We are looking at implementing a card-reader program for a integrated computer. The computer is a touch-screen with an embedded computer, running Windows XP, and a cardreader integrated into the screen.
我们正在寻求为集成计算机实施读卡器程序。该计算机是一台触摸屏,带有嵌入式计算机,运行Windows XP,以及集成在屏幕中的读卡器。
The reader is a USB device, but unfortunately integrated so tightly into this screen/computer that I cannot detach it and connect it to something else.
读卡器是一个USB设备,但遗憾的是,它非常紧密地集成到这个屏幕/计算机中,我无法分离它并将其连接到其他东西。
To boot, the SDK is a pain, since it is non-existant. The SDK consists of a VB (not .NET) application which communicates with the USB device through the HID subsystem through a handful of windows api functions, and since we need this to be part of a .NET application we need to reimplement it using P/Invoke.
要启动,SDK很痛苦,因为它不存在。 SDK由一个VB(非.NET)应用程序组成,它通过HID子系统通过一些windows api函数与USB设备通信,因为我们需要将它作为.NET应用程序的一部分,我们需要使用P重新实现它。 / Invoke的。
Thus, testing this will be a pain since I will probably have to continously copy new files onto the machine and have a ton of logging to figure out what goes wrong.
因此,测试这将是一个痛苦,因为我可能不得不不断地将新文件复制到机器上并进行大量的日志记录以找出问题所在。
Or do I? What else can I do? Running Visual Studio on that machine will be a bigger pain than just copying the program and using logging so that's not an option, but what else? Can I remote debug this from my own machine? The machine has networking capabilities so I can reach it over the network just fine.
或者我呢?我还可以做些什么?在那台机器上运行Visual Studio会比仅仅复制程序和使用日志记录更加痛苦,因此这不是一个选项,还有什么呢?我可以从自己的机器远程调试吗?该机器具有网络功能,因此我可以通过网络轻松访问它。
Any tips or advice anyone can give?
任何人可以给出的提示或建议?
2 个解决方案
#1
Take a look at USB Over Network or a similar program. You can make the remote USB port appear as a virtual port on your dev machine and do your debugging locally.
看看USB Over Network或类似的程序。您可以将远程USB端口显示为开发计算机上的虚拟端口,并在本地进行调试。
#2
Visual Studio and the command line debuggers all support remote debugging.
Visual Studio和命令行调试程序都支持远程调试。
#1
Take a look at USB Over Network or a similar program. You can make the remote USB port appear as a virtual port on your dev machine and do your debugging locally.
看看USB Over Network或类似的程序。您可以将远程USB端口显示为开发计算机上的虚拟端口,并在本地进行调试。
#2
Visual Studio and the command line debuggers all support remote debugging.
Visual Studio和命令行调试程序都支持远程调试。