From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuración de Puerto Ethernet Dual de mi Smart Camera 1742 para comunicar con mi Smart Camera 1772C

Buenas Noches, necesito que me ayuden en varios puntos:

 

COmo puedo comunicarme mediante el puerto dual ethernet de mi Smart Camera (SC) 1742 a mi SC 1772c, para hacer un intercambio de datos.
Como almacenar en mi SC 1742 varios datos q varian en el tiempo, y luego enviar estos datos uno a uno por el Puerto Dual hacia la SC 1772C cuando hayan alcanzado un cierta capacidad (Ejemplo mi espacio de almacenamiento es de 30 datos, y cuando llega a almacenarce los 30 datos comenzar a enviarlos y continuar acumulando mas datos, es decir, un vez enviado el dato esto será reemplados por un dato posterior) y esta pueda procesarlos? 
En la imgen se ilustra lo que necesito hacer o estoy abierto a sugerencias.

Recepción Amacenamiento y Envio.png

0 Kudos
Message 1 of 5
(4,703 Views)

First, you need to determine what your network is going to look like.  I am going to assume that both cameras are going to be communicating to a PC

 

                                                      /1772C NIC#1{192.168.1.3/255.255.255.0}

   /NIC#1{192.168.1.1/255.255.255.0}|GIGE-SWITCH#1|  <

PC<                                                   \      /NIC#1{192.168.1.2/255.255.255.0}

   \                                                   >1742<

    \                                                 /      \NIC#2{192.168.2.2/255.255.255.0}

     \NIC#2{192.168.2.1/255.255.255.0}|GIGE-SWITCH#2|/

 

Don't use Shared Variables if you can avoid it.  Try the NI Simple Messaging Library http://sine.ni.com/nips/cds/view/p/lang/en/nid/212055 (You can install it from VI Package Manager). 

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 5
(4,693 Views)

Gracias por su respuesta.  

 

Primer Punto:

Mi conexión de red es la siguiente:

 

Mi CP tiene un solo Puerto Ethernet NIC#1 asi que esta la comunico directamente al puerto dual NIC#1 de la Smart Camera 1742 y puerto dual NIC#2 de esta, lo quiero comunicar directamente al puerto NIC#1 de la Smart Camera 1772C , y de esta manera comunicarme entre lad dos Smart Camera y a través de NIMAX con mi CP y poder interactuar los tres hardwares.

 

A continuación estas son las direcciones que utilizo indibidualmente de cada hardware.

 

PC         <  /NIC#1{192.168.0.22/255.255.255.0}|GIGE-SWITCH#1|  

 

                   /NIC#1{192.168.0.12/255.255.255.0}

                 /   

1742     <  

                 \

                  \NIC#1{192.168.0.13/255.255.255.0}

 

1772C  <  /NIC#2{192.168.0.11/255.255.255.0}                

Estas direcciones pueden ser cambiadas deacuerdo a sus dugerencias.       

 

Acontinuación muestro un esquema de la  comunicación requerida entre los tres elementos:

Comunicacion de Hardwares.png

 

 

Como segundo punto:

Voy a revisar su sugerencia de uso de NI Simple Messaging Library.

 

 

0 Kudos
Message 3 of 5
(4,683 Views)

Hi Luis,

 

To avoid problems with routing mesages, the link between the two cameras must have a subnet that is different from the subnet between the 1742 and the PC.  The reason for this is that the default gateway, if one is defined will determine that only one NIC is needed to route message to the 192.168.0.0 subnet, and the result would be either no communication between the two cameras, or no communication between the 1742 and the PC.

 

To avoid this problem, make sure the two NICs on the 1742 are on separate subnets (ex. 192.168.0.0 NIC#1 and 192.168.1.0 NIC#2)

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 4 of 5
(4,679 Views)

Hola Luis;

 

Una segunda opción, que quizá resulte mas sencilla es la de emplear un HUB para conectar ambos equipos dentro de la misma subred.

 

Saludos

0 Kudos
Message 5 of 5
(4,664 Views)