The Internet of Things (IIoT) offers unprecedented possibilities for industries. Stay ahead with EcoStruxure™ Plant and Machine.Learn more
...with the EcoStruxure™ Facility Expert (formerly known as Facility Hero) app in hand! Discover how you can optimize your maintenance efforts today.Learn more
Access tailored services, 24/7 self-service and expert help. Anywhere, anytime, any project.Discover now
The story behind the Shedd Aquarium, a smart, sustainable facility that connects people to animals, with EcoStruxure™.Discover how
Welcome to the Schneider Electric Global Website×
Goals and Symptoms
When adding a meter to Tenant Metering Software (TMS v 1.5), the following error is displayed:
Tenant Metering Software Unhandled Exception - "Value of '0' is not valid for Parameter name: SelectedIndex"
Causes and Fixes
Version 1.5 of TMS relies on VB, which has a callfor "Serial devices" in the system before building the "Add Meter" screen. Most modern computers do not have COM ports, and so, because there was no error checking on that return value it will throw the error above when the list is empty.
The attached program creates a virtual com port on the machine. TMS detects the virtual com port as a standard com port and thus the list can be created correctly and returned without errors.
(Removed File URL: 211143_4C06/com0com-188.8.131.52-i386-and-x64-unsigned.zip)(Removed Image URL: /PubResEXPORT.nsf/2b87ee90be777fc085257c28006ee4ef/14b06da368d76ecdc1257b4500272dac/fl_block_5/0.11A?OpenElement&FieldElemFormat=gif)com0com-184.108.40.206-i386-and-x64-unsigned.zip
Sign up for all the latest solutions, offers and best practices straight to your inbox.
We are excited that you have joined the group. You will receive your welcome email soon describing the program and what to expect in the upcoming weeks. Enjoy!