04-26-2013 03:05 AM - edited 04-26-2013 03:26 AM
i want to input a number from a numeric control. So that when I type in a number for the phase shift (y) from the smooth graph the coressponding grey level (x) wll show in a numeric indicator. How do I implement it?
04-28-2013 10:11 PM
hi,
Firstly, I cannot run this code as it requires a text file. How does the phase shift corresponds to the grey level? I saw there is a for loop which runs 12 iterations but the output is not used. Maybe you need to attach the text file and explain what you will like to do with the text file.
04-28-2013 11:24 PM
I've attached the text file and i've attached another file to show what i actually wanted to do.
Thanks
04-29-2013 02:32 AM - edited 04-29-2013 02:34 AM
04-29-2013 10:32 PM
hi,
You can use GerdW's method of using cursor which is very straightforward. I have another method which is to use the threshold 1D array vi. Using your vi as an example, this is how the code looks like. Look at the attachment.
04-30-2013 01:43 AM
04-30-2013 09:59 PM
hi GerdW,
You are right. I checked the threshold function again and certain areas do not work properly for enriquez case. If the phase shift is below 0, the threshold1d array does not function properly. Well, I learned something new about threshold1d array today. Thanks
Rando
05-02-2013 01:43 AM - edited 05-02-2013 01:48 AM
Hi,
I wanted to swap the phase shift value to grey level value. Right now if i enter the grey level it will give me the phase shift value, so is there any way that when i enter phase shift value it will give me a grey level value?
I need it urgently, THANKS A LOT!:)
05-02-2013 01:52 AM
05-02-2013 02:07 AM
Thanks:)