15,895,084 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Emrah Duatepe (Top 12 by date)
Emrah Duatepe
24-Nov-19 4:32am
View
Yes ,you are right.chinese products have usually bad source.
Emrah Duatepe
10-Oct-19 1:37am
View
the code that I indicate above is not good approach already wrong.I am trying to create a table related with motor moving and encoder values to open phases in right sequence.Because of encoder resolution I get resolution error.60 electrical degree for 20 poles motor for 60 electrical degree equals 8.53333 encoder value.Totally electrical degree is 20*360 for 20 poles,but formula say (20/2)*360 ? I am confused.20 poles means 20 magnetic and every magnetic creates one 360 electrical degree.
Emrah Duatepe
9-Oct-19 5:48am
View
every 6 mechanical degree equals 60 electrical degree according to 10 poles motors,so for encoder max 1024 counting, 360/1024 = 0.3515625 and 6 mechanical degree equals about 17 encoder value.I am gonna try to make an encoder maps like
1,2,3 encoder value is corresponding table[1],table[2],table[3] = activate A and C phases like that probably it works table[18] = activate different phases.
Emrah Duatepe
17-Jul-18 12:50pm
View
Okay ,thank you for information.
Emrah Duatepe
16-Jul-18 16:32pm
View
I mean , malloc and calloc function cause a fragmentation if free() that memory.If I use these code unless free().Will I encounter any problem I wonder.
Emrah Duatepe
10-Jul-18 3:40am
View
This one is usefull comment.Not yours.
See GNU make[^].
However, the shown Makefile will create the snap7.dll and snap7.lib. If you have executed that using make all, there is no need to compile the source files (snap_*.cpp) again in your Qt project. Instead just add the library to your Qt project with the correct path:
Hide Copy Code
win32:LIBS += <snap7_make_output_path>/snap7.lib
and remove the snap7 source and header files.
Emrah Duatepe
10-Jul-18 3:37am
View
really,probably ,you musnt write a command for everyone's health
Emrah Duatepe
10-Jul-18 3:29am
View
OK,I will
Emrah Duatepe
10-Jul-18 3:28am
View
Thank you for information,
"So read the manuals or some of the freely available tutorials" what that sentence does mean?
Emrah Duatepe
14-May-18 7:54am
View
Codes are here,I am trying to access with order in text.My real problem here is liste
private void Read_File(int year1, int month1, int day1, int year2, int month2, int day2)
{
int i = -1, day, month, year;
listView1.Items.Clear();
string str="";
string[] s = new string[100];
string[] split, split1;
//sr.Close();
sr = File.OpenText(filePath);
//StreamReader sr = new StreamReader(filePath);
//str = sr.ReadLine();
//richTextBox1.AppendText(str);
// richTextBox1.Text = str;
do
{
i++;
s[i] = sr.ReadLine();
} while (s[i] != null);
sr.Close();
for (int k = 0; k < i-1; k++)
{
str = "";
split = s[k].Split(' ');
for (int j = 0; j < split.Length; j++)
{
str = str + split[j];
}
split = str.Split('_'); //*****//
split1 = split[0].Split(':');
day = Int32.Parse(split1[0]);
month = Int32.Parse(split1[1]);
year = Int32.Parse(split1[2]);
if (year >= year1 && year <= year2)
if (month >= month1 && month <= month2)
if (day >= day1 && day <= day2)
{
richTextBox1.AppendText(s[k] + "\n");
liste[k].Text = split[0] + " / " + split[2];
liste[k].SubItems.Add(split[4]);
liste[k].SubItems.Add(split[8]);
liste[k].SubItems.Add(split[12]);
listView2.Items.Add(liste[k]);
}
}
//listView2.Items.Add(liste[0]);
//listView2.Items.AddRange(liste);
}
Emrah Duatepe
14-May-18 1:22am
View
Guys,information that comes to me like this
11:05:2018 __ 17:27:59 __ 01342 __ __25__ __ 720__
11:05:2018 __ 17:27:59 __ 09284 __ __28__ __ 729__
11:05:2018 __ 17:28:29 __ 01342 __ __25__ __ 720__
These are in text.So They are information about material's feature .Costumer can would like to know these features between dates.So on the interface there are two object that costumer should write dates and these information between dates will be written in listview.
Emrah Duatepe
11-May-18 3:56am
View
Okay,thank you information
Show More