01-10-2007 03:57 PM
01-10-2007 05:27 PM
01-11-2007 07:31 PM
05-20-2011 05:32 AM
I am having the same problems.
I have one thread running so the calls the snmp functions only come from within the single thread.
The code runs fine using a simple do while loop but using either threads or asynchronous timers
the snmp call SNMP_Get locks the program.
Any solution to resolve this greatfully appreciated.
John
05-23-2011 11:15 AM
Hi John,
It looks like SNMP doesn't support multi-threading. Check out this link
10-24-2012 12:36 PM
qsa301, I hope you are still around 2.5 years since your last post.
If you did the SNMP programming in C, can you share some code?
10-25-2012 06:35 PM
Try looking at Net-SNMP. They have some example code in their tutorials section.
10-29-2012 07:49 AM
Angelica,
I spend the better part of a week trying to get some simple thing in Net-SNMP to compile in the CVI environment. Dismal failure. That's why I'm trying to find somebody who has done it before, so I can see some sample code.
10-30-2012 06:30 PM
I'm sorry that you have been unable to develop your application in CVI. Unfortunately, CVI does not contain any SNMP libraries, but it is my understanding that this is possible through the Windows SDK. However, I am not very familiar this protocol and NI does not have any examples for CVI. I would recommend reposting your question in a new thread. This will ensure that your post receives an increased amount of exposure.