02-07-2013 02:45 AM
Hello,
I want to use a USB-485 USB to Serial Connector to control a Laser Distance Measure Sensor (WayCon LAS-Z-100).
I didn't connect the Sensor yet and just want to get the USB-485 going, but I'm always getting an error 1073807339 in the read module.
I used the LabVIEW Programming sample, which is shown on the Serial Quick Reference Guide and crosschecked all the setting with the system setting of the serial device (and I also played around with all the possible settings), but so far it always puts out that error.
Im not very experienced with LabVIEW, so please go light on me 🙂
I've also added the program and a screenshot in the attachments.
Best regards,
Felix
02-07-2013 09:08 AM
If you don't have this sensor connected, what is? Is there some instrument that is supposed to read the sensor? What instrument?
02-07-2013 09:16 AM
If the sensor isnt connected, nothing is connected: I assumed the Serial Connector will give some feedback on itself.
But i tried it also with the sensor connected and it came up with exactly the same error.
02-07-2013 09:28 AM
No, there is no feedback unless you have an instrument connected.
Are you sure the command you are sending is correct? You aren't appending a termination character either (i.e. carriage return or line feed). Can you attach the manual?
02-08-2013 02:25 AM
OK, i've got it working (somehow).
I connected the sensor with the serial connector again and used a .vi i found on the NI developer zone (http://zone.ni.com/devzone/cda/epd/p/id/2674)
It didnt work with the program i created (after the example given in the quick serial guide) tho, which is probably due to the missing DTR in my program (if i switch that off in the other one, it doesnt work either)
Here is the data sheet from the sensor: http://www.waycon.de/fileadmin/pdf/Laser_Displacement_LAS.pdf (its not realy usefull tbh)