asharma Posted April 23, 2007 Report Share Posted April 23, 2007 Hello , I am new to LAVA .I am making a project in LabVIEW which is a software made on parallel lines of DCS and SCADA.I have made a vi but it is not working as intended.The basic idea is to develop a software for accquiring real time signal from different units/hardware (As the photos mailed show). It is also required that on clicking a single print report button a report to printer must be sent from t=0 to t=T (The data must also get saved for future reference). I am posting photos of my hardware built.Now there are 3 voltage signals which are to be acccquired and when a hardware switch is toggled a counter should increment.(The procedure has to be done for three different sections).I tried doing this but was unable. I am mailing files that suggets all ways tried by me to do the above task. Three holes in hardware indicates three different voltage signals.a section is activated when a switch is toggled. Abhishek Quote Link to comment
Tomi Maila Posted April 23, 2007 Report Share Posted April 23, 2007 Hi, I don't have time to take a look at your code right now and I don't have DAQmx installed on my laptop either so debugging is not possible. However I took a fast general look at your code and it's very hard to read. I recommend for starter that you help yourself and those you are asking help for by cleaning you code. Please do the following task and repost your code: Keep wires as straight as possible, your wires are quite a spaghetti Keep your program flow so that direction of flow is always from left to right and if absolutely necessary from top to bottom in addition Make all your parallel parts, especially the parallel loops, of your code so that they are aligned in a column one top of another Add comments to your code on what is the intention of your code so it becomes more readable for the others Then in addition, please report in what respect your program is not working as expected and compare the differences in the current functionality with the expected funtionality. It would also help if you take a screenshot of your block diagram after the above mentioned fixes, crop the image to the code only, save the cropped image as a gif image and finally attach it to your reply to this thread. p.s. Please do not cross post to multiple forums. Post all your responses to this particular thread and not the other thread. Tomi Quote Link to comment
asharma Posted April 23, 2007 Author Report Share Posted April 23, 2007 hello, this vi is not running..its logic as to what this vi will do can be understood from vi itself. Quote Link to comment
crelf Posted April 23, 2007 Report Share Posted April 23, 2007 QUOTE(asharma @ Apr 22 2007, 07:47 PM) ...develop a software for accquiring real time signal... Are you sure you need this to work in real time? Let's be clear here: real time is a very specific engineering concept that relies on determinism - real time does not necessarily mean real fast. Have a look http://forums.lavag.org/blog/crelfs_technology_articles/index.php?showentry=116' target="_blank">here and let us know if that's what you need. Quote Link to comment
crelf Posted April 23, 2007 Report Share Posted April 23, 2007 QUOTE(asharma @ Apr 22 2007, 09:46 PM) this vi is not running..its logic as to what this vi will do can be understood from vi itself. Firstly - IMO that is a pathetic start to a thread - if you want our help, you're going to need to be a lot more descriptive and demonstrate to us that you're at least trying to solve the problem yourself. Your post doesn't even ask a question. What is it that you want? Do you want us to confirm that it doesn't work? If so, what does "doesn't work" mean? Secondly - you've got the indicators in the event cases that you're looking for the event change on - the "value changed" event never fires because the data never gets to the terminal - LabVIEW is a "dataflow" language, and you've achieved what is caled "thread lock". Thirdly, the fact that you did that suggests to me that you're very-much a beginner at LabVIEW, and frankly, that means that LAVA isn't the place for you. LAVA, as the acronym suggests, is for LabVIEW Advanced Virtual Architects - you will be much much more at home and get many more answers to your basic questions over http://forums.ni.com/ni' target="_blank">here. Once you've learned a lot and can proove that you've gotten some experience, you'll be welcomed back to LAVA. Quote Link to comment
PJM_labview Posted April 23, 2007 Report Share Posted April 23, 2007 Oh my goodness, he started another thread here... Asharma: Please do not cross post to multiple forums. Post all your responses to this particular thread and not the other thread PJM Quote Link to comment
Tomi Maila Posted April 24, 2007 Report Share Posted April 24, 2007 Hehe, cross posted to NI forums in LabVIEW and BreakPoint categories with nick name asharma85. Tomi Quote Link to comment
i2dx Posted April 24, 2007 Report Share Posted April 24, 2007 QUOTE(Tomi Maila @ Apr 23 2007, 05:12 PM) Hehe, cross posted to NI forums in LabVIEW and BreakPoint categories with nick name asharma85. Tomi hmm, then he/she is a HHMFCPN (Homework Hustling Multiple Forums Crosspost Newbie) - we really should ignore him ugh, my beer was really bad this morning (to warm and boring ... ) Quote Link to comment
Ton Plomp Posted April 24, 2007 Report Share Posted April 24, 2007 QUOTE(i2dx @ Apr 23 2007, 05:55 PM) ugh, my beer was really bad this morning (to warm and boring ... ) Schade, Aber ich habe jetzt eine frage: Brauche Sie noch neue mitarbeiter? Viel Spass, Ton Quote Link to comment
Tomi Maila Posted April 24, 2007 Report Share Posted April 24, 2007 QUOTE(tcplomp @ Apr 23 2007, 09:09 PM) Aber ich habe jetzt eine frage: Brauche Sie noch neue mitarbeiter? Would you propose asharma's helping hand for i2dx Quote Link to comment
i2dx Posted April 24, 2007 Report Share Posted April 24, 2007 QUOTE(Tomi Maila @ Apr 23 2007, 08:15 PM) Would you propose asharma's helping hand for i2dx hmm ... I just hat a small conference chat with my HR department and the members of the board and I am affraid, that I currently have no open position for asharmas helping hand Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.