Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

can i enter digital input to the ni elvis 2?

hello. i want to know if i can connect a temperature sensor that output digital data (12 bits) to the ni elvis 2

0 Kudos
Message 1 of 11
(8,261 Views)

Hi there,

 

what type of board are you using on ELVIS? Are you using the prototyping platform?

What type of sensor you have? Is it communicating via serial port?
Best regards,

I.R.

 

0 Kudos
Message 2 of 11
(8,237 Views)

hi . yes it communicate via serial port. how can i aquire signal from it?.i am using ds18b20 temperature sensor and the prototyping platform. how can i read the signal and convert it to temperature that will bi used in a vi in labview?

 

thanks a lot

0 Kudos
Message 3 of 11
(8,234 Views)

Hi,

 

Do you have a serial port in your computer? You can use NI VISA driver to program the serial port to communicate.

Please confirm that you have a serial port in your computer.

 

Best regards,

I.R.

0 Kudos
Message 4 of 11
(8,228 Views)

no. i need to use ni elvis and not just directly connect the sensor to the pc. the senor has 3 wires one for the supply voltage ,one for ground and one for the data.

0 Kudos
Message 5 of 11
(8,221 Views)

Hi,

 

You can read these data on a digital line using the Digital Reader function.

You will have to install Elvismx driver.

More details in the manual on the following link http://www.ni.com/pdf/manuals/374629c.pdf

 

Best regards,

I.R.

0 Kudos
Message 6 of 11
(8,213 Views)

Hi,

 

You can read these data on a digital line using the Digital Reader function.

You will have to install Elvismx driver.

More details in the manual on the following link http://www.ni.com/pdf/manuals/374629c.pdf

 

Best regards,

I.R.

0 Kudos
Message 7 of 11
(8,212 Views)

thanks a lot for your help and time . i will try it tomorrow but i think this is the solution

0 Kudos
Message 8 of 11
(8,207 Views)

If you test and it is working, don't forget to mark the solution.

 

Best regards,

I.R.

0 Kudos
Message 9 of 11
(8,193 Views)

Hello, I tested it today but it didn't work . I need something in labview that gives me 0000 0000 0001 for example and then i will convert it to the corresponding temperature ( an increment in 1 bit corresponds to 0.0625 degree C) and the sensor should be connected to the elvis 2."the sensor has a serial ouput".

 

thank you.

0 Kudos
Message 10 of 11
(8,188 Views)