Match up x and y pixel_offsets with the corresponding dimension.
r1774 | ffr | 2007-04-01 15:15:44 +1000 (Sun, 01 Apr 2007) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
935116cb9b
commit
cae44262ab
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
set tmpstr [string map {"$" ""} {$Name: not supported by cvs2svn $}]
|
set tmpstr [string map {"$" ""} {$Name: not supported by cvs2svn $}]
|
||||||
set nx_content_release_tag [lindex $tmpstr [expr [llength $tmpstr] - 1]]
|
set nx_content_release_tag [lindex $tmpstr [expr [llength $tmpstr] - 1]]
|
||||||
set tmpstr [string map {"$" ""} {$Revision: 1.19 $}]
|
set tmpstr [string map {"$" ""} {$Revision: 1.20 $}]
|
||||||
set nx_content_revision_num [lindex $tmpstr [expr [llength $tmpstr] - 1]]
|
set nx_content_revision_num [lindex $tmpstr [expr [llength $tmpstr] - 1]]
|
||||||
|
|
||||||
MakeNXScript
|
MakeNXScript
|
||||||
@@ -108,6 +108,8 @@ proc hmm_save {nxobj entryname point} {
|
|||||||
$nxobj makelink scandata hmcounts
|
$nxobj makelink scandata hmcounts
|
||||||
$nxobj makelink scanhoraxis dhaxis
|
$nxobj makelink scanhoraxis dhaxis
|
||||||
$nxobj makelink scanvertaxis dvaxis
|
$nxobj makelink scanvertaxis dvaxis
|
||||||
|
$nxobj putattribute dvaxis axis 2;
|
||||||
|
$nxobj putattribute dhaxis axis 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
proc hmm_addnxscanentry {nxobj entryname point scanVariable scanVarPos scanVarStep start_time} {
|
proc hmm_addnxscanentry {nxobj entryname point scanVariable scanVarPos scanVarStep start_time} {
|
||||||
@@ -119,7 +121,7 @@ proc hmm_addnxscanentry {nxobj entryname point scanVariable scanVarPos scanVarSt
|
|||||||
$nxobj makelink scanvar $dictalias($scanVariable);
|
$nxobj makelink scanvar $dictalias($scanVariable);
|
||||||
$nxobj putattribute $dictalias($scanVariable) axis 1;
|
$nxobj putattribute $dictalias($scanVariable) axis 1;
|
||||||
$nxobj putattribute hmcounts signal 1;
|
$nxobj putattribute hmcounts signal 1;
|
||||||
$nxobj putattribute hmcounts axes $scanVariable:x_pixel_offset:y_pixel_offset;
|
$nxobj putattribute hmcounts axes $scanVariable:y_pixel_offset:x_pixel_offset;
|
||||||
$nxobj puttext eend [sicstime];
|
$nxobj puttext eend [sicstime];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user