Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-485 Serial Connector Read Error 1073807339

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

Download All
0 Kudos
Message 1 of 5
(3,698 Views)

If you don't have this sensor connected, what is? Is there some instrument that is supposed to read the sensor? What instrument?

0 Kudos
Message 2 of 5
(3,672 Views)

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.

0 Kudos
Message 3 of 5
(3,671 Views)

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?

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

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)

0 Kudos
Message 5 of 5
(3,644 Views)