07-30-2012 12:18 PM
I understand that CVI 2010 does not have any SNMP tools, like LabView (ick!) does. (Dare I hope that this will suddenly appeaer in CVI 2012?)
Does anyone have a code example of implementing SNMP in LabWindows?
I'd like to develop an application to monitor & control an APC SmartUPS using their network card. And no I can't do this using the built in web server, e-mail or ftp. The application actually has to deal with about a dozen UPS units, and continuously operate in the background.
07-31-2012 11:42 AM
hendra,
CVI does not have any native SNMP libraries, however there are SNMP funtions available through the Windows SDK, which you can use in CVI. You will need to include MgmtAPI.lib, which is the SDK library that contains these functions, to your project. This library is included with CVI Full Development System, however, you must select the Windows SDK item when installing CVI.
I do not know of any examples that show how to do this, but it can be done using the library above.
08-01-2012 08:15 AM
I had heard, and probably seen in some old forum message, that the tools were in the Windows SDK. I do have the Full Dev Sys, so I can do as you mention.
I was hoping someone out there had done this already, so I could profusely plagiarize.
So, has anyone out there done an SNMP project using the Windows SDK???