LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple VI to use NI 8451 to write and read command

Hi, I am using NI 8451 to communicate with a device over I2C. Can someone help me to create a simple VI In which I can send the command and in return I should read the following. ( I am new to Labview).

 

Read output raw data:

S B0h w 0x1C 0x0B P

 

S B0h r Vout_12VL Vout_12VH Vout_5VH Vout_5VL XX XX XX XX XX XX PEC   (total report data is 10 bytes)

 

this is the example I got from the other thread. but I am unable to send 0x1C and 0x0B together. 

 

mittens22_0-1727423135915.png

 

I am able to communicate with the device after converting the 8 bit slave address to 7 bit. 

 

Download All
0 Kudos
Message 1 of 1
(90 Views)