[dsg-hdice] Oxford IPS GPIB issues - new VI developed to allow control of both power supplies
Tyler Lemon
tlemon at jlab.org
Fri Sep 25 14:04:46 EDT 2020
Hi Xiangdong,
Just to be cautious, it'd be better if the running Oxford supply VI is terminated.
I don't think it'd cause a problem, but I do need to access the LabVIEW project and it'd be better to err on the side of caution and have the LabVIEW project closed.
Tyler
________________________________
From: Xiangdong Wei <xwei at jlab.org>
Sent: Friday, September 25, 2020 2:01 PM
To: Tyler Lemon <tlemon at jlab.org>; dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: Oxford IPS GPIB issues - new VI developed to allow control of both power supplies
Hi Tyler,
Great, proceed. I was called back to my office for a PAC48 prep meeting. Do I have to ask someone to terminate the Oxford supply VI? The current is 0 right now.
Thanks,
Xiangdong
________________________________
From: Tyler Lemon <tlemon at jlab.org>
Sent: Friday, September 25, 2020 1:48 PM
To: Xiangdong Wei <xwei at jlab.org>; dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: Oxford IPS GPIB issues - new VI developed to allow control of both power supplies
Hi Xiangdong,
I don't anticipate it taking very long to put the new VI in the project.
Since the GPIB cable is not connected, my plan will be to remote log on to HDiceNMR2 and only copy the new VI.
After that, whenever the GPIB cable is reinstalled, you can test the VI any time.
Tyler
________________________________
From: Xiangdong Wei <xwei at jlab.org>
Sent: Friday, September 25, 2020 1:42 PM
To: Tyler Lemon <tlemon at jlab.org>; dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: Oxford IPS GPIB issues - new VI developed to allow control of both power supplies
Hi Tyler,
How long do you need to implement the new VI? The UITF is down today so you can make the necessary change. Please let me know when you want me to test and when I should connect them with the GPIB cable.
Because we are hooking on the real magnets, NO MORE THAN 1 ampere should be used to test the VIs.
Thanks,
Xiangdong
________________________________
From: dsg-hdice <dsg-hdice-bounces at jlab.org> on behalf of Tyler Lemon <tlemon at jlab.org>
Sent: Friday, September 25, 2020 12:15 PM
To: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: [dsg-hdice] Oxford IPS GPIB issues - new VI developed to allow control of both power supplies
Hi Xiangdong,
After talking to Peter on the phone and in a DSG status meeting, I was able to identify the cause of the issue with running both Power Oxford Supply controls programs at the same time. To resolve the issues, I combined the control of both power supplies into one VI with structuring to prevent the PC from trying to talk to the two power supplies at the same time.
Since NMR rack 2 is "locked down" in the UITF, we'd have to wait until the next time there is an access or something to where we could remotely log in to the PC to add the new VI to the LabVIEW project.
Tyler
________________________________
From: Dsg-internal <dsg-internal-bounces at jlab.org> on behalf of Peter Bonneau <bonneau at jlab.org>
Sent: Friday, September 25, 2020 9:49 AM
To: dsg-internal <dsg-internal at jlab.org>
Subject: [Dsg-internal] Fw: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Tyler,
As I mentioned on the phone, the two power supply Vi's need arbitration to work on multiple supplies due to limitations in GPIB as mentioned in this forum: https://forums.ni.com/t5/LabVIEW/can-i-read-GPIB-instruments-in-paralel/td-p/1124427?profile.language=en
We can either:
1) Use our rotation of target polarization program in manual mode. This program has arbitration for two supplies. You'll need to implement the voltage readback and add this program and supporting VI's to the project file.
2) Have them use another usb-GPIB controller and run the two VISA power supply programs.
________________________________
From: dsg-hdice <dsg-hdice-bounces at jlab.org> on behalf of Xiangdong Wei <xwei at jlab.org>
Sent: Wednesday, September 23, 2020 7:09 PM
To: Tyler Lemon <tlemon at jlab.org>; thomaso at jlab.org <thomaso at jlab.org>
Cc: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Hi Tyler,
The Main2.vi failed to work this morning. Again I could run both VIs separately, but not together. When 2 power supplies were linked by a GPIB cable, The Main2.vi always failed to run. Main.vi only failed after I tried to run Main2.
I removed the GPIB cable between the supplies for today's run.
Any thought?
Thanks,
Xiangdong
________________________________
From: dsg-hdice <dsg-hdice-bounces at jlab.org> on behalf of Xiangdong Wei <xwei at jlab.org>
Sent: Tuesday, September 22, 2020 2:29 PM
To: Tyler Lemon <tlemon at jlab.org>; thomaso at jlab.org <thomaso at jlab.org>
Cc: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Hi Tyler,
Good news: The GPIB cable which I used to connect the 2 Oxford power supplies was broken. Since I replaced it this morning, both VIs have been used to drive the IBC Main and Transfer Magnets in the same time.
Thanks,
Xiangdong
________________________________
From: dsg-hdice <dsg-hdice-bounces at jlab.org> on behalf of Xiangdong Wei <xwei at jlab.org>
Sent: Monday, September 21, 2020 4:45 PM
To: Tyler Lemon <tlemon at jlab.org>; thomaso at jlab.org <thomaso at jlab.org>
Cc: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Hi Tyler,
Thank you for fast responding. I didn’t reconfigure the rack2 connections, only used a GPIB cable to connect both power supplies. In principle, the connections were the same as your drawing (the adapter is on the lock-in).
I did use the front panel to set the GPIB address, following the Oxford manual.
What I didn’t do was checking if the cable was good or not. I’ll look for another one and check again. (The cave is locked out now)
Thanks,
Xiangdong
________________________________
From: Tyler Lemon <tlemon at jlab.org>
Sent: Monday, September 21, 2020 3:55 PM
To: Xiangdong Wei <xwei at jlab.org>; thomaso at jlab.org <thomaso at jlab.org>
Cc: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Hi Xiangdong,
Just to make sure everything is hooked up correctly and since I can’t see it in person, attached is a hand drawn sketch for how the set up needs to be.
There needs to a a GPIB cable between the two power supplies. The USB-GPIB adapter needs to go on to the connector of one of the power supplies. In the sketch, it’s on P.S. # 1 but it could also be on P.S. # 2.
If everything is already set up as in the sketch, it could be that the second power supply didn’t actually get assigned the new GPIB address. How did you set its address?
You would need to set it on the front panel of the power supply. In the attached manual, page 48 has the steps to get the power supply into the mode to set the address. Page 49 has the info on what to do to set the GPIB address.
Tyler
________________________________
From: Xiangdong Wei <xwei at jlab.org>
Sent: Monday, September 21, 2020 3:33:03 PM
To: Tyler Lemon <tlemon at jlab.org>; thomaso at jlab.org <thomaso at jlab.org>
Cc: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Hi Tyler,
I set the GPIB address of the 2nd power supply to 29, and tried to connect to the 1st power supply via a glib cable between them. None of them work with this configuration—-both displayed errors. Either one works after disconnecting glib cable from another, after selecting the correct GPIB address. How do I connect 2 supplies (with same bus address)? Do we need another GPIB-USB adapter?
Thanks,
Xiangdong
________________________________
From: Tyler Lemon <tlemon at jlab.org>
Sent: Friday, September 18, 2020 9:05 AM
To: Xiangdong Wei <xwei at jlab.org>; thomaso at jlab.org <thomaso at jlab.org>
Cc: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Hi Xiangdong,
Another point about controlling two power supplies from the same computer, the power supplies each need to have a unique GPIB address.
If the power supplies have previously been used for the rotation of target polarization program, they should already be set up this way.
-Tyler
________________________________
From: dsg-hdice <dsg-hdice-bounces at jlab.org> on behalf of Tyler Lemon <tlemon at jlab.org>
Sent: Friday, September 18, 2020 8:51 AM
To: Xiangdong Wei <xwei at jlab.org>; thomaso at jlab.org <thomaso at jlab.org>
Cc: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Hi Xiangdong,
I added a second copy of the Oxford power supply VI to the fsNMR LabVIEW project.
Both copies are in a new folder in the project (see attached screenshot).
You only have to put the correct GPIB address into each of the programs and run each program to control both power supplies.
-Tyler
________________________________
From: Xiangdong Wei <xwei at jlab.org>
Sent: Friday, September 18, 2020 8:31 AM
To: thomaso at jlab.org <thomaso at jlab.org>; Tyler Lemon <tlemon at jlab.org>
Cc: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Hi Tyler,
After reviewing the UITF run plans, I just realized that we need to remotely drive 2 independent Oxford superconducting magnet power supplies at the same time, not just 1.
Would you please check to see if it is possible to add another VI to Rack 2 computer to realize this mode?
Thanks,
Xiangdong
________________________________
From: dsg-hdice <dsg-hdice-bounces at jlab.org> on behalf of thomaso at jlab.org <thomaso at jlab.org>
Sent: Thursday, September 17, 2020 3:54 PM
To: Tyler Lemon <tlemon at jlab.org>
Cc: dsg-hdice at jlab.org <dsg-hdice at jlab.org>
Subject: Re: [dsg-hdice] Found a built in averaging and referencing feature on sweep tab of Zurich lock-in amplifier
Hi Tyler,
Thanks for sharing this with us! I will check it out shortly.
-Tom
> Hi Xiangdong and Tom,
>
> After our meeting, I ran a test sweep with the Zurich lock-in amplifier.
> While it was running I was looking around the sweep tab's options and
> found a sweep mode that lets you set a number of samples to take at each
> frequency during a sweep. I also saw on the "History" tab in the sweep tab
> there is a "Reference" option. These two options seem to result in what we
> are trying to do with the fsNMR program.
>
> So you all can look at it, attached are three screenshots with what to
> click along with the steps below.
>
> screenshot1.jpg
> 1. Go to settings tab on right of sweep tab
> 2. use drop down menu to change application to "Parameter Sweep Averaged"
>
> screenshot2.jpg
> 3. Click "Advanced" button on settings tab
> 4. Enter averaging settings
>
> At this point you'd run a sweep as normal. For the reference feature:
>
> screenshot3.jpg
> 5. Go to history tab on sweep tab
> 6. select result to use as reference
> 7. click "Reference" button
> 8. Click button to toggle reference "on"
>
> The next sweep you'd run will be referenced to whatever you selected in
> step 6. An example result after averaging is in the amplitude plot for
> screenshot1.jpg and in the attached CSV file.
>
> I look forward to hearing what you think about and find with these
> options.
>
> -Tyler
>
>
>
> _______________________________________________
> dsg-hdice mailing list
> dsg-hdice at jlab.org
> https://mailman.jlab.org/mailman/listinfo/dsg-hdice
>
_______________________________________________
dsg-hdice mailing list
dsg-hdice at jlab.org
https://mailman.jlab.org/mailman/listinfo/dsg-hdice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/dsg-hdice/attachments/20200925/8d35e3f3/attachment-0001.html>
More information about the dsg-hdice
mailing list