05-24-2007 01:03 AM
05-24-2007 05:24 AM - edited 05-24-2007 05:24 AM

Message Edited by Phillip Brooks on 05-24-2007 06:27 AM
05-27-2007 01:18 AM
05-27-2007 01:32 AM
A recursive use occurs for example if you try to place a VI on it's own diagram This should not happen in this case. Can you show us what you are doing?
Still "unwrap phase" is not suitable for your purpose because it won't keep the angle between 0 and 360. It is actually dong exactly the opposite!
If you want to keep the angle between 0 and 360, "divide" the current angle by 360 using quotient&Remainder and keep only the remainder.
05-27-2007 01:43 AM - edited 05-27-2007 01:43 AM

Message Edited by altenbach on 05-26-2007 11:44 PM
05-27-2007 02:07 AM
05-27-2007 10:37 AM
@gaertner.marco wrote:
ok, thank you much. But how can i read in my data from a file? The File have to rows: a time channel and a data channel.i want to read in the unwraped data, process it and store the data in an other file.
Well, now that we solved the phase problem you come with a seemingly unrelated question about reading data from a file. In principle, that would deserve a new thread.
Your question is way too generic to be answered like that, but "read from spreadsheet file" might work if that's all there is in your file and both rows are simple numbers. However, if there are e.g. headers, things get more complicated. Can you give an example of your file? How is the time formatted? Is the data column just your unwrapped "angle"? How are the values separated (comma, tab, etc.)?
Just read your file, "wrap" the phase angle, and write the data to a new file.