Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to AD5292 with NI 8451

Hello,

 

I am new to labview and trying to use a NI 8451 to communicate with an AD5292 (digital pot), but I cannot write to it correctly.  The AD5292 takes a 16 bit input, but the 8451 will only write 8 bits at a time.  I have tried using this knowledge base article to figure it out: http://digital.ni.com/public.nsf/allkb/7E9C89D8D59AEE95862571FB0074B61F?OpenDocument , but I must be doing it incorrectly.  Can someone let me know how to convert the 16-bit data word so that it will write out the NI 8451.  Examples are helpful, or if someone wants to show me how to create convert the initialization data word 0001100000000010 that would be really awesome.

 

I am running Labview 8.6.

 

Thanks!

0 Kudos
Message 1 of 4
(2,972 Views)

split the 16 bit word into two bytes and send those in  the correct order to your AD5292

greetings from the Netherlands
0 Kudos
Message 2 of 4
(2,965 Views)

I have tried that but it doesn't seem to work.  Can you post an example of how to do that, as I must be doing it wrong?   or maybe my device is not working?   I have been able to verify that the chip select and clock are working correctly, but cannot get anything past that to work.

 

0 Kudos
Message 3 of 4
(2,960 Views)

can you see on a scope that also the data is coming out?

greetings from the Netherlands
0 Kudos
Message 4 of 4
(2,957 Views)