03-19-2024 08:47 PM
I'm having trouble communicating to the Keithley 2410 through NI Max communicate with instrument. I'm using NI-488.2 and is able to send the IDN command and get the correct response back of what the instrument is.
When I put in a scpi command :SYSTem:PRESet I get an error saying that its an undefined header or it times out. I already tried adding \n and ? at the end with no luck. Not sure what I'm doing wrong.
03-19-2024 08:54 PM
Have you tried the LabVIEW drivers for 2410?
03-20-2024 01:00 PM
If you are using NI-MAX then the termination characters (\r\n) should be automatically sent but check the settings in NI-MAX to be sure.
The instrument returning a "unidentified header" error usually means the SCPI command sent isn't available on that instrument or more commonly, you have a syntax error in the string. I haven't checked teh 2410 manual to see if it accepts the command, but you should. If it does, then perhaps you had a syntax error?
Try:the short form of the SCPI command with a ":" at the start and a ";" at the end.
:SYST:PRES;
The ":" at the start is required, while the ";" at the end just signifies the end of the command and it should be executed.
Hope that helps,
Craig