09-04-2013 12:05 AM
I am trying to run this example. I am not getting any output on the array pallet on the front panel.
I saved both the vi and the sample file in one folder, changed the file path of example to current folder. Still it is not working.
09-04-2013 12:26 AM
Attach your VI.
09-04-2013 12:28 AM
sorry about that. its the same vi which is there on the site
09-04-2013 12:30 AM
It's not the same VI. Look at what the example actually has for a delimiter.
09-04-2013 12:31 AM
i am actually require to import coeffiecnts of polynomials which i fitted on data in some other program. these coeffiecients are in a form of txt file. i was going to modify the code in the xample for my program to evaluate the polynomial. The example itself was not working.
09-04-2013 12:35 AM
The example is working perfectly fine. You changed it so it cannot work. A delimiter of %.3f (what you have) is just not sensical. A delimiter is what separates the fields.In the example, it is a space. I have no idea what you text file looks like so I have no idea what delimiter you must use but it is certainly not a format string like you changed it to.
09-04-2013 12:36 AM
It had a constant by default when i downloaded. But that too didnt work.
09-04-2013 12:39 AM
The original VI works. Your modified VI works after changing the delimiter to a space.
09-04-2013 12:42 AM
Ahan.. when i change the instance to main application it works.
But, it is not what i want i want this to read the polynomials coefficients from a file supply them to my main code which generates signals realtime based on the polynomial.
09-04-2013 12:52 AM
Here is my main code it doesnt work here.
I am reading the Amp .txt with coefficients of polynomial. giving it to the main code where it evaluates the polynomial and develops signals based on the the amplitude and phase .
This works fine when i change the instance but rest of the realtime part doesnot work.