Best way to produce PWM using NI-6008

Hello,
I am looking for best method to produce Rectangular waveform with a specific pulse width/pause ratio using NI-6008. It does not matter if I use DO or AO port. Important is frequency which should range soemthing between 1 Hz to 1kHz. (so far I have understood from datasheet that the AO has max output frequency of 150 Hz which does not meet our requirement)
I have tried using frequency functions (DAQmxWriteCtrFreq or DAQmxWriteCtrFreqScalar) in the examples which were shipped with the device but get an error like channel does not support the function or device does not have channels to support these functions.
Regards
RB
Solved!
Go to Solution.

Hi,
which error message do you exactly get? Can you post a screenshot?
If there is an error code please let me know which one.
Best regards
Suse
Certified LabVIEW Developer (CLD)

Similar Messages

  • Best way to declare and use internal table

    Hi all,
    As per my knoledge there are various techeniques (Methods) to declare and use the internal tables.
    Please Suggest me the Best way to declaring and using internal table ( WITH EXAMPLE ).
    Please Give the reason as well how the particular method is good ?
    What are benefits of particular method ?
    Thanks in advance.
    Regards
    Raj

    Hello Raj Ahir,
    There are so many methods to declare an internal table.
    Mainly I would like to explain 2 of them mostly used.
    1. Using Work Area and
    2. With header line.
    This with header line concept is not suggestable, because, when we shift the code to oops concept.. it doesn't work... Because OOPS doesn't support the Headerline concept...
    But it all depends on the situation.
    If you are sure that your program doen't make use of the OOPs concept, you can use HEADER LINE concept. If it invols OOPs use WORK AREA concept.
    Now I'l explain these two methods with an example each...
    1. Using Work area.
    TABLES: sflight.
    DATA: it_sflight TYPE TABLE OF sflight.
    DATA: wa_sflight LIKE LINE OF it_sflight.
    SELECT *
      FROM sflight
      INTO it_sflight
      WHERE <condition>.
      LOOP AT it_sflight INTO wa_sflight.
        WRITE / wa_sflight.
      ENDLOOP.
      In this case we have to transfer data into work area wa_sflight.
    We can't access the data from the internal table direclty without work
    area.
    *<===============================================
    2. Using Header line.
      DATA: BEGIN OF it_sflight OCCURS 0,
              carrid LIKE sflight-carrid,
              connid LIKE sflight-connid,
              fldate LIKE sflight-fldate,
            END OF it_sflight.
      SELECT *
        FROM sflight
        INTO it_sflight
        WHERE <condition>.
        LOOP AT it_sflight INTO wa_sflight.
          WRITE / wa_sflight.
        ENDLOOP.
    In this case we can directly access the data from the internal table.
    Here the internal table name represents the header. for each and every
    interation the header line will get filled with new data. If you want to
    represnent the internal table body you can use it_sflight[].
    *<======================================================
    TYPES: BEGIN OF st_sflight,
             carrid LIKE sflight-carrid,
             connid LIKE sflight-connid,
             fldate LIKE sflight-fldate,
           END OF st_sflight.
    DATA: it_sflight TYPE TABLE OF st_sflight,
          wa_sflight LIKE LINE OF it_sflight.
    This is using with work area.
    DATA: it_sflight LIKE sflight OCCURS 0 WITH HEADER LINE.
    This is using header line.
    <b>REWARD THE POINTS IF IT IS HELPFUL.</b>
    Regards
    Sasidhar Reddy Matli.
    Message was edited by: Sasidhar Reddy Matli
            Sasidhar Reddy Matli

  • What's the best way to backup DFS using DPM 2010?

    We setup DFS on two Windows 2012 R2 and they are hosting files. What’s the best way to backup DFS using DPM 2010?
    1. When doing data backup, do we backup both dfs01 and dfs02? Or just backup one of them?
    2. Beside the data, what do we need to backup?
    Bob Lin, MCSE &amp; CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

    Protecting Data in DFS Namespaces
    Backup files and BRM of dfs01 and dfs2 for minimaze traffic.
    If dfs01 and dfs02 have good channel width that use DPM to only protect a single “copy” of the data located on a server-specific local path.
    Data Protection Manager 2010 Protection Best Practices
    Have a nice day !!!

  • What is the best way to export for use on internet?

    what is the best way to export for use on internet?

    It depends. Is this for a personal web site or for a site like YouTube, Vimeo or Facebook?
    For YouTube, Vimeo and Facebook, use Publish & Share/Computer/AVCHD using one of the YouTube presets.

  • What is the best way to learn to use the gaming development software in creative cloud?

    What is the best way to learn to use the gaming development software in creative cloud?

    Ask in the forum(s) for the program(s) you are using
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Best way to produce PDF output from Classic ASP

    I have Adobe Professional 9.2 and LiveCycle ES Designer 8.1. I need to change a Classic ASP web application to produce a PDF report. The way I see it I have three options:
    1) create native PDF output using open source libraries.
    2) create an FDF form with Adobe Pro as a template and use FDF libraries from Adobe to substitute text in the template
    3) create an XML form with LiveCycle as a template and do direct text substitution into the XML.
    I created a PDF with LiveCycle and prior to saving, unchecked the "save PDF files compressed" in tools/options. I don't want any text boxes, just labels, and in some of the labels I will put distinguishable text. When the web application uses the template it will find various text strings in the XML stream and substitute.
    What's the best way to do this? Is there a better way of doing substitution into the LiveCycle template? I would like to stay with LiveCycle. But from code samples I've seen, FDF substitution is very straightforward and possibly easier. I also thought LiveCycle is supposed to be the way to go instead of Adobe Pro. Thanks

    I cannot speak about theother methods but I can speak about the XFA method. In most cases people will bind the xml to the rawValue property of the field thereby filling the field with the value. However there are other bindable properties. Caption is one of them. first you have to turn on the Dynamic Properties. Click on th efield you want to control on on the Object palette click the icon as shown below:
    A new menu will open like this:
    Turn that option on and the Caption will turn a different color and will become a link. Click on the link and then you can map the caption to a node in your XML structure. This assumes that you have created a Data Connection to bind with.
    Paul

  • What is the best way to produce different report types out of the same SSRS Report

    So I have a request to produce different report types based on a "Line Of Business" Parameter that is provided. I know that SSRS sometimes struggles with gathering the Metadata based on IF Statements.
    What is the best way to provide multiple different report types with different data based on the "Line Of Business" Parameter that is provided? Can I simply do this via the SQL Stored Procedure? And how so that the Metadata is collected correctly?
    Just don't know what the generally accepted business principle is on this and how to go about doing it.
    Thanks in advance for your review and am hopeful for a reply.

    Hi ITBobbyP,
    Per my understanding that you have create an parameter (Line Of Businiess) to get diffetent types of report, I would like to confirm with you want do you mean about the different report types?
    Is that mean you have table and one column named Report type, you want to filtered on this column? Or the report type you mean is like Parameterized reports,Linked reports,Snapshot reports,Subreports and so on.
    If want you want is through the selection of the parameter to change the report type(Parameterized reports,Linked reports,Snapshot reports,Subreports ..),currently it is impossible to acheive this.
    If you still have any problem, please try to provide more details information about your reqirements, the sampe data in the table, the report structure you have designed and so on.
    Any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Whats the best way to manipulate  data using a Form ??

    I have a few forms and basic navigation and data manipulation I find are rubbish - cos I am rubbish at making it any better.
    I have a customer form (layout style of form) and table, I set up 2 buttons (enter_query & execute_query) to retrieve specific details based on customer ID input by the user. If the specified ID is for the wrong customer I want a button or buttons that will navigate through the IDs one by one until the right customer is found. If it was a tabular form I could do it but can I manage this if the form is not ?
    Once the data is retrieved what is the best way to manipulate and save it ? Can I create a button that has PL/SQL code to UPDATE that particular record or do you guys and girls use the SAVE icon ?
    Finally, I can't work out how to get the right side of the form displayed it seems to miss off an inch or 2. The canvas editor shows the form properly, the window size is just a smidge bigger than the canvas. When the form is run, how can I make the display area for the R/H/S bigger ?
    Thanks in advance.

    Sorry - I had to read up on what a base table block was.
    I think I am. In this particular form I have one block - a customer block which has its items pulled in from the customer table, no problems there, it works fine.
    My problem is I need to make it as user friendly as possible, if the user inputs the wrong customer ID (or does not know their name) I want them to be able to scroll through the customer list using an up or down button.
    When do you have the commit_form statement run, (the OK button) after every change or after a block of changes ? Commit writes the changes to the database giving other users access to that data right ?! How often should it be used ?

  • What is the best way to store videos using Macbook Air?

    I have a Macbook Air and I don't want to store videos on the hardrive because it will fill up fast.  I have a lot of videos - for people that also take a lot of videos - what is the best way in your opinion or best place to store video? For example, on a server, on a cloud server, etc?

    Ok, so do you have a recommend brand and space capacity?
    You mentioned that one of your primary needs is to store video, which demands large capacity. As a consequence I'd suggest a drive with at least 1Tb, perhaps greater, capacity. I don't have a preferred brand or manufacturer - it's a bit like recommending which is better between Ford and Chevy - but I have a couple of Western Digital external USB drives which have proven very reliable, and a Seagate which is used as a daily backup and has worked flawlessly.
    DWB's point about backups is important too, because when you store files on any drive there is a risk of that drive failing - and indeed, all drives will fail at some point. The question is, can you live with the total loss of those files if the drive does fail? If you are storing files that you value, then a backup is needed to help protect those files. Ideally that would mean two drives, not one. One to use for the storing the files, and the second to use to back those files up.

  • Best way to produce reports if the data model is in RDBMS

    we have database available in RDBMS.we will have to create reports out of that database.
    Anyone suggest me best way(by considering all the factors) to get the reports if database is in RDBMS.
    what are all need to follow in physical layer and what are all need to follow in BMM layer.

    Thanks saichand for the response.
    Ex: lets say,if there are 25 tables in the database(in RDBMS,there are lot of joins exists between the tables like A->B->C->D->E->F->G->H, in this case if report is from A,E and G then which way i will have to create view in the physical layer)
    i have arrraged tables and columns below for better understanding
    A B c D E F G
    A1(pk) B1(PK) C1(PK) D1(PK) E1(PK) F1(PK) G1(PK)
    A2 A1(fk) B1(fk) C1(fk) D1(fk) E1(fk) F1(fk)
    A3 B2 C2 D2 E2 F2 G2
    from the above tables and columns,if the report should be with A1,E1,E3,G1,G2 fields in that case how to create view in the physical layer.
    for each and every report do we need to create seperate view?
    can you please elaborate the procedudure in different situations?
    Thanks in Advance.
    Edited by: user12077461 on Feb 5, 2011 7:59 AM

  • Best way to produce a slide show with good quality

    OK, I know this is an ongoing issue, but I am trying to figure out the best way to proceed.
    Made a movie of stills. They are jagged unless there is a title or a transition, then they are very smooth.
    So anything rendered in iMovie looks good. How do I get from here to iDVD without the jagged stills?
    I was even considering putting fake titles over the whole thing (with no text) just to render it nicely.
    Why is this still a problem?
    Mike

    See the "huge caveat" mentioned in this thread:
    http://discussions.apple.com/thread.jspa?messageID=2105598&#2105598
    Karl

  • What is best way to give a used iPad to someone?

    Buying the new iPad.  Want to give my iPad 2 to my wife.  What is the best way to do that?

    Does she want any of your content on it, and has she got her own iTunes account ? Any purchased content on the iPad will remain tied to your iTunes account, so it will need to be on the computer that she syncs to if she wants to be able to have any of it (so your iTunes account will need to be authorised on that computer).
    If she doesn't want any of your current content then you can log out of your account on the iPad by tapping on it in Settings > Store an you can then restoreit to factory defaults via Settings > General > Reset > Erase All Contents And Settings.

  • Best way to produce good quality DVDs?

    Hi,
    Am using FCE, external LaCie DVD burner and Toast.
    When I convert a FCE project to quicktime, then transfer to DVD, using an external LaCie burner and Toast, the resulting quality is very poor.
    I had previously thought this was just par for the course with the footage I was producing, however I recently had a film shown at a cinema (straight from tape) and the quality was amazing - even on a large screen.
    I commented to one of the guys who worked at the cinema that I was surprised by the quality of the footage given that my DVDs are so rubbish. He told me that they are so poor because of the equipment I am using to burn them and that if I had it done professionally, the quality would be much better.
    What causes this?
    Is there any software/hardware I can upgrade to which will produce good quality DVDs?
    Nicola

    Hi,
    Am using FCE, external LaCie DVD burner and Toast.
    When I convert a FCE project to quicktime, then
    transfer to DVD, using an external LaCie burner and
    Toast, the resulting quality is very poor.
    Which version of Toast are you using? Are you using Toast's encoder to create the disc image? The latest version of Toast (Titanium 7) is supposed to have a much improved encoder. Also iDVD5 and iDVD6 show big improvements over earlier versions. However, I don't think MPEG2 DVD will be the full equal of the original DV, but it should come close. I suspect high-end DVD mastering programs are needed to get the best results.
    867 MHz PowerPC G4   Mac OS X (10.3.9)  

  • Best way to produce video for youtube

    Hi all
    I am a newbie here but wondered if anyone has any tips for using PE4 to produce high quality youtube video. I am capturing HDV from a Canon HV30. (As aside if anyone has any questions about how to get the HV30 / PE4 combination to work, please ask)
    Exporting it directly to youtube using the preset in PE4 leaves me with decidedly inferior quality results. Does anyone have any helpers
    Thanks
    Kevin

    I have been tinkering with this problem for a day or so. Whatever commercial tool I tried didn't work. Results were still bad. <br /><br />Tnen I started playing with shareware and tried many configurations. Still junk. But there was one exception. With this tool, you should achieve good results.<br /><br />(1) Install WinFF at http://www.winff.org<br />Best of all, it's FREE!<br /><br />(2) Create a YouTube Preset for WinFF<br />After installing WinFF, make a profile specifically for YouTube. Just open Notepad and make a text file with the following code (copy paste between the lines below)<br /><br />----------------------------------------<br /><?xml version="1.0"?><br /><presets><br />  <YouTube><br />    <label>YouTube H.264 in MP4(4:3)</label><br />    <params>-r 30.00 -vcodec libx264 -s 640x480 -aspect 4:3 -b 2000k -acodec libfaac -ab 64k -ar 22050 -ac 2 -deinterlace -pass 2</params><br />    <extension>mp4</extension><br />    <category>Websites</category><br />  </YouTube><br /></presets><br />----------------------------------------<br /><br />Now save this text file as 'YouTube.wff' in the application directory (e.g., C:\Programs\WinFF)<br /><br />(3) Install the YouTube presets in WinFF<br />Under the menu item Edit > Presets, select 'Import' and locate the file 'YouTube.wff' <br /><br />(4) Select your video file for conversion<br />Open your high quality video in WinFF, and select from the drop down Convert to... [Websites] and submenu [YouTube H.264 in MP4(4:3)] <br /><br />(5) Adjust the video bitrate settings<br />The default video bitrate for this Preset is 2000kbps. In order to keep your file under the 100 megabyte upload limit, you will likely need to adjust this down, depending on the length of your video. Try not to go below 150kbps. Just enter a number in the Video Bitrate field.<br /><br />(6) Convert the file and upload it to YouTube<br />To lift YouTube's file size limit from 100 megabytes to 1 GB, use http://www.youtube.com/my_videos_multiupload. NOTE: This will still limit videos to 10 minutes length. But the more data you upload, the better the results. <br /><br />Overall, converting with this custom WinFF preset should yield better results.<br /><br />Good luck.

  • Best way for producing static html?

    I would like to write a program that produces some static web pages that will display some summary stats from stats that are collected in a database but cleared out every few days.
    I'm not sure where to begin or what I should be looking at for producing static html pages. Can anyone offer suggestions?
    Thanks

    Use the KISS principal.
    XML with XSLT is a huge learnng curve, IMHO. It most
    likely way overkill for your needs.
    Well, let's see - if I go the application route as you suggested I need to do the following things:
    Connect to the Database
    Get a ResultSet of Data I am interested in presenting
    Iterate over this ResultSet constructing an HTML page likely via a ton of "output "<TR><TD>" + someData + "</TD>" " type statements.
    If I go the XSLT route then I do something like this:
    Connect to the Database
    Get a ResultSet of Data I am interested in presenting
    Iterate over this ResultSet constructing some normal Java classes
    Use something like Castor to convert these things to XML, or just use the XMLEncoder class in the standard lib.
    Use XSLT to convert that to HTML
    The second way involves learning more technologies than the first, but then it also moves the layout of your page out of the code and into an XSLT file where it (IMO) belongs. And it's not that much more complex, really.
    Besides, to me "learning more technologies" is still a plus instead of a minus. KISS is a good thing to keep in mind, but this profession makes it difficult to avoid learning new things.
    Good Luck
    Lee

Maybe you are looking for

  • How can I connect my iTunes account with PayPal?

    How can I connect my iTunes account with PayPal? In the payment method page (I access it by iTunes for Mac) there's no PayPal button! PS: I live in Italy

  • Is there a setting to wrap code when resizing the application window?

    I find it very annoying that I have to scroll horizontally to get to specific areas of my code. Is there some sort of preference that I can set to wrap my code so that it wouldn't extend past the visible area of the application window? Thanks.

  • Disk Cleanup (Windows Update Cleanup) removes Windows updates

    Disk Cleanup (Windows Update Cleanup) removes Windows updates KB3031432,KB3021952, and KB3004375. I have never had this problem before. I use Disk Cleanup after every monthly Microsoft updates. I had to reinstall listed updates on two computers when

  • WS30000015

    I am learning workflow. I am trying to test the standard work flow template WS30000015 (Process notification of absence) by going to workflow builder transaction.  It is giving me error "Import container contains errors (are any obligatory elements m

  • I've got an email notification, but I have no email?

    I can't find the email. I've searched my inbox for unopened emails. I don't have it set to hide filed emails. I've reset the time and date. I've reconciled a thousand times, and even though there isn't an email in my actual inbox (checking through my