Close

Not a member yet? Register now and get started.

lock and key

Sign in to your account.

Account Login

Forgot your password?

MS-2000 control using NI’s LabVIEW 8.6 and the Serial Port

ASI has recently begun experiencing USB driver installation issues with the Microsoft™ Windows® XP operating system. Until resolved, ASI offers this solution.

 

The serial port remains a viable, recommended alternative to USB for controlling the MS-2000, therefore, ASI is providing this Serial Pack which includes instructions on setting up and using the serial port to control MS-2000 controllers with LabVIEW™ 8.6.

 

In situations where USB communication is mandatory, ASI will provide a USB-to-Serial Adapter, or you may acquire your own (for example, the Keyspan™ USA-19HS).

 

Installation Contents

This package contains National Instruments LabVIEW™ 8.6 source code to support MS-2000 control over the Serial Port interface.

 

Self-contained One-VI Solutions

These three VI’s use only LabVIEW™ built-in functions as sub-VI’s

  • SerialMoveXY.vi – Connects, moves X and Y axes, waits for completion of move, disconnects
  • SerialMoveZ.vi – Connects, moves Z axis, waits for completion of move, disconnects
  • SerialWhere.vi – Connects, issues WHERE command to input axis, returns axis position in 10ths of micron, disconnects

*Note: Connecting and disconnecting is fast enough so that these VI’s are recommended for normal applications

Example Interactive Applications

  • SerialComplexInteractive.vi – Emulates HyperTerminal®
  • SerialSimpleInteractive.vi – Sends hand-typed commands, ignores replies

 

Subordinate VI Files

  • SerialConnect.vi – opens serial port
  • SerialDisconnect.vi- closes serial port
  • WriteCmd.vi – concatenates CR LF to a command, transmits
  • SerialWaitForStatusN.vi – sends STATUS commands up to a max number of tries (default=400), returns Success = TRUE if it receives ‘N’ (i.e., not busy)

Downloads

Serial Pack 8.6

Assistance

For assistance with this software, please call (541) 461-8181 ext 16, In the United States and Canada, you may call (800) 706-2284. You may also send an e-mail to support@asiimaging.com