Skip to content

Commit

Permalink
BSP: Always set axis range for TTL channels to 0 - 1 with 2 ticks
Browse files Browse the repository at this point in the history
- this removes the default ticks for TTL channels on NI hardware
- view composite TTL channel from ITC hardware is more for debugging purposes
  • Loading branch information
MichaelHuth committed Jul 21, 2023
1 parent efc73ad commit 8077678
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Packages/MIES/MIES_MiesUtilities.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -2530,10 +2530,8 @@ Function LayoutGraph(string win, STRUCT TiledGraphSettings &tgs)
ASSERT(WaveExists(axes), "Unexpected number of matches")
EnableAxis(graph, axes, spacePerSlot, first, last)

if(tgs.splitTTLBits)
axis = axes[0]
ModifyGraph/W=$graph nticks($axis)=2, manTick($axis)={0,1,0,0}, manMinor($axis)={0,50}
endif
axis = axes[0]
ModifyGraph/W=$graph nticks($axis)=2, manTick($axis)={0,1,0,0}, manMinor($axis)={0,50}
endfor

ASSERT(first < 1e-15, "Left over space")
Expand Down

0 comments on commit 8077678

Please sign in to comment.