06-24-2011 08:58 AM
I have setup a smart camera on a switched ethernet system.
PC with browser to view web server--10.128.xx.xx
The Camera ONLY NEEDS TO COMMUNICATE to these other 2 IP's.
How to I limit this or shut off multi-cast?
06-27-2011 03:32 PM
Whart sort of communication are you using? During development, all communication is point-to-point, but while you're running your application you'd want to be using TCP (not UDP) to limit the connections. I'm not sure I completely understand your question because I don't know what sort of multi-cast communication you're doing. If you elaborate more I might be able to tell you more.
06-29-2011 09:52 AM
Have you used a program like Wireshark to look at what's inside those packets? I'm not sure why it's sending those packets via multicast but their contents might reveal something. What sort of communication are you doing with the smart camera? What is your application? We'll have to figure out why they're being sent before we can figure out how to reconfigure/stop them.
06-29-2011 10:10 AM
I have it setup to write tags to a plc and the other device is pc with a web browser window for the "web server" to view the images that the camera is taking.
Have not used wireshark to try to grab those packets. Was just searching for a higher understanding. Another issue is that when the camera sits an entire weekend i have to reboot it to actually reconnect the display with the webserver. It "locks up". I am currently working to change some of this to where the power to the camera comes off a relay triggered from the plc so i can incorporate "automatic shutdown" logic. I want to setup and use the ftp feature so i do not lose historical data every weekend. Will try to post more information when I can. I truly appreciate the response.
06-30-2011 10:15 PM
As far as the locking up is concerned, it sounds like you might have a memory leak. Look at your code and keep an eye out for things such as arrays that are being built upon indefinitely or references that are being opened and not closed. Hopefully, this will lead to the source of the lock up.
08-05-2011 11:41 AM
I have a slight problem with having to power cycle the camera once a day.
I have it narrowed down possibly to a logic loop in my state diagram requiring user input that IS NOT getting user input.
Also in relation to this is the indication on my plc that an " IO is not responding" indicator led is flashing when this is hung.
I power cycle the camera and all is fine.
I have the web server hosting the UI, it says "Fatal Application error has occurred" I power cycle and all is fine. Any thoughts??
Here is more information, currently i am going to work on adding a 90 decibel siren to the system to get that user input....
I am curious how much time has to pass that is causing this??
08-08-2011 08:13 PM
I wish we had some more information about this "fatal application error" but it definitely seems like something in your program is causing it to crash after running for a while. One thing you could do is see if the smart camera publishes its health as a System State variable. If it does, you should be able to monitor this through the distributed system manager (Start >> All Programs >> National Instruments >> Distributed system manager). Look for the library entitled NI System State, and watch to see if the amount of free memory decreases while your program is running. If it does, it means you have something in your code that is constantly consuming memory, and will inevitably lead to a crash. Let me know if you can see any system state for the smart camera, and what its behavior is.