07-24-2024 04:12 PM
Hola a todos!
Espero que se encuentren muy bien, estoy teniendo una dificultad a la hora de efectuar mi registro en una hoja de cálculo, adjunto imagen del diagrama de bloques y de la hoja de cálculo. Todas sus sugerencias son bienvenidas y muchas gracias!
Por cierto, la adquisición de datos funciona de maravilla, estoy utilizando un Arduino Mega.
Saludos!
07-25-2024 02:15 AM
Hi elefrargas,
@elefrargas wrote:
I am having a difficulty when registering in a spreadsheet, I am attaching an image of the block diagram and the spreadsheet. All your suggestions are welcome and thank you very much!
What exactly is your "difficulty"? (I don't see any spreadsheet in your message…)
Do you get any errors? If yes: which ones?
Why are there so many local variables?
Why do you need so many ExpressVIs?
07-26-2024 11:57 AM
Writing four scalars (!) to a file certainly should not need nine express VI (incl. toDDT), four built arrays, and five local variables.
Your file IO is also configured to create a new file with every call if the existing file already exists. Your code is extremely convoluted and properly written would probably fit on a postcard. Why are there all these long waits in parallel to dialogs? The code cannot continue until the dialog is OKd, so why wait 10 seconds in parallel?
How does your received string look like? Isn't there a termination character?
You have not explained what the problem is that you are trying to solve. Your file is a relative path by default (test.xlsx) but we have no idea what you are entering before the run. Don't you need a folder location?