Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
taf.exe error
alan
✭
Dear all,
I got a problem when developing a FP RAB application.(just read a config file and set a signal).the application noramly is ok.
but when I press control panel >configration(in Real GTPU),I choose Topic and I can't find IO item and also there is no info. about IO, that means I can't define any IO signal. if press close in commandbar, no response. if press several times continues or use 'X',sometimes GTUP will display a error like below
TAF.exe error
at system.io_error.winIOError()
at system.io.fileStream.writeCore()
at system.io.fileStream.flushwrite()
at System.IO.filestream.flush()
at system.IO.fileStream.dispose().
I use RAB5.10 and robotware5.11.02. in RAB application. I have dispose the signal that I have used.
same application in vitual controller(RW5.11.02). no problem..
some code:
void PrgLoad(object sender, ABB.Robotics.Tps.Windows.Forms.MessageBoxEventArgs e)
{
.....
Signal progType = _controller.IOSystem.GetSignal("goDataSetNo");
progType.Value= Convert.ToInt32 (progNum);
progType.Dispose();
progType.Value= Convert.ToInt32 (progNum);
progType.Dispose();
....
}
public void CheckInfo()
{
signal1 = _controller.IOSystem.GetSignal(HomeSignal);
if (signal1 == null)
{
GTPUMessageBox.Show(this, null, "Please Set Key signal");
InHome = 0;
}
else
{
digitalSig = (DigitalSignal)signal1;
digitalSig.Changed += new SignalChangedEventHandler(digitalSig_change);
}
}
public void digitalSig_change(object sender,EventArgs e)
{
this.Invoke(new ABB.Robotics.Controllers.IOSystemDomain.SignalChangedEventHandler(this.UpdateUI), new Object[] { sender, e });
}
{
this.Invoke(new ABB.Robotics.Controllers.IOSystemDomain.SignalChangedEventHandler(this.UpdateUI), new Object[] { sender, e });
}
private void UpdateUI(object sender, SignalChangedEventArgs e)
{
SignalState state = e.NewSignalState;
float val = state.Value;
if (val==1)
{
InHome = 1;
{
SignalState state = e.NewSignalState;
float val = state.Value;
if (val==1)
{
InHome = 1;
}
else{
InHome = 0;
}
else{
InHome = 0;
}
}
protected override void Dispose(bool disposing)
{
if (!IsDisposed)
{
try
{
if (disposing)
{
{
if (!IsDisposed)
{
try
{
if (disposing)
{
_controller.Dispose();
digitalSig.Changed -= new SignalChangedEventHandler(digitalSig_change);
signal1.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
}
...
pls give sme ome suggestion? thanks a lot.
BR//alan
0
Comments
-
Hi Alan,I was confused:- What is causing the error: your application or the ControlPanel View?- You mention that it works OK, but then it does not.In the Dispose method, try to dispose the controller instance at the end.Carlos Martinez
ABB0 -
hello,sorry my description confused u.I have try to open another windows like INPUT and output or others buttion in real GTPU main interface, it' no effection for the RAB application. just when I press control panel-> configration and system will display the error message.I can't see IO configration in real GTPU.control panel-> configration view will lead to the problemBR//alan0
-
That is strange ..- Have you tried to create a new system?- Can you share a back-up in order to reproduce the problem?BRCarlos Martinez
ABB0 -
now, it's done. problem is memory leak, thanks all0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings