examples/DS401_Slave_Gui/tools.h
author luis
Fri, 28 Sep 2007 15:08:38 +0200
changeset 288 26015ee2c2c9
parent 246 d635cfc520ee
permissions -rw-r--r--
Modified codes in MSG_ERR and MSG_WAR in emcy.c
Defined OD_VALUE_RANGE_EXCEEDED in def.h
Modified gen_cfile.py so than range test for 1003h sub0 sends OD_VALUE_RANGE_EXCEEDED as abortcode when value written is different from 0.
#ifndef TOOLS_H_
#define TOOLS_H_

	#include <wx/wxprec.h>
	#include <wx/wx.h>
	#include <wx/textctrl.h>
	#include <iostream>

	void	IntToString( int i, char* in_pszbuffer );
	char	*wxstr_to_charbuf(wxString	s);
	void	charbuf_free(char	*s);

#endif /*TOOLS_H_*/