This VI closes the I/O interface with the instrument.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
VISA Cluster Type Definition for Sixpack Stepper Control Unit Driver VIs
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
This VI resets the instrument, and then sends a set of default setup commands to the instrument. If a Reset command is not supported, it will return a warning.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Sixpack Valid Address :0 to 255 |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
All configured parameters will be replaced by default parameters and
ramp position of all motors for selected sixpack will be set to zero
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command True indicates 9 bytes send to serial write |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
The Serial Communication VI performs bidirectional communication with a port. It writes a string to the port, which writes to sixpact control unit.
sixpack generates response and send to serial port which is read by serial Read with timeout VI.
A time delay of 600 ms ( selectable ) has been added between write and read operation so as to make sure that no data is lost.
During continous operation that is continous read and write no time delay or low time delay leads to serial read error.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Write String ("") In all 9 Bytes to be written to Sixpack where 1st Byte is Address of the Unit- 0 to 255. 2 Byte --- Command Rest 7 Bytes- other parameters from P0 to P6, where P0 in most cases is the motor number. |
|
Byte to read (9) Byte 1 = Sixpack address Byte 2 = Command Byte 3 to 9 = P0 to P7 |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Read (false) Enables the read Operation Other wise VI will perform only write operation |
|
milliseconds to wait (500) milliseconds to wait |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Read String String Read from Serial Port. Note in the Windows and Sun version the serial port is reset each time the VI is run, voiding preexisting data. The Macintosh version saves previously buffered data. |
|
Byte Wrote No of Bytes send to sixpack In al 9 Bytes have to be send to Sixpack |
|
Return Count from read string No of Bytes Read from serial port. (Response Bytes from SIXPACK) |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
This VI wait for the specified time.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
milliseconds to wait (3000) milliseconds to wait |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Initializes the specified serial port to the specified settings.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
timeout (10sec) timeout sets the timeout value for the write and read operations. |
|
data bits (8) data bits is the number of bits in the incoming data. |
|
parity (0:none) parity is 0 for no parity, 1 for odd parity, 2 for even parity, 3 for mark parity, or 4 for space parity. |
|
termination char (0xA = '\n' = LF) The read operation will terminate when the termination character is read from the serial device. The default setting is a line feed character. 0xA is the hex equivalent of a line feed character (\n). For message strings which terminate with a carraige return (\r), change the termination character to a "0xD". Note: To disable this termination character feature, set the boolean constant for the termination character enable attribute to false. Note: This termination character is only for read operations. If the serial device expects to receive a termination character during write operations, it should be included in the write buffer. |
|
error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
stop bits (1.0: 1 bit) stop bits specifies the number of stop bits used to indicate the end of a frame. |
|
flow control (0:None) flow control sets the type of control used by the transfer mechanism. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
error out The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Usefull conversion VI for converting 32-Bit Values in the SixPack-Commands:
$15, $18, $20, $23, $24, $26, $27 a.o.
Attention: All 9 Bytes must be sent to the interface, otherwise the PACK does not recognize the command and waits for the missing bytes.
$ indicates that the value is in hexadecimal notation!
Example: Setting motor parameters
CMD $15 contains information about the motor and settings for the reference drive.
For more details see Hints for Programming and CMD $15 in the Instruction set!
Pseudocode:
SendToPack(address); // Address of the Pack(Six- or Quadpack)
SendToPack($15); // Command in hexadecimal notation
SendToPack(P0); // Motor number (0...5)
SendToPack(P1); // poslimit LSB
SendToPack(P2);
SendToPack(P3);
SendToPack(P4); // poslimit MSB
SendToPack(P5); //further settings, for more information read the instruction set
SendToPack(P6);
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Sixpack ID (0) Adress of Sixpack Valid Arguments: 0 - 255 |
|
Motor ID (0) Motor-Nummber Valid Numbers: 0-5 |
|
Value (0) 32-Bit Value in Position P1,P2,P3,P4 32-Bit Value converted into string and and concatenated with other strings to send 9 bytes to Serial Write. |
|
Command (24) Command in Hex-format |
|
Aux string ("00") further settings please read the instruction set |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudocode 9 Bytes Pseudocode to be sent to the interface |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
Usefull conversion VI for converting signed 16-Bit Values in the SixPack-Command
$25 Rotation Velocity (-511 .. 511)
Attention: All 9 Bytes must be sent to the interface, otherwise the PACK does not recognize the command and waits for the missing bytes.
$ indicates that the value is in hexadecimal notation!
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Sixpack ID (0) Adress of Sixpack Valid Arguments: 0 - 255 |
|
Motor Nr. (0) Motor-Nummber Valid Numbers: 0-5 |
|
Value (0) 16-Bit Value (signed) in Position P1,P2 Valid Arguments: -511 .. 511 |
|
Command (0) Command in Hex-format |
|
Aux ("00") Further settings please read the instruction set. |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudocode 9 Bytes Pseudocode to be sent to the interface |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
Current control command $ 11
Parameters
power down current, current when motor stands still, current for constant velocity, current for aceleration.
Note for energy saving : power consumption can be reduced drastically when power -down current ( I0) is set to 0 %
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
I0=Power Down Current (100%) power down current P1 0 indicates 100% Power consumption can be reduced drastically when power-down current I0 is set to 0 % i.e P1 = 8 |
|
Current When Motor Stand Stills (100%) PARAMETER P2 0 = 100 % |
|
Current for Constant Velocity (100%) parameter P3 I2 VALUE SENT TO SIXPACK 0 =100 % CURRENT |
|
Current for acceleration (100%) I3 Parameter P4 Command $ 11 VALUE SENT TO SIXPACK 0 =100 % acceleration |
|
T0=Power down delay time(ms) (2) Power down delay time in ms 16 Bit Parameter P5,P6 ( Firmware Before V 1.40 Required even values) In case odd value is entered ,it will be rounded to next even value The string obtained from converting T0 from decimal value to hex is reversed so that LSB is send to SIXPACK First |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Valid Command |
Null point offset and range command $ 18
The null point allows to compensate for the tolerance of the reference switch of linear drives. when used , the reference search will drive further into the null point and the null point is set there. This especially is important , when the zero point check is enabled . If at the same time testing for premature interupt of reference switch is enabled a small area around the zero point can be expected from the test via the parameter test null range. Outside this area the reference switch triggers an emergency stop and refernce search, when the motor is driving into the direction of reference point. The offset can be used to shift the null-point farther to the middle of a linear axis.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Distance betwen 0 point and reference switch (128) 32 Bis =P1 to P4 ( signed long) |
|
Test Null Range (1) 16 bit P5,P6 (0 to 65535) |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudocode 9 bytes send to sixpack |
|
Valid Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
VI used to convert bytes received from SIXPACK into integer values in COMMAND $ 30
all the response bytes are used for information.
P0 gives the channel number.
P1, P2 are joined to give analog value of channel.
P3 is either 1 or 0 and give reference input.
P4 is kept as a hex string to be utilised for converting into bit pattern.
P5 is 0 or 1 and give logic state at TTLIO1
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Input String Read ("") Response string received from SIXPACK |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
P1,P2 analog value analog value ( unsigned 0 to 1023) |
|
Reference input Bit 0, P3 P3 ( Bit 0) |
|
Channel Number P0 =channel Number should give values 0 to 7 with command $ 30 |
|
P4 ,Decimal all reference inputs All reference inputs / jumpers The Byte is split into individual Bits |
|
P5 Bit 0 logic state P5 |
|
P4 String All refernce inputs / jumpers P4 in command $ 30 To be passed on as a string in VI read motor input channel and to be converted into bit array ,So as to represent the 8 individual bits of this Byte |
VI to convert response string read from SIXPACK into separate Bytes in integer form used in Command $ 28 where bytes P0 to P5 contain motor action values.
Motor activities correspond to these values
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Input String ("") 9 Bytes received from Sixpack |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Motor 1 P0 parameter motor 0 |
|
Motor 3 |
|
Motor 2 |
|
Motor 4 |
|
Motor 5 |
|
Motor 6 |
|
Current Action M0 |
|
Current Action M1 |
|
Current Action M2 |
|
Current Action M3 |
|
Current Action M4 |
|
Current Action M5 |
|
Unit Active |
Used in command query position where all the respone bytes contain information
Position which is a 32 bit parameter is obtained by using the function Join number in succession .
First the parameters P1,P2 & P3, P4 are joined separately.
the result obtained from joining the P1, P2 and P3,P4 is again joined to obtained 32 Bit signed value of position.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Input String ("") Response Bytes 9 bytes read from SIXPACK |
|
error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Actual current Position Obtained by joining P1,2,3,4 from Sixpack Read |
|
Current Action response byte P3 |
|
Stop Status stop status |
|
P0= Motor Number Response byte P0 |
|
error out The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
VI to convert Response string read from SIXPACK into decimal integer values.
Command query velocity,Response string P0 gives motorNr ( 8bit parameter)
P3 is Motor action( 8 bit parameter). P1,P2 V act which is 16 bit parameter is obtained by using the function Join Numbers
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Input String ("") response string read from SIXPACK |
|
error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Actual Velocity obtained by joining P1;P2 |
|
Current Action response Byte P3 |
|
P0= Motor Number response byte P0 Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
VI to convert response Bytes P0, P2 and ( P3-P4) received from sixpack into integer values P3,P4 are combined to form one number where P3 is LSB and P4 is MSB
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Input String ("") Response string read from SIXPACK |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
P0 Response Byte P0 Firmware- Revision eg 148 = 1.4.8 |
|
P 3,4 value obtained by combining response Bytes P3,P4 When used in read info about unit this parameter gives serial number of Unit |
|
P2 command $ 43 Response Byte P2 gives temperature of the unit in degree centigrades 8 Bit signed |
|
P1 Reset Flag During First Read out 1 , afterwards 0 |
The PI conroller allows to generate a velocity profile by continously giving target position via the host computer.
The factors for the integral and proportional part determine the feedback control char.
The controller works at 500 Mhz. The proporational part is 64* position difference/propdiv.
The integral part integrates the part of the position difference clipped to a maximum limit by intinclip.
The influence of the integral part is determined by the divisor intdiv.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Prop Div (128) P1 = 8 Bit Parameter |
|
Int div (0) P2,P3 16 Bit Parameter |
|
Int clip (128) P4,P5 16 Bit |
|
Intinpclip (0) P6 8 Bit parameter |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudocode 9 bytes send to sixpack |
|
Valid Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Peak current
(settings are done for pairs of motors, i.e. each two motors 0 + 1, 2 + 3 respectively 4 + 5 have thesame peak current. Only the values set for motor-numbers 0,2 and 4 are valid.)
CMD $10 P0 motnr (0...5)
P1 value (0..255):Sixpack: Imax=0,8A * value/256
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Current in mA (200) current value valid for 0 to 800 mA If value entered is more than 800 mA Error is Generated. 0 mA = 0 800 mA = 255 OVIS - Motor DIGI-MIC should have 150mA - 200mA OVIS - Motor SM440 up to 0.8 A |
|
Motor Set Number (0) Settings are done for pairs of motors, i.e. each two motors 0 + 1, 2 + 3 respectively 4 + 5 have the same peak current. String Write is either 0,2 or 4 ( Decimal) Attention: The Value send to sixpack for pair 0 & 1 is 0 2 & 3 is 2 4 & 5 is 4 |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Pseudocode |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Valid Command |
VI which adds the selected Step value i.e 82000 or 41000(signed) to present position value and sets that value as new ramp value.The new Ramp Value is always greater than zero.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
+41000 sets target position by 41000 with respect to current position |
|
-41000 sets target position by -41000 with respect to current position |
|
+82000 sets target position by 82000 with respect to current position |
|
-82000 sets target position by -82000 with respect to current position |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Sixpack Valid Address :0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
step value New Ramp value which will be achieved by selected Motor when VI is executed |
|
select step mode select step mode |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Query postion and Activity
response bytes P1,2,3,4 : current position
response byte P5 current action
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Motor stopped True indicates Motion otherwise stationary |
|
Motor Number Motor Number received from SIXPACK motor for which position is read |
|
Current Action if not inactive-- motor status is active for all other modes /ramp /Pi Controller/ Rotation/Reference switch search/Mechanical reference |
|
Current Position Pos act ( signed long) Response Bytes P1 to P4 32 Bit signed |
|
Valid write Command |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
The motor drives from its current position to the target position.
The command does not influence the motor if it is stilla ctive.
For circular motors the position can be both positive and negative
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Ramp Value (0) P1,2,3,4---- 32 bit signed value sets the Target value of motor to Ramp value and moves the motor to this position when vi is RUN |
|
Instructions This control is used to modify the basic Initialize VI for use with any GPIB instrument. The control should be deleted after all of the modifications have been made. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command Indicates 9 bytes send to SIXPACK |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Query Velocity and Activity
Reads Velocity & Motor Activity for a selected Motor
Gives V max( set by command $ 14) which is 16 bit parameter in response bit P1,P2
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Motor Active Indicates whether Motor is active ( Ramping,Reference,Rotation,PI) or is stationary. True indicates motor is active |
|
Motor Number Respone byte from Sixpack showing Motor number on which operation is being performed |
|
Current Action inactive : 0 ( Response bit P3 8 bit parameter) Ramp :5 10 : PI controller 15 : Rotation 20 -29 : Reference switch search 30 :Mechanical Reference |
|
Current Velocity
$ 21 Response 16 bit P1,P2 gives the response velocity V max set by command $14 |
|
Valid Command Indicator to check whether 9 bytes is being read from sixpack or not |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Forces the internal position to any position can lead to unintended reference searches at detection of zero switches
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Posact:New actual Position (0) New motor position = value entered P1,2,3,4 =32 bit parameter new actual position |
|
Instructions This control is used to modify the basic Initialize VI for use with any GPIB instrument. The control should be deleted after all of the modifications have been made. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Multi Ramp & Query
The VI allow to start Multiple Motors with Variable Ramp Values .
Also checks whether the Motor is stationary or is Ramping ,Rotation , Reference ( Active)
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Sixpack ID Sixpack Valid Address :0 to 255 |
|
Ramp Value M2 P1,2,3,4---- 32 bit signed value sets the Target value of motor to Ramp value and moves the motor to this position when vi is RUN |
|
Ramp Value M5 P1,2,3,4---- 32 bit signed value sets the Target value of motor to Ramp value and moves the motor to this position when vi is RUN |
|
Ramp Value M0 P1,2,3,4---- 32 bit signed value sets the Target value of motor to Ramp value and moves the motor to this position when vi is RUN |
|
Ramp Value M1 P1,2,3,4---- 32 bit signed value sets the Target value of motor to Ramp value and moves the motor to this position when vi is RUN |
|
Ramp Value M3 P1,2,3,4---- 32 bit signed value sets the Target value of motor to Ramp value and moves the motor to this position when vi is RUN |
|
Ramp Value M4 P1,2,3,4---- 32 bit signed value sets the Target value of motor to Ramp value and moves the motor to this position when vi is RUN |
|
Check to ramp Individual bits of parameter P0 frrom Bit 0 to bit 5 0 = unchecked = motor masked 1 = checked = start motor |
|
Motor 0 P0/Bit 0= motor 0 0 = motor masked 1 = start motor |
|
Motor 1 P0 / bit 1 = Motor 1 |
|
Motor 2 Motor |
|
Motor 3 |
|
Motor 4 |
|
Motor 5 |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Uncheck to know the Status The check Box should remain Disabled to know the status of Motor. |
|
Motor 0 P1 Bit 0 = motor 0 0 = motor masked 1= Respond only after motor has become inactive Presently when Bit is checked the motor status is showed inactive at all times. When Bit is unchecked , actual motor status is being shown. |
|
Motor 1 P1 BIT 1 = motor 1 0 =motor mask 1= respond only after motor has become inactive |
|
Motor 2 P1 Bit 2 = Motor 2 check to respond only after motor has become inactive / uncheck to mask |
|
Motor 3 Bit 3 = motor 3 check to respond only after motor has become inactive / uncheck to mask |
|
Motor 4 |
|
Motor 5 P1Bit 5 = motor 5 MSB of P1 check to respond only after motor has become inactive / uncheck to mask |
|
Stop Query Status The Stop Query Status Option ends the operation Query Status of All the Motors of selelcted Unit prematurely The VI will stop even if the Motor on which Operation is performed is Active. |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Current Action M0 Response / motor activity P0 = motor 0 |
|
Current Action M 2 Response byte P2 |
|
Current Action M3 Response byte P3 from SIXPACK |
|
Current Action M4 Response Byte P4 from SIXPACK |
|
Current Action M5 Response P5 = motor 5 Activity |
|
Current Action M 1 Response byte P1 |
Command $ 26
Set Target Position ( on the Fly target postion change)
Modifies the target position without influencing the operation mode.
Can be used to shorten or lengthen a Ramp.
If a ramp has to be overshoot due to late changing its target postion the peak will de-celerate with amax instantly and continue driving a reverse ramp on its own.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Target Value (0) P1,2,3,4 32 bit signed long. ( New Ramp Value when Motor is in operation) |
|
Instructions This control is used to modify the basic Initialize VI for use with any GPIB instrument. The control should be deleted after all of the modifications have been made. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command True indicates 9 bytes send to selected Resource |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Pseudocode 9 Bytes Pseudocode to be sent to the interface |
Start Trapezoidal ramp in parallel. Command $ 29
This ramp allows coordinated movement by starting multiple motors at the same time.The target position has to be programmed previously( CMD $ 26)
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Instructions This control is used to modify the basic Initialize VI for use with any GPIB instrument. The control should be deleted after all of the modifications have been made. |
|
P0: Bits 0 to 5 ( Mask / Ramp) Individual bits of parameter Po frrom Bit 0 to bit 5 0 = unchecked = motor masked 1 = checked = start motor |
|
Motor 0 P0/Bit 0= motor 0 0 = motor masked 1 = start motor |
|
Motor 1 P0 / bit 1 = Motor 1 |
|
Motor 2 Motor |
|
Motor 3 |
|
Motor 4 |
|
Motor 5 |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Query all motor activities , request Delayed Response
Each axis can queried for activity with this command.
When delayed response is requested , the pack will send the response as soon as all concerned motors are inactive.
the response contains the actual motion of all motors
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Instruction Not used for Code only a description |
|
P1: mask for delayed Response (f,f,f,f,f,f) Check Box should be Disabled to Query the Motor |
|
Motor 0 P1 Bit 0 = motor 0 0 = motor masked 1= Respond only after motor has become inactive Presently when Bit is checked the motor status is showed inactive at all times. When Bit is unchecked , actual motor status is being shown. |
|
Motor 1 P1 BIT 1 = motor 1 0 =motor mask 1= respond only after motor has become inactive |
|
Motor 2 P1 Bit 2 = Motor 2 check to respond only after motor has become inactive / uncheck to mask |
|
Motor 3 Bit 3 = motor 3 check to respond only after motor has become inactive / uncheck to mask |
|
Motor 4 |
|
Motor 5 P1Bit 5 = motor 5 MSB of P1 check to respond only after motor has become inactive / uncheck to mask |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Response Add P0 (0) P0 is response address in Command $ 28. Since detail on this parameter is not available it has been set to zero |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Current Action M0 Response / motor activity P0 = motor 0 |
|
Valid Command 9 bytes send to sixpack |
|
Current Action M1 Response byte P1 |
|
Current Action M2 Response byte P2 |
|
Current Action M3 Response byte P3 from SIXPACK |
|
Current Action M4 Response Byte P4 from SIXPACK |
|
Current Action M5 Response P5 = motor 5 Activity |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Unit Active True indicates that atleast one of the Motors of the selected unit is in motion motion includes Ramp, Reference search , Rotation |
|
Current Actions |
|
The VI stops the selected Motors first . Set the selected( Forced ) position as current position of the Motor Rotates( Veloctiy Rotation ) for selected Time and Reads position and velocity during that time.
The Motor is stopped by setting the Velocity Value = 0 at end of query position and query velocity while loop
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Sixpack Valid Address :0 to 255 |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
New Address of Unit New address will be implemented as soon as VI has been run Thereafter all parameters will run with new address. new Rs 232/ Rs 485 address 0 to 255 |
|
Motor Nr. Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
New Position New motor position = value entered P1,2,3,4 =32 bit parameter new actual position |
|
Rotation velocity Value Value will range from -511 to 511 |
|
Time limit in sec for running the motor and quering velocity The Timeout limit will read the Motor Position and current velcity for a stipulated period of Time after the stipulated time is over the Motor velocity will be set to Zero |
|
Stop QueryVelocity The Stop Query Velocity Option ends the operation Query Velocity ofll the Selected Motor of selelcted Unit prematurely before the Selected Time has Elapsed. At the end of While Loop the Motor Velocity is set to zero |
|
Check to Stop Check to Stop the Motor Sest Target Position To Actual Position |
|
Motor 0 Bit 0 = motor 0 LSB of P0 0 = unchecked = Motor masked 1 = checked = Set Target Position To Actual Position |
|
Motor 1 Bit 1 = motor 1 0 = unchecked = Motor masked 1 = checked = start motor |
|
Motor 2 Bit 2 = motor 2 0 = unchecked = Motor masked 1 = checked =rSet Target Position To Actual Position |
|
Motor 3 Bit 3 = Motor 3 0 = unchecked = Motor masked 1 = checked =Set Target Position To Actual Position |
|
Motor 4 Bit 4 = motor 4 0 = unchecked = Motor masked 1 = checked =Set Target Position To Actual Position |
|
Motor 5 MSB of byte P0 Bit 5 = Motor 5 0 = unchecked = Motor masked 1 = checked = Set Target Position To Actual Position |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Current Position Pos act ( signed long) Response Bytes P1 to P4 32 Bit signed |
|
Current Velocity
$ 21 Response 16 bit P1,P2 gives the response velocity V max set by command $14 |
Multiple motors can be stopped at the same time via this command
It sets the target position of each motor concerned to its actual position.
However motors driving beyond Vstart will overshoot and return driving another ramp back to the point you set as their new target using this command
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
P0 = Mask for deceleration Check to Stop the Motor Sets Target Position To Actual Position |
|
Motor 0 Bit 0 = motor 0 LSB of P0 0 = unchecked = Motor masked 1 = checked = Set Target Position To Actual Position |
|
Motor 1 Bit 1 = motor 1 0 = unchecked = Motor masked 1 = checked = start motor |
|
Motor 2 Bit 2 = motor 2 0 = unchecked = Motor masked 1 = checked =rSet Target Position To Actual Position |
|
Motor 3 Bit 3 = Motor 3 0 = unchecked = Motor masked 1 = checked =Set Target Position To Actual Position |
|
Motor 4 Bit 4 = motor 4 0 = unchecked = Motor masked 1 = checked =Set Target Position To Actual Position |
|
Motor 5 MSB of byte P0 Bit 5 = Motor 5 0 = unchecked = Motor masked 1 = checked = Set Target Position To Actual Position |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command True indicates 9 bytes written to serial write |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
start Rotation / start rotation Velocity
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Rotation velocity Value (0) Value will range from -511 to 511 |
|
Instructions This control is used to modify the basic Initialize VI for use with any GPIB instrument. The control should be deleted after all of the modifications have been made. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Change address of UNIT
( RS 232/ RS 485)
Command $ 42
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
New Address of Unit (6) New address will be implemented as soon as VI has been run Thereafter all parameters will run with new address. new Rs 232/ Rs 485 address 0 to 255 |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Pseudo code 9 bytes send to sixpack |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command 9 bytes sent to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
starting Velocitycommand $ 13
parameters V min. V start , div i ( change only with stopped Motors)
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
V start (250) P3,P4 16 bit Parameter Starting and ending Velocity for Acceleration Ramp: limited by Firmware to 0 < vstart< ( 512 shr(3- div[i])) -1 |
|
V min (200) P1,P2 16 bit =V min values 0 to 511 Velocity used in combination with divi =3 for searching of the reference switch.The fastest possible Vmin will be calculated automatically when Vmin = 0 is set. Vmin <= 25 Hz / fmin steps Vmin<=Vstart The string send sixpack after converting Vmin into hex format is reversed so that P1 is send to sixpacK first otherwise P2 will be sent to sixpack prior to P1 |
|
Div i (2) P5 $13 Calculation of step Frequency |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudocode 9 bytes in hex format send to serial write |
|
Valid Command True indicates 9 bytes send to serial write |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Application which configures the serial port
reset the sixpack if enabled and read information about sixpack board
Its Ramps the Motor for fixed value of 83000 and Query the position at the same time.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
Stop Query Position The Stop Query Option ends the operation Query Position Prematurely. The VI will stop even if the Motor on which Operation is performed is Active. |
|
Temperature in degrees Temperature in Degree centigrades of sixpack |
|
Current Positions present position of Motor |
|
Motor status whether motor is active or not |
|
Current Action Reads whether Motor is active or not |
|
Version Number Firmware Revision Number from Command $ 43 Response byte P0 8 bit parameter Firmware -revision |
|
Serial Number Sixpack Serial number |
|
Power Supply Voltage Supply voltage to sixpack Unit in Volts Obtained by executing command $ 30 for channel 7 |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Intial Ramp Velocity $ 21 Response 16 bit P1,P2 gives the response velocity V max set by command $14 In App self test Velocity is queried only initiallly during start Ramp |
This VI passes the addressing information in the instrument decriptor to the Instr Open VI and returns the instrument ID. You can optionally reset the instrument by setting the front panel reset control. You must run this VI before using any of the instrument driver VIs for this instrument.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Reset: selecting Reset will do the Hardware Reset for the selected sixpack unit |
|
Info Query Reads the information from sixpack if check is enbled command $43 is executed |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Sixpack Board ID Sixpack Valid Address :0 to 255 |
|
milliseconds to wait after reset (3000) milliseconds to wait after reset |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Version P0 $43 Firmware Revision |
|
Serial Number Sixpack Serial Number |
|
Temperatures Sixpack Temperatures |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Read information about Unit
Allows to read out firmware revision, reset-flag, temperature and serial number of Sixpack Stepper Control Unit.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Response Address (0) Response Address Parmaeter P0 Command $ 43 Since no information is available the parameter has given value of zero. No motor number is required for this Command |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command 9 bytes send to sixpack |
|
Version Response byte P0 8 bit parameter Firmware -revision |
|
Serial Number Response byte P3,P4 16 bit parameter |
|
Temperature / °C Temperature of Unit P2 = 8 bit signed value |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
This Utility VI closes any open VISA sessions in the event that there is an error during an initialization. It is called only from the 6P Initialize VI, and is not meant to be altered. Changing this VI can cause the 6P Initialize VI to operate improperly.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
This Utility VI sends a default command string to the instrument whenever a new VISA session is opened, or the instrument is reset. This VI is intended to be used as a subVI for the PREFIX Initialize and PREFIX Reset VI's. Altering this VI could cause these two VI's to operate incorrectly.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID sixpack Address :0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Read Motor input channels and additional inputs
Channel 7 measures the voltage supply of the PACK ( 1 V eqauals value 22)
Note Sixpack actually reads the value according to which 1V equals value 19(analog value)
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Channel No P0 The analog channels are prepared for ratiometric measurements of resistive dividers. Channel 6 is the external input ,Channel 7 measures the voltage supply of pack. 1 V equals 22 The reference inpts are inverted |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command 9 bytes send to sixpack |
|
P1,P2 analog value analog value ( unsigned 0 to 1023) |
|
P0=channel Number Response Byte P0 Channel No |
|
Reference input Bit 0, P3 Response byte P3 ( Bit 0) |
|
P5 bit 0 logic state Response Byte : P5 Bit 0 |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Response byte P4 Reference inputs/ jumpers |
|
Motor 0 all reference inputs / jumpers Response Byte P4 Bit 0 = motor 0 ( LSB) |
|
Motor 1 all reference inputs / jumpers Response Byte P4 Bit 1 = motor1 |
|
Motor2 all reference inputs / jumpers Response Byte P4 Bit 2 = motor 2 |
|
Motor 3 all refrence inputs / jumpers Response Byte P4 Bit 3 = motor 3 |
|
Motor 4 all reference inputs / jumpers Response Byte P4 Bit 4 = motor 4 |
|
Motor 5 all reference inputs / jumpers Response Byte P4 Bit 5 = motor 5 |
|
Jumper 1 all reference inputs / jumpers Response Byte P4 Bit 6 = Jumper 1 |
|
Jumper 2 all reference inputs / jumpers Response Byte P4 Bit 7 =Jumper 2 ( MSB) |
This VI contains all the intrument specific error codes and descriptions. Use this VI after executing several instrument driver VIs to recognize and display any errors that may have occurred.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
User-Defined Codes User-defined error codes. Each code correspondes to an error message stored at the same index in user-defined descriptions. Valid Range: User Defined Default: empty array |
|
Each element of this array is a predefined error code. Valid Range: User Defined Default: 0 |
|
User-Defined Descriptions User-defined error descriptions. Each description correspondes to an error number stored at the same index in user-defined codes. Default: empty array |
|
Each element of this array is a predefined error descriptor Default: Empty String |
|
Type of Dialog (1: OK Msg) This selects the style of dialog box to display when an error occurs. Valid Range: 0: No Dialog (Default) 1: A Dialog With an OK Button 2: A Dialog With a Continue and Stop Button. |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Error Message (empty) Description of any error that occurred Default: empty |
|
Status Indicates the occurence of an error. Valid Range: False: No error (default) True: An error has occurred. |
|
Error Code (0) Displays the error code associated with an error. Valid Range: Dependent on instrument Default:0 |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Application which configures the serial port
reset the sixpack if enabled and read information about sixpack board
Ramp value and current can be controlled using this VI
and postion of various motors can be checked
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Ramp Value Target value which will be achieved by selected Motor on Ramping |
|
Select Current Peak current Select current value from 0 to 800 mA 800 mA is the max value that can be passed to the motor Current selection should be correct for proper functioning of Sixpack Motors (depends on type of Motor) |
|
Motor Set Number for Current Settings are done for pairs of motors, i.e. each two motors 0 + 1, 2 + 3 respectively 4 + 5 have the same peak current String Write is either 0,2 or 4 ( Decimal) |
|
Reset: Does complete unit reset for the address selected |
|
Info Query Reads the information from sixpack if check is enbled command $43 is executed |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
Stop Query Position The Stop Query Option ends the operation Query Position Prematurely. The VI will stop even if the Motor on which Operation is performed is Active. |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Temperature in degrees Temperature in Degree centigrades of sixpack |
|
Current Positions present position of Motor |
|
Motor status whether motor is active or not |
|
Current Action Reads whether Motor is active or not |
|
Version Number Firmware Revision Number from Command $ 43 Response byte P0 8 bit parameter Firmware -revision |
|
Serial Number Sixpack Serial number |
|
Power Supply Voltage Supply voltage to sixpack Unit in Volts Obtained by executing command $ 30 for channel 7 |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Ramp application
First intializes the COM port for selected baud rate
Reset the sixpack if enabled
and then ramps the desired motor for selected value or chosen step
also read position and activity status periodically
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Ramp Value |
|
Ramp Press to start ramp |
|
+41000 sets target position by 41000 with respect to current position |
|
-41000 sets target position by -41000 with respect to current position |
|
+82000 sets target position by 82000 with respect to current position |
|
-82000 sets target position by - 82000 with respect to current position |
|
Initialize selecting this will configure the COM port for the selected Baud rate and will initialize the Sixpack (Reset will happen if enabled) |
|
Reset: T Reset Does complete unit reset for the adress selected. Sets All values to Default Values. Reset has to be Activated with Intialize Enabled |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Motor Nr. Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Stop Query Position The Stop Query Option ends the operation Query Position Prematurely. The VI will stop even if the Motor on which Operation is performed is Active. |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Actual Position |
|
Motor Active Indicates whether Motor is Moving ( Ramp ;Rotation , Reference ) or Stationary |
|
Current Action whether motor is at Ramp Rotation Refrence inactive |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
VI that will Intialize the serial port
Reset the SIXPACK if selected
Sets the parameter using Command $ 16 Reference search parameters and
$ 31 setting the limits for the stop Function Left / right
thereafter runs the command $ 22 Start search of Reference.
ATTENTION
Please make sure that parameters in $ 31 are selected correctly other wise start search of reference will not function as desired
Recommended value : Analog Min value =150
Analog Max value : 900
The VI has been tested O.K using these values
Motor action and postion is also incorporated in this VI
The Sixpack Unit is Reset after the stop button to Function to stop the Motor
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Reset: T Reset Selecting Reset will do the Hardware Reset for the selected sixpack unit. After the VI is executed the switch will automatically comes to default value which is donot Reset |
|
analog max Val Analog value maximum P3,P4 16 Bit value Command $ 22 start search of Refrence worked perfectly when max value was set to 900 The channel Number for which analog value is set , is same as Motor number |
|
V refmax Fast Reference Search Velocity Change only with motors standing still From command $ 16 relevant for fast reference search |
|
Mask for reference switch de-bouncing Details for conversion required 0001(hex) =0ms 0003 =2 ms FFFF = 30 ms |
|
analog min Value Analog value minimum for stop Left 0 = no function For running Command $ 22 start search of Reference these parameters have to be set correctly The command $ 22 worked correctly when Analog min value was set to 150 The Channel Number for analog parameter is set is same as Motor Number |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Sixpack Valid Address :0 to 255 |
|
Motor Nr. Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
Stop Query Position The Stop Query Option ends the operation Query Position Prematurely. The VI will stop even if the Motor on which Operation is performed is Active. In case of Start Search Reference only possible solution to stop the Motor is to Reset the Unit. Hence if Stop is enabled the Unit is Reset and Motor will stop. |
|
Bit 0 PI Mode (FALSE) Check to enable Least significant Bit ( LSB) for P5 PI Mode 0 = Trapezoidal Ramp, 1 = Controller |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Status Shows whether motor is stationary or in Motion True indicates Motor is in Motion |
|
Current Action whether Motor is at Reference or Stationary |
|
Motor Actual Position Actual Position of Motor shows in real time |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Command $ 31 Setting the Limits for stop function left/right.
A potentiometer or a resistor network connected to two stop switches at the analog input of each motor can trigger a hard or soft stop.
The voltage of the analog input should increase in right direction.(cw). The measured value is checked dependent on the motor direction.When a stop condition occures the motor is stopped immediately.If Stop Soft -Flag is set, the motor is in decelerated with the pre-set acceleration.If the Stop soft Flag is not set the motor will be stopped abruptly, so that the precise motor position may be lost. Therfore a reference search will be started additionally if the Stop no Ref-Flag is not set. When the Stop Null- Flag is set, the zero switch also functions as limit switch. If the reference switch is defined on the right side, the motor can only drive in the area of negative co-ordinates (position <=0)
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
analog min value (150) Analog value minimum for stop Left. 0 = no function For running Command $ 22 start search of Reference these parameters have to be set correctly. The command $ 22 worked correctly when Analog min value was set to 150 |
|
Instructions This control is used to modify the basic Initialize VI for use with any GPIB instrument. The control should be deleted after all of the modifications have been made. |
|
analog max val (900) analog value maximum P3,P4 16 bit value Command $ 22 start search of Reference worked perfectly when max value was set to 900 |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Channel No. P0 (0) The analog channels are prepared for ratiometric measurements of resistive dividers. channel 6 is the external input. channel 7 measures the voltage supply of Sixpack. 1 V equals approx 20 (analog parameters) |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command True indicates 9 bytes send to sixpack |
|
Pseudocode 9 Bytes Pseudocode to be sent to the interface |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Usefull conversion VI for converting 16-Bit Values in the SixPack-Commands:
used in command $ 31 setting the limit for stop function
Attention: All 9 Bytes must be sent to the interface, otherwise the PACK does not recognize the command and waits for the missing bytes.
$ indicates that the value is in hexadecimal notation!
Example: Setting motor parameters
CMD $15 contains information about the motor and settings for the reference drive.
For more details see Hints for Programming and CMD $15 in the Instruction set!
Pseudocode:
SendToPack(address); // Address of the Pack(Six- or Quadpack)
SendToPack($15); // Command in hexadecimal notation
SendToPack(P0); // Motor number (0...5)
SendToPack(P1); // poslimit LSB
SendToPack(P2);
SendToPack(P3);
SendToPack(P4); // poslimit MSB
SendToPack(P5); //further settings, for more information read the instruction set
SendToPack(P6);
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Sixpack ID (0) Adress of Sixpack Valid Arguments: 0 - 255 |
|
Motor Nr./ Channel No. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
P1,P2 (0) 16-Bit Value in Position P1,P2 The Bytes are reversed when sending to sixpack so that sixpack so that P1 is send to sixpack first |
|
P3,P4 Value (0) 16-Bit Value in Position,P3,P4 The bytes are reversed while sending to sixpack |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Command (31) |
|
Pseudocode 9 Bytes Pseudocode to be sent to the interface |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
Reference search parameters
change only with motors standing still
only relevant for fast reference search
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
V ref Max (0) P1,2 V refmax( 1-- 511) Fast Reference search Velocity 511>= vmax>=vrefmax>= vstart |
|
Mask for reference switch de-bouncing (0) Details for conversion required 0001(hex) =0ms 0003 =2 ms FFFF = 30 ms |
|
Bit 0 PI Mode (FALSE) Check to enable Least significant Bit ( LSB) for P5 PI Mode 0 = Trapezoidal Ramp, 1 = Controller |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) parameter PO = 32 bit signed |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudocode 9 Bytes send to serial write |
|
Valid Write Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Start search of Reference Command $ 22
First the motor is stopped. The motor optionally drives fast ( Vrefmax), searching for the position of the switch.
When the switch is found , the motor is driven back to the point, where the switch becomes inactive.
Then it is slowly driven with Vmin towards the switch to find the exact position. If the switch cannot be found again at slow speed where it had been found before, or if no switch is seen during 125 % of the drive limit range, the whole procedure repeats by first stopping again, which may give another chance to hold grip for an axis out of control.
After the reference point has been identified via the reference point switch the position is set to null respectively to NULL -offset and the motor resumes its previous operation.
eg. by driving to the actual position posact , where the reference search started
( $22 and CMD $ 15 P5, Bit 2 start the same action!)
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Instructions This control is used to modify the basic Initialize VI for use with any GPIB instrument. The control should be deleted after all of the modifications have been made. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
The VI allows to set multiple parameters for all 6 Motors of a SIXPACK. The parameters set are same for all the motors
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Sixpack ID Sixpack Valid Address :0 to 255 |
|
Ramp Value P1,2,3,4---- 32 bit signed value sets the Target value of motor to Ramp value and moves the motor to this position when vi is RUN |
|
Check to ramp Individual bits of parameter Po frrom Bit 0 to bit 5 0 = unchecked = motor masked 1 = checked = start motor |
|
Motor 0 P0/Bit 0= motor 0 0 = motor masked 1 = start motor |
|
Motor 1 P0 / bit 1 = Motor 1 |
|
Motor 2 Motor |
|
Motor 3 |
|
Motor 4 |
|
Motor 5 |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
V start P3,P4 16 bit Parameter Starting and ending Velocity for Acceleration Ramp: limited by Firmware to 0 < vstart< ( 512 shr(3- div[i])) -1 |
|
V min P1,P2 16 bit =V min values 0 to 511 Velocity used in combination with divi =3 for searching of the reference switch.The fastest possible Vmin will be calculated automatically when Vmin = 0 is set. Vmin <= 25 Hz / fmin steps Vmin<=Vstart The string send sixpack after converting Vmin into hex format is reversed so that P1 is send to sixpacK first otherwise P2 will be sent to sixpack prior to P1 |
|
Div i P5 $13 Calculation of step Frequency |
|
Vmax Parameter P3,4 16 Bit This Velocity can be find by query velocity command using command $ 21 Vmax <= 511 |
|
amax P1,2 16 bit parameter Max. Motor acceleration 1 / 64 is accumulated with 500 Hz during acceleration to vact: beginning with vstart the motor is accelerated untill Vmax has been reached: 0< amax<= vstart*64 ( default : amax = 128) |
|
Current for acceleration I3 Parameter P4 Command $ 11 VALUE SENT TO SIXPACK 0 =100 % acceleration |
|
T0: Delay time in ms Power down delay time in ms 16 Bit Parameter P5,P6 ( Firmware Before V 1.40 Required even values) In case odd value is entered ,it will be rounded to next even value The string obtained from converting T0 from decimal value to hex is reversed so that LSB is send to SIXPACK First |
|
I0=Power Down Current power down current P1 0 indicates 100% Power consumption can be reduced drastically when power-down current I0 is set to 0 % i.e P1 = 8 |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Velocity, Accerlation command $ 14
a max and V max are checked permanently, the pack prompt reacts to changes
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
V max (300) Parameter P3,4 16 Bit This Velocity can be find by query velocity command using command $ 21 Vmax <= 511 |
|
a max (128) P1,2 16 bit parameter Max. Motor acceleration 1 / 64 is accumulated with 500 Hz during acceleration to vact: beginning with vstart the motor is accelerated untill Vmax has been reached: 0< amax<= vstart*64 ( default : amax = 128) |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudocode Bytes send to Sixpack in Hex Format |
|
Valid Command True indicates 9 bytes send to serial port |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Command $ 12
Only parameter P0 clkdiv ( 0 ---31 )
(Global setting for all motors, change only with stopped motors!)
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Clk Division (5) P0 $12 Calculation of step Frequency 0 to 31 No Motor Number defined in this VI |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudocode Bytes in Hex format send to Sixpack |
|
Valid Command True indicates 9 bytes send to serial write |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Motor parameters Command $15
Note on Reference search algorithim:
usually the reference switch is logically left;i.e. search orientation is in the direction of descending co-ordinates.
However if it is defined as logically right (NULL not set) then the driving range is in area of negative numbers because zero is the largest number on the position scale.
Note: To exchange left and right physically ,only one phase of the motor has to be polarized reversely.
The setting Null Centre is extremly useful for rotary axes:
Here the centre of the zero switch is located,i.e. the centre between the left and right start of the switch operating point.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Poslimit (0) P1,2,3,4 Poslimit 32 bit parameter Number of microsteps per revolution for rotary axes ( is used with rotation or way optimization and reference search only); Resp total way for linear axis ( with reference search and mechanical referene, then 5/4 of the distance will be driven in the direction of the mechanical stop). |
|
P5 Bits P5 Individual bits to be set The 8 bits represented by boolean are combined to form a cluster and converted into bit array which forms a single byte the byte Value is send as P5 byte of Command $ 15 to SIXPACK |
|
Bit 0 PI Mode Check to enable Least significant Bit ( LSB) for P5 PI Mode 0 = Trapezoidal Ramp, 1 = Controller |
|
Rotary Axis Rotary Axis : 0 = linear :1= 0 Rotary axis |
|
Auto Null CMD Flag to start automatic reference srach ( CMD $ 22) |
|
Test Null set stop-bits ( CMD $ 20 P6) (Triggering an reference search ) if Stop No Ref ( P6 Bit 6 = 0) if Motor stops at zero point but switch remains inactive after settle time. ( Check only when motor is ready) |
|
Null Left Zero point left of driving range, otherwise right |
|
Null Centre set zero point left of driving range, otherwise right |
|
Stop Null stops the motor and sets Stop bit |
|
Bit 7:Filter Switch MSB for P5 1= zero point switch is de-bounced for 2-30 ms) mask for switch de-bouncing |
|
P6 Bits Command $ 15 Byte P6 Individual bits to be set The 8 bits represented by boolean are combined to form a cluster and converted into bit array which forms a single byte the byte Value is send as P5 byte of Command $ 15 to SIXPACK |
|
Bit 0: Way optimization P6 Bit 0 LSB way optimization for rotary axis by automatic selection of turning direction) |
|
Fast Reference Search for reference with high velcoity Vrefmax |
|
Mechanical Reference (drives 5/4 * poslimit towards zero point ) rather than a reference switch. |
|
Delay Test Null delay zero point check by T0-time In order to avoid failure caused by vibrations. Initialization T0 s CMD 11 |
|
Stop Soft 1= Motor decelrates with amax when stop condition ( switch or analog values) is detected rather than stopping abruptly ( description of stop-function via analog -input CMD $ 31) |
|
Stop No Reference P6 Bit 5 1 = no setting of AUTONULL CMD( avoiding automatic reference search ) on stop conditions, the Motor just stops instead |
|
Null Positive 1= zero point switch is High active , i.e high level at Null Point 0 = Switch is Low active |
|
Stop at Full Steps P6 MSB stop at full steps , stop ramps only at nearest full step position |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudocode 9 bytes to be written to SIXPACK |
|
Valid Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Write Motor Characterstics Table Command $ 17
Depending on the position the motors are controlled with discrete analog current values.
The lower 5 Bits of the position counter of each motor are used as a pointer into the symmetrical characterstics table and determine the current for coil A of the Motor.
The current for coil B is determined from the same table by a pointer shifted by 16 steps. For customizing the table can be modified for all motors in common.
Therefore only the lower half( 16 entries) has to be programmed.
P1 to P4 are made fourdistinct 8 bit parameters as values specified in manual is 0 to 255
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Pointer to Table (0) P0 = Pointer to table |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
4 Table Entries P1 (1) P1 4 table entries ( 0 to 255) starting from the given position ( eg table = 255,255,255,255 -> full steps) |
|
4 Table Entries P2 (1) P2 4 table entries ( 0 to 255) starting from the given position ( eg table = 255,255,255,255 -> full steps) |
|
4 Table Entries P3 (1) P3 4 table entries ( 0 to 255) starting from the given position ( eg table = 255,255,255,255 -> full steps) |
|
4 Table Entries P4 (1) P4 4 table entries ( 0 to 255) starting from the given position ( eg table = 255,255,255,255 -> full steps) |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseudo Code 9 bytes send to sixpack |
|
Valid command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Activate PI Controller on the Target Position(on the -fly target position change)
The Motor position will be controlled by the PI -controller so that the target position is reached.
Switching to PI-Controller happens immediately , even if the Motor is inactive. When the PI Controller was already active the Target position will be reprogrammed immediately . The maximum distance must e less the 32 bit signed range too - which is no restriction as long as you consider 0 as one limit of your driving range ( which however is not mandatory)
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Target Value (0) P1,2,3,4= 32 Bit signed long |
|
Instructions This control is used to modify the basic Initialize VI for use with any GPIB instrument. The control should be deleted after all of the modifications have been made. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Command $ 32
Setting of additional Ouputs
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
P2: Bit 0 (TRUE) P2 BIT 0 Set logic level at TTLIO1 |
|
P1: Bit 0 (TRUE) P1 Bit 0 Output Enable for TTL IO 1 ( 1=input,0 = Output) |
|
P0: Bit0 (TRUE) P0 Bit 0 Set Logic level at TTLOUT1( 1= Ready, 0 = Active) |
|
P3:Bit 0 (TRUE) P3 Bit 0 TTLOUT1 works as ready output( 1 =Ready,0 =Active) |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command 9 bytes send to sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Function of Read output
The ready output can be activated ( low, open collector ) , whenever a motor is active ( velocity greater than 0) or search of Reference. The ready output will be switched withing 2ms after start/ end motor movement: The repeatability ( jitter) equals approx the microstep rate during start respectively stop.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
P0=Mask for Active Motors (All TRUE) |
|
Motor 0 P0 Bit 0 = motor 0 |
|
Motor 1 P0 Bit1 = Motor 1 |
|
Motor 2 P0 Bit 2 = Motor 2 |
|
Motor 3 P0 Bit 3 = Motor 3 |
|
Motor 4 P0 Bit 4 = Motor 4 |
|
Motor 5 P0 Bit 5 = Motor5 ( MSB) |
|
P1=Mask for Reference search of a Motor (All TRUE) |
|
Motor 0 Mask for reference search of a Motor P1 Bit 0 = Motor 0 |
|
Motor 1 Mask for reference search of a Motor P1 Bit 1 = Motor1 |
|
Motor 2 Mask for reference search of a Motor P1 Bit 2 = Motor2 |
|
Motor 3 Mask for reference search of a Motor P1 Bit 3 = Motor3 |
|
Motor 4 Mask for reference search of a Motor P1 Bit4 = Motor4 |
|
Motor 5 Mask for reference search of a Motor P1 Bit 5 = Motor 5 ( MSB) |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command True indicates 9 bytes send to sixpack |
|
Pseudocode 9 bytes in Hex format send to SIXPACK |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Adjust RS 232/ Rs 485 Baud rate
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Transmitter switch On / Off Delay time in ms (6) P2,P3 Transmitter switch on/off delay time in increments of 2 ms ( 1---1000) , Default 6 ms, Writing even values in range of 1--- 1000 to serial interface |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command True indicates 9 bytes written to serial port |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Power down Modus
These versions store the actual positions as soon as the power supply goes below 13V,if enabled.The motors are stopped, as soon as undervoltage is detected.
Thus the devices should not be operated below 15 V under normal conditions.
The power down state is independent of bit 2 as well observed as set back with bit 3.
The power down state which is read also is independent of the stop & save-activation set via bit2.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
P1: Bit 0 to 3 (f,f,f,f) |
|
Bit 0 P1 Bit 0 ( LSB) 1 =Read position from EEPROM and them to the motor position registers,if they contain valid values. Checked means bit is set to high. |
|
Bit 1 P1, Bit 1 Set position in EEPROM as invalid |
|
Bit 2 P2 Bit 2 1: = Activate power down ( stop motors & autosave position on undervoltage) |
|
Bit 3 P1 Bit 3 1: = Reset powerdown state and re-enable the motors ( Only possible while he supply is above the power down level) |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Response Address (0) Response Address Parmaeter P0 Command $ 43 Since no information is available the parameter has been given value zero |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Pseducode String Read from Serial Port. Note in the Windows and Sun version the serial port is reset each time the VI is run, voiding preexisting data. The Macintosh version saves previously buffered data. |
|
substring P0 Response byte P0 is broken into first 4 bits and indicated as booleans 1 or 0 |
|
Valid Command Indicator for Valid Command True Position Indicates 9 Bytes are written and read from sixpack |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Response Byte P0 |
|
Bit 3 Response Byte P0/ Bit 3 1:= Pwerdown - status after command |
|
Bit 2 Response Byte P0/ Bit 2 Power down status- before Command |
|
Bit 1 Response Byte P0/ Bit 1 Located valid position in EEprom |
|
Bit 0 Response Byte P0 Bit 0 ( LSB ) 1= Loaded valid Position from EEprom |
Setting of Time out for abort of Packet
RS 232/ 485
Timeout in increments of 2 ms ( P0,P1)
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
Time out in increments of 2 ms (6) 2ms = logic 2 4ms = logic3 6 ms = logic 4 8ms = logic 5 |
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
Pseudocode 9 bytes send to sixpack |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command True indicates 9 bytes send to serial port |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
Start multi- dimensional linear Interpolation
Command $ 50
Co-ordinated movement with multiple Motors to a Target position.
The motors have to standstill before execution. All motors reach the target position at same time.The target postion has to be set for each motor ( with command $ 26 ) before.The axis which,regarding its postion distance, is the fastest, will automatically used as a master.In regard of its distance this axis will be driven with the lowest acceleration.To determine if the target postion has been reached , all involved motors have to be queried.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
P 0: MasK for motors (All FALSE) |
|
Motor 0 P0/Bit 0= motor 0 0 : motor unsed , 1= motorused in multidimension motion |
|
Motor 1 P0 / Bit 1 = motor 1 0 : motor unsed , 1: motorr used in multidimension motion |
|
Motor 2 P0/Bit 2= motor 2 0 : motor unsed , 1: motorused in multidimension motion |
|
Motor 3 P0/Bit 3= motor 3 0 : motor unsed , 1= motorused in multidimension motion |
|
Motor 4 P0/Bit 4= motor4 0 : motor unsed , 1: motorused in multidimension motion |
|
Motor 5 P0/Bit5= motor 5 0 : motor unsed , 1: motorused in multidimension motion |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Address of Sixpack-Unit Valid Address:0 to 255 |
|
error out The error cluster contains error or warning information. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Valid Command True indicates 9 bytes send to serial write |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
This VI queries the current instrument firmware revision and instrument driver revision.
This Instrument Driver's Revision number is 1.0 and is compatible with Instrument Firmware Revision 1.6.2
SIXPACK
Created By: Jupitec GmbH
Release Date:Feb 2002
Originally Developed in LabVIEW Version: 6.0
Modification History:
Apr 2002 H.Brand@gsi.de Problem of oroginal release solved and checked.
Okt 2002 H.Brand@gsi.de Ported to LabVIEW 6.1, Release 1.0.
Copyright (C)
Gesellschaft f. Schwerionenforschung, GSI
Planckstr. 1
64291 Darmstadt
Germany
Contact: http://www-wnt.gsi.de/labview
H.Brand@gsi.de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details (http://www.gnu.org).
|
error in (no error) error in is a cluster that describes the error status before this VI executes. If error in indicates that an error occurred before this VI was called, this VI may choose not to execute its function, but just pass the error through to its error out cluster. If no error has occurred, then this VI executes normally and sets its own error status in error out. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |
|
Sixpack ID Sixpack Valid Address :0 to 255 |
|
Motor Nr. (0) Motor Nr ( 0 -- 5) parameter P0 8 bit unsigned |
|
Instr Driver Revision This indicates the revision of this instrument driver's software. |
|
error out error out is a cluster that describes the error status after this VI executes. If an error occurred before this VI was called, error out is the same as error in. Otherwise, error out shows the error, if any, that occurred in this VI. Use the error handler VIs to look up the error code and to display the corresponding error message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. Valid Range: Not Applicable Default: status= False (no error) code = 0 source = empty string |
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
Version Version read 162 as 1.6.2 |
|
Serial Number serial Number |
|
DUP VISA Sesssion |
|
VISA Resource VISA resource name specifies the resource that will be opened. This control also specifies the session and class. |
|
VISA Timeout Value (1000 ms) VISA Timeout Value is the VIAS timeout period in ms for read and write. |
|
Timeout for Visa Lock in ms (2000ms) timeout is the period of time to wait for access to lock. |
|
Baud rate (19200) baud rate is the rate of transmission. Default value of Baud Rate is 19200 bps |
|
Open timeout (1000ms) VISA Open timeout specifies the maximum time period (in milliseconds) that VISA Open waits before returning an error. It does not set the I/O timeout. |
|
Access mode(1) access mode should be set to zero (0). The value VI_EXCLUSIVE_LOCK (1) is used to acquire an exclusive lock immediately upon opening a session; if a lock cannot be acquired, the session is closed and an error is returned. The value VI_LOAD_CONFIG (4) is used to configure attributes to values specified by some external configuration utility, such as Measurement and Automation Explorer (on Windows) or visaconf (on Solaris 2, Linux, and HP-UX).
|
|
Open/Close (True) This flag will open the port and close the port at end of VI Execution if True. Please make sure this flag is TRUE everytime the VIs are run. If this flag is FALSE the Initialize VI has to be executed prior to all other VI execution. |