PWM Display and Output to DAQ

Hi All,
I am a newbie to LabVIEW and I don't know much about it. Anyways I am trying to generate a PWM signal in order to control a motor, subsequently, I have downloaded the examples of PWM on http://zone.ni.com/devzone/cda/tut/p/id/2991. So how can I display the PWM signal on a chart ? (I am getting some weird conversion error when I directly connect it to DAQmx Start Task.vi or DAQmx Is Task Done.vi). What kind of conversion do I have to do ?
Moreover, I want to pass this PWM signal via DAQ to the motor, how can I do this ? (I am using 6025 DAQ.). A Vi showing the connections will be highly appreciated.
Cheers
Dan916

Hi Dan916,
The PWM signal that you are generating is being created in the hardware so in order to display it on a graph you would need to measure that signal through an input. You could use an example from the Example Finder in order to read it back in. The use the Example FInder go to Help>>Find Examples from LabVIEW.
As far as connecting your signal to your motor, you are going to need to connect the signal from your counter output. The pinout you are looking for can be found on the last page of the linked specifications manual. You would be looking to use Ctr 0 Out or Ctr 1 Out depending on the counter you are using in your application.
NI 6023E/6024E/6025E Family Specifications
http://www.ni.com/pdf/manuals/370719c.pdf
Steve B

