Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Using NI USB 8451 to read a DC SS500 SPI Sensor

Hi,

 


I'm trying to read  a SPI sensor with the USB 8451, but i'm getting strange results. The sensor is the DC-SS500 (http://www.sure-electronics.net/download/DC-SS500_Ver1.0_EN.pdf), and i'm using the Labview 8.6.

 

The connection scheme is bellow, but i don't belive there is any problem.

 

connection

The code is attached below, and I wrote it based in "General SPI read script" example and DC-SS500 user guide.
When I do the measurement I get response 0 for the read address 0. Changing the read address, as a result I get twice the value of the address.

 

Anyone know what might be causing the problem?

 

Thanks


0 Kudos
Message 1 of 4
(4,893 Views)

Hi , I'm still having problems with the interface between the NI8451 and the sensor.

Anyone have any tip?

 

Thanks

0 Kudos
Message 2 of 4
(4,773 Views)

Ristow,

 

Tente executar o VI em anexo e caso tenha sucesso, proceda alterando-o à sua necessidade.

 

Para melhor lhe ajudar, peço que informe qual a versão de Driver você está utilizado, e também descreva o problema ocorrido com maiores detalhes.

 

Obrigado.

Guilherme Yamamoto
Field Marketing Engineer
National Instruments

If this information was useful, please click in the "KUDOS"
0 Kudos
Message 3 of 4
(4,723 Views)

Ristow,

 

Você continua tendo problemas para ler os sensores ou está questão já foi solucionada? Se já foi solucionada, gostaria de saber se foi atravéz deste tópico ou você mesmo o resolveu?

 

Não obtive seu retorno. Estou a disposição caso necessário.

 

Obrigado!

Guilherme Yamamoto
Field Marketing Engineer
National Instruments

If this information was useful, please click in the "KUDOS"
0 Kudos
Message 4 of 4
(4,650 Views)