LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to save input and output in file

Solved!
Go to solution

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

 

 

 

hi ?Q>

0 Kudos
Message 1 of 3
(2,328 Views)
Solution
Accepted by topic author mangood

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

Message 2 of 3
(2,319 Views)

@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

hi ?Q>

0 Kudos
Message 3 of 3
(2,315 Views)