12-05-2025 06:47 AM
Hi Folks,
I am currently doing a project for college. I bought a Solar Tracking Learning Kit online which is programed through Arduino. I have modified the code as such that it is controlled from LabView.
Basically I built a state machine, 'System Off' 'Idle' 'Tracking' 'Manual' 'Auto' 'Alarm' 'Shutdown' ( I haven't implemented full Alarm Case yet)
My main issue is timing delay/feedback. The program seems to slow down.
For example when I operate 'Power' switch on/off no issues, when I transition into Auto/Tracking and back into Idle state no issue. It seems when I go into manual 'mode' my program slows down quite alot and the generates quite a delay response in LabView then. Would be grateful if someone could have a look at my VI and point me in the correct direction, please.
Please note, my LabView skills are only basic 🙂 as its a college project.
Thanks.
12-05-2025 07:38 AM
I recommend to do a "save for previous" (2020 or below) and attach again.. Most here cannot look at code saved in LabVIEW 2025.
12-05-2025 07:50 AM
Saved as 20.0 version
12-05-2025 11:30 AM - edited 12-06-2025 06:28 PM
Thanks,
Also note that in manual node, you are sending a garbled command because the constant is set to normal mode instead of \-codes display. If I set it to \codes, you can see that is also sends a plain "\n" before the linefeed. Not sure what the receiver does with it...
(note that your other similar string constants are set to \-codes.)
12-06-2025 05:18 PM
As i said, my LabView skills are fairly basic. Thanks for the feedback, will have look at this over next few days.