//==============================================================================
 
//
 
// Title:               MIKRO.h
 
// Purpose:             Header file for MVP stage driver.
 
//
 
// Created on:  29.11.2014 at 20:51:03 by Samo Korpar.
 
// Copyright:   . All Rights Reserved.
 
//
 
//==============================================================================
 
 
 
#ifndef __uSMC_H__
 
#define __uSMC_H__
 
 
 
#ifdef __cplusplus
 
    extern "C" {
 
#endif
 
 
 
//==============================================================================
 
// Include files
 
 
 
#include <cvidef.h>
 
#include <ivi.h>
 
 
 
//==============================================================================
 
// Constants
 
 
 
//==============================================================================
 
// Types
 
 
 
//==============================================================================
 
// External variables
 
 
 
//==============================================================================
 
// Global functions
 
 
 
int _VI_FUNC uSMC_Open (void);
 
 
 
int _VI_FUNC uSMC_FindSerial (char serial[]);
 
 
 
int _VI_FUNC uSMC_Reset (int node);
 
 
 
int _VI_FUNC uSMC_Init (int node, int type);
 
 
 
int _VI_FUNC uSMC_PowerOn (int node);
 
 
 
int _VI_FUNC uSMC_PowerOff (int node);
 
 
 
int _VI_FUNC uSMC_ReferenceMove (int node);
 
 
 
int _VI_FUNC uSMC_MoveFor (int node, int dist);
 
 
 
int _VI_FUNC uSMC_MoveTo (int node, int dest);
 
 
 
int _VI_FUNC uSMC_GetPosition (int node, int *pos);
 
 
 
void _VI_FUNC uSMC_Close (void);
 
 
 
#ifdef __cplusplus
 
    }
 
#endif
 
 
 
#endif  /* ndef __uSMC_H__ */