Here I have to talk with an ADT7461 via USB6501 and display the result on the PC.
How can I emulate a C program to labView graphical?
The connection between USB 6501 and ADT7461 is by SMbus. Sequence is as follow:
- an address for the ADT sent out by USB6501 first;
-followed by instruction of reading or writing.
-followed by the address where to read or to write
-then send or receive data from the register.
USB 6501 is the MASTER and SLAVE is the ADT7461. The i2c is the protocol to communicate wiht the outside world.
The problem I have is to establish the communication that each time the message is sent there is an acknowledgement from the ADT and only the master acknowledge before the stop bit and ends the communication.
I thought of writing C program and run it in the LabView but I am not fluent in LabView. How to solve the problem?
Thank you for your time.
Nathan