NI-VISA based device control