FieldPoint to change a polarity

I need to change a polarity for a module when I need to do that for running another function. I have three modules (TC, PWM, and RLY) and Labview with PID toolset.
I've connected an external power supply to PWM module. The ouput of PWM can be changed by PID algorithm and connected to Relay module. I've wired four channels of RLY. The channel 0 and 2 used to get the direction from negative charge to positive one. The channel 1 and 3 used to get the direction from positive to negative one. The problem is how to operate this idea. It means that I don't tips or program to drive my application. Specifically, PWM output needs to be connected to two channels for each function. Thanks.
Tae Yoon Lee 

Hello Tae Yoon Lee,
I am not sure that I understand your question.  Do you want to change the polarity of the output of your PWM module across a load with your RLY module?  Which RLY module do you have?
This would be easiest with the RLY-422.  With this module you could connect the COM lines from 2 channels to each side of your load, the PWM output to the NO lines, and the PWM ground to the NC lines.  Then it is a simple matter of having one channel closed and the other open, or vice versa to switch the polarity at your load.
This is also possible with the RLY-420, but would require 4 relay channels.  And you would need to make sure that Ch. 0 and Ch. 1 are never closed at the same time and that Ch. 2 and Ch. 3 are never closed at the same time.  This would result in a short circuit of your PWM.
Please see the attached diagram for an example of how to set up this configuration with either module.
Let me know if you have any further questions.
Regards,
Sean C.
Attachments:
PWM Wiring.bmp ‏1797 KB

