LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Save 0-n on SD Card

Solved!
Go to solution

Hello 🙂

I'm trying to use LabVIEW embedded for ARM on LM3S8962 and I would like to save the numbers 0-n on the SD Card by pushing the Select Button. At the moment only the Number, that is shown on the Display is saved. Fo example: "5" is shown on the Display, I push the Select Button and only "5" is saved. But I would like to save "0 1 2 3 4 5".

 

Can somebody here help me??

0 Kudos
Message 1 of 4
(6,740 Views)
Solution
Accepted by topic author Nea

Hello Nea,

 

I guess there is a while loop (or a for loop) around the code that you posted?

 

The Problem here is, that you only save the value of the current iteration when you press the select button. 

 

To save the old values, you will need another for loop that starts when you press the select button and writes the desired values with every iteration. 

I hope following screenshot will help you solve your problem:

 

 

 

 

0 Kudos
Message 2 of 4
(6,715 Views)

Perfect! Thank you Smiley Happy

0 Kudos
Message 3 of 4
(6,698 Views)

You're welcome 😃

 

-- Lam

0 Kudos
Message 4 of 4
(6,689 Views)