LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie-Modified 8451device ref to alias R/W VI get error -301706

Working with NI-8451 module and example SPI VI. Changed the device reference from examples value to my alias when I installed it on MAX.
New to LabView.
Getting error -301706 from the Read VI .
Example Atmel AT25080 Read VI.
Regards,
C@TI
 
0 Kudos
Message 1 of 3
(3,851 Views)
Error -301706, indicates that the device reference is invalid. The NI-8451 driver does not support automatic detection within the VISA control. In Measurement and Automation explorer you should be able to change the name of the alias for the device to another name then save it. Your device should now run without error. I know you mention that you did provide the reference name, but you might not have saved the changes. You might get problems while reopening the resource ones the error occurs. In order to avoid this problem, errors should be cleared from the error line before passing it into the NI-845x Close Reference VI. This will allow the VI to operate properly, freeing the resource so that it can be opened in the next iteration of the program.
 
Thanks
 
Arjun K
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(3,836 Views)

Arjun,

Thank you. That fixed my problem.

Regards.

C@TI

0 Kudos
Message 3 of 3
(3,805 Views)