Skip to content

Commit

Permalink
Update ls625_single_supply.ipf (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
FolkLab authored Apr 21, 2023
1 parent dfe9d43 commit dae1a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Required/ls625_single_supply.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function setLS625current(instrID,output) // Units: A
if (abs(output) > maxf*apt/1000)
print "Max current is "+num2str(maxf*apt/1000)+" A"
else
cmd = "SETI "+num2str(output)
cmd = "SETI "+num2str(output, "%.15f") // Ensure does not send e.g. "1e-4" instead of "0.0001"
writeInstr(instrID, cmd+"\r\n")
endif

Expand Down

0 comments on commit dae1a91

Please sign in to comment.