Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Having data from a laser distance sensor and controlling stepper motor

Hi, I need help with LabVIEW as I want to receive and save measures from laser distance sensor. In addition to controlling 2 stepper motors by using USB 6008.
0 Kudos
Message 1 of 19
(4,712 Views)

Zizo,

 

To get useful help, you should be more specific about what you want.

 

How does the laser sensor communicate with the computer?

 

The USB-6008 has software timed digital outputs which make it poorly suited for controlling a stepper motor except at very low speeds.

 

What have you tried?

 

Lynn

0 Kudos
Message 2 of 19
(4,709 Views)

Lynn,

 

The sensor will be communicated to the computer analogy through The USB-6008, as the sensor outputs 4 - 20 mA.

 

What I want to know for now is how to read an external voltage through The USB-6008 and deal with it in LabVIEW?

The USB-6008
0 Kudos
Message 3 of 19
(4,704 Views)

Zizo,

 

The USB-6008 can read analog voltages but not current.  Typically the way 4-20 mA signals are handled is to connect the current loop to a 249 ohm resistor and measure the voltage drop across the resistor.

 

Look at the Examples which come with the DAQ drivers for the USB-6008 as a way to get started.

 

Lynn

0 Kudos
Message 4 of 19
(4,701 Views)

Thanks Lynn

 

I'm getting to be familiar to LabVIEW

0 Kudos
Message 5 of 19
(4,691 Views)
Hi, I'm finished with the sensor, but I need to know how to control the stepper motor through STEP DRIVER BAL-35. I controled it manually, but when I tried to send digital pulse to the drive using LabVIEW but I couldn't do it.
0 Kudos
Message 6 of 19
(4,668 Views)

I am not familiar with the BAL-35, but I searched on-line and found a driver with that designation.  I noticed that the Logical Signal Current specification calls for 6 to 20 mA.  The USB-600x series devices can only drive 8.5 mA.  The output high voltage at 8.5 mA is 2.0 to 3.5 V which is well below the 4.5 V minimum Input High voltage required by the BAL-35.  Some of the other web sites I found say it is TTL compatible, but the values on that page are NOT really TTL compatible.  Since the documents are not clear, it is hard to say what the fix will be.

 

Do you have any way to measure the actual input requirements?

 

Lynn

0 Kudos
Message 7 of 19
(4,658 Views)
Hi Lynn, Forget for now about the driver and the stepper. What I need to know is how to get digital output voltage (for example 5.0 v) from the USB 6008 using LabVIEW. Zizo
0 Kudos
Message 8 of 19
(4,649 Views)

Look at the Digital Output examples which come with the DAQ drivers.  The USB-6008 only has software timed digital outputs, so you will be limited in the choices of examples.

 

Lynn

0 Kudos
Message 9 of 19
(4,646 Views)
Hi I have: - USB-6008 - Stepper motor 57HZ51620 - Stepper motor 57HZ76-13 - 2 Drivers Bal-35 - Short range laser sensor SICK DT20-P224B (Analog output: Volt) The steppers controlling horizontal and vertical movements of the sensor What I want to do is to control the steppers and in the same time acquire the analog signal from the sensor in one button press. I want to be able to set different paths for the sensor movement through the steppers I found out that the USB-6008 couldn't do such task, what USB-DAQ could?
0 Kudos
Message 10 of 19
(4,542 Views)