Variable output on ELVIS board

Hi,
I need a little help from anyone experienced with ELVIS board. I’m new to LabView, and specially to DAQ tools.
I have vi that is designed to drive small DC motor using ELVIS board and Variable output.
it’s capable of driving small DC and changing speed of rotation, but I need to drive this motor in both directions.
Does anyone know is there any way to achieve this using Variable output (to change it’s polarization), or any other way to do this on ELVIS board.
Thanks in advance.
Attachments:
DC_VARIABLE.vi ‏58 KB

This propose with 4 transistors (H-Bridge) is good but then I can't use Variable supply to drive transistors, as I need two outputs which should be switchable. In other words they should be able to change polarity so oposite transistors can conduct. I could use digital outputs, drive them with PWM, but it's too complicated for me.
The best way maby would be to generate two PWM's (in quadrature) using Analog outputs (arbitary waveform generator) and H-bridge, but I don't know how to accomplish this 

Similar Messages

  • How to generate 3 phase sine wave to output on ELVIS

    Hi .I need to make a star or delta connected circuit on ELVIS board.2 make this circuit I need 3 wave generator( with 120 phase shift) and one common ground
    and because the ELVIS function generator can only generate one wave I decided to generate countionuos sine wave in Labview.
    Now I can generate 2 continuis sine wave in labview and output them on the analog outputs of ELVIS.Ao-0 and A0-1
    but I dont know what to do for the third signal.the elvis board just has 2 analouge output and when I use  Ao-0 and A0-1 I cant use ELVIS function generator after that.so would u please help me on this problem.how can I output 3 contious sine wave in Elvis.I have attached my VI to this post
    Attachments:
    new.vi ‏38 KB

    Hi, I am also having some problem in generating two signals from two AO. Could you please tell me how to generate two different signals from two AO. I have attached vi which generate square wave from one AO 0. I need the inverted signal in AO 1. 
    Attachments:
    Pulse Width Modulation.vi ‏48 KB

  • IODELAY2 as variable output using partial reconfiguration

    Dear all,
    we want to use the IODELAY2 primitive as a variable output delay, which is not really foreseen by Xilinx. The workaround, which is shown in AR34276, does not really work for us, as the signal integrity is not good enough. So we had the idea of configuring it to a fixed output delay and use partial reconfiguration to change the delay. This is in principle working fine (we got about 35 ps/step as delay), but we have observed strange side effects, like Chipscope seems to be broken or parts of the firmware do not work properly anymore, after applying the bit files via the ICAP interface.
    We generate the partial bitfiles from the netlist after P&R by changing the delay value in FPGA editor. From the new netlist and the original bit-file we can get the partial bitfile:
    bitgen -d -w -g ActiveReconfig:Yes -g CRC:Disable new.ncd -r original.bit part.bit
    Can someone help me sorting out, what's going wrong?
    Cheers
    Marius

    Marius,
    When you over-write a frame of configuration logic, it may affect the existing design adversely.  Allowing partitions of a reconfigurable design to not be affected by a reconfiguration is a difficult task.  One frame is just one of more than twenty frames required to change a sinlge CLB/interconnect tile.  IODELAY2 is no different, it is many frames wide, and thoise frames share data with other tiles.
    If possible, it is best to stop the existing design, reconfigure, and then restart.  At a minimum, the reconfigurable section of the design must be stopped, isolated, re-written, and then restarted (enabled).  In the PR flow, a zeroing out partial bistream is loaded inbetween the two reconfigurable partitions to clear  completely the reconfigurable partition.
     

  • Designing variable output power supply

    hi 
    could anyone  help me out in designing variable output power supply ?
    as i am new to this please post the circuit and also the step by step procedures in developing the circuit.

    Hi rckz,
    The link below has an example of a variable power supply.
    http://www.google.ca/imgres?imgurl=http://howcircuits.com/downloads/circuits-and-diagrams/power-supp...
    You can try to find the components in Multisim by right-clicking and going to Place Component. You can look through the database and place them on the schematic and then wire them as shown in the schematic.
    Hope this helps.
    Regards,
    Tayyab R,
    National Instruments.

  • Will the ELVIS board work with LabVIEW 2010 Student Edition?

    I recently acquired a traditional ELVIS board (with the PCI DAQ board). So far I've only installed the evaluation for LabVIEW 2010 (x64), and when I attempt to install the ELVIS Traditional 3.0.5 software I get the following message: "This installer requires LabVIEW 8.5 Full Development system or later to be present on this computer. LabVIEW Base Development System in any version of LabVIEW is not supported. Please install LabVIEW and then run the NI ELVIS installer again."
    I am eligible to purchase a student license for LabVIEW 2010 and would like to know if the ELVIS Traditional 3.0.5 software will install after I've acquired a student license.
    I am running windows 7 (x64) with an evaluation version of LabVIEW 2010 (x64). 
    Solved!
    Go to Solution.

    Perhaps I spoke too soon. I purchased a student license for LabVIEW 2010 and am still receiving the same error. I've provided screenshots of my license and the message from the ELVIS Traditional 3.0.5 installer.

  • Elvis board

    Hi, I am using labview and an Elvis board, and my task is to use a push switch on labview to turn on an LED light on the right hand side of the Elvis board. I have the switch on my front panel/block diagram, but have no idea how to wire it so that when I run the VI, I can control the LED's and turn them on and off when I want to. Does anyone know how I can do this?
    Thanks.

    Hi Nizza52,
    Thank-you for your post and welcome to the NI forums.
    Looking at the schematic of the Elvis board there are a number of configurable I/O pins called LED 0..7. These pins are directly connected to the LED Array that I assume you are trying to light up.
    You should therefore be looking to write the on/off signal to one of the Digital Out lines using the "NI ELVISmx Digital Writer" express VI. This can be found under Functions Palette -> Measurement I/O -> ELVISmx. You can use the express VI to configure what signals you wish to send to what DIO pin. A high signal should obviously be written to the I/O pin which corresponds to the LED you wish to light up.
    You can use context help (Ctrl + h) within LabVIEW to find out more about the functions you are using if you require. Let me know if you need any further help!
    Regards,
    Eden S
    Applications Engineer
    National Instruments UK & Ireland

  • Data acquisatio​n from elvis board

    help me, eight samples of dc voltage acquired from elvis board(not automatically, rather with eight runs. Now i want to use these in paralell , Kindly help me how to queue these eight samples 
    Solved!
    Go to Solution.

    Dear Sir
    Thanks for guiding me
    In the vi there is eight bit array, i need that first sample value should go the first element of array, 2nd to 2nd and  so on  upto eight values. when all these are complete then next part of the system shis the first 
    Attachments:
    Query.vi ‏124 KB

  • Customer exit variable output error

    Hi gurus,
    I have created one customer exit variable. in the selection screen i am giving multiple plant and material value,
    my code is working for sigle plant and single material.
    when i have taken multiple value. i am getting error message
    error is 'No value determined for th variable"
    When i debug my code in RSRT, it is giving all the values for different combination of plant and material. and those values are getting in the E_T_RANGE.
    but out put it is giving the error.
    my code is:
    WHEN 'ZPRDEMVA'.
        IF i_step = 2.
          READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
          WITH KEY VNAM = 'ZPRRNDT'.
          v_date = LOC_VAR_RANGE-LOW.
          v_year = v_date+0(4).
          v_month = v_date+4(2).
          v1_date = v_date+6(2).
          v3 = v_year - 1.
          v4 = v_month - 1.
          if v4 = 00.
          v4 = 12.
          v3 = v3 - 1.
          endif.
          concatenate v3 v4 v1_date into ddate.
          CALL FUNCTION 'DATE_GET_WEEK'
            EXPORTING
              DATE         = ddate
            IMPORTING
              WEEK         = zweek
            EXCEPTIONS
              DATE_INVALID = 1
              OTHERS       = 2.
          CALL FUNCTION 'WEEK_GET_FIRST_DAY'
            EXPORTING
              WEEK         = zweek
            IMPORTING
              DATE         = monday
            EXCEPTIONS
              WEEK_INVALID = 1
              OTHERS       = 2.
          sunday = monday + 6.
          v3_date = monday.
          v4_date = sunday.
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                  WHERE VNAM = 'ZPRPLNML'.
          CLEAR L_S_RANGE.
            v_werks          = LOC_VAR_RANGE-LOW.
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                  WHERE VNAM = 'ZPRMATML'.
          CLEAR L_S_RANGE.
            v_matnr          = LOC_VAR_RANGE-LOW.
          data: dummy_menge like i_mseg-menge value '0.01'.
          Do 52 times.
               select MATERIAL PLANT QUANT_B MOVETYPE
                     from /BIC/AWINO0100 into  table  i_mseg
                     where PSTNG_DATE between monday and sunday
                     and   MOVETYPE between 261 and 262
                     and   MATERIAL = v_matnr
                     and   PLANT = v_werks.
                         if sy-subrc NE 0.
                           i_mseg-menge = '0.01'.
                           i_mseg-matnr = v_matnr.
                           i_mseg-werks = v_werks.
                           i_mseg-bwart = '261'.
                           append i_mseg.
                         endif.
            loop at i_mseg.
              itab1-matnr = i_mseg-matnr.
              itab1-werks = i_mseg-werks.
              itab1-menge = itab1-menge + i_mseg-menge.
              itab1-bwart = i_mseg-bwart.
              COLLECT i_mseg into itab1.
            endloop.
            sort itab1 by matnr werks bwart.
            loop at itab1 where bwart = '261'.
              itab2-matnr = itab1-matnr.
              itab2-werks = itab1-werks.
              itab2-bwart = itab1-bwart.
              itab2-menge = itab1-menge.
              read table itab1 with key matnr = itab2-matnr
                                        werks = itab2-werks
                                        bwart = '262'.
              if sy-subrc = 0.
                itab2-menge =  itab2-menge - itab1-menge.
              endif.
              append itab2.
            endloop.
            clear itab1[].
            refresh itab1.
            sunday = sunday + 7.
            monday = monday + 7.
          ENDDO.
          loop at itab2.
            sum1 = sum1 + itab2-menge.
          endloop.
          average = sum1 / 52.
          loop at itab2.
            sum2 = sum2 + ( ( itab2-menge - average ) *  ( itab2-menge - average ) ).
          endloop.
          sum2 = sqrt( sum2 / 52 ).
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          l_s_range-low = sum2.
          Append l_s_range to E_T_RANGE.
          clear itab2[].
          refresh itab2.
          sum1 = 0.
          sum2 = 0.
          monday = v3_date.
          sunday = v4_date.
          ENDLOOP.
          ENDLOOP.
        ENDIF.
    Can any one please help me.
    Thanks in advance.

    Hi Alec,
    i created a customer exit with the formula variable only. in the code i am getting the both quantity and unit fields. now i want to get quantity with unit in output.
    thanks

  • Valid shared variable output does not work!

    I am having a problem getting the string to shared variable to function correctly.  Specifically the "Valid Shared Variable?" output.  It always give a false output even when I know the variable is deployed.  Could it be that it only functions correctly on shared variables from the localhost and not a remote system?  If so is there another way to check?
    Thanks
    Todd

    There is a community example on this at http://decibel.ni.com/content/docs/DOC-3861
    The DLL is included in DSC, but if you have 2009 you may have to relink it. There is a boolean output for valid in this as well. Pop this in a subvi, and you have the functionality you are looking for.
    Rob K
    Measurements Mechanical Engineer (C-Series, USB X-Series)
    National Instruments
    CompactRIO Developers Guide
    CompactRIO Out of the Box Video

  • DAQ Assistant in subvi not updating output to DAQ board with each call...

    Hi All,
    I am calling a simple subvi that creates a user-defined number of pulses with "Square Waveform.vi."  This square wave (with the given total number of pulses) is then used as an input to a DAQ Assistant controlling an analog output signal on a NI USB-6259 DAQ board.  I am using Labview 8.5 right now.
    However, each time I call this subvi from my main program, the output I measure from the DAQ board is identical to whatever I set in the first call (i.e., if i created two pulses in the first call, I get two pulses on every call, regardless of the input I feed to the subvi).  The multiple calls to this subvi are made in sequential frames in a stacked sequence.  I believe stacked sequences are frowned upon by good labview people, right?  But putting that aside for the moment...
    The "#-of-pulses" input I give to the subvi is updated in a subvi front panel number indicator and a graph of this waveform.  Just not in the real output I measure from the board.  Why is the hardware output being asserted (with the original input value) before this new number can reach the DAQ Assistant?
    The sloppy fix to this is just to put that square wave creation code in my main program each time I need it.  This does work and fixes my problem.  However, I would like to use subvis to keep things clean.
    I am not a good Labview programmer, but have used this software for a number of projects and am stumped by this.  Any ideas?
    Thanks,
    John

    Hi John,
    I am running your code over here and seeing
    the same results.  I believe the problem is that the DAQ Assistant is
    being called inside a loop (really a sequence structure, but
    nonetheless more than once).  Sometimes it is difficult to troubleshoot
    the DAQ Assistant in cases like this--it is trying to be "smart" and
    seems to be avoiding re-configuring its parameters inside the loop. 
    This is intended to improve loop speed for when customers are
    performing continuous operations.  In this case, it is performing a
    finite generation, and the number of samples generated appears to carry
    over from one loop iteration to the other.
    It sounds
    like you have discovered one workaround for this already: putting a DAQ
    Assistant in each frame of the main VI.  Two other options that come to mind are:
    Use the lower-level DAQmx functions inside
    the sub VI.  Here you will have explicit control over when the task is
    created and cleared, and when parameters are set.  You can find
    examples of how to use the DAQmx API in the Example Finder at:
    Help >> Find Examples... >> Hardware Input and Output >> DAQmx
    Write
    a consistent amount of samples to the DAQ assistant by "zero-padding"
    your signal.  For example, instead of writing [10, 1010], try writing
    [1000, 1010].  In this case, it wouldn't need to reconfigure the number
    of samples to generate.
    One lesson to take away here is
    that the DAQ Assistant is good for basic functionality, but for more
    advanced control over the execution and configuration of your task you
    should learn to use the lower-level DAQmx functions.  In this case it
    sounds like the problem is actually a bug.  I'll file a bug report, since the DAQ
    Assistant is not checking for waveform timing changes even though your
    timing is set to Use
    Waveform Timing.
    Thank you for pointing out this odd
    behavior--out of curiosity which version of DAQmx are you using? 
    -John
    John Passiak

  • Translation of Variable Output From CFQUERY

    I'm not highly technical, and this is probably something easy, but here is my
    dilemma.
    First, define some variables:
    <cfset datasource = '#MyDatabase#'>
    <cfset query_tbl = 'MyDatabaseTable'>
    <cfset field1 = 'actual_fieldname'><!--- a field in MyDatabaseTable --->
    Then, run a query using those variables:
    <cfquery name="cfqGetItems" datasource="#datasource#">
      SELECT *
      FROM #query_tbl#
      ORDER by #field1# ASC
    </cfquery>
    Then, attempt to display the query output:
    <cfoutput>
      <p>#cfqGetItems.field1#
    </cfoutput>
    Insead of the values for "actual_fieldname", I get an error message: "field1 is not defined in query cfqGetItems".
    I realize that defining the output as "#cfqGetItems.field1#" is incorrect, but how can a "translation" be done?  What is the correct way to get the output to generate the values for "actual_fieldname" instead of thinking it is still dealing with the variable "field1"?
    Thank you very much for any help!

    I spoke too soon.  This worked in one case, but not in the following case:
    I'm not highly technical, and this is probably something simple, but here is my
    dilemma, in a slightly different setting where I am attempting to retrieve a single record.
    First, I define some variables:
    <cfset datasource = 'MyDatabase'>
    <cfset query_tbl = 'MyDatabaseTable'>
    <cfset field1 = 'actual_fieldname1'><!--- FIRST field in MyDatabaseTable --->
    <cfset field2 = 'actual_fieldname2'><!--- SECOND field in MyDatabaseTable --->
    <cfset ID = #Form.ID#<!--- ONE particular record I want to retrieve, passed from a form --->
    I do a test display to ensure all variables are set, and everything checks out fine.
    Then, to retrieve this single record, I run a query using those variables:
    <cfquery name="cfqGetItem" datasource="#datasource#">
      SELECT *
      FROM #query_tbl#
      WHERE ID = #ID#
    </cfquery>
    Then, I attempt to display the query output:
    EITHER AS
    <cfoutput>
      <p>#cfqGetItem.field1#
    </cfoutput>
    OR, AS
    <cfoutput>
      <p>#cfqGetItem[column1_field][currentRow]#
    </cfoutput>
    In each case, I get a similar CF error message: "Element field1 is not defined in query cfqGetItem", or "Variable currentrow is not defined".
    How do I get the query output to generate the actual values for the record?
    How can a "translation" be done?  What would be the correct way?
    Thank you very much for any help!

  • Provide a probing output for our board

    Hello everyone,
    In Comsis, we have FPGA based Wi-Fi devevelopment platforms that are our own design, namely MimoKit and MimoKit-II. Until now we used in-house methods to probe signals in these platforms but recently we received an inquiry for a probing output that is compatible with a 3rd party software such as LabVIEW. Never having used LabVIEW (or any other data acquisition software) we do not know where to start and I would be grateful if someone can point us the direction.
    In a nutshell, what we are planning to do is, to stream 8 multiplexed channels, each of 32 bit data, via ethernet. We don't know how LabVIEW demultiplexes this data and interprets it? How should we proceed? (Here is a platform description http://www.comsis.fr/?p=167)
    Thank you for all the help in advance
    Best regards

    Hello again, 
    I'll try to rephrase my question. We have an FPGA board which we use for developping WiFi solutions. Our work includes the analysis of raw (or processed) observations of WiFi signals as well. At the moment, when we want to analyze a signal, we simply store its values for a period of time and then we analyze the stored data (off-line).
    In addition to that, we would like to provide a real-time observation/analysis ability in LabVIEW on a host PC. The communication between the board and the host PC will be handled over ethernet port. But we don't know how to proceed to make LabVIEW "understand" our real-time data. Our questions are: 
    What are the components needed for a device (eg: our board)  to communicate with LabVIEW? What is the streaming data format? how many real time channels can be supported? How to feed multiple channels to LabVIEW? 
    We use Quartus to develop the FPGA code.
    Thank you in advance for your help.
    Best regards

  • No audio output from either board

    I have two machines running MSI boards. The one I am on now is a 7640 ver. 3.1 with Win8, the other is 7597 ver 1.1 with Win7. Both worked properly for a long time. This one stopped outputting audio last week. There are no yellow flags in device manager on anything, the control panel shows the Realtek audio is working fine, but no sound comes out. It was obviously the speakers, right? Wrong. I took the speakers from my daughter's computer that were working fine, put them on mine and nothing. I put the speakers back on her machine and they are still fine. A week later, her Windows crashed. I reinstalled Win7 and now there is no audio output on that machine! Everything says it's fine from device manager to control panel, but there is only silence.
    What can I be missing? Help would be appreciated.

    Well, as you have problems with two machines add both machine's details following >>Posting Guide<< as already said.
    Reinstall in any case realtek audio: http://www.msi.com/service/download/driver-2584.html
    Quote
    My video card is an MSI GeForce 9800.
      Which?
    http://www.msi.com/service/search/?kw=n9800&type=product

  • Read/Write outputs on PCI6527 Board

    Hello,
    I want to show on a screen 8 Digital values representing the state of my
    PCI6527 port. I need also to change the state of a digital output when I
    click on it.
    On the LABVIEW examples, I only found examples to read OR to write, BUT no
    read/Write at the same time.
    If somebody have a solution, it would be great!
    Thanks.

    ALTAIIRE,
    In you main while loop, first read your port, check the value read and see
    if any line has changed from the value you last read from or wrote to the
    port. You can store the last value read or written into a shift register.
    If the value read from the port has changed then update your control by
    writing to a local variable of the control. If the value has not changed
    do not write to the local variable. If the control has changed, but not
    because the port change wrote to the local then write to the port. If that
    condition is not met then do not write to the port. If you follow these
    steps then you should be able to avoid a "race condition". Be careful though
    because a "race condition" could make your port lines flicker like a christmas
    tree
    -Jim
    If
    you VI doesn't work email it to me and I will help you out.
    "ALTAIIRE" wrote:
    >>Hello,>I want to show on a screen 8 Digital values representing the state
    of my>PCI6527 port. I need also to change the state of a digital output when
    I>click on it.>On the LABVIEW examples, I only found examples to read OR
    to write, BUT no>read/Write at the same time.>If somebody have a solution,
    it would be great!>>Thanks.

  • Is stepper output from 7344 board truly a sinking output?

    It appears as though the stepper output needs to be referenced to ground (sourcing) as opposed to being referenced to +5Volts (sinking). The manual doesn't include a schematic for the stepper output circuit. Does anyone know where I can obtain a copy of the schematic for the 7344 board, or at least a simplified diagram of the output circuit? I am trying to interface the 7344 through a UMI to a Compumotor A series stepper motor driver. Any help would be greatly appreciated! Thanks in advance, Rob.

    Thanks both for answering! I think I understand now what the problem must be. I connected the oscilloscope to the 7344 output, and the signal goes to the 5V as it should, yet it's not quite square (I'm attaching a picture).
    So I suppose it must be the load connected to the output.
    The output signal as it comes out of the 7344 travels through an 8-meter-long cable until it reaches a buffer (74HC541) that then squares the signal and then to the stepper driver. Maybe the loss through the cable is too much for the open collector + 3.3kohm pull up. (?)
    So I'll try as it's recommended at this other post http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/how-to-generate-CW-CWW-signal-using-NI-7340-...
    thanks again!
    Attachments:
    foto foro.jpg ‏652 KB

