Skip to content

Phidgets Functions

Mahyar Abdeetedal edited this page Aug 31, 2017 · 2 revisions

functionsPhidgets.h is the header file for communicating with Phidgets. More...

Functions

void  runPhidgets (System::ComponentModel::BackgroundWorker^ workerPhidgets, float *calMatrix, float *calibratedPhidgets, CPhidgetBridgeHandle &bridge, phidgetsVec &phiVec)
  This method reads data from Phidgets. More...
 
void  killPhidgets (CPhidgetBridgeHandle &bridge)
  This method stops the Phidgets. More...
 

Detailed Description

Header file for communicating with Phidgets.

The declarations here are for the functionsPhidgets.cpp

Date
July 2017
Version
0.1
Author
Mahyar Abdeetedal, [email protected]
Copyright
Copyright (C) 2016 - 2017 Mahyar Abdeetedal

GNU General Public License

This file is part of the KUKA-UI.

The KUKA-UI 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 3 of the License, or (at your option) any later version.

The KUKA-UI 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.

You should have received a copy of the GNU General Public License along with the KUKA-UI. If not, see http://www.gnu.org/licenses/.

Function Documentation

◆ killPhidgets()

void killPhidgets ( CPhidgetBridgeHandle &  bridge )

This method stops the Phidgets.

Parameters
bridge The Phidget Bridge ID.
Returns
The output is a void.

◆ runPhidgets()

void runPhidgets ( System::ComponentModel::BackgroundWorker^  workerPhidgets,
float *  calMatrix,
float *  calibratedPhidgets,
CPhidgetBridgeHandle &  bridge,
phidgetsVec phiVec 
)

This method reads data from Phidgets.

Parameters
workerPhidgets A seperate System Component Model Background Worker for Phidgets communications.
calMatrix The matrix of Calibration for each bridge input.
calibratedPhidgets The calibrated data read from Phidgets.
bridge The Phidget Bridge ID.
phiVec The vector of raw data read from Phidgets.
Returns
The output is a void.