LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with VISA Read

Solved!
Go to solution

My understanding for termination characters was to input "\n" at the end of every string connected to VISA Write. I updated the original "VI simple" file cstorey posted for my needs. The first VISA write block tells my device to select a prewritten profile so understandably there should be no output for that but the second VISA write block should output the name of the profile so under the "Profile Name" indicator I should be seeing something named "30 to 50 cycle" (the name of my profile). Not only that but I am getting the status warning again. Could you quickly check the code? It is attached along with the output.

 

Thank you..

Download All
0 Kudos
Message 21 of 22
(1,196 Views)

+1073676293 is a warning - https://forums.ni.com/t5/LabVIEW/Warning-1073676293-when-using-Visa-driver-for-Ethernet-Keithley/td-...

 

No, you do not need to add a "\n" VISA is already handling that for you given the settings that the code implemented.  Did you read the context help for each of those Property Nodes? 😉

VISA_simple2.png

 

 

#1 - sets the timeout to 5s.

#2 - checks the termination character from the instrument

#3 - Enables sending the termination character with every write (so that VISA does is automatically, no need to add your self)

#4 - Enables the termination character for when the instrument responds.

 

So if you are only seeing the +1073676293 warning you can remove the VISA clear, use the property nodes to enable the termination character, and start writing a more advanced program.  You'll get that warning on every read, but since its not an error you are safe to ignore.

 

 PS - I can't check your VI I'm still running LV2017.  But I assume all you did is add "\n".

0 Kudos
Message 22 of 22
(1,189 Views)