iMacs produced between 1998-2009 had Firewire 400 (6 pin). iMacs produced after October 2009 had Firewire 800 (9 pin). All new iMacs have Firewire 800 (9 pin). There's a good reference article here:
http://en.wikipedia.org/wiki/IEEE_1394
The Weiss Dac 2 has Firewire 400, so if your iMac is older than Oct 2009, you'll need a FW 400 cable like this:
http://eshop.macsales.com/item/NewerTech/1394A66012/
If your iMac is newer than Oct 2009, you'll need a FW400 to FW800 cable like this:
http://eshop.macsales.com/item/NewerTech/1394B96012/
Or you can use a FW400 cable with a FW800 adaptor on one end:
http://eshop.macsales.com/item/NewerTech/FIR1369AD/
http://en.wikipedia.org/wiki/IEEE_1394
The Weiss Dac 2 has Firewire 400, so if your iMac is older than Oct 2009, you'll need a FW 400 cable like this:
http://eshop.macsales.com/item/NewerTech/1394A66012/
If your iMac is newer than Oct 2009, you'll need a FW400 to FW800 cable like this:
http://eshop.macsales.com/item/NewerTech/1394B96012/
Or you can use a FW400 cable with a FW800 adaptor on one end:
http://eshop.macsales.com/item/NewerTech/FIR1369AD/