Question to all USB savvies:
I need to know if this at all possible:
I have 2 systems:
System1: This is an embedded controller which is running a USB CDC stack, and when connected to System2 via USB, it creates a virtual COM port at System2
System2: This is a PC which is running a Labview application which is acting as main controlling platform and it communicates serially with System1, via the virtual serial COM port created when System1 is connected. This application essentially sets parameters and gathers data from System1.
What I need to do (if at all possible) is to replace System1 with a PC that is running an application (i.e. Visual Studio), or other, which basically emulates the behaviour of the controller (System1). This basically means my application must behave like a CDC device in respect to USB and present a serial COM port to System1 to be able to pass the data back and forth via the CDC emulated channel.
Questions:
Is this at all possible, since the PC acts as a USB host?
What is the easisest way to implement this?
Are there off-the-shelf components that can be used to simplify the implementation process?
Is there a sample code that explains how to do this?
Thanks,
Alex