.


Quick Start Guide
QMP-SynqNet Controller

Microsoft Visual C/C++

This section is an overview of running an executable C-program using Microsoft Visual C/C++. If MS VIsual C/C++ is not being used, this section does not apply. Even though the QMP can be controlled by a C-program written on many different platforms, this section only covers MS Visual C/C++.

 
  1. Open Visual C/C++ Version 6 or higher.

  2. Go to File > Open Workspace. Browse for app.dsw.

    Default location:C:\MEI\QMP\APP\WinNT\MSVC.



  3. The file type should be set to display Makefile [.mak] and upon doing so, the app.mak file displays. Open app.dsw. If asked whether the project should be converted to the current verson of Visual C/C++ being run, click Yes.

  4. Change to File View and select quickStart1 files.


  5. Right click on the quickStart1 files and "Set as Active Project."
    (This should set the quickStart1 files in bold.)

  6. Click on quickStart1.c in the "Source Files" sub directory. Go to the Build menu and select Build quickStart1.exe.




  7. Verify that there are no errors or warnings in the dialog box.

  8. Click the execute button and the program will now be carried out. Motion can be stopped at any time by hitting any key.




  9. Open Motion Scope and view certain parameters by selecting the Trace button and add additional parameters to graph.
   

Previous | Back to Table of Contents

       Legal Notice  |  Tech Email  |  Feedback
       Copyright ©
2001-2012 Motion Engineering