Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Required/ls625_single_supply.ipf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is good

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma TextEncoding = "UTF-8"
#pragma TextEncoding = "UTF-8"
#pragma rtGlobals=1 // Use modern global access method

// Driver communicates over serial.
Expand Down Expand Up @@ -180,7 +180,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
Loading