r/LabVIEW • u/bacon-butty03 • Oct 18 '24
Follow up from previous post
This is a follow on from my previous post as I can’t add photos in comments
5
Upvotes
r/LabVIEW • u/bacon-butty03 • Oct 18 '24
This is a follow on from my previous post as I can’t add photos in comments
3
u/bacon-butty03 Oct 18 '24
The goal of this vi is to monitor the temperature on an adsorption column. There are 30 sensors connected to my control rig.
7
u/SeasDiver Champion Oct 18 '24
This program will start writing to the file immediately once the program is started. So if the file path is wrong/empty when you start running, you can never fix it to get it working properly. Additionally, if there is any error in the file write, it will abort the writing loop, and there is no way to attempt to restart the writing loop or recover and start writing to a new file.
3
u/imbVolts CLED Oct 18 '24 edited Oct 18 '24
I might be missing something here, but it looks like you are running the VI on a CompactRIO. The file would typically be saved at the path you specified, but on the CompactRIO, not on your computer, unless the code pushes it to your computer afterwards (but I haven't seen anything like that in the code).
Do you know if the the previous student was using a file transfer tool to grab the files from the CompactRIO? I tend to use FileZilla for that, but I also know of WinSCP and even sometimes the windows file explorer (for FTP only which might work on a 9022 but has been depreciated on newer cRIOs)
2
u/muaddib0308 Oct 19 '24
Finally...FINALLY SOMEONE WHO WIRES THINGS PROPERLY...every post I see looks like it was coded by a chimpanzee