Similar Messages

  • "How Display and Output Acq'd File.VI works?"

    "My present project is somewhat similar to Display and Output Acq'd File.vi. But I don't clearly know how it works. My questions are:
    1. What will happen if the data-reading from file is faster than output-generation from buffered data?
    2. How does it match pace of reading and that of generation, and in which vi does the matching achieve?
    3. Is it possible to get these control information, like interrupt or DMA status in labview application?
    Thank you for your help
    Steven"

    I attached a bmp that illustrates how to read and write simultaneously from one file. The VI is using notifiers (under the advanced palette) to synchronize reader and writer loops.
    Note that the Wait function in the reader loop is irrelevant because the Wait on Notifier function blocks until data is available. This forces reader to be at least as slow as writer.
    Attachments:
    read_and_write.bmp ‏1014 KB

  • Best way to configure Photoshop workflow settings when source photos are shot in AdobeRGB, edited using a wide gamut display, and output to sRGB?

    Being able to quickly produce finished photos is of importance with the majority of my photography work. Therefore I shoot, process, and deliver JPEG files. For this time sensitive workflow there is no benefit to my clients by my shooting RAW. I do want to be able to accommodate any possible future uses of the photos, so I shoot using the Adobe RGB color space. The output for my clients are JPEG images for use on the Web, therefore sRGB. I currently used a wide gamut display (NEC PA302W) with a 24-bit graphics card. (I plan on upgrading to a 30-bit card sometime in the future.)
    I've noticed that in Internet Explorer the reds in my finished photos are overly intense on my display. My photos look fine in other web browsers on my display. This situation has me concerned as I do not know exactly why it is happening since my photos have the sRBG color profile embedded and IE supports embedded color profiles. If anything, I would think the reds would be overly intense in other applications that do not support embedded color profiles.
    Please let me know if my workflow can be improved, outside of shooting RAW and using a 30-bit display:
    Shoot JPEG photos in Adobe RBG color space
    Edit photos in Photoshop using wide gamut display, 24-bit
    Color Settings: Monitor Color (Monitor RGB -  PA302W, calibrated)
    Save for Web, JPEG, Embed Color Profile, Convert to sRGB
    While working in Photoshop the reds appear fine. When saving for the Web and previewing 'Monitor Color' the reds are intense, when previewing 'Internet Standard RGB (No Color Management)' the reds appear fine. The final saved images look fine with the exception of when displayed in IE, which supports embedded color profiles- Color Management.

    You're rapidly making a mess out of this. Stop, sit back, and stop thinking there's a "problem" to "fix". There isn't - you just need to use software that is color managed. That disqualifies IE right off. Stop using it, throw it away. It's useless with wide gamut displays. Use Firefox, which has proper color management.
    OK. Save For Web in sRGB, embed profile. So far so good. But:
    Don't ! set your working space to Monitor Color!. That turns off display color management which is the very last thing you want with a wide gamut monitor. You could sort of get away with that with a standard gamut monitor, because it's not all that different from sRGB anyway. So you wouldn't notice the difference (but it's there). The fact that your Adobe RGB files look right in Photoshop is purely coincidental. Any other profile will look wrong.
    With a wide gamut display you absolutely and unconditionally need a fully color managed pipeline. That means 1. an embedded document profile, 2. a valid display profile (Spectraview or other calibrator), and 3. an application that reads both profiles and does the conversion from one to the other as the image is sent to the display.
    See, it's not just the document profile. That's half of it. The other half is the display profile. IE doesn't use the display profile, instead substituting sRGB. And that's very wrong with that monitor. Firefox is fully color managed if there is an embedded document profile. But it can be configured to color manage even if the image is untagged (and a lot of material on the web is untagged). It does this by assigning sRGB to the image.
    To configure this - and you really need that with a wide gamut monitor - type "about:config" without the quotes in the address bar and hit reload. Scroll down to gfx.color_management.mode, and change it from 2 to 1. Relaunch. All web material will now appear correctly regardless.

  • Pixellated display and output

    Hi there,
    As of yesterday, images are opening at 50% the size they appear in preview for example and on the web. Unlike some other threads I've seen on this, they are also outputting with pixelatted low quality text...
    If you look really closely at the logo in the following site, the text is not smooth and crisp as the live text in the navigation - it is slightly pixellated and the quality is definitely compromised esp when viewed on the mac screen as opposed to the monitor. Anti-aliasing is on btw... Virgo Fidelis
    Another strange thing: when I move the file between my macbook pro to my samsung monitor in a 2 monitor set-up, the zoom auto changes to 50% on the samsung...
    What is going on?
    Your help much appreciated.

    Steven,
    1. If you attempt to write data to the analog output buffer before there is sufficient space available in the buffer, AO Write.vi will wait until space is available. At that time, it will write the data to the buffer.
    2. Synchronizing the file reading and the analog output does not occur in a strict sense. New data is read from file and written to the analog output buffer as the previous data is output.
    3. To obtain information concerning a DAQ device, you should use Get DAQ Device Information.vi. It is available in the following location:
    Functions >> NI Measurements >> Data Acquisition >> Calibration and Configuration
    Good luck with your application.
    Spencer S.

  • Target Group Member List Display and Output to Excel

    Hi all,
    I am using CRM 2007.  On the Web Client I want to output to excel a target group with 7000 accounts. I have 2 users. One User when the target group is selected can see all the details of all 7000  in the target group members list and when exported to excel all 7000 accounts are listed in the excel file.
    With the second user when the target group is selected only the details of 100 accounts are visible in the target group members list and when exported to excel only 100 of the accounts are output.
    The 2 users have the same roles and parameters and the personalize icon next to the excel export button also have the same settings.
    Does anyone know where the setting is that will allow the second user to output all 7000 on the list?
    Help would be greatly appreciated.
    Thanks,
    Jonathan

    Hi Jonathan,
    Open a Profile Set with user2.
    Push button "Graphical Modeler".
    When the modeler is loaded , Press button "Settings".
    On the upcoming popup, you can change the number of members that are loaded to the Target Group Member list in the WebUI in the field "Number of Members Displayed".
    Most probably, this field is empty for your second user, so the default of 100 is used.
    Note that a maximum of 9999 members can be loaded to the list in the UI. For bigger Target Groups, you must export the list to the application server using the "Export to File" button on the Target Group WebUI page.
    Hope that helps & Best Regards
    Klaus

  • The display speakers, the camera display, and all three USB outputs in the back are not working?

    The speakers, the camera display, and all the USB outputs in the back are not working.
    I was typing a paper last night when the electricity went off, and 5min later went back on, and all the display speakers, the camera display, and all the USB outputs in the back are not working.
    FYI, it's LED Cinema display.
    Solutions? Suggestions?

    Hi,
    Actually BACK is standard user command so it is not stopping and going to selection screen.
    Give some other use command like 'BCK' and try....

  • // Code Help need .. in Reading CSV file and display the Output.

    Hi All,
    I am a new Bee in code and started learning code, I have stared with Console application and need your advice and suggestion.
    I want to write a code which read the input from the CSV file and display the output in console application combination of first name and lastname append with the name of the collage in village
    The example of CSV file is 
    Firstname,LastName
    Happy,Coding
    Learn,C#
    I want to display the output as
    HappyCodingXYZCollage
    LearnC#XYXCollage
    The below is the code I have tried so far.
     // .Reading a CSV
                var reader = new StreamReader(File.OpenRead(@"D:\Users\RajaVill\Desktop\C#\input.csv"));
                List<string> listA = new List<string>();
                            while (!reader.EndOfStream)
                    var line = reader.ReadLine();
                    string[] values = line.Split(',');
                    listA.Add(values[0]);
                    listA.Add(values[1]);
                    listA.Add(values[2]);          
                    // listB.Add(values[1]);
                foreach (string str in listA)
                    //StreamWriter writer = new StreamWriter(File.OpenWrite(@"D:\\suman.txt"));
                    Console.WriteLine("the value is {0}", str);
                    Console.ReadLine();
    Kindly advice and let me know, How to read the column header of the CSV file. so I can apply my logic the display combination of firstname,lastname and name of the collage
    Best Regards,
    Raja Village Sync
    Beginer Coder

    Very simple example:
    var column1 = new List<string>();
    var column2 = new List<string>();
    using (var rd = new StreamReader("filename.csv"))
    while (!rd.EndOfStream)
    var splits = rd.ReadLine().Split(';');
    column1.Add(splits[0]);
    column2.Add(splits[1]);
    // print column1
    Console.WriteLine("Column 1:");
    foreach (var element in column1)
    Console.WriteLine(element);
    // print column2
    Console.WriteLine("Column 2:");
    foreach (var element in column2)
    Console.WriteLine(element);
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Why does final cut x not recognize the sharp PN- K321 monitor ( European version ) as output video monitor and premiere it? Working with two cinema display and PN- K321 and I can not preview the output video at 4K for DisplayPort, whereas with premie

    Why does final cut x not recognize the sharp PN- K321 monitor ( European version ) as output video monitor, and premiere yes?
    Working with two cinema display and PN- K321 and I can not preview the output video at 4K by DisplayPort, whereas with premiere and after effects I have no problems

    Look, you can build an HD DVD with an SD movie, just as you can build an SD DVD with an HD movie. This is not a bug, it is most likely user error. Apple will not be addressing it.
    Just start over, and ensure you are building an SD DVD by bringing up the inspector for the disc (click on the background in the Graphical tab).
    Make sure SD DVD is selected:
    (If you do the same thing on your ill fated project, you'll see that HD DVD is selected)
    Build your DVD and you'll be fine.
    Patrick
    P.S. You will need to google HD DVD and Blu-Ray if you want to understand the difference between the formats. The reason that DVDSP included HD DVD was that its format was similar to SD DVD's. Blu-Ray is something else entirely.

  • IE don't display JSP output. It pop up download dialong and open Dreamwea

    IE don't display JSP output. It pop up download dialong and open Dreamweaver.
    I dont' know why, but when run in Netscape is OK
    Anyone please help.

    Looks like your problem lies by the file associations, i.e. extension of your jsp file (.JSP) is associated in your operating system with DreamWeaver rather than with IE. If you are using Windows you should be able to change file associations, so that all web pages including JSP will be opened in your browser.

  • Is it possible with cDAQ to output PWM-Signal and Digital lines through same module?

    Hello
     I try to output a digital line and a PWM signal through one 9401 module. I use it for actuator control with PWm = speed and digital hig/low = direction.
    In LV, I set up cDAQ/_ctr1, then use channel property outport to set it to e.g. cDAQ/module9401/PFI0.
    But when I start a second task to use PFI1 as digital output on the same module, the vi fails with timeout error.
    Is simultaneous useage possible or will I have to use 2 modules
    Thanks for your insights.
    Michael

    Hi,
    you can upload your LV VI, because I suspect you make a mistake in you're program.
    Best regards
    Marko

  • I have an early 2008 Mac Pro, 8 gb ram with a Dell 27" display and a 42" LG TV. I am thinking about upgrading the stock ATI Radeon 2600 graphics card for better resolution, preferring 2 dvi outputs. Does anyone have any suggestions on the best card?

    I have an early 2008 Mac Pro, 8 gb ram with a Dell 27” display and a 42” LG TV. I am thinking about upgrading the stock ATI Radeon 2600 graphics card for better resolution, preferring 2 dvi outputs or 1 dvi and 1 vga vs 1 dvi and a mini. I don't do a lot of Final Cut Pro, gaming, etc. I am interested in best value for the graphics card.
    Does anyone have any suggestions on the best graphics card for these larger displays for the best value?
    Thanks,
    Kevin

    I recommend you install nothing older than the Apple-firware 5770, about US$250.
    RE: Mac Pro Replacement Graphics cards
    1) Apple brand cards,
    2) "sold in the Apple store" cards, and
    3) "Mac Edition" cards ...
    ... show all the screens, including Boot up screens, Safe Mode, Installer, Recovery, debug screens, and Alt/Option boot screens. At this writing, these choices include:
    1) Apple brand cards:
    • Apple-firmware 5770, about US$250** works near full speed in every model Mac Pro, Drivers in 10.6.5
    • Apple-firmware 5870, about US$450
    2) "sold in the Apple store" cards
    • NVIDIA Quadro 4000, about US$1200
    • NVIDIA Quadro 5000, about US$2500
    3) "Mac Edition" cards -- REQUIRE 10.8.3 or later:
    • SAPPHIRE HD 7950 3GB GDDR5 MAC Edition, about US$480** Vendor recommends Mac Pro 4,1
    • EVGA GTX 680 Mac Edition, about US$600
    The cards above require no more than the provided two 6-pin aux power connectors provided in the Mac Pro through 2012 model. Aux cables may not be provided for third-party cards, but are readily available.
    If you are Meet ALL of these:
    • running 10.8.3 or later AND
    • don't care about "no boot screens" etc AND
    • can re-wire or otherwise "work out" the power cabling, THEN:
    You can use many more cards, even most "PC-only cards"

  • Both equii join and natural join are equall.will both display same   output

    both equii join and natural join are equall.will both display same
    output?

    Hi ,
    What is preventing you to do a small test and check yourself?
    See the below link.
    http://psoug.org/reference/joins.html
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> CREATE TABLE parents (
      2  person_id  NUMBER(5),
      3  adult_name VARCHAR2(20),
      4  comments   VARCHAR2(40))
      5  PCTFREE 0;
    Table created.
    SQL>
    SQL> CREATE TABLE children (
      2  parent_id    NUMBER(5),
      3  person_id    NUMBER(5),
      4  child_name   VARCHAR2(20),
      5  comments     VARCHAR2(40))
      6  PCTFREE 0;
    Table created.
    SQL>
    SQL> INSERT INTO parents VALUES (1, 'Dan', 'So What');
    1 row created.
    SQL> INSERT INTO parents VALUES (2, 'Jack', 'Who Cares');
    1 row created.
    SQL> INSERT INTO children VALUES (1, 2, 'Anne', 'Who Cares');
    1 row created.
    SQL> INSERT INTO children VALUES (1, 1, 'Julia', 'Yeah Right');
    1 row created.
    SQL> INSERT INTO children VALUES (2, 1, 'Marcella', 'So What');
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL>
    SQL> SELECT adult_name, child_name
      2  FROM parents NATURAL JOIN children;
    ADULT_NAME           CHILD_NAME
    Jack                 Anne
    Dan                  Marcella
    SQL> select adult_name,child_name from parents a, children b
      2  where a.person_id=b.person_id;
    ADULT_NAME           CHILD_NAME
    Jack                 Anne
    Dan                  Julia
    Dan                  Marcella
    SQL> ed
    Wrote file afiedt.buf
      1  select adult_name,child_name from parents a, children b
      2* where a.person_id=b.parent_id
    SQL> /
    ADULT_NAME           CHILD_NAME
    Dan                  Anne
    Dan                  Julia
    Jack                 Marcella
    SQL>Regards,
    Avinash

  • Role and User level Risk Analysis is not displaying any output or report.

    Hello,
    I have a problem when I run risk analysis, both in foreground and background. The issue is that no report is displayed and I have followed all the instructions carefully.
    I have done the following:
    Maintained Access Risk table to contain functions and assigned it to a rule set.
    The functions contains actions and permissions that are explicitly assigned to my ERP connector in the system field in both action and permission tabs.
    I have run the sync job to update the roles in the GRC server from the ERP backend. I am surprise that no report is displayed as I have a test role that I am sure has conflict as per my function definition.
    Please advice me if there is something I am missing.
    Thank you.

    Hello John,
    Good Morning !!
    Sorry for the late reply , but to my surprise , i do not see any tab containing "Actions & Permission".
    This are the tabs that i have in NWBC
    My Home
    Master Data
    Access Management
    Rule Setup
    Reports & Analytics
    Assessments
    Setup
    I am currently on SAPK-V1005INGRCFNDA support package for GRCFND_A .
    Is there something wrong that's hapenning?? or i am looking at wrong place !!
    Under Setups , i have an option "Access Rule Maintenance" which has
    Rule Sets
    Functions
    Access Risks
    When i click Accesas rule sets , i see Risk IDS : e.g. B001, B002 etc and when i click "generate rule" in foregroubd/background",
    it does not generate any rules ,when i click
    View Action Rules
    View Permission Rules
    It shows "Table does not contain any data".
    Please guide.
    Thanks
    Regards,
    Victor

  • How to display Excel output in browser instead of client desktop

    Hi,
    Similar to PDF and Text output, Is it possible to display Excel Output In browser itself.
    Whenever we try to view the report where the output type is excel, the output opens in Excel Desktop version.
    We have a requirement where we need the output to be displayed in browser itself.
    I have tried modyfing the Viewer profiles but was not able to get the desired result. We are currently working on E-Business Suite 11g.
    Regards,
    Sandeep

    for ideas look at
    Export to Excel of a Financial Reporting (FR) Report Opens the Excel File in the Workspace Browser Window (Doc ID 1300573.1)
    and
    How to configure Internet Explorer to open Office documents in the appropriate Office program instead of in Internet Ex…
    so in your case it is vice-versa

  • Problem with inheritance and outputting values in toString.

    Hey guys, i'm having a major problem with inheritances.
    What i'm trying to do with my program is to create objects in my demo class. Values are passed to several other objects that each do their own calculations of grades and results and then outputs the result in my toString. I followed step by step the instructions in my book on how to setup the inheritance and such. I can only output everything that was created in my superclass, any other thing that was created in an object that belongs to a subclass does not display in the output at all.
    Even if I change or create new instance variables, I can't figure out for the life of myself how to output the other values.
    Because there's so much code to be splitting on the forums, I zipped my whole project in a RAR. I'll link it here
    http://www.4shared.com/file/ZleBitzP/Assign7.html
    The file to run the program is CourseGradesDemo class, everything else is either a subclass or superclass to some part of the program. After you run CourseGradesDemo, you will see the output, and understand what displays and what stays at 0.0 value. If anyone can help me out with this it would be greatly appreciated
    Thanks in advance.

    Basshunter36 wrote:
    Hey guys, i'm having a major problem with inheritances.
    What i'm trying to do with my program is to create objects in my demo class. Values are passed to several other objects that each do their own calculations of grades and results and then outputs the result in my toString. I followed step by step the instructions in my book on how to setup the inheritance and such. I can only output everything that was created in my superclass, any other thing that was created in an object that belongs to a subclass does not display in the output at all.
    Even if I change or create new instance variables, I can't figure out for the life of myself how to output the other values.No idea what you're talking about. Provide an [url http://sscce.org]SSCCE.
    Because there's so much code to be splitting on the forums, I zipped my whole project in a RAR. I'll link it here
    http://www.4shared.com/file/ZleBitzP/Assign7.html
    Not gonna happen. Provide an [url http://sscce.org]SSCCE. And don't say you can't. You definitely can. You may have to spend an hour building a new program from scratch and getting it to reproduce the problem, but if you can't or won't do that, you'll find few people here willing to bother with it.

Maybe you are looking for

  • How to pass command line parameters in calling ant file

    Hi All, I m using a Build file which calls another build file. That build file is run from the command prompt by give ant -lib <path of jars it needs for executing>. Now i m calling this file from main build file but it does not work as i m not able

  • Does JSTL functions work in custom Spaces Page Style ?

    I am trying to create a custom page style and have to write some logic where I have to use fn:containsIgnoreCase. When I create pages that use this Page Style, it throws a white page and doesnt work. I have also added the below in the root xmlns:fn="

  • How can I install ODM Java Code Generator in Jdeveloper 9051?

    Hi, I need to install ODM extension in Jdeveloper 9051 but the html file with the instructions is in blank. Someone know how? Thanks Javier

  • My iphone 4s won't update to ios 6! please help!

    My iphone 4s won't update to ios 6! I tried by my iphone it takes so long updating then it ends saying error!! I tried by using iTunes too, when it's done and installing it says error too!! this got me crazy!! any solution ? please help!

  • Need to Find a Very Responsive Mouse for Use w/ MP and Photoshop

    I have a Logitech mouse that came with my Logitech keyboard for Mac and the Kensington Studio Mouse - both wireless. But they don't work that well with Photoshop CS2 especially because the software for the Kensington doesn't work with Intel Macs and