02-13-2014 04:05 AM
Hi,
I have bought a new device optoNCDT 2300 sensor. Below link is the datasheet for it.
http://www.micro-epsilon.com/download/manuals/man--optoNCDT-2300--en.pdf
I have intention to control it using LabVIEW interface through ETHERNET.
The device already set to fixed IP: 169.254.168.150
I have use windows cmd prompt to send to ping to device and it is fine.
And I able to communicate to the device using HyperTerminal software.
However, when I trying to create new VISA TCP/IP Resources under My System > Devices and Interfaces > Network Devices in Measurement & Automation Explorer (MAX), it failed to do so and show the error code: VISA error code 0xBFFF0011.
Is that means the device are not supported by LabVIEW software?
02-25-2014 01:10 AM - edited 02-25-2014 01:13 AM
If you want to use VISA try to give a look here:
http://www.ni.com/white-paper/3325/en/
and here
http://digital.ni.com/public.nsf/allkb/80C28CC795611E4A86256AB100209521
Your device should be set as "Raw Socket".
Moreover: I'd try to code directly in Labview there's no need to add the device in MAX.
As an alternative to VISA you can use the TCP VIs shipped with Labview.
Give a look to the examples (search for TCP/IP in Example Finder).
Regards,
Marco