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.
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.
06-16-2014 04:13 AM
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.
06-16-2014 08:08 PM
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).
06-17-2014 05:06 PM
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:
Como segundo punto:
Voy a revisar su sugerencia de uso de NI Simple Messaging Library.
06-17-2014 05:56 PM
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)
06-18-2014 11:31 AM
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