Maybe you are looking for

  • How can I get firefox to remember my password?

    I removed my user name and password under stored passwords because the password was changed. How can I get it to store the user name and password again because the pop up for it never shows up?

  • CS5 - change language (legal)?

    I´m searching for a legal solution to switch the language from german to english (MAC OS). I tried the suggested solution from the other thread (http://forums.adobe.com/message/2888731#2888731): 1) right click on "Adobe After Effects CS5.app" 2) clic

  • Checking Disc Allocation Message

    I'm trying to do a Capture Now to input some VHS footage. The window that usually shows the capture is black and says "Chacking Disk Allocation" The beach ball spins until I get fed up and force quit the program (I've given it up to 40 minutes to do

  • SNMP stat isn't updated by Sun WebServer if started from comand line

    Reproduce steps: - Configure server instance for SNMP monitoring( from webconsole or server.xml) - restart snmp master agent and subagent server - start server (/opt/SUNWwbsvr/https-server1/start) Server information appears in SNMP start but its stat

  • Unable to edit the "Default Domain Controllers Policy" from a Server 2012 machine

    I am unable to edit the "Default Domain Controllers Policy" from a Server 2012 machine. The error message i recieve is: "Failed to open the group policy object.  You might not have the appropriate rights.  Details: The volume for a file has been exte