I'm currently facing problems with the project I'm doing with my groupmates. The project I'm doing is sort of like a game, with two generators and two persons will have to compete and see who generates more. It needs to have the following functions:
-Display current values measured by current sensors from 2 respective generators.
-Have a waveform chart that is able to display the current values measured.
-Have a 'sliding bar' kind of system that increases as the amount generated from the generators increases.
-Have a high-score system for the top ten people that generates the most.
I know I have previously asked questions regarding a few of the functions above, but attached is my entire vi that our group has managed to done so far. I would appreciate if anyone can point out our mistakes we have made, improvments that we can do to make our project better.
Problems we are facing so far :
-Unable to write the measured values to excel file using 'Write to spreadsheet' (Unsure whether we have problems in our program that will lead to this)
-We are currently using several LEDs to do the 'sliding bar' (Are we doing it wrong?)
Solved! Go to Solution.
How you are writing into a file, why the path is given as "C:\Program Files (x86)\National Instruments\LabVIEW 2014"
you can provide other folder as its your data folder.
why No File name has been given in the path?
You can use slide function to display instead of Boolean indicator.
Thanks for replying, other folder meaning any folder is fine? Or I should create a new folder?
Because we have to show this program on Dashboard, but Dashboard does not have the slide function.. Should we still use dashboard for this? Or is there another platform where we can show our program?
You should give a Path including FileName
I have made changes to the path and this is the error I got, is there a problem with the path?
Hope you are running the code in dashboard and trying to write in PC , am i rite?
Check with the File Extension, Error Message shows .csv.txt
If you want to run the code in Dash board and save values in PC, Develop separate Module for Writing into file. use Shared Variables for getting values
Yes, we are running the code in dashboard and writing in LabVIEW. Pardon me for not understanding, but what do you mean by seperate modules? Yes, we are using Shared Variables currently.
Check the error message:
"Use the command prompt or the file explorer to verify the path is correct."