03-24-2008 04:43 AM
03-24-2008 10:28 AM
Hi,
Yes, you can use the RS 232 line to communicate directly with your device. To be able to use the built-in serial port of the camera, make sure the CONSOLE switch is turned off. If not, switch it off, and reboot the camera. When it's on, the serial port outputs device information, such as the IP address and firmware version during start up and is not available for applications. The NI 17xx reads this switch only when powering up or restarting and will only display device information during start up.
When the CONSOLE switch is in the OFF position, you can use the 17xx serial port and NI-Serial driver software to send and receive serial data. The NI-Serial software is installed when you install NI-IMAQ. When using the NI-Serial driver, keep the CONSOLE switch in the OFF position during normal operation.
Refer to the Connecting to Serial Devices section of Chapter 2, Power and I/O, for more information about using serial communication with the NI 17xx.
If the CONSOLE switch is OFF and you're using Vision Builder AI, you can use the standard Serial step to send and receive commands with the camera serial port.
-Christophe
03-27-2008 05:08 AM
03-27-2008 11:11 AM
Make sure the serial settings of the smart camera match the ones of your hyper terminal application.
If you're programming the smart camera in LabVIEW, use the VI named "VISA Configure Serial Port" to specify the baud rate and other parameters of the serial port of the smart camera.
If you're using VBAI, target the smart camera, then select the menu Target>>Target Options and go to the Serial Port tab to set these options.
Make sure they match the serial options of the software you're using to read the serial data on the other side.
Also, make sure you have the right cable (but if it works with the console switch turned on you probably do). Some software require a straight cable (transmit connected to transmit, received connected to received), while some other require a null modem cable (transmit connected to receive).
Hope that helps,
-Christophe
03-27-2008 10:25 PM
Thanks your quick response.
I did check all what you mentioned, I also make sure I've installed NI-Serial RT on 1742.
But still no output :(,
Any other reason ?
03-28-2008 04:48 AM
04-01-2008 04:00 AM
04-01-2008 09:38 AM
04-01-2008 10:10 AM
04-03-2008 11:27 AM