Hello Highway-Star,
Thank you for contacting National Instruments.
This error is most commonly associated with an incorrect device number. Please see this KB and the image attached below for information on how to properly use this VI:
http://digital.ni.com/public.nsf/websearch/51A15DD0CE9491B586256A1D00631940?OpenDocument
Please reply to this post if this information does not resolve your issue.
Regards,
Bill B
Applications Engineer
National Instruments