
450 Series USB Encoder
Engineering Manual
www.storm-interface.com
450 Series USB Encoder Engineering Manual rev 1.5 Jun 2018 Page 44 of 48
InitialiseStormUSBDevice
This function is used to initialise the USB Encoder. The usb encoder is identified by the Product PID and Manufacturer
VID. These are assigned to Keymat:
Vendor ID – 0x2047
Product ID – 0x0902
On successful finding the USB Encoder the manufacturer_local will be filled with “Storm Interface” and product_local
will be filled with “USB Encoder”. If not successful both of the strings will be filled with “none”
Parameters :
storm_vid
-
Vendor ID
product_pid
-
Product ID
manufacturer_local
-
vendors name will be stored
product_local
-
product name will be stored
Return Value:
True for success
False for failure.
///\brief InitializeStormUSBDevice is called at the beginning of the
application to
///Setup the PRODUCT ID (PID) and product vid
///\return false on failure, true on success.
///On failure, call GetErrorCode() to retrieve the error
///
bool
InitializeStormUSBDevice(
int
storm_vid,
int
product_pid, std::string
&manufacturer_local, std::string &product_local );
or
bool
InitialiseStormUSBDevice(
int
storm_vid,
int
product_pid);