Skip to content
Snippets Groups Projects
Commit 1eba440e authored by Rolf Bork's avatar Rolf Bork
Browse files

Changed RESET from int to double to support synchronized EPICS DAQ.

git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@3453 6dcd42c9-f523-4c6d-aada-af552506706e
parent cbda3d6c
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ sub partType {
# Current part number is passed as first argument
sub printHeaderStruct {
my ($i) = @_;
print ::OUTH "\tint $::xpartName[$i]\_RESET;\n";
print ::OUTH "\tdouble $::xpartName[$i]\_RESET;\n";
print ::OUTH "\tdouble $::xpartName[$i]\_TRIGGER;\n";
$here = <<END;
\tchar $::xpartName[$i]\_RESET_mask;\n
......@@ -23,7 +23,7 @@ END
# Current part number is passed as first argument
sub printEpics {
my ($i) = @_;
print ::EPICS "MOMENTARY $::xpartName[$i]\_RESET $::systemName\.$::xpartName[$i]\_RESET int ai 0\n";
print ::EPICS "MOMENTARY $::xpartName[$i]\_RESET $::systemName\.$::xpartName[$i]\_RESET double ai 0\n";
print ::EPICS "INVARIABLE $::xpartName[$i]\_TRIGGER $::systemName\.$::xpartName[$i]\_TRIGGER double ai 0 field(PREC,\"3\")\n";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment