Category Archives: Shahab

Trigging signals on the move, ABB Robots

If you want to trigg signals on the move without having multitasking on your ABB robot, triggLIOs would help you. This signal would help you to set values to different types of signals (up to 50). One could set Digital Output / Analog Ouput / String Output or Group Output signals with help of this command. This commands also allows one the choice to trigger signals based on distance / time after the start or distance to the end of the movement.

ABB Robots Family
ABB Robots Family

See below examples from RAPID (ABB robots programming language) reference manual:

TriggLIOs [\Conc] ToPoint [\ID] Speed [\T] [\TriggData1] [\TriggData2] [\TriggData3] Zone [\Inpos] Tool [\WObj] [\Corr] [\TLoad]

Continue reading Trigging signals on the move, ABB Robots

POP3 Terminal Commands

It’s a while that I am thinking about developing a portal at our student community at University to monitor the part time jobs for robotics & nano-electronics students that are posted online ( is popular place to do so in Norway). Finally this would come up on a screen where robotics and Nano students would be hanging out.

For this purpose I have either thought to connect directly to the database (waiting for the response from the website). If they do not let me to do so, I was thinking to have the announcements sent to me with email (a service that the website offers) and then process the emails and update the list. To this I came across connecting to email servers with POP3 and using POP3 terminal commands to read emails (a tutorial on this subject) and update my list to show on the screen.

USER userid
First command after connecting. E-mail userid (this may or may not not the full e-mail address). Example: USER testuser

PASS password
Password of the email account. PASS thisPasswordIsCool
Continue reading POP3 Terminal Commands

Opening a folder at C#

To open a folder in C#, simply follow the following example :

[code lang=”csharp”]
private void openFolder()
string myDocspath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);// if you are after special documents (e.g. my documents)
string myFolderpath = Application.StartupPath + "\\folderName\\"; // a folder right beside where you run the program
string windir = Environment.GetEnvironmentVariable("WINDIR");
System.Diagnostics.Process process = new System.Diagnostics.Process();
process .StartInfo.FileName = windir + @"\explorer.exe";
process .StartInfo.Arguments = myFolderpath;
process .Start();//OPEN the folder


How to Export Data to Excel without hassel

Saving query to excel format could go through Microsoft Office Interop services or some third party libraries. However there is a simpler way. CSV file formats are wuite simple and one could simply read queries and save them into a text file format with CSV as the extension (myfile.csv).

The tricks would be to have the data read from database by query and write each record as a line and semicolon to separate the column vales.This is actually language independent and one could implement it by C#, Java or any other language that could execute queries on a database.

Textbox hint for HTML5 editbox

If you are about to have hint for editboxes on the forms in your website, you have 2 options:

  1. Placeholder property (not supported in older web browsers)
  2. Javascript Watermarks
Here I am about to go into details about the placehodler property, which is quite simple:

[code lang=”html”]
<input type="text" placeholder="write your first name here…" />

Placeholder property