LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C communication via NI USB 6009

Hi,

     I am trying to make I2C communication via the NI USB 6009. Can you please help me out in providing any example VIs or libraries specially meant for  I2C with 6009 and not 8452. I have done with 8452 already but for my application I need to perform using 6009. I have found a IDW 2C waveform library for it. But not very sure how to use them.

Thanks in Advance.

0 Kudos
Message 1 of 12
(10,685 Views)

I looked at the specifications for a NI USB 6809 and found no mention of an I2C Interface. Please provide a link to the IDW 2C waveform library so we can compare the library capabilities  with the USB 6809 Specifications 

hrh211

Message 2 of 12
(6,609 Views)

You should post your question in the LabVIEW Forums.  This particular community in which you have posted is for the LabVIEW Interface for Arduino.

The 6009 uses software timing which will be extremely slow (if it's even possible) compared to a device that is designed to implement I2C.  If you have a library that can do it successfully,  you should post it along with your question in a new discussion in the LabVIEW forums.

Alternatively, you could consider using LINX with an Arduino or ChipKIT if you won't want to use an NI device designed for I2C (or with I2C capabilities).

Message 3 of 12
(6,609 Views)

The I2C library IDW found from link http://www.ni.com/example/31080/en/.

The hardware clock since it is not available in NI USB 6009. For my application Softare based clock and bit streaming has to be done for I2C communication. I have posted this here because I tried using Arduino and NI USB 8452 which is working completely well. But as for us my application is concerned ; it has to done with 6009.

If someone could help with Bit streaming in LabVIEW for I2C communication. Kindly source out.

Thanks in Advance.

Fredrick 

0 Kudos
Message 4 of 12
(6,609 Views)

It appears you want to use an NI 6009 as an I2C bus controller.  If this is your objective I suggest you use an Arduino Uno and LIFA orLINX.  The Arduino Uno and LIFA or LINX have I2C capability.   If this not your objective please describe your objective. 

hrh212

0 Kudos
Message 5 of 12
(6,609 Views)

Hi,

    Thanks. I tried using arduino UNO. I am able to do it. But as for as my application I can only use 6009 and not arduino board. If it is not possible suggest me whether I could build the software clock in LabVIEW VI abd run the same in 6009.

Fredrick Johnson JOSEPH

0 Kudos
Message 6 of 12
(6,609 Views)

I can not answer this quetion.  "If it is not possible suggest me whether I could build the software clock in LabVIEW VI abd run the same in 6009.".

I second Nathan's suggestion. Post your question In the main Labview Community.

hrh212

0 Kudos
Message 7 of 12
(6,609 Views)

Hi,

     I'm trying to link wires between SHT75 and NI-USB 6009,but I have no experience about SHT75 and 6009.The datasheet of SHT75 reconmmended using I2C interface ,but I'm trying to make digital I/O interface

between SHT75 and 6009,My laboratory need a set of digital aquisition system,and I want to programing it with labview ,then feeding back aquisited to the air conditioning,Could you give me some conductive suggestion?Thanks in advance.

0 Kudos
Message 8 of 12
(6,609 Views)

The NI-USB 6009 cannot be used for I2C. Also, that sensor has a custom

protocol that is not compatible with the I2C protocol. Because it uses a

custom protocol, I'm not sure if you would be able to use the NI-USB 8451

either. Your best bet is to use some sort of micro controller like Arduino

that you can program to use that custom protocol.

0 Kudos
Message 9 of 12
(6,609 Views)

Oh,but I have bought the DAQ of 6009,I am a graduate

student,my boss give me a assignment which design a digital acquisition

system with SHT75 and NI-USB 6009,it's long time that make micro

controller,including designation of PCB,my profession is physics not

electronics,so I have no experience in electronics,it's my good luck to

find a message someone make a great success with 6009 and SHT75 in labview

forum,but I don't know how to design them ,so I hope I could get some

useful messages for me. Could you meet someone who has rich experience in

this aspect?If you know,please introduce them to me.I will be grateful.

best regards

2014-11-19 22:16 GMT+08:00 Nathan_B. <web.community@ni.com>:

Community

<https://decibel.ni.com/content/index.jspa> Re: I2C communication via

NI USB 6009 created by Nathan_B.

<https://decibel.ni.com/content/people/Nathan_B.> in *LabVIEW Interface

for Arduino* - View the full discussion

<https://decibel.ni.com/content/message/87276#87276>

0 Kudos
Message 10 of 12
(6,609 Views)