Problem in Reading value of sensor connected to Labjack T4 using vb6 | LabJack
 

Problem in Reading value of sensor connected to Labjack T4 using vb6

2 posts / 0 new
Last post
Aashish Sharma
asharma1's picture
Problem in Reading value of sensor connected to Labjack T4 using vb6

iHello,

I have a triangulation sensor to detect an object connected to Labjack T4. I want the sensor output to read in my VB application. I have downloaded the LJM VB  in zipped form and have installed and cconfigured it. 

However when I run the VB code there is RUN button clicking on which I am getting  Info only like

LJM Library Version =  1.1802 Opened a LabJack with Device type:  4, Connection type:  1, Serial number:  440010743, IP address: 0.0.0.0, Port:  0, Max bytes per MB:  64 LJM_eWriteName:     DAC0 =  2.5 V 

I want to read sensor output in textfield. But which pin needs to be traced on labjack. have no idea. what sensor outputs that too.

For e.g. I want 1 in textfield when sensor detects object and 0 otherwise.

 

PLs help me.

 

Thanks

 

Ashish Sharma

LabJack Support
labjack support's picture
In order to read data from

In order to read data from your sensor and then interpret that data we need to know two things:

1) What does the sensor output: An analog voltage? A logic level? A pulse train? If you are not sur eyou can sned us the part number and datasheet for the sensor.

2) What pins on the LabJack the sensor's lines are connected to.