03-09-2011 01:22 PM
hi again
I was looking at your software and : WOW ! I am surprized that you can read that stuff ! I dont't know where to start. So, before going any further, look at State Machine and learn how to make a sub vi !
good luck (I've been there, it will take time, you need to read ...)
N
03-09-2011 01:24 PM
Hi,
yes, you told me before, but my problem is related to labview, I am not good at labview. I made this vi and I need to control LS336 via labview. the first problem is this. I don't keep temperature contrant. Temperature is increasing continuosly but increase is not fast.
So, I read those articles and I know how to measure theoritically, but the problemis to put this in Labview. This is my problem.
I added my via, if you can plase correct my mistakes!!
03-09-2011 01:37 PM
I didn't take any course or any help from anyone. I have started studying LabView by myself. I read it easyly. So I need advice with help also about vi. state machine and the other...
But it is hard for me to go further.Thats why I need somene/someones to help me correcting my vi studying together.
03-09-2011 01:49 PM - edited 03-09-2011 01:50 PM
twice...
03-09-2011 01:49 PM - edited 03-09-2011 01:52 PM
Actually, it is very hard to read your vi..
What do you need to do is : make a subvi for ConfigureHeater and put on the front panel a ConfigureHeater button for both 1 and 2. Put some default values for the configuration: you are often going to use a K thermocouple so put a constant K. when you will change the thermocouple you can change the constant. You are not going to sell this software so don't put a lot of options on it. If you are the only one to use the software make it adapted to yourself. It may not be very good for your future career as a software engineer but that's not your problem at this moment.
Then, make a state machine : put a button Start.. When you press start the state machine will go on otherwise it will wait on a dummy state "idle" or so... Put a 250 msec wait in the while cycle...
After "Start" you pass on a state "Initialize Hardware" (or something like that) where all the values are initialized (Visa address, etc).. After that you go to the step "Set Temperature" then "Heat 1", then to Heat 2, then Measure dV, then Plot and Save, .. then go again to "Set Temperature".. or you stop if error occurs... There is a nice tutorial with a Coke machine somewhere on the Ni pages, look at that at make small subvis
nobody can correct your vi, for me it will be much easier to make a new one
N
03-09-2011 02:09 PM
what do you think about this system...
03-09-2011 02:12 PM
yes, that sounds ok.. many systems are similar to the one you show. remember to correct for the seebeck contribution of the dV wire (or use niobium wire, it has a small value)...
03-09-2011 02:20 PM
Maybe sounds like wierd but I need really help. If you can, could you please help me how to make sub vi, for example... In my labview Create subvi is not working....
03-09-2011 02:53 PM
Hi,
I made sub vi now. it is working also. I realized that I made already sub vi...Problem is the order actually. from the beginning problem is how to use this vi in order to control heaters... PID for example.. how to command...
03-09-2011 03:20 PM
there are 2 sub vi and one more vi which can be made vi. Is Configure Output_11.vi appropriate to make sub vi ?? thanks alot