How do I control DC output using a counter

I need to step up DC output (ch. 2) at the same frequency of a triangle wave output (ch1). Can this be done and how?
SL

The SCB-68 is a connector board. Tha actual DAQ board is inside the computer and the characteristics of that determine what you can actually do.
As for changing the DC voltage with the other signal I can think of several possibilities. It depends on how the triangle wave is being generated. If you use one of the Signal Generation VIs and generate one cycle at a time in a loop, then the DC voltage could be incremented in the loop as well. If multiple cycles are generated at one time and you know the number of samples (= elements in the data array) per cycle, then the DC Voltage array value could be incremmented after the same number of samples. Beyond that it gets too complicated for a text description.
If these ideas are not enough to get you going, please post your IVs so that people on the list can offer suggestions.
Lynn

Similar Messages

  • How can I control a driver using Matlab?

    For a lab project I have to program in matlab a driver (esp300 by Newport - http://www.newport.com/store/product.aspx?id=3229) that commands a motorized stage of the same company. The interface is GPIB. I rather control the driver using only matlab, but if i can't - i wan't to use Labview as a connector between the two. any idea how can i do one of the above? I've got no idea where to start from. I'll thank to any given advise. 

    What is the analysis that ou need to perform. The resources that are available to you from within LV is very complete!
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to set a digital output using a switch on the operator interface?

    Hi, is it possible to set a digital output using a switch on the operator interface?
    Thanks,
    Mike

    Unfortunately, no.  It is on our hit list...
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to get input and output using math interface toolkit

    Hi,
    I am fairly new to labview and i am trying to convert my labview code
    into matlab mex files using math interface toolkit. I cant see any
    input or output terminals when i try to convert the code to mex files
    even though my vi has plenty of inputs and outputs that should be
    available during conversion.
    just to cross  check i made another vi in which i inputted an
    array of data to an fft and outputted it to an array again. i tried to
    convert this code to mex files but was still not able to see any input
    or output terminals, which makes me believe that i must be doing
    something wrong at the very basic level and inspite of trying really
    hard for some days now i have not been able to figure out that might be.
    So please help.
    I am attaching the basic vi that i created along with the link that i followed for converting labview code to mex files.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/EEFA8F98491D04C586256E490002F100
    I am using labview 7.1
    Thanks
    Attachments:
    test.vi ‏17 KB

    Yes, you've made a very basic mistake. You have front panel controls and indicators but none of them are connected to the VI's connector pane. right click on the VI's icon and select "Show Connector". You use the wiring tool to select a connection there and then select a control or indicator. Use the on-line help and look up the topic "connector panes". There are some sub-topics on how to assign, confirm, delete, etc.

  • How can I control which apps use cellular data?

    Sometimes I marvel at Apple's amazingness and sometimes I can't believe the holes.  Googling around I get the impression that iOS/iPhone provides no means for a user to take control of their data plan and set which apps are permitted to use cellular data and to track cellular data usage on an app by app basis.  Am I the only one that finds it unbelievable that an operating system designed for a cell phone that supports adding piles of sometimes sketchy 3rd party apps doesn't have this baked right in?  There seem to be a few apps try monitor overall aggregate data usage, but they are useless at getting to the root cause.
    So, I hope I'm just missing it.  How do I figure out which broken, buggy, misconfigured app I stupidly installed is eating my data plan?  Maybe Android is a better choice for guys like me that are too busy to play whack a mole uninstalling and reinstalling apps for hours and days to try to solve such a tedious mystery.
    Thanks!

    This is a user to user forum.
    You can leave feedback here
    www.apple.com/feedback/
    You could also try searching for an app that tracks data usage

  • How can I control external devices using a touch screen with a standalone LabVIEW app

    For my senior design project my group and I created a hybrid extended range vehicle with 90 Li+ Batteries thats charged by a 15 kW generator and/or that is also being charged by a 5 kW fuel cell. Currently, our system is capable of measuring voltages off of the batteries and displaying them on a laptop via LabVIEW. To process this data, we are using a cRIO FPGA. What we would like to do now is have a touch screen for the driver to choose what power source charges the batteries as well as monitor a pressure reading coming from the fuel cell tank. 
    What sort of small touch screens allow for LabVIEW to be uploaded on and used for controls?
    Does a cRIO have the capability to power such a screen and handle the data transfer from the fuel sensor and switching relays (for switching on and off powersources)? 
    Do I need an additional license for creating standalone applications and how would i go about creating a standalone app?
    sorry for so many question. Any reply helps. Thanks!
    Solved!
    Go to Solution.

    That sounds like a pretty interesting project.  If you are interested, National Instruments hosts a Student Design Competition where you can win cash or a trip to Austin for NIWeek.
    steve215 wrote:
    What sort of small touch screens allow for LabVIEW to be uploaded on and used for controls? 
    NI does sell Touch Panel computers that can be used to control LabVIEW applications.  You can find more information here: HMIs and Industrial Touch Panels and here: LabVIEW Real-Time and Touch Panel Deployment and Replication Resources. Our 6-inch touch panel computers run Windows CE, so programming on them is a little different than programming on a full Windows OS.  You may find the Getting Started with the LabVIEW Touch Panel Module useful.
    You can use third party devices with the LabVIEW Touch Panel Module, although you will need a deployment license for it.  More information can be found in the getting started guide.
    If you were able to send the cRIO information over a network (which from your description sounds unlikely), you may be able to use a smartphone to control your application.  More information can be found on our Community Smartphone Group.
    steve215 wrote:
    Does a cRIO have the capability to power such a screen and handle the data transfer from the fuel sensor and switching relays (for switching on and off powersources)? 
    If you were using the 6-inch touch panels, they require 18 to 32 VDC (the fuse becomes an open circuit if input level exceeds 33 VDC).  The data transfer from the switching relays can be monitored and changed with the touch panel.
    steve215 wrote:
    Do I need an additional license for creating standalone applications and how would i go about creating a standalone app? 
    If you went the touch panel route, you would need to purchase the LabVIEW Touch Panel Module, and a touch panel.  The NI touch panels come with a touch panel deployment license.  Step-by-step guides for creating the standalone app can be found in the Getting Started with the LabVIEW Touch Panel Module guide. 
    Regards,
    Elizabeth K. 
    National Instruments | Applications Engineer | www.ni.com/support 

  • How to generate a PDF output using batch file in 10G

    Hello,
    I am using .bat file to generate a report PDF output. I have done this many times in 6i but for 10G I am unable to do the same.
    Can someone please look at the syntax below and let me know where I am going wrong.
    I understand that reports are different for 6i and 10G specially .rep file but I am sure we should be able to generate a PDF file using 10G. Please let me know.
    Thanks
    IQ
    Contents of .bat file follow
    ECHO Opening parameter form. Please do not close this window.
    C:\
    FOR /F "tokens=1 " %%I IN ('time /t') DO (SET _TIME=%%I)
    FOR /F "tokens=2 " %%I IN ('date /t') DO (SET _DATE=%%I)
    SET EXP_DATE=%_DATE:~6,4%%_DATE:~0,2%%_DATE:~3,2%_%_TIME:~0,2%%_TIME:~3,2%
    SET FILENAME=SEND_EMAIL_%EXP_DATE%_%USERNAME%.PDF
    CD C:\Users\Documents
    RWCONVERTER REPORT=C:\Users\Documents\send_email.rep USERID=scott/tiger@ORCL1 ORIENTATION=LANDSCAPE DESFORMAT=PDF DESTYPE=FILE
    DESNAME=C:\Users\\%FILENAME% PRINTJOB =NO

    Rwconverter is not used to run reports:
    rwconverter (Reports Converter) enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another.
    I think you mean rwrun:
    rwrun (Reports Runtime) runs a report by starting its own in-process server (not to be confused with the default in-process Reports Server), which runs in the same JVM as the rwrun process.
    This bat file has to run on the server. There is no Reports installation on the client anymore.
    If you want to run a report from a client, you can make a bat file that calls the report url
    See: http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla002.htm#i634710

  • How do I control serial power using LabView?

    I need to use LabView to alter the voltage coming from the serial port. Is it as easy as writing to the serial port? I know that if you write to the serial port that it'll produce a binary number, does this binary number correspond to a voltage.

    If you want to create a scalable voltage value coming from the serial port you must have a Dig -> Analog conversion circuit.
    If your goal is to vary a voltage from 1 - 10 vdc, then you must create:
    1) a an external circuit that will convert/buffer digital serial interfaced binary values to analog values (ni makes these things)
    2) labview code that transfers info to serial port. (driver/etc)
    hope that helps!
    did that answer your question?
    Chances are if you have seen VI in the forest it hasn't fallen.

  • One for the Tekkies: How to get this output using REGULAR EXPRESSIONS?

    How to get the below output using REGULAR EXPRESSIONS??
    SQL> ed
    Wrote file afiedt.buf
      1* CREATE TABLE cus___addresses    (full_address                   VARCHAR2(200 BYTE))
    SQL> /
    Table created.
    SQL> PROMPT Address Format is: House #/Housename,  street,  City, Zip Code, COUNTRY
    House #/Housename,  street,  City, Zip Code, COUNTRY
    SQL> INSERT INTO cus___addresses VALUES('1, 3rd street, Lansing, MI 49001, USA');
    1 row created.
    SQL> INSERT INTO cus___addresses VALUES('3B, fifth street, Clinton, OK 74103, USA');
    1 row created.
    SQL> INSERT INTO cus___addresses VALUES('Rose Villa, Stanton Grove, Murray, TN 37183, USA');
    1 row created.
    SQL> SELECT * FROM cus___addresses;
    FULL_ADDRESS
    1, 3rd street, Lansing, MI 49001, USA
    3B, fifth street, Clinton, OK 74103, USA
    Rose Villa, Stanton Grove, Murray, TN 37183, USA
    SQL> The REG EXP query shouLd output the ZIP codes: i.e. 49001, 74103, 37183 in 3 rows.Edited by: user12240205 on Jun 18, 2012 3:19 AM

    Hi,
    user12240205 wrote:
    ... Frank, ʃʃp's method, I understand. But your method, although correct, I find it difficult to understand.
    Could you explain how you did this?? What does '.*(\d{5})\D*' and '\1' mean???
    Your method is better because it uses only ONE reg expression function. ʃʃp's uses 2.In Oracle 10.2 (I believe) and higher, '\d' is equivalent to '[[:digit:]]', and '\D' is equivalent to '[^[:digit:]]'. I find '\d' and '\D' easier to type, but there's nothing wrong with using '[[:digit:]]' and '[^[:digit:]]'.
    '.*' means "0 or more of any character".
    '\D*' means "0 or more non-digits".
    The whole expression, '.*(\d{5})\D*' means:
    a. 0 or more characters (any characters)
    b. 5 digits
    c. 0 or more non-digits.
    '\1' is a Backreference . It means the sub-string that matched the pattern after the 1st '(', up to (but not including) its matching ')'. In this case, that means the sub-string that matched '\d{5}', or b. using the explanation immediately above.
    So the entire REGEXP_REPLACE call means "When you see a sub-string consisting of a., follwed immediately by b., followed immedately by c., replace that sub-string with b. alone."

  • How can I control a LabView VI using a C++ script/program?

    Hi,
    I am a developer of a satellite communications system that is being used in
    a satellite project I am working on at the University of Colorado - Boulder.
    The project is called 3CS. We have built a simple LabView program that uses
    some of the server routines to transfer data via TCP/IP protocol. The basic
    VI initializes the radio hardware at the site the satellite is currently
    over and then opens a data stream. The data is then downloaded back to our
    servers via secure VPN. My question is this: How can I control a VI using
    a language like C++ to execute certain parts of the VI. I basically have a
    VI that listens for radio packets. My program then strips off the satellite
    radio ID and protocol information
    . I need to get this information into the
    VI remotely through a C++ script. Any help would be greatly appreciated.
    Sincerely,
    Ryan R. Fligg
    Colorado Space Grant College
    Electrical and Computer Engineering
    University of Colorado - Boulder

    Hello fellow Boulderite,
    The easiest way would probably be to use the application builder to create a DLL from the VI. The other option is to use the LabVIEW ActiveX interface. There are some examples of using C++ to control LabVIEW in the example library of the NI Developer Zone.

  • How to actuate 20 solenoid valves using labview

    I want to perform an action of detaching materials from a fixture by actuating 20 pneumatic pistons controlled by 20 solenoid valves.
    If the valve is actuated the piston moves and stays in the location for 1 sec and then return back. Each of these cylinders should be able to be controlled separately.
    Kindly provide me with the necessary equipments i should buy.
    How can i control 20 solenoids using a DAQ card.  is it possible? 
    Also i need to accept around 20 Digital Signals too.
    Could you specify any card that will meet the spec.?
    Thank you in advance.
    Regards
    grugh
    Regards
    Grugh Mike
    Success is Everything !!

    With the equipment that you have, a good choice would be Opto-22 series for the G4 series of the Opto-22. Select the screw terminal base and an ODC module appropriate to your power/voltage requirements. this will use the TTL digital output to control a power solid state relay. If you look to the other signal conditioning products from NI, they will allow you to do the same thing as well.
    Stu McFarlane
    Viewpoint Systems, Inc.

  • Challenge: Controlling the output stream of includes within iterative tags

    Problem:
    How can you control the output stream of an iterative tag that is making an include on each iteration (either by using the jsp include tag or by a custom tag that does an pageContext.include(). Example of the first of such a case could be:
    <wf:iterator name="...">
    <div>
    <jsp:include page="test.jsp" flush="true"/>
    </div>
    <wf:iterator>
    I now want to see the following output:
    <div>
    ..content of jsp file 1
    </div>
    <div>
    ...content of jsp file 2
    </div>
    etc....
    However what I AM seeing is that the jsp content is flushed to the output stream before the divs like this:
    ...content of jsp file 1
    ...content of jsp file 2
    <div>
    </div>
    <div>
    </div>
    See!? How is that and what can I do to control the output stream??
    Thanks
    Alf Johannessen
    Ariol

    This is a stab in the dark, but have you tried writing your div tags out using the JSP directive:
    out.println("<div>");
    or
    <%="<div>"%>
    It looks like a bug in the iterator. I'd suggest you try setting flush to be false, but I know that's not supported yet (unless you've updated your libraries) ...

  • Comma separated output using report builder

    Hi Experts,
    I am working with EBS 11.5.10, database 9i, and report builder 6i. I have a XML Publisher report, with output type EXCEL, which is working fine. But if i get huge data like 1million, 2million, it's not able accommodate the output in EXCEL. Since it's EXCEL 2003, it can't handle data more than it's capacity(i think 60,000 rows).
    So we thought, if we can generate the output in CSV file with comma separte, then we can open the file in EXCEL 2007. Could somebody help me how to generate the CSV output using report builder 6i.
    or is there any work around to our problem, kindly help me, it's urgent.

    Hi,
    Not sure if report builder can be made to generate csv output.
    But you can create a PLSQL Report. Just use the query of Report Builder and write a Plsql procedure based on this query
    -Idris

  • How to pass characterstic variable value using button in sap wad

    Hello Gurus,
    I have one requirement in WAD 7.0.i have made one user input characterstic variable in Bex i.e on 0calmonth.Now i have passed the same variable in WAD drop down button.Now suppose based on the logic on that variable which i have made in bex is like when i select 04.2010 in drop down button it dispalys data for next three months.
    Now my user wants same thing to be displayed with the help of button as well. I need to make two buttons one for previous month and other for next month.I made two button using button group and passed that variable also but data is not changing.
    How to get the desired output using buttons.
    I want two buttons like this <<(previous) >>(next) and i want to pass that same variable which i passed in drop down button and when i press previous button it should display last month data and when i press next it should display next month data.
    How to achieve this in WAD with the help of buttons.Give me your useful suggestions.
    Hope my requirement is clear.
    Thanks in advance
    Regards,
    AL

    Need your valuable suggestions on this...

  • Formatting output using XSL

    Hi All,
    Here is my XML output from an XSQL file.
    <ROWSET>
    - <ROW num="1">
    <EMP_NAME>Employee A</EMP_NAME>
    <WEEK_NUM>3</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="2">
    <EMP_NAME>Employee A</EMP_NAME>
    <WEEK_NUM>4</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="3">
    <EMP_NAME>Employee A</EMP_NAME>
    <WEEK_NUM>5</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="4">
    <EMP_NAME>Employee B</EMP_NAME>
    <WEEK_NUM>4</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="5">
    <EMP_NAME>Employee B</EMP_NAME>
    <WEEK_NUM>7</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="6">
    <EMP_NAME>Employee B</EMP_NAME>
    <WEEK_NUM>9</WEEK_NUM>
    <NOOFDAYS>4</NOOFDAYS>
    </ROW>
    - <ROW num="7">
    <EMP_NAME>Employee C</EMP_NAME>
    <WEEK_NUM>3</WEEK_NUM>
    <NOOFDAYS>2</NOOFDAYS>
    </ROW>
    - <ROW num="8">
    <EMP_NAME>Employee C</EMP_NAME>
    <WEEK_NUM>4</WEEK_NUM>
    <NOOFDAYS>5</NOOFDAYS>
    </ROW>
    - <ROW num="9">
    <EMP_NAME>Employee C</EMP_NAME>
    <WEEK_NUM>7</WEEK_NUM>
    <NOOFDAYS>4</NOOFDAYS>
    </ROW>
    So I am getting XML in form of:
    Employee A: Week 3: Noofdays : 5
    Employee A: Week 4: Noofdays : 5
    Employee A: Week 5: Noofdays : 5
    Employee B: Week 4: Noofdays : 5
    Employee B: Week 7: Noofdays : 5
    Employee B: Week 9: Noofdays : 4
    Employee C: Week 3: Noofdays : 2
    Employee C: Week 4: Noofdays : 5
    Employee C: Week 7: Noofdays : 4
    And now I need to generate and output in Cross tab format where Employee is in X-axis and Week is in Y axis. Now my XML does'nt contain information for all the weeks and I want to display 0 in the cell wherever the week is not applicable and the appropriate noofdays in the cell where information is there.
    So my output looks like this:
    Empl Name 1 2 3 4 5 6 7 8 9 10
    Emp A 0 0 5 5 5 0 0 0 0 0
    Emp B 0 0 0 0 5 0 5 0 4 0
    Emp C 0 0 2 5 0 0 4 0 0 0
    How can I generate such output using XSL. I even tried <xsl:key> but its not working fine. Can anyone have any ideas for generating such output using xsl.
    Any help in this will be highly appreciated. Its bit urgent...
    Thanks

    Hi All,
    Well I got the solution for this. The exact XSL for generating Crosstab report is as follows:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:key name="x" match="ROW" use="ROWS"/>
    <xsl:template match="/page">
    <html>
    <center>
    <body bgcolor="#FFFFFF" text="#000000">
    <table width="75%" border="1" style="background-color:#F5DEB3">
    <th style="background-color:#BBBBBB">Employee Name</th>
    <xsl:for-each select="ROWSET/ROW/COLH">
    <th style="background-color:#BBBBBB">
    <xsl:value-of select="."/>
    </th>
    </xsl:for-each>
    <xsl:for-each select="//page/ROWSET/ROW[generate-id()=generate-id(key('x',ROWS))]">
    <xsl:variable name="currow" select="ROWS"/>
    <tr>
    <td><xsl:value-of select="$currow"/></td>
    <xsl:for-each select="//page/ROWSET/ROW/COLH">
    <xsl:variable name="curcol" select="."/>
    <td align="center">
    <xsl:for-each select="/page/ROWSET/ROW[ROWS=$currow]">
    <xsl:if test="$curcol=COLS">
    <xsl:value-of select="CELLS"/>
    </xsl:if>
    </xsl:for-each>
    </td>
    </xsl:for-each>
    </tr>
    </xsl:for-each>
    </table>
    Back
    </body>
    </center>
    </html>
    </xsl:template>
    </xsl:stylesheet>
    I hope this will help others.
    Thanks
    null

Maybe you are looking for

  • Exception in Deserialization ( XML to Object ) - CX_XSLT_EXCEPTION

    Hi, I am Converting Serializable Instance   to XML data . And Again I am doing Deserialization  from XML to Instance using CALL TRANSFORMATION ID. ( I am working in ECC6.) It is working fine when I convert Object to XML. But, when I convert XML to Ob

  • Question about resultset

    Hi, I have a simple problem. I wish to move data from a resultset to a string[]. However, I do not know the number of rows in the resultset. I have tried something like this: while (resultset.next()) {             while ( (sqlData[rowCount++] = resul

  • Information in a document has disappeared

    When I click on a field, the information appears, but when I click on the next field, the previous information disappears. I need help filling in an entire document.

  • Dynamic add row/columns to data forms(11.1.1.3) v/s (11.1.2.1)

    Hello All,, There used to be an option in Hyperion planning 11.1.1.3 to Dynamic add rows in data form. I don't see this option in planning 11.1.2.1 ? Could you please suggest how we can grant right users to add dynamic add rows and columns in data fo

  • Wireless setup for one place prevents wireless for another place?

    I have an airport extreme at home, with WPA2 personal security and a hidden SSID. At work, I had to use the wireless over there today, which uses WPA2 enterprise with a 802.1X profile. It took some fidgeting (needed to throw away some old stuff from