Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a degaussing function using Labview and RS232 controlled DPDT switch?

Hello,

 

I am trying to create a degaussing function for a magnet using LabView.  I am using a RS-232 DPDT switch.  Any tips or ideas that could help lead me in the right direction?

 

Thank You

0 Kudos
Message 1 of 4
(3,690 Views)

Hi,

 

It's not very clear what you are trying to do. Can you elaborate a little more on your question? You could also provide the specifications of the RS-232 DPDT switch.

 

Thanks

0 Kudos
Message 2 of 4
(3,666 Views)

Sure. I am using a R25DPDTCNRS relay connected to 2 power supplies and 2 magnets.  I am using the relay to change the current direction through each magnet.  After I switch the current direction, or just turn the power supplies off, there is a remnant magnetic field.  I'd like to create a LabView function using the relay to degauss the magnets to as small of a magnet field as possible.  

 

0 Kudos
Message 3 of 4
(3,656 Views)
What have you done so far? Have you studied the manual? It looks like it does use ASCII commands but there are a lot of examples (though not in LabVIEW). I would suggest you get familiar with the Byte Array to String and its compliment the String to Byte Array. The type Cast can also be used. Lastly, a string control can be set for hex display if you want to use that for the input to the VISA Write.
0 Kudos
Message 4 of 4
(3,643 Views)