I am trying to create a very simple LabVIEW Visa program which is simply supposed to get a response from my Magtrol DSP7000 controller using the command: "*IDN?\n". When running the program I get the following error:
Error Code: -1073807305
VISA Read in Visa Test with DSP.vi
Error -1073807305 occurred at an unidentified location
VISA: (Hex 0xBFFF0037) Device reported an input protocol error during transfer.
I am very new to LabVIEW and creating these Visa programs. During my research I did see and try one suggestion of going Device Manager on my PC and going to Universal Serial Bus Controllers, choosing USB Root Hub, then the Power Management tab to turn off the "Allow the computer to turn off this device to save power," but the Power Management tab did not appear for me.
Is there something else that I can try either in my program, computer, or the DSP7000 controller to fix this error?
Attached are pictures of the Front Panel, Block Diagram, and Explain Error.
Thank you in advance for any help!
If you send in the .vi file we can check better than from a jpg picture but you probably have an error with sending a \n.
If you really send a \n the instrument probably does not know what to do with the \.
If the string displaymode is set to \ mode display and you see a \n than it is a LineFeed
in the jpg below you can see the three possibilities.
I have attached the .vi file!
I have tried taking out the \n, but it still gives me the same error!
I realize this answer is a year too late, but use \r\n as the termination characters. Make sure you have right-clicked on the string constant and selected '\' Codes Display.