Similar Messages

  • How can I change the polarity of my NiDAQ card with visual C++ ?

    Hi,
    I'm using VC++ to program a GUI to do data acquisition. I would like to change the polarity of my NIDAQ card through VC++, i.e., without using the measurement and automation software. I connot find anything about this on the internet. Could anyone please help me out?
    Thank you,
    bart.

    While some of the details may change depending upon which card you are using, essentially you will just need to adjust the range for your signal.
    You can find the command and how to use it by using the NI-DAQmx C Reference Help (Start > All Programs > National Instruments > NI-DAQ)
    You might like these functions:
    int32 __CFUNC DAQmxSetAIRngLow/High(TaskHandle taskHandle, const char
    channel[], float64 data);
    or
    int32 __CFUNC DAQmxSetAIGain(TaskHandle taskHandle, const char
    channel[], float64 data);
    Pick your favorite and go from there.
    Regards,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Changing the polarity of a sustain pedal?

    I have an M-audio Keystation keyboard plugged into my iMac with garageband. I recently had to get a new sustain pedal for it, but I found out that it did not have a polarity switch. Is there any way to swith the polarity of a sustain pedal in garageband?

    eliotschreiner wrote:
    I have an M-audio Keystation keyboard plugged into my iMac with garageband. I recently had to get a new sustain pedal for it, but I found out that it did not have a polarity switch. Is there any way to swith the polarity of a sustain pedal in garageband?
    The practical way to do it is hold your foot down on the pedal when you power up the keystation.

  • Problem when configure polarity on PCI-6023E

    I tried to set the polarity of an analog input channel with AI_configure. When I call AI_Configure with polarity Bipolar(default) anything works fine. but when I change the polarity to unipolar, the status code -10003 is returned, indicating that the value of my parameter is invalid. The PCI-6023E is software configurable, isn't it?
    Attachments:
    AI_configure.txt ‏1 KB

    Stephan;
    The 6023E board can only be configured as bipolar mode.
    Take a look at the board Users Manual to double check that information.
    Regards
    Filipe

  • Servo command polarity

    Hi,
    I'm using a PXI-7358 to interface a third party drive and servo motor in a bench test proir to installation.
    When outputing a positive command signal for clockwise motion the motor ran in reverse i.e. counter clockwise. Can the polarity of the command signal be changed in MAX?
    This has been solved by changing the motor setup to have a ccw forward direction but I would prefer to change the polarity in MAX as that way the encoder feedback would agree between MAX and third party motor driver software.
    Also when bench testing a motor is it neccesary to provide an appropraite level of resistance?
    I have resorted to reducing the max and min torque voltage outputs from -+ 10v to 0.5v.
    Wthout this measure when using One-D interactive MAX output the maximum 10v no matter what rpm was requested in velocity opetration mode. When using position mode, output would initailly be maximum in the wrong direction (question 1) or a square wave of +-10V. Auto tune also produced maximum PID values. I'm guessing MAX starts by outputting maximum voltage at the start of a move inorder to delivery maximum torque then adjust according to encoder feedback. The reason I'm bench testing is the device that will be motored is v. expensive so i would like to be confident with the system before i install it.
    many thanks
    Darren

    Hi
    scoobydont,
    I hope your well.
    I was wondering if you could give me an update of your application?
    Im more familiar with stepper motors, which you can change the polarity of the direction signal (which inverts both the step and the dir lines). 
    Could you also state again what your trying to do, and I will try to answer the points,
    Are you trying to tune your servo motor? there are some excellent KBs on this. 
    With the benefiting, I would have thought you would need to test it at appropriate level of resistance, otherwise your values maybe erroneous. 
    Kind Regards
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Binding Shared Variable to Source

    Dear all,
    I'm currently working on a project that requires the use of shared variables. The shared variables will be network published and programmatically created using properties nodes. However I encounter one error and one problem in the process of doing so.
    1) I programmatically bind the shared variable directly to the fieldpoint channel (data item) by writing the URL \\10.0.0.1\FP\1AIO\00 when i create the shared variable. The shared variable can be created successfully but when i deploy it, it generates an error which seems to tell me "it is out of range". Can anyone help me to rectify this problem?
    2) The 2nd question will be, as my fieldpoint is connected to a DHCP server. At the start when i create the shared variable programmatically, i could bind the shared variable directly to the data item by writing the URL to its property. However, during the process of deployment, the dynamic IP address assigned to my fieldpoint may change . How can I ensure that the shared variable continue to bind to the right fieldpoint channels respectively? even though the IP address changes?
    - Or is there any method that I could view all the network data items in a table? a list? or an array? so that I can link them to the URL.
    I tried using the data socket URL.vi, I can only select the data item one by one.. this will be tedious for 100 or 200 I/O points..
    Will greatly appreciate for any advice and help. Thanks in advance.

    Try this.
    Give your fieldpoint controller a computer name through MAX.  Then instead of referencing it by 10.0.0.1 in the URL's of the shared variables reference it by computer name.  So  \\MyFPmachine\FP\1AIO\00 instead of  \\10.0.0.1\FP\1AIO\00.
    Dynamic IP's can definitely cause headaches, and it would be best to use static IP's if possible, but doing this method should help.  It seemed to work for me.  I found when you browse for the channel in LV, it wants to give it the IP address by default, but it was possible to edit the string and paste in the computer name.
    Message Edited by Ravens Fan on 01-10-2007 11:01 AM

  • Connecting NI-7358 and UMI-7774 to a sinusoidal commutatio​n driver

    Hello,
    I'm using NI-7358 PCI motion control card and UMI-7774 to drive a brushless servo motor driver Advanced Motion Controls S16A8 External Sine Commutation driver. (It doesn't have isolated ground.)
    It's inhibit input like below:
                                    ^ 5V
                                     |
                                     >
                                    <  10K
                                     |
     (-INH / EN ) o----------------> to control logic
    GND              o----------------
                                                  |
    UMI's inhibit output is connected the drivers inhibit input directly. But there is something wrong with this connection. Control card's inhibit output always stays energized so that driver always stays disabled. (When inhibit input is connected to ground directly it's working properly)
    When inhibit signal is active (axis is killed) UMI's inhibit output is 3.5V.
    When inhibit is deactived (axis is started) UMI's inhibit output is 4.9V.
    NI7358 inhibit is configured active low
    UMI 7774 is configured active low
    Driver is configured as active low.
    I tried both open collector and totem pole configurations of NI7358. Results were the same.
    Could you help me please.
    Kind regards...
    PS: AMC driver's manual: http://www.a-m-c.com/download/datasheet/s16a8.pdf

    Hello,
    >>1.  What do the lights on the UMI indicate when you change the Inhibit Output Settings in MAX (enabled or disabled)?  When you change these settings make sure you initialize the drive after changes.
    inhibit disabled from MAX ------>   UMI Disable led is always on
    inhibit enabled from MAX ------->   UMI Disable led is on when axis is killed
                                                     UMI Disable led is off when axis is started
    >>2.  If you have the drive inhibit line connected directly from the UMI to the drive what are the results of changing these inhibit output settings?  Are there any LEDs on the drive to indicate if it is enabled or not?
    When the inhibit line is connected to drive directly, it's enable led is always red (it means disable) since it configured as active low. When I change its polarity to active high it always indicates green (enabled) whether the UMI's inhibit line is low or high.
    When inhibit signal is active (axis is killed) UMI's inhibit output is 3.5V.  When inhibit is deactived (axis is started) UMI's inhibit output is 4.9V.
    >>3.  What happens if you reverse the polarity in MAX and/or the UMI?
    Drive is always green or red according to drive's inhibit polarity.

  • Mac Performa 405 Won't Boot

    I have a Mac Performa 405 that won't boot. It's running Mac OS 7.6.1 with maxed out RAM & VRAM. I have installed a networking card with optional Motorola 68882 FPU in the LC PDS slot. It has a Revision B LC II logic board. I have already tried replacing the power supply. I also updated Open Transport to v. 1.1.2. My next move is going to be trying to replace the fan. The Mac won't even bong. What should I do to get my Mac working again? Is the hard drive dead?

    Update: I have swapped the RAM in my Performa 405 out for the RAM that originally came with it. This resulted in some very odd things happening. The RAM I was using before was parity memory. The RAM I found in the Mac when it was given to me was non parity. The RAM I had in the RAM slots before had three memory chips. The RAM I found in the Mac originally only had two RAM chips. Swapping the RAM also appears to have affected the logic board too. Now polarity on the fan plug as measured with my digital multimeter has changed. Before when the parity memory was installed the plug at the left was negative & the middle plug was positive. Changing back to the original non parity RAM changed the polarity of the logic board's fan connector so that now the middle plug is negative & the plug on the right is positive. I was also wondering what other tests I should perform too. The Mac also now bongs & is acting more normally than before.

  • Sustain won't stop when using Logic's Plugins

    I have a CME VX80 and using it with Logic 9.01. I'm getting the sustain staying on all the time once I press the pedal. If I change the polarity then the sustain stops when I press the pedal.
    This seems to happen only with Logic's virtual Instruments. If I use external plug-ins like Ivory Piano the sustain works correctly. If I use Korg's M1/T1 virtual intruments, the pedal works correctly.
    Any suggestions as to why this is happening? Any resolutions?

    It was the pedal itself. I bought a new M-audio pedal and everything is fine now.
    Message was edited by: micdim

  • PCI-7342 Digital I/O example

    Does anyone have an example of reading/writing to the Digital I/O ports on a PCI-7342? (2-Axis Stepper/Servo Controller with Digital I/O) I'm very new to Labview and am having difficulties using the labview environment commands.
    Right now I have a simple setup where I have a framed sequence where I do the following in this order:
    1. Configure port 1 as output
    2. Write $FF to port 1
    3. Configure port 1 as input
    4. Display value of port 1
    Of course, nothing lights up at all. I've tried changing the polarity and the MOMO values, but still no signs of life.
    Can anyone help? Examples are preferrable :-}
    Thanks,
    Jeff

    Dennis,
    Good point. At the time, I was thinking that if I wrote to the port then immediately read it, the value would still be there. But now, I see what you mean.
    But I still have some problems... Using the attached VI I don't know what the right sequence is for writing to the port. The problem is that the "Set I/O port MOMO" function doesn't seem to have any effect. However, when I flip the bits on the "Set I/O Port polarity" function it outputs to the port!
    I though that the polarity function just determined what ON meant(i.e ON=0v or ON=+5V). Is this true? No matter how I set the MOMO, it doesn't seem to have any effect on the output. Only the polarity controls it.
    Any ideas?
    Jeff
    Attachments:
    Motor_IO_Test.vi ‏42 KB

  • Macbook Pro 13" i5 2.4ghz - EFI Error

    mb pro smc fails
    Hello everybody!
    1st day
    yesterday my coworker spiller a glass of water in my mb pro...
    i immediately turned off the mb pro ..
    when i got back home i took apart the logic board and every other part except keyboard..
    i cleaned everything with pure alcohol 96% and then put everything back...
    it wouldn't even start..
    then i took the logic board apart again and with my heat gun i reflow the gpu.
    When i tried to start it up everything worked fine except...
    when i have my battery connected the mb is slower than death..
    when i disconnect the battery its slow to boot up to osx but when it boot its almost perfect..
    Also .. to turn on the mb i have to keep pressing the power button until the white led on the right corner start flashing... if i just press it once wont turn on..
    so my conclusion is that a fuse or something at the smc is bricked or something wrong with the voltage...
    i put my logic board to another mb like mine and it does the same.
    i tried different battery,magsafe,resseting smc, pram etc and still the same..
    2nd day
    i just tried to turn it on with bypassing the smc ..
    it works ok as far as i think even with battery connected..
    but fans a driving crazy!
    also i used my multimeter when mb was connected with battery and i got the numbers in the image shown above..
    i think some fuse is bad ..
    *where it says 22+ it just going up and up the multimeter..
    * where it says  - its just coz if i change the polarity i get 1.
    i'm not an electronic engineer [Smilie]
    http://forums.macrumors.com/attachme...0&d=1350945308
    http://forums.macrumors.com/attachme...1&d=1350945308
    http://forums.macrumors.com/attachme...7&d=1350948375
    http://forums.macrumors.com/attachme...8&d=1350948375
    also i did the efi test and i'm getting this error at :sensors/sensor reads withing operating range (current)
    ERROR - SENSOR IS READING ABOVE THE HIGH LIMIT
    -TEST FAILED-[/QUOTE]
    Thanx!

    Yikes.
    Step by Step to fix your Mac
    All we can do, we don't do hardware fixes here.

  • Problem with Noise, recording with Duet

    I am having trouble with noise using my Duet. As soon as I activate Record in Logic, no matter what mic I am using, I get a great deal of general noise. I know there is RF interference with some of my guitar equipment in this room, and wonder if it could affect the Duet too. I have tried different mics, different mic locations, different cables and it is always the same. I have tried changing the polarity in Maestro to see if that helps. Nothing helps. There is just a general hum constantly in the background--even when nothing is attached to an input, as soon as I hit Record, the noise appears. Any ideas? Thanks a lot.

    Midlake wrote:
    A support tech at Apogee thinks maybe it is environmental, that I should move to another room. But seriously, I cannot find another place in my house to use this. Why should the house have to adapt to the equipment and not the other way around?
    The only thing I can think of at this point is a ground loop hum possibly caused by secondary devices plugged into the Mac.
    Do you have a power strip set up so you can run -all- powered devices plugged in to your computer off of a single outlet, including mixer, printer, amps, powered speakers -any- peripheral devices... etc?
    Turn all other electronics in the room off, even go so far as to unplug them from their power outlets. When troubleshooting noise, go for a minimal working setup and then start adding secondary devices.
    With noting plugged into the Duet, all volumes off, you should hear silence
    Also, are you running this on the Macbook Pro or the Mac Pro and if so, is it the same with both machines.
    If it's on the MacBook Pro, you might try a ground lift (3 to 2 prong adapter) on the power supply as a test.
    pancenter-

  • What is Phase?

    Hi,
    Im studying Music Production and everyone keeps mentioning phase when recording. Im really unsure about what it is and what it does..... Someone said that it when the same signal is sent to the speaker and one tells the speaker to move back and forth and the other one does the opposite.
    Can anyone explain what this means as i just dont understand and its proving to be at my disadvantage in recording sessions.
    This isnt the only thing i dont understand, im trying to understand compression, distortion etc etc etc.
    Has anyone got any advice on how to learn this?
    I would greatly appreciate it,
    Thanks, Ben

    So in summary, I think a distinction exists between
    out-of-phase signals that are time-coherent but
    electronically manipulated to be out-of-phase, and,
    signals that are acoustically captured but because of
    differences in distances between those mics,
    acoustically out-of-phase.
    Maybe I wasn't clear: by definition, a signal that is out-of-phase must be out-of-phase COMPARED to the original waveform. You have to compare it or you wouldn't know that it's out-of-phase. That means that there is (somewhere, at least conceptually) the same signal which has not been delayed; hence no out-of-phase signals are time coherent to the original. It's really implicit in the concept.
    A change in polarity simply reverses the positive and negative waveforms so that instead of beginning the cycle with a positive signal, you begin it with a negative signal. This can be electrical polarity or physical (pressure) polarity.
    Delaying a signal 180 degrees and saying that you have now reversed the polarity is a bit of a misnomer. Yes, by delaying the signal you could put it 180 degrees out-of-phase, but that's not the same as a true polarity change - where no time shift has occurred but only an electrical or physical wavefront reversal.
    With speakers, it's a simple polarity change from the positive and negative leads. This is sometimes referred to as "reversing the phase" or putting the speakers 180 degrees "out-of-phase" even though no phase shift is involved. Bass frequencies have the longest wavelength, so you'll notice the drop in low-end more easily when your speakers have their polarity reversed. At the higher frequencies, there is still a polarity reversal, but since the room interacts with it's own set of phase anomalies due to early reflections, etc, it's less noticeable.
    When referring to subwoofers and "phase alignment", you are in fact delaying the LFE signal so that the wavefront from the low end aligns with the signal from the other speakers.
    With microphones, the distance between the source and any two or more microphone elements will introduce phase anomalies as well. That's why time-aligning the phase of drum overhead mics with the BD and SN mics increases the "punch" in a set of drum mics: the attack transients would be in alignment creating more impact.
    If you can come up with an example of an out-of-phase signal that is NOT time-dependant, then I might see where you're going with this. We may actually be saying the same thing.

  • Long term video storage on flash drive camcorders?

    I love the new iMovie '08... I'm a professional video editor, and for "real" editing it is fairly useless, but as a quick and easy way to take my home movies, throw them together incredibly quickly, and post them on the web, it's sheer brilliance. I especially love the ability to load in clips from a camcorder the way you'd do still footage in iPhoto...
    But before I buy a flash or hdd based camcorder, anyone have suggestions for long term storage? Let's say my grandkids will want to watch the footage 50 years from now, like I watch my grandparent's old 8mm filmstrips.
    Is importing every single frame and storing them on a hard drive really the only way to do it? Or are there better options? (And before you suggest burning to a DVD, I consider that temporary storage, with a shelf life of 10 years if you're lucky.)
    Any ideas?

    I'm with Kirk's strategy...
    magnetic tape has a >70y track record.. ( http://en.wikipedia.org/wiki/Reel-to-reelaudio_taperecording .. gosh, a German invention...) you have some options to break it (put tapes on speakers, CRTs, .... ), but usually, it is a very reliable media.
    dvds...
    some of my first homebrewn disks are.. +digital nirvana+ ... just simple bright sunlight 'burned' them .. first commercial CDs could get rosty...
    just to mention that: commercial disks are 'mechanical' done, glas master + 'pits' pressed in the dye.. homebrewn stuff is 'changing the polarized reflection behavior of laser light'... (does this work anyhow )
    latest news from here: in some German boards, people complain commercial disks 'get purple' ... the 'plastics' of the disks degrades somehow, changes the color = disk unreadable...
    on boards with a less technical attitude, it is discussed, that we live in the 'lost area'... in a few 100 years, there'll be no documents of daily life, no 'manuscripts' of authors.. (e.g. Stephen King can read his first novels only in Print.. his 'original' floppies, including the process of writing, are 'useless' ..), ... any chemical film, older books (newer paper, ≤150y, degrades due to changed manufacturing ..) are readable..
    Ken Burns would have trouble to produce a 'The War, pt. II' in 2200 ...

  • Adding multiple paths into a compound path

    If I use the gui to add multiple paths into a compound path all I have to do is select multiple paths and choose Object->Compound Path->Make (or ctrl-8). When I do this then the bottom path which is filled has holes 'punched through' creating a window in the shape of the smaller paths which were on top of the larger one. For example, a large rectangle with a white fill color is the bottom item and two smaller paths are on top. I create a compound path and whatever is below the new compound path shows through in the largest shape of the previous two smaller paths.
    If I use JavaScript and create a new compoundPathItem and move 3 paths into it, with the largest being first, then I get a compound path but only the first of the smaller objects creates a transparent space.
    Here is a simplified example:
        var grpMask = doc.groupItems['mask group'];
        var compound = grpMask.compoundPathItems.add();
        var pathobj = grpMask.pathItems['bigbox'];
        pathobj.move(compound,ElementPlacement.INSIDE);
        pathobj = grpMask.pathItems['PathLeft'];
        pathobj.move(compound,ElementPlacement.INSIDE);
        pathobj = grpMask.pathItems['PathRight'];
        pathobj.move(compound,ElementPlacement.INSIDE);
    In the above example the 'bigbox' path has the left and right paths on top of it but only the left path creates a transparent space in the original box.
    I also tried using PLACEATEND instead of INSIDE and grouping the two smaller paths together and moving the group to the compound path.
    Merging path items together won't work - I want to keep the original path's closed and intact without drawing a line between them so I can't just add their pathpoints together.
    Is move() the best way to add existing paths to a new compound path?
    Thanks!

    Im at work at the moment so only have access to CS2 where the second script works… The first script worked at home with CS5…
    here were my test files… Before
    and After…
    As you can see with this I did not change the polarity of the last path as in this test case I knew it was the largest of the shapes not sure if that had any bearing on my results…?

Maybe you are looking for