08-05-2008 03:17 AM
Hi There
This is what I am trying to do, i have a power detector which has to be calibrated by applying a RF signal to it and doing the power sweep from -50 dBm to 0 dBm, i get voltage vs power(dBm) values. Now i have a main Vi where i need to know if i have any voltage value, how much will be the power value form the earlier data that i stored in a TDMS file. For that definitely i have to have some kind of call function to pick the right value form the graph or data by doing some kind of interpolation which will give me corresponding power value looking at the voltage value. How could this be done in LabView? what functions or subVI should i use?
I am using labview 8.2, i have a DAQ 6259 usb card. thanks in advance
Regards
Sam
08-05-2008 05:23 AM - edited 08-05-2008 05:30 AM
08-05-2008 06:02 AM - edited 08-05-2008 06:02 AM
08-05-2008 07:57 AM
Hi Hillman
I have done the same thing like you said and it does give me preety accurate values. But what i need to do is saving the whole data in some kind of file for using it in main VI. My main VI has voltage sliders which i change to get the voltage values. Now this value has to be connected to some kind of logic to read the corresponding power value from the saved data automatically and give me the power value which i can store.
The logic in the main VI should be to compare the voltage value that i get from the slider and compare all values in the table and give me the corresponding power value.
I am attaching the snapshot of the graph. The Y value on the right side of the graph tells me the corresponding dBm value when i enter a constant voltage value. This whole logic has to be moved to another VI where i will connect it to the value of y voltage slider. Hope i made myself more clear this time.
thanks for the help
sam
08-05-2008 09:54 AM
Hi Hillman
I think I can make it work now. I think the read from measurement file.vi in the file I/O palette should make it work and then getting the output value which i need from the bunch of values is easy and i already did that, which is same like you suggested. so I think can can wrap it up from here.
thanks for the help.
Sam
08-05-2008 09:57 AM