I had the same problem, following jeremy Blum's arduino tutorial#8. The AD5204 is no longer available so I got 2 MCP42010s.
The library referenced here, with accompanying examples, got me going. See Tutorial 8 for Arduino: SPI Interfaces – JeremyBlum.com.