[Dsg-hallb_prad_ii] Labview program data logging
Pablo Campero Rojas
campero at jlab.org
Wed May 28 11:52:05 EDT 2025
Hello Xiangdong,
The data acquisition and control response is not affected by the data logging interval set by the user.
I can take a look the code this afternoon after my DSG weekly meeting.
I'm also planing on testing the second version of the local data logger code which will limit the Excel files size to store only 6 hrs of data as we agreed.
Regards,
Pablo
________________________________
From: Xiangdong Wei <xwei at jlab.org>
Sent: Wednesday, May 28, 2025 10:55 AM
To: Pablo Campero Rojas <campero at jlab.org>; Tsuneo Kageya <kageya at jlab.org>; dsg-hallb_prad_ii at jlab.org <dsg-hallb_prad_ii at jlab.org>
Subject: Re: Labview program data logging
Hi Pablo,
There are a few minor issues with the Labview control program which would need to be addressed:
1.
The logfile (excel) on 20250523 shown the recording stopped at 6:30pm, and resumed automatically at 3am next day, after IT scanned the PC. That was about ~3,000 lines in the logfile at 6:30pm.
2.
The data logging interval seemed equals to the acquisition interval, which would reduce the control response and potentially damage the equipment (if the interval was set too long).
Please take a look.
Thanks,
Xiangdong
________________________________
From: Pablo Campero Rojas <campero at jlab.org>
Sent: Friday, May 23, 2025 12:29 PM
To: Tsuneo Kageya <kageya at jlab.org>; dsg-hallb_prad_ii at jlab.org <dsg-hallb_prad_ii at jlab.org>
Cc: Xiangdong Wei <xwei at jlab.org>
Subject: Re: Labview program data logging
Hello Tsuneo,
Here is a couple of items that can be checked:
1.
Make sure that interlock chassis has no faults
2.
Ensure that button with label “Vac Sw Set/Reset” in the interlock chassis is enabled
3.
To control EV1 in local mode, Control Mode button on the Valve Control panel must be disabled (no light on button)
*
Press the "Open" button on the Valve Control panel
*
Check the "Open" button light indicator, it should stay latched and display green color
4.
To control EV1 remotely, make sure the Control Mode button on the Valve control panel is enabled (Orange color = Remote control On) and the LED indicator labeled "Remote Signal Enabled" is On
*
In LabVIEW user interface make sure the "AIO" communication status indicator is green, if not, reset communication with DAQ device.
*
Control EV1 valve aperture using controls in LabVIEW user interface
5.
After checking these few steps, the local or remote controls should work, if not, let me know and we can meet when you're done running your test with EV1 closed.
Regards,
Pablo
________________________________
From: Tsuneo Kageya <kageya at jlab.org>
Sent: Friday, May 23, 2025 11:48 AM
To: Pablo Campero Rojas <campero at jlab.org>; dsg-hallb_prad_ii at jlab.org <dsg-hallb_prad_ii at jlab.org>
Cc: Xiangdong Wei <xwei at jlab.org>; Tsuneo Kageya <kageya at jlab.org>
Subject: Re: Labview program data logging
Hola Pablo,
yesterday, we could not open EV1 remotely nor locally. I think the same thing happened when you were there and fixed it. If you know how to fix it,
please let us know. Now we are running without He gas flow and would not
like to open EV1, but we can open it the next week.
Saludos, Tsuneo Kageya.
________________________________
From: Pablo Campero Rojas <campero at jlab.org>
Sent: Wednesday, May 21, 2025 9:46 AM
To: Xiangdong Wei <xwei at jlab.org>; dsg-hallb_prad_ii at jlab.org <dsg-hallb_prad_ii at jlab.org>
Cc: Tsuneo Kageya <kageya at jlab.org>
Subject: Re: Labview program data logging
Hello Xiandong,
The LabVIEW code is fine, this is how it normally works, you can't open the excel file to which LABVIEW is writing the data while it is running. There is no way of having two sources writing data to the same file simultaneously, that is why as soon as you open that excel file it displays an error.
The solution to look at the data while data logging program is running as follow:
1.Make a copy of the excel file with the recorded data, location for the excel file is shown in LabVIEW File Path indicator.
2. Open this copy, it will contain the data until the second when the copy was made
3. If desired, after checking the data you can deleted this copy, so we do not take unnecessary space on the local C drive
You can repeat these steps to look at the data while data keeps recording as many times as you want. I hope the explanation is clear, if not, let me know and I can clarify your questions.
Also, when I came this morning to the ESB, I noticed that the SPFDOBRENZ computer was sleeping and suspended.
I'm still awaiting a response from the computer center to resolve this issue.
Regards,
Pablo
________________________________
From: Xiangdong Wei <xwei at jlab.org>
Sent: Wednesday, May 21, 2025 1:16 AM
To: Pablo Campero Rojas <campero at jlab.org>
Cc: Phillip Dobrenz <dobrenz at jlab.org>; Tsuneo Kageya <kageya at jlab.org>; Andrew Schick <aschick at umass.edu>
Subject: Re: Labview program data logging
Gentlemen,
The PRad2 target trip a few more times this afternoon, and the tripping cycle got shorter and shorter. The last time was only three minutes. In the same time, PT-2 went up to 12 psi and the labview dropped flow rate to 0.
All symptoms indicated that the floor line was blocked.
Tsuneo and I decided to warm up the target for another round of the leak checking to determine the cost of blockage.
Pablo, it looks like if we check the excel file without turning off the data logging, the labview program will crash (stuck on saving data). Could you take a look at your convenient time?
Thanks,
Xiangdong
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Pablo Campero Rojas <campero at jlab.org>
Sent: Tuesday, May 20, 2025 8:17:58 AM
To: Xiangdong Wei <xwei at jlab.org>
Cc: Phillip Dobrenz <dobrenz at jlab.org>; Tsuneo Kageya <kageya at jlab.org>; Andrew Schick <aschick at umass.edu>
Subject: Re: Labview program data logging
Hello Xiangdong,
I will be there around 10 am to check the issues with the code.
Regards,
Pablo
________________________________
From: Xiangdong Wei <xwei at jlab.org>
Sent: Monday, May 19, 2025 11:59:36 PM
To: Pablo Campero Rojas <campero at jlab.org>
Cc: Phillip Dobrenz <dobrenz at jlab.org>; Tsuneo Kageya <kageya at jlab.org>; Andrew Schick <aschick at umass.edu>
Subject: Labview program data logging
Hi Pablo,
Today we found that the live numbers and plots in PRad-II control program were not updated when the data logging button was enabled. The excel spreadsheet showed all lines were just the repeats of the first line. The Excel file you saved when testing the new feature also shown the repeating data set. The data display went back to alive after logging stopped.
Please take a look at the program and fix this issue.
We are running the PRad-II target this week. The target temperature was set to 15K for overnight. We will be there after 9 AM tomorrow.
Thanks,
Xiangdong
Get Outlook for iOS<https://aka.ms/o0ukef>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/dsg-hallb_prad_ii/attachments/20250528/273de607/attachment-0001.htm>
More information about the Dsg-hallb_prad_ii
mailing list