Jump to content

Using NI USB 8451 to read a DC SS500 SPI Sensor


Ristow

Recommended Posts

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.

http://forums.ni.com...?v=mpbl-1&px=-1

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

Read DC-SS500 SPI.vi

Link to comment
  • 1 month later...
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.