December 7th, 2013, 04:30 PM
ok ok I solved.
61440 means 2#0000_0000_0000_0000_1111_0000_0000_0000
10000 means 2#0000_0000_0000_0000_0010_0111_0001_0000
expression = 10000&61440;
then.. expression =...
December 7th, 2013, 04:09 PM
there is just somewhere left in the code that i did not understand. code1 is also working like this: I changed source, code is still working.
December 7th, 2013, 01:23 PM
forexample at code1,
var1 = (unsigned long)GetTagDoubleStateQC (lpszObjectName,&status,&quality);
var1 is the source, it changes automaticly.. from 0 to 32768.when var1 = 10000, index...
December 7th, 2013, 07:44 AM
ok you're right 2kaud. people may think it's not safe. here are the codes.
long _main(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName)
December 7th, 2013, 04:28 AM
hello guys.recently i was away from the forum.I'M not c programmer and rarely i work with codes.
I need some help about one subject. if you can help, I'll be very glad.
There is one code,...
October 28th, 2010, 03:31 AM
this c# project is connecting to a programmable logic controller with ethernet. informations are coming from plc.
information that I see in textbox is generally pression of an oxygen tank,...
October 27th, 2010, 01:58 AM
hi. im beginner.
I find main problem is storing data with 500ms update, and drawing trends with it.
500ms update and 1 hour it means 2x60x60 = 7200 values.
it's floating point. it's...
October 26th, 2010, 05:58 PM
I'm in trouble with creating trends.
I'll read one TextBox's value and at the end of 1 hour, I'll draw a trend into a word file, I'll save and print it.
(in trend info update must be about...
October 20th, 2010, 05:45 PM
yes I saw several reporting examples. Generally people are using csv. It's only me who is abnormal.
Well at the beginning I said that I was a beginner. So don't be angry with strange questions.
October 20th, 2010, 05:31 PM
I find excel very cumbersome.
Same table in Txt or rtf 10kb, in excel maybe 100kb.
If it was creating 2-3 files. it's ok. 90kb is nothing, but It'll be kinda reporting and it'll report many...
October 20th, 2010, 03:01 PM
I'm a beginner and if I'm asking strange things sorry about it.
I read some informations from sql database and display it in my project.
I used sqldataadapter dataset and datagridview.