Blog > Re: Save Interface Block Question

Home Forums 12Blocks Save Interface Block Question Re: Save Interface Block Question

#11787

Anonymous

I have two reasons why I would like to do this. The first is so the data that is sent to the data.txt file from the save interface block can be manipulated and returned back to a new file in the same format. The data.txt file is three columns of vectors(x,y,z). I can perform mathematical operations on these three vectors and write them back to the new file and access them with my propeller as three new vectors or as three new strings.

For example if I had sensor data that I needed to perform more advance mathematical operations on and return the data back to my propeller after I have performed mathematical operations on using a computer.

The second is I have a simple BASIC programming language I like to use but it doesn’t like communicating with serial ports to well so I can assign values from the GUI controls from the BASIC language to the new file and read those vectors or strings with my propeller to control it.

For example. If I depress a button from my GUI the button assigns a value of one to the variable z in the new file. I can read the value z from that file and tell my propeller to assign a pin high if z is a one or else do nothing.