Looking help for developing labview code [Urgent]
Hi,
I need help in developing labview code. I am new to labview and will appreciate if someone can help me in this matter. I need to control the intensity of AC load (halogen lamp with 2kW,230V,50Hz) using Labview and Arduino. But my project using interrupt in Arduino, so it is not possible to use Labview Interface For Arduino(LIFA). I searched and it might be possible to use VISA serial in this matter. Attached is the circuit and the code of Arduino. Someone who is expert in this matter can help me?
The concept of my project is almost same with https://www.youtube.com/watch?v=oeVJ5bs6E8M&feature=youtu.be
Solved!
Go to Solution.
Attachments:
Zero Cross Circuit.docx 203 KB
Triggering Circuit.docx 48 KB
Coding for Arduino.txt 7 KB
Hi,
You will find all information you need and LabVIEW VI examples on the LabVIEW Interface for Arduino
LabVIEW Interface for Arduino
Regards,
Valentin
Certified TestStand Architect
Certified LabVIEW Developer
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Travaux Pratiques d'initiation à LabVIEW et à la mesure
Du 2 au 23 octobre, partout en France
Similar Messages
-
Can some body help me to develop labview code for generating pulse to drive ac servo motor
can some body help me to develop labview code for generating pulse to drive ac servo motor... i am using NI 9401 card ....tnx
Driving an AC servo motor would (I missed AC on the previous msg) requires some complex hardware. This is generally done by drivers specifically designed for this purpose. I doubt you will be able to accomplish this with the hardware you currently have and it might be cheaper to just buy a driver for it and control the speed through the driver.
-
Is there any tool for developing Postscript code ?
Hi Friends,
Is there any tool for developing Postscript code ? (or)
Is there any IDE for Postscript ? (or)
Thanks & Regards,
Navaneeth SivappanHi Navaneeth,
> is there any tool for developing Postscript code ?
An interpreter (GS or Dist), an ascii text editor and your PS skills ;-)
> is there any IDE for Postscript ?
Take a look in this Sourceforge project...
http://sourceforge.net/projects/wxghostscript/
...is a Ghostscript debugger.
MaRC anToni Malagarriga i Picas
T·(34)938721642 | (34)667517069
(][ www.femfum.com
PostScript&PDF Tool Developers
Desenvolupadors d'Eines PostScript i PDF -
HI ALL SINCE TWO DAYS I AM DOWNLOADING VIBER BUT I AM NOT HAVING MY ACCESS CODE AND EVERY TIME I DELETE THE APPLICATION AND DOWNLOADING IT AGAIN BUT ALWAYS THE SAME RESULT PLEASE I NEED YOUR HELP FOR THE ACCESS CODE.MY PHONE NUMBER IS 0022996969896.THANKS IN ADVANCE
try this website this should help you http://helpme.viber.com/index.php?/Knowledgebase/List/Index/1/iphone
-
Pulling the condition records - help in the ABAP code -urgent!!!!!
hi folks,
I need some urgent help here..
I have discussed this portion before in the forum but there are some changes and I need some help here.
The code goes like this....
select knumv kschl kbetr kwert
from konv into table cdata
for all entries in bodyitab21
where konv~knumv = bodyitab21-knumv
and konv~kwert > 0.
I am successfully pulling the data into cdata here..
I need to check for various condition types that are around 100. I need to split them into two types because some condition types containe just pricing values while some others have values in % (but the value not stored in that format) To do the extra coding I have use two differetn case statements and that's what i have done here.
<b>My probelm is I will have to check for each condition type, if the 'kwert' field has some value in it pull the data and there is a condition text associcated to it in the table 'T685T' that needs to be pulled into the itab.
This process has to be done for every condition type.</b>Given this scenario how can i do it?
loop at cdata into wac.
case wac-kschl.
when 'ZRAT' OR 'ZAGR' OR 'ZRCR' OR 'Y098' OR 'Y007' OR 'ZREW' OR 'Y106' OR 'ZTSR' OR 'Y127' OR 'Y125' OR 'Y126' OR 'Y124' OR 'Y157' OR 'Y092' OR 'Y085' OR 'Y090' OR 'ZMZD' OR 'Y215' OR 'Y214' OR 'Y111' OR 'ZC$D' OR 'ZAUD' OR 'ZTHX' OR 'ZCOL'
OR 'ZCFE' OR ZSPA' OR 'ZBOX' OR 'ZCOR' OR 'Y130' OR 'ZBOR'
OR 'Y108' OR 'ZFPP' OR 'Y204' OR 'Y200' OR 'Y202' OR 'Y201' OR 'Y203' OR 'Y002' OR 'ZSCR' OR 'Y128' OR 'Y100' OR 'ZABS' OR 'ZSMG' OR 'ZFRE' OR 'ZREC' OR 'ZCOM' OR 'ZPMG' OR 'BEMG' OR 'ZDTI' OR'ZBET'.
<b>***** the first set of these condition types have just values</b> if wac-kbetr = ' ' AND wac-kwert = ' '.
continue.
else.
p = wac-kbetr.
i = p.
c = i.
MOVE c to w_accitab-zrate.
MOVE wac-kbetr to w_accitab-zrate.
MOVE wac-kwert to w_accitab-zsubtotal.
endif.
when 'ZSED' OR 'ZRFQ' OR 'ZIMP' OR 'ZERR'
OR 'ZECD' 'ZAC1' OR 'ZAC%' OR 'ZAC2' OR 'ZSED' OR 'ZRFQ' OR 'ZIMP' OR 'ZERR' OR 'ZECD' 'ZQUD' OR 'ZEMP' OR 'Y101' OR 'Y012' OR 'ZCHU' OR 'Y054' OR 'Y065' OR 'Y066' OR 'Y067' OR 'Y068' OR 'Y069' OR 'Y096'
OR 'Y103' OR 'Y010' OR 'Y070' OR 'Y071' OR
'Y072' OR 'Y073' OR 'Y074' OR 'Y075' OR 'Y076'
OR 'Y077' OR 'Y078' OR 'Y079' OR 'Y156' OR OR 'Y148'
OR 'Y102' OR 'Y205' OR 'Y206' OR 'Y207' OR 'Y208' OR
'Y209' OR 'Y213' OR 'Y210' OR 'Y211' OR 'Y212' OR 'Z%DS'
OR 'Z%DO' OR 'Y113' OR 'Y151' OR 'Y152' OR 'Y153' OR
'Y154' OR 'Y155' OR 'Y147' OR'Z%PB' OR 'Y142' OR 'Y131'
OR 'Y141' OR 'Y149' OR 'ZDEO' OR 'Z%DR' OR 'Y115' OR
'Y116' OR 'Y095' OR 'Y084' OR 'ZSA$' OR 'ZSA%' OR
'ZPA$' OR 'ZPA%'.
the second set of these condition types have just values that has to be converted into %.
if wac-kbetr = ' ' AND wac-kwert = ' '.
clear w_accitab-zrate.
continue.
else.
p = wac-kbetr.
p = p / 10.
if p < 1.
rate+0(1) = '-'.
endif.
if i = 0.
clear w_accitab-zrate.
else.
i = p.
c = i.
shift c right deleting trailing '-'.
concatenate rate c '%' into rate.
condense rate no-gaps.
MOVE wac-kbetr to w_accitab-zrate.
MOVE rate to w_accitab-zrate.
clear rate.
MOVE wac-kwert to w_accitab-zsubtotal.
endif.
endif.
Thanks alot in advance.
SanthoshMaybe this will help you, otherwise I'm missing something.
[code]
data: begin of wac,
kschl type t685t-kschl,
vtext type t685t-vtext,
end of wac.
case wac-kschl.
when 'ZRAT' or 'ZAGR' or 'ZRCR' or 'Y098' or 'Y007' or 'ZREW' or 'Y106'
or 'ZTSR' or 'Y127' or 'Y125' or 'Y126' or 'Y124' or 'Y157' or 'Y092' or
'Y085' or 'Y090' or 'ZMZD' or 'Y215' or 'Y214' or 'Y111' or 'ZC$D' or
'ZAUD' or 'ZTHX' or 'ZCOL' or 'ZCFE' or 'ZSPA' or 'ZBOX' or 'ZCOR'
or 'Y130' or 'ZBOR' or 'Y108' or 'ZFPP' or 'Y204' or 'Y200' or 'Y202' or
'Y201' or 'Y203' or 'Y002' or 'ZSCR' or 'Y128' or 'Y100' or 'ZABS' or
'ZSMG' or 'ZFRE' or 'ZREC' or 'ZCOM' or 'ZPMG' or 'BEMG' or 'ZDTI'
or'ZBET'.
Some code
when 'ZSED' or 'ZRFQ' or 'ZIMP' or 'ZERR'
or 'ZECD' or 'ZAC1' or 'ZAC%' or 'ZAC2' or 'ZSED' or 'ZRFQ' or 'ZIMP' or
'ZERR' or 'ZECD' or 'ZQUD' or 'ZEMP' or 'Y101' or 'Y012' or 'ZCHU' or
'Y054' or 'Y065' or 'Y066' or 'Y067' or 'Y068' or 'Y069' or 'Y096'
or 'Y103' or 'Y010' or 'Y070' or 'Y071' or
'Y072' or 'Y073' or 'Y074' or 'Y075' or 'Y076'
or 'Y077' or 'Y078' or 'Y079' or 'Y156' or 'Y148'
or 'Y102' or 'Y205' or 'Y206' or 'Y207' or 'Y208' or
'Y209' or 'Y213' or 'Y210' or 'Y211' or 'Y212' or 'Z%DS'
or 'Z%DO' or 'Y113' or 'Y151' or 'Y152' or 'Y153' or
'Y154' or 'Y155' or 'Y147' or'Z%PB' or 'Y142' or 'Y131'
or 'Y141' or 'Y149' or 'ZDEO' or 'Z%DR' or 'Y115' or
'Y116' or 'Y095' or 'Y084' or 'ZSA$' or 'ZSA%' or
'ZPA$' or 'ZPA%'.
Some code
endcase.
select single vtext into wac-vtext from t685t
where spras = sy-langu
and kschl = wac-kschl.
write:/ wac-kschl, wac-vtext.
[/code]
Regards,
Rich Heilman -
Help for development.........
Hi developers......
Which tool is best for develop beans and jsp.
Thank u
sure....:)How about your brain? It's probably the best tool for the job.
Oh you mean an editor? Well, if you want fast and no bullsh1t editing I'd say go with UltraEdit or JEdit, they are both very capable text editors. There are loads of other texteditors available, whole flamewars have been waged over which one is best.
If you want a little more help and a little less typing, go with an IDE such as NetBeans or Eclipse. And don't even think about asking which one is best: the answer is neither. You'll just have to try them both. -
Help for Modifying the Code for display a 7 column table
Hi,
Is someone can help me to modify that code I have a 7 colomn table and as many row as their is results?
Right now, All my result are in a 1 colomn table and and 1 row,
thanks,
Roseline
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;Sorry:
I have a table contening PROJECT ID, DVD ID and FILES NAME (NomFIchier) that are on the DVD.
In my page result, I want the list of the DVD from a project with the following formatting ( 7 columns table), using PL/SQL.
1 DVD can contain from 5000 files
ex:
Ex:
select DVDNAME, NomFichier fromTABLE where project = 2
*85*
2635080 2636608 2637084 2637091 2637092 2637093 2637147
2637152 2637153 2637154 2637155 2637156 2637157 2637164
*86*
2639497 2639498 2639502 2639504 2639505 2639506 2639507
2639508 2639509 2639511 2639512 2639519 2639521 2639522
******* ******* ******* ******** ********* ******** ******** With this code following code,
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;I have the following result
85
2635080 2636608 2637084 2637091 2637092 2637093 2637147 2637152 2637153 2637154 2637155 2637156 2637157 2637164 2637169 2637170 2637172 2637173 2637202 2637203 2637213 2637214 2637215 2637216 2637217 2637218 2637219 2637220 2637234 2637235 2637236 2637237 2637239 2637240 2637241 2637242 2637244 2637246 2637247 2637249 2637250 2637251 2637252 2637253 2637257 2637263 2637266 2637269 2637270 2637274 2637276 2637279 2637284 2637290 2637291 2637292 2637293 2637294 2637295 2637296 2637301 2637303 2637304 2637305 2637306 2637311 2637320 2637322 2637324 2637331 2637333 2637336 2637352 2637353 2637354 2637358 2637359 2637360 2637361 2637362 2637363 2637364 2637371 2637378 2637383 2637384 2637385 2637386 2637387 2637388 2637391 2637392 2637395 2637400 2637405 2637412 2637418 2637419 2637423 2637443 2637446 2637453 2637461 2637470 2637483 2637484 2637485 2637494 2637502 2637506 2637507 2637519 2637532 2637536 2637537 2637539 2637540 2637541 2637544 2637553 2637554 2637555 2637557 2637575 2637578 2637579 2637580 2637581 2637582 2637583 2637587 2637588 2637589 2637590 2637591 2637592 2637593 2637594 2637595 2637597 2637604 2637605 2637606 2637611 2637619 2637628 2637629 2637630 2637631 2637632 2637633 2637637 2637645 2637647 2637648 2637650 2637651 2637657 2637658 2637659 2637661 2637662 2637668 2637674 2637676 2637677 2637679 2637680 2637681 2637684 2637685 2637686 2637688 2637689 2637691 2637692 2637694 2637696 2637700 2637701 2637702 2637703 2637704 2637705 2637706 2637707 2637722 2637725 2637741 2637749 2637751 2637752 2637753 2637762 2637764 2637771 2637777 2637779 2637781 2637783 2637785 2637789 2637793 2637809 2637810 2637811 2637812 2637823 2637827 2637836 2637837 2637838 2637845 2637850 2637854 2637855 2637857 2637858 2637859 2637860 2637861 2637866 2637867 2637870 2637874 2637875 2637876 2637877 2637878 2637879 2637880 2637881 2637884 2637885 2637886 2637887 2637891 2637892 2637893 2637894 2637895 2637897 2637898 2637899 2637900 2637901 2637902 2637904 2637906 2637907 2637908 2637909 2637913 2637914 2637916 2637917 2637918 2637919 2637920 2637921 2637923 2637926 2637928 2637929 2637930 2637933 2637935 2637936 2637937 2637939 2637940 2637941 2637942 2637943 2637949 2637950 2637951 2637952 2637954 2637955 2637958 2637965 2637967 2637969 2637970 2637971 2637973 2637978 2637985 2637986 2637987 2637990 2637991 2637992 2637993 2638001 2638002 2638005 2638007 2638009 2638016 2638018 2638020 2638023 2638027 2638029 2638033 2638034 2638035 2638036 2638039 2638043 2638044 2638045 2638046 2638048 2638049 2638052 2638053 2638055 2638057 2638058 2638063 2638064 2638065 2638067 2638068 2638069 2638072 2638076 2638080 2638081 2638082 2638083 2638084 2638087 2638089 2638096 2638097 2638098 2638099 2638100 2638101 2638102 2638103 2638105 2638106 2638108 2638110 2638113 2638117 2638118 2638120 2638121 2638122 2638124 2638126 2638128 2638134 2638135 2638136 2638137 2638139 2638140 2638141 2638143 2638146 2638147 2638148 2638149 2638150 2638151 2638152 2638153 2638154 2638155 2638157 2638159 2638167 2638168 2638172 2638173 2638174 2638175 2638181 2638184 2638185 2638187 2638192 2638193 2638198 2638199 2638200 2638202 2638203 2638205 2638207 2638208 2638209 2638210 2638211 2638212 2638214 2638218 2638219 2638220 2638221 2638223 2638230 2638232 2638236 2638243 2638245 2638246 2638247 2638248 2638258 2638264 2638265 2638268 2638279 2638280 2638281 2638283 2638284 2638287 2638305 2638309 2638310 2638311 2638312 2638316 2638317 2638318 2638319 2638321 2638324 2638330 2638331 2638332 2638333 2638334 2638335 2638336 2638337 2638338 2638339 2638340 2638341 2638342 2638344 2638347 2638349 2638352 2638353 2638364 2638372 2638374 2638376 2638379 2638390 2638391 2638392 2638393 2638394 2638395 2638402 2638405 2638407 2638414 2638421 2638422 2638429 2638430 2638432 2638434 2638438 2638442 2638444 2638457 2638467 2638469 2638474 2638478 2638479 2638480 2638484 2638486 2638488 2638489 2638491 2638506 2638507 2638508 2638510 2638511 2638512 2638513 2638514 2638515 2638516 2638517 2638518 2638519 2638520 2638521 2638522 2638523 2638525 2638527 2638529 2638530 2638531 2638532 2638536 2638537 2638563 2638564 2638567 2638568 2638569 2638618 2638628 2638629 2638634 2638644 2638647 2638649 2638653 2638658 2638666 2638671 2638675 2638677 2638679 2638680 2638685 2638687 2638689 2638691 2638692 2638693 2638694 2638695 2638696 2638697 2638699 2638701 2638702 2638703 2638704 2638705 2638706 2638707 2638709 2638710 2638711 2638712 2638713 2638714 2638720 2638721 2638725 2638726 2638728 2638731 2638732 2638736 2638737 2638739 2638740 2638741 2638744 2638745 2638747 2638748 2638753 2638754 2638755 2638756 2638757 2638760 2638763 2638764 2638768 2638777 2638781 2638782 2638783 2638791 2638793 2638795 2638796 2638798 2638799 2638801 2638810 2638811 2638813 2638814 2638815 2638816 2638817 2638818 2638832 2638833 2638834 2638835 2638836 2638846 2638847 2638848 2638849 2638850 2638851 2638852 2638854 2638855 2638857 2638858 2638859 2638860 2638861 2638862 2638864 2638866 2638867 2638868 2638869 2638870 2638872 2638873 2638874 2638876 2638883 2638884 2638885 2638893 2638895 2638900 2638923 2638927 2638928 2638929 2638931 2638932 2638935 2638936 2638937 2638939 2638942 2638943 2638949 2638952 2638954 2638955 2638956 2638957 2638958 2638959 2638960 2638961 2638962 2638968 2638976 2638978 2638979 2638980 2638983 2638984 2638986 2638988 2638994 2638995 2638998 2638999 2639001 2639002 2639003 2639006 2639011 2639012 2639013 2639014 2639016 2639017 2639018 2639024 2639025 2639030 2639036 2639038 2639039 2639043 2639045 2639046 2639049 2639055 2639057 2639064 2639066 2639067 2639068 2639069 2639072 2639074 2639076 2639079 2639080 2639081 2639085 2639086 2639092 2639098 2639099 2639100 2639101 2639103 2639104 2639105 2639106 2639107 2639109 2639110 2639111 2639112 2639125 2639128 2639129 2639131 2639132 2639133 2639134 2639137 2639138 2639139 2639144 2639146 2639148 2639149 2639159 2639162 2639164 2639165 2639167 2639177 2639179 2639186 2639187 2639188 2639191 2639196 2639197 2639204 2639205 2639208 2639214 2639217 2639218 2639220 2639221 2639223 2639224 2639225 2639226 2639227 2639230 2639236 2639237 2639238 2639239 2639241 2639242 2639246 2639248 2639260 2639262 2639263 2639264 2639270 2639271 2639292 2639293 2639296 2639298 2639299 2639300 2639302 2639303 2639304 2639305 2639306 2639307 2639308 2639309 2639311 2639315 2639316 2639317 2639319 2639321 2639322 2639323 2639324 2639325 2639326 2639327 2639328 2639329 2639330 2639331 2639333 2639336 2639338 2639339 2639341 2639342 2639343 2639344 2639345 2639346 2639348 2639349 2639350 2639356 2639358 2639359 2639360 2639361 2639362 2639364 2639365 2639367 2639368 2639369 2639370 2639373 2639374 2639376 2639378 2639379 2639381 2639386 2639387 2639388 2639389 2639391 2639394 2639396 2639397 2639398 2639400 2639401 2639404 2639405 2639406 2639409 2639410 2639411 2639412 2639419 2639423 2639426 2639427 2639429 2639434 2639437 2639440 2639446 2639448 2639450 2639457 2639465 2639466 2639467 2639468 2639469 2639472 2639473 2639474 2639475 2639478 2639485 2639486 2639487 2639488 2639489 2639491 2639492 2639495
86
2639497 2639498 2639502 2639504 2639505 2639506 2639507 2639508 2639509 2639511 2639512 2639519 2639521 2639522 2639523 2639525 2639527 2639530 2639542 2639543 2639552 2639553 2639554 2639555 2639559 2639560 2639561 2639563 2639564 2639565 2639567 2639574 2639575 2639578 2639579 2639581 2639582 2639584 2639585 2639586 2639587 2639588 2639589 2639591 2639595 2639596 2639597 2639598 2639599 2639605 2639618 2639621 2639623 2639624 2639627 2639628 2639637 2639638 2639639 2639644 2639647 2639648 2639649 2639650 2639654 2639658 2639662 2639665 2639669 I have some sample date here:
http://www.developpez.net/forums/attachments/p57656d1263922095/bases-donnees/oracle/pl-sql/html-affichage-tableaux-conditions/testcase.zip/
I want to know if it's possible to achieve what I want based on the code here.
I'm working on Application Express 3.1.2.00.02
thanks!!
Roseline -
Hi Friends.
Here I have an issue while creating a customized t-code. If we go into a particular T-code EX: ME21N there in tht screen we find one blue icon named as [ i ] in application tool bar, if we click on tht icon we get all the documentation or help or information about tht screen. My issue is in the same way i want to put or attach a help document like this for the customized T-code which i have created. Is this possible ?
If so please suggest solution . I Will be thankful for ur help.hi,
1. Go to SE93
2. Provide the zname
3. Define the program name in se51.
Reward If Help ful.
Jagadish. -
Hi all,
Can any one help me out for this issue????
<b>I need to see the list of all MATERIAL MASTER NUMBERS along with the MOVING AVERAGE PRICE (from the Accounting view) associated to every material for a particular PLANT.</b>
Is there any T-code i can use to display this data????
Please help me out with this........
Thanks in advance........
SriAddition to Aswin's reply, you can also use SE16/SE17 with table MBEW to know the MAP or Standard price as per your requirement.
Hope this helps.
Regards
Arif Mansuri -
Need Help For Developing Java Network RPG
Greetings,
Did anyone develop any similar game?I'm developing one for my final year project and i need some guidelines on that.
Thanks for your help in advanced.
Cheers,
ycSince you are making a 2D game I suppose that speed is not really important. Don't make it too hard on yourself and use objectstreams.
first thing you need is a class which holds all the variables you want to send (like position, health, whatever) and let it implement the "Serializable" interface.
next stop: the client side connection
socket = new Socket(ipaddress, port);
obi = new ObjectInputStream(socket.getInputStream());
obu = new ObjectOutputStream(socket.getOutputStream());and the server side connection:
ServerSocket s = new ServerSocket(port);
while(true) { // keep accepting new connections
socket = s.accept();
obu = new ObjectOutputStream(socket.getOutputStream());
obi = new ObjectInputStream(socket.getInputStream());
}make sure you turn around output and input. The server won't continue unless his output has input on the clientside.
with the objectoutputsstream you can send the objects:
obu.writeObject(netData);
obu.flush();
// make sure you flushreceiving the object:
netData = (YourNetData) oi.readObject();so what you need is a client side function that sends objects, a client side thread that handles received objects.
The easiest way to make a server is making an array of client threads and put the socket and the objectstreams in the thread. The thread can read an incoming object and send it to all clients in the array. This way you never have to change your server, you only have to change the object you send. -
Help for development Using Urdu
Hi,
I want to build oracle/developer application using Urdu language. I want to store the data in such a manner that i may also see it in reports in urdu.
can any one help me?
Regards
KashifArabic is supported in oracle databases. but remeber that as many as you select language fo your database the size of database will be multiple to the number of language.
-
Plz need your help for this error code :1 (FBAPIErrorDomain)
After installed IOS7 i can not use Facebook application and i'm already remove the application and re install again but when i login found this message Sorry , an unexpected error occurred please try again lare , error code :1 (FBAPIErrorDomain)
Here is the solution. I like to play candy crush saga on my iPhone five. I cannot wait the allotted time frame to get extra lives. So what I have done is gone into the date and time settings of my phone and made the date in the future to speed up the process. All you have to do to fix this problem is to make the time and date on your phone or your iPad or your computer the correct time and date for today. The server certificates for most websites have expiration dates. How are machines are set up to revoke permission if you are trying to access the websites after the certificate expiration date. It's a real easy fix. Summary: make the time and date on your phone, computer, iPad today's date and current time, it should work after that.
-
Need help for develop websevice on weblogic
Hi to all,
I created a webservice.ear, using servicegen and I've deployed it on Weblogic with success. But when I try to use the test-link I receive some server errors.
I use this task in my build.xml file :
<target
name="ear-webservice"
depends="ejb-jar" >
<servicegen
destEar="${build_ear}/${ear-file}"
warName="${war-file}"
contextURI="${ws-context-uri}">
<service
ejbJar="${dist}/${ejb_jar_file}"
targetNamespace="my-webservice"
serviceName="MYWebService"
serviceURI="/MYWebservice"
generateTypes="True"
expandMethods="true">
</service>
<classpath refid="webservice.classpath"/>
</servicegen>
<wsdlgen ear="${build_ear}/${ear-file}"
warName="${war-file}"
serviceName="MYWebService"
wsdlFile="${build_wsdl}/${wsdl-file}"/>
</target>
and the first exception in weblogic's logs is
javax.naming.NamingException: Could not lookup EJB home, tried .....
Can you help me ?
I have only avaible the ejb.jar
Thanks very much in advace.
best regards
francyHi,
You should use afterrange with the combination of EVSUM function. EVSUM function will show the totals, before sending the data to the database. Please refer to the below links from help.sap:
http://help.sap.com/saphelp_bpc75_nw/helpdata/en/66/a04d49392d401382d0dc1b099acad0/content.htm
http://help.sap.com/saphelp_bpc75_nw/helpdata/en/b2/f117dd464b4252a279ab7f67b4436d/content.htm
Hope this helps. -
HELP for N8!! Urgent
Hi everybody,
I need your help to solve my problems.
1) My ovi store can not be open. When I open it, it shows me a blank screen. How can i reinstall the Ovi store into my N8?
2) My N8 couldn't read or show any korean character, even though i've tried to follow some advice from the forum as below, but still its not working.
/t5/Nseries-and-Symbian-Smartphones/Nokia-N8-RM-596-Symbian-3-Keyboard-and-Font-Language-Support/td-...
Please help me....please..............You can update Ovi store through the phone browser if you visit the following address: http://lr.ovi.mobi/store/new-symbian-3
I also recommend that you delete Temporary Internet files from phone browser.
In the phone go to Menu -> Internet -> (<<) (bottom right) -> Preferences
Select Privacy -> Clear Private Data -> All
Restart your phone, start the Ovi Store and try to download the application again
Are you trying to read korean characters on a webpage, or in messages/e-mail? -
Help for school security issues urgent
recently taken over a mac room at school with 15 machines one problem with safari is on the students limited accounts if they type in somthing on the address bar in terminal they can then open terminal and open apps that they are not permitted to anyway round this ? please help
Hi Craig
I don't have a current copy of Panther. However, I recall you can impose restrictions in the limited account setup (System Preferences>Accounts) precluding the use of certain applications. This would include access to Terminal.
Perhaps someone else in the forum who currently uses Panther can confirm, or clarify my recollection.
Maybe you are looking for
-
My safari keeps crashing and going back to the home screen
My safari keeps crashing, shutting down and going back to the home screen. Any help would be appreciated. Many thanks.
-
How do I delete all of my current email?
I have hundreds of emails if not thousands on my Ipad all of which I wish to delete because I have read (and deleted) these on my Mac. When I delete the emails on the Mac they still appear on the Ipad as new. So I've got old, outdated emails that I
-
Hello guys, I currently try to get our Swing application working on Mac OS X and I found one problem which blocks me. Our application usese the java.awt.print package to generate print-outs. One very important information for us is the printers used
-
Possible to make clients sharepoint alias direct to new server sharepoint?
I'm replacing a Mac OS 10.2 server with a 10.6 server. Ideally, the (approximately 100) client machines' network aliases would, somehow, find the shared folders on the new server. "Somehow" in my mind, would be for the new server to assume the IP of
-
Mac-with Leopard-Adobe Reader 8.1 will not open previously scanned files
Have a Intel Mac and use Leopard. When using Reader 7.1 previously scanned files (eg. recipes) always opened. Upgraded to Adobe Reader 8.1 Now, on a number of them, the icon is black, and when I attempt to open them I get the following message..for s