Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I control power supply by steps

Hi

sorry for my misunderstanding but I don't have an idea what to do.
Should your vi have only as input new values and are the steps defined so that only differences less than 3 volt should occur
Or do you need a better autoranging on a meter?

greetings from the Netherlands
0 Kudos
Message 21 of 41
(2,060 Views)
Dear Mr.Albert,

My plan is to buffer through the measurenets data from the HP to this subVI which correct the spikes values and feedback again to the input. The spikes value which are divided by 10 will feedback again to the input while the correct value should pass through directly.

I wonder how can I feed back the corrected data to the input while measurements are doing?

I have tried fiiting and filters VIs  a couple of times ,however it did not work well. The problem is labview VI is progressing while we have to use the old Gauss meter which range could not change .

Please let me know your opinion that how can I feedback the corrected data to the input?

regards,
Sophie
0 Kudos
Message 22 of 41
(2,050 Views)
Am I correct when I formulate this as
  do a measurement
  if this measurement is not correct (I'm not formulating the test here)
  then redo measurement
  else continue

or even better
repeat
   measurement
   eventually divide something by 10.
until correct

and the last is exactly the while in LabVIEW

If you please can tell me how I can see if a measurement is correct !
something like more than 3 volt difference with previous value
greetings from the Netherlands
0 Kudos
Message 23 of 41
(2,045 Views)
0 Kudos
Message 24 of 41
(2,038 Views)
Dear Mr.Albert,

Thanks for your interest on my post and reply. As you can see in the attached measurements, the spikes occur depend upon the step voltage 1 or 0.1 or 0.01. To be honest, the calculation of labview is correct . The obstacle is measurement range of Gauss meter ; it only supports up to 2 V and cause of probes.

To your clarity, I want the Hysteresis loop that measurenet of HP is on the X-axis and Keithley is on the Y-axis. I got headache how can I correct the spikes values ; divide by 10 and the result value is feedback agian to this check data vi while the measurements are still doing. For example, while I am correcting the data and feedback again the check VI, the measurements with HP has to be pause since if we do at the same time, the data wouldn't be synchronized.Ortherwise, I would store the corrected data and store in a place and feedback. I think, everydata from HP measurements should check and feedback the corrected data except the normal value.

Thanks for all the valuable advice.

regards,
Sophie

0 Kudos
Message 25 of 41
(2,035 Views)
Hi

I looked at the picture and saw that the spikes are occurring near the zero field.
So it is not over range but scaling.

I modified thee november example with a simple test, to redo a measurement.
Only to show you how to repeat until a valid condition comes up.
This should be changed because this example only repeats the measurement, no change to scaling.
Also if something goes wrong this wil repeat until "hell freezes over" meaning forever.


greetings from the Netherlands
0 Kudos
Message 26 of 41
(2,024 Views)
Hi,

Thank you for your kind advice.You are right! I noticed that the spikes occur near the zer field , may be because of remanence field although I dropped the magnetc field to zero still field effect is there. I will try tomorrow .

I really aprreciate for your modification and example .

Thanks for all.

Sophie
0 Kudos
Message 27 of 41
(2,022 Views)
Hi,

I have made some modifications and the results seem that it divided the data everytime with 10. Please let me know your kind advice. I am trying to repair my error. I have attached the labVIew VI and data for your consideration.

Thanks you for your time and kindly explain me .

regards,
Sophie

Download All
0 Kudos
Message 28 of 41
(2,003 Views)
Hi

I understand why it does not work like expected.
First of all I was now using the big while to repeat each measurement when the result was bigger than 3.
You now do not repeat the measurement (you add every measurement to the loop)
And I really do not understand why you are using a shiftregister in the small while.
Try to make this clear to me.

Maybe you only want to divide the result by 10 and then continue.
If so you have to change the case frame. What now is false should be true and true should be false.
But also you need to check for absolute vale >3 instead of value >3

greetings from the Netherlands
0 Kudos
Message 29 of 41
(2,000 Views)
Hi!

I really appreciate your point out. I use shift register because I want to use the spikes data that devide by 10 also feedback to the input again.  I understand that the right shift register gives new value and while the left gives old value. May be my wiring is wrong or my idea is totally wrong.

To be clear, I will check the every measurement with the absolute value 3 . For example, if the first measurent data is 1.1 and second is 2.1 ; the difference is 1 and it will normally pass through. But if the third measurement data is 7.1 and the difference now is to be 5 . In this case, the value 7.1 is divided by 10 and the value 0.71 is feedback to the input again and compare with the 2.1 again.

Thanks you for your time and kind understanding.

Sophie
0 Kudos
Message 30 of 41
(1,997 Views)