We are developing standalone application in qt software using c++/python language. We are sending some digital data/ waveforms from hardware and that we have to see on the application. We want to know how we can interface this application with the STM hardware. For Gui and hardware communication, we are using usb communication. But we don't know which usb class we should use for the communication.No idea what "GUI.SO" software is, please elaborate. Which kind of communication do you want to establish? Popular device classes working with generic description files are CDC (serial port) or HID.
But the TMC channel is not present in stm32cubemx.Only HID, custome Hid, Virtual con port.I'm using a serial protocol layer, e.g. MODBUS or simple line orientated ASCII commands over CDC for similar purposes. Advantage is that it can be easily switched to ethernet or RS232. If you want an application specific bulk protocol, TMC (test and measurement class) could be an option.
Why do you make it more dificult than necessary?
CDC is simple, you said it's available (post#5), and FvM sais it's a valid method (post#4, post#6).
It seems you ignore CDC, but insist in HID (post#7, post#9) ... and then you complain about HID (post#9)
Can you tell me where you see the problem with CDC / virtual COM?HID and CUSTOME HID are both are different class .I am not complaining about the HID. I just want to communicate with application which give me the data of waveform and using USB peripheral I have to take that into my stm32h7 board. And using the DAC I have to generate the waveform. Main thing is that if I have to communicate with any application which Class I have to use. for eg. If there is one application which I have 3 LEDS and one user button, when we click one led option in application then our LED on board that I have start blinking. These kind of communication that I have to use.