Home > Net >  Emergency help, CyUSB. How do you use the DLL????????????????????????????????????
Emergency help, CyUSB. How do you use the DLL????????????????????????????????????

Time:11-10

Adopting USB2.0 with lower machine online work, intends to use the CyUSB to control interface, function is simple -
Shake hands;
Parameters and the command to start the next bit machine, and then receive instant AD values and display;
Other commands and offline,

With a serial port can be completed in a job and now to switch to USB interface, CyUSB. We can only use CyUSB USBDeviceList obtained the equipment list, or use CyUSB. USBDeviceList class to view one device, but do not know which classes are used which method, attribute to the Write, Read, please everybody to give a sample code, a second knot stick to high marks,

Code to implement this,
1, send code 0 xaa 55 11 22 33
2, suspended 100 ms, check whether the interface is to receive data without the prompt communication timeout, there is receiving data and compare the machine reply code is correct,
Is it easy?

CodePudding user response:

BTW: an environment==VS2013 + Update5, Windows 7
Equipment categories: HID

CodePudding user response:

CSDN nobody?

CodePudding user response:

Try can top up again?

CodePudding user response:

No one, CSDN early,

CodePudding user response:

Or, we this help a Coder, early isn't a person,

CodePudding user response:

https://blog.csdn.net/u011555996/article/details/94723870

CodePudding user response:

Thank you upstairs, although saw or not much,

CodePudding user response:

Still alive?

CodePudding user response:

refer to the eighth floor wShineboy response:
still alive?

And I, and the next bit machine serial port communication, finally bought a USB transfer 485 thread, also bought a USB line around the front-end ports, lower machine serial port also walk so UDP

CodePudding user response:

Several years ago, for you reference;
https://download.csdn.net/download/porenasckx/5396287
  •  Tags:  
  • C#
  • Related