03-16-2013 10:29 AM
hi ni
i have program that has some input and some output
i try to save the input and output in file word office or excel like this
error |
extended |
ideal |
value |
wq |
wp |
value |
xq |
xp |
|
|
|
0.857143 |
0.7 |
0.6 |
2 |
0.5 |
1 |
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thank in advace
best regards
m.s
lab view 2011
Solved! Go to Solution.
03-16-2013 10:53 AM
Read from and Write to Spreadsheet File VIs should do what you want.
I did not take the time to try to decipher what your program is doing, but I think you could replace all those feedback nodes and Build Arrays with an integer data type and the Rotate function from the Numeric >> Data Manipulation palette. You will still need one shift regsiter or rfeedback node for each of the four signals.
You have duplicated code: Divide by 65535, multiply by 2, and subtact 1 followed by a > comparison. Make that a subVI and place 4 instances on your block diagram.
Those simple changes will make you diagram understandable, reduce its size to the size of a postcard, and make any future changes easier.
Lynn
03-16-2013 11:00 AM
@johnsold wrote:
Read from and Write to Spreadsheet File VIs should do what you want.
I did not take the time to try to decipher what your program is doing, but I think you could replace all those feedback nodes and Build Arrays with an integer data type and the Rotate function from the Numeric >> Data Manipulation palette. You will still need one shift regsiter or rfeedback node for each of the four signals.
You have duplicated code: Divide by 65535, multiply by 2, and subtact 1 followed by a > comparison. Make that a subVI and place 4 instances on your block diagram.
Those simple changes will make you diagram understandable, reduce its size to the size of a postcard, and make any future changes easier.
Lynn
thank