What is the best way to display different array values to appropriate indicators?

I am using DAQmx Read vi and its output is an array. I need a way to pass each value to an appropriate front panel indicator, so I can monitor each sensor. I tried using "Index Array" and passing the array element to the indicators but it looks sloppy. Is there a more professional way? Thanks!
Attachments:
Mole.vi ‏215 KB

Try using the Array to Cluster function in the Cluster subpallet. If you put all of your indicators in the same cluster on your front panel, you can then pass the array data to this function and then pass it directly to the cluster without having to index the array.
criag

Similar Messages

  • What is the best way to display a Interactive Report having 20 columns

    Hi,
    I am having a Interactive Report having many columns (around 20).
    What is the best way to display that report...by default we have to scroll it horizontally to see all the columns.
    I want to avoid Horizontally Scrolling.
    Thanks,
    Deepak

    Hello Deepak,
    You mean apart from using a smaller font size or a bigger monitor?
    You can think about combining / wrapping columns (so more data in one column).
    Or hide some less important data and show that only on demand.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • What is the Best Way to Display a ClobDomain Field on a jspx Page?

    I have a ClobDomain field in my table that I need to display in my jspx form. What is the best way to go about this? I can't just drag and drop the field from my View and place it onto the form.
    Thanks.

    Apply a swap image behavior to the image. DO NOT ENABLE THE
    AUTOMATIC
    RESTORE.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "BillC-Bos" <[email protected]> wrote in
    message
    news:gp0utj$rmk$[email protected]..
    >I have what I imagine is a simple challenge but I after
    reviewing the forum
    >and
    > the DW workspace it seems that the technique I might try
    in GoLive are not
    > really the best way to go.
    >
    > I have a small graphic that when clicked should change
    to a different
    > graphic
    > to indivate that the site's visitor already clicked that
    graphic (which
    > links
    > to a detail page). There are many detail pages and the
    solution to
    > providing
    > navigation from one main page drastically limits the
    amount of information
    > provided on the "master" page making it necessary to
    provide some way to
    > indicate to the visitor that they already selected that
    option - so they
    > can
    > either avoid that link or return to it if they wish.
    >
    > So the "master" page will show an image (icon) that will
    change once the
    > visitor has clicked it. I am not sure how best to make
    this happen and can
    > use
    > some help or guidance. Thanks in advance for you help.
    Be well.
    >
    > Bill C
    >

  • 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

  • What's the best way of displaying output in other VI ?

    For example, in a sub-vi I continuously acquire a motor position, and I want the position value to be displayed simultaneously in a numerical indicator or waveform in the main vi.
    I know there are lots of ways to implement this easily, but I just want to know what's the best way which use lest computer resources, say memory....
    Can control reference be used effectively for this?
    Thank you for your suggestion.
    Dejun

    here is an example (in LV7.0) of what Dennis is refering to.
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion
    Attachments:
    ctrl reference folder.zip ‏7 KB

  • What is the best way to display text?

    Hi,
    I am developing a full screen presentation. I like to know which is the best way to display text with different styles and fonts.
    When i use JLabel, i have to use HTML. But the presentation is not good as it does not have anti-alias property. Also i want the background to be seen behind the text. Note that all the text in a paragraph is not of same style. I want some words to be in different color and style.
    Thanks,
    Mathan

    It works alos with JTextPane:
    Try this :
    import java.awt.*;
    import javax.swing.*;
    public class MyTextPane extends JTextPane  {
         public void paintComponent(Graphics g) {
              Graphics2D g2d = (Graphics2D)g;          
              g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);          
              super.paintComponent(g2d);
         public static void main(String[] args) {
              JFrame f = new JFrame("test");
              f.getContentPane().add(new JScrollPane(new MyTextPane()));
              f.setBounds(200,200,300,400);
              f.setVisible(true);
    }Denis

  • What's the Best Way to do Different Takes?

    Hello there ...
    I'm slowly making my way around Garageband ... I did a recording the other day of a combo ... electric piano, bass, drums, sax, and a vocalist ...
    It was the first recording I've ever done in my life ... and I am amazed at the results .... it sounds pretty darn good. I'm fortunate that I have good mikes and a presonus preamp ... as I'm sure that helps a lot.
    That said ... there are things I would do differently now ... and I want to ask how I would best do them ...
    For example ... I just tracked one huge file ... then found out I would have to cycle each region and export them to make separate files as tracks on a cd.
    The cycling thing worked great ... except that all the parameter changes I made on a region to make it sound better (depending on the cut) affected the whole recording.
    So I realize I need to make whole new files for every take for when it comes down to mixing ...
    My question is ... what is the best way to do this? Just do a "save as", rename ... and then delete everything that was recorded from the previous take and start fresh?
    Thanks for any advice .....
    I also noticed that when I adjusted the volume of part of a track using the graph points in the expanded track volume panel ... that I couldn't go back and adjust the original main individual track volume in the track input bar window. It became greyed out ... am I missing something there?

    Now, if a particular take sounds good but you want to
    change your effect settings, save as a different
    GarageBand file and delete all the less-great takes.
    This will be your master for that tune. You will
    still have your other file with everything on it, but
    this is the best way to preserve the many and note
    the exception.
    Hi Schneb ...
    That sounds like a very good solution .... that way I would not waste any time during the session doing all those "save as" between takes .... I would just stop recording ... then start again and make a new region.
    It makes a lot of sense to do the "save as" thing later and then just delete everything but the particular region (take) you want to work on ...
    Thanks ...!
    About the volume thing .... so once you fiddle with expanded volume track settings .... you can no longer manipulate the track slider volume?
    If so ... I remember there is some sort of command to restore the track volume to its original is there not? At least that way you can start over ...

  • What is the best way to display errors to users when using JSPs?

              Hello,
              Could someone suggest me the best way to display errors to users when using JSPs?
              Many thanks in advance.
              Rino
              

              Thanks for the code snippet!
              Rino
              "Deepak Vohra" <[email protected]> wrote:
              >
              >
              >The 'errorPage' attribute of the 'page' directive forwards uncaught run-time
              >exceptions
              >to an error processing page. For example:
              >
              ><%@ page errorPage="error.jsp" %>
              >
              >redirects the browser to the JSP page error.jsp if an uncaught exception
              >is encountered.
              >
              >
              >Within error.jsp, indicate that it is an error-processing page, via the
              >directive:
              >
              >
              >
              ><%@ page isErrorPage="true" %>
              >
              >The Throwable object describing the exception may be accessed within
              >the error
              >page via the 'exception' implicit object.
              >
              >
              ><% if (exception != null) { %>
              ><p> An exception was thrown: <b> <%= exception %>
              >
              ><p> With the following stack trace:
              ><pre>
              >
              ><%
              > ByteArrayOutputStream ostr = new ByteArrayOutputStream();
              > exception.printStackTrace(new PrintStream(ostr));
              > out.print(ostr);
              >%>
              ></pre>
              >
              >
              >
              >"Rino Srivastava" <[email protected]> wrote:
              >>
              >>Hello,
              >>
              >>Could someone suggest me the best way to display errors to users when
              >>using JSPs?
              >>
              >>Many thanks in advance.
              >>
              >>Rino
              >
              

  • What is the best way to display image ??

    hi my questions is unusual, there are so many ways to display images.
    I m developing image processing s/w can any one suggest me which would be the best way to display image on which i can perform image operations.
    like in JPanel, icon, trhough paint() or anything else...
    thank you..In advance

    hi man... i think so imaging is better with JAI(Java Advanced Imaging) .... is perfect for display in jcomponent like JPanel or JLabel, you have to replace the paintComponent().
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Rectangle;
    import java.awt.geom.AffineTransform;
    import javax.media.jai.PlanarImage;
    import javax.swing.JComponent;
    class ImagePanel extends JComponent {
         protected PlanarImage image1;
         protected AffineTransform atx= new AffineTransform();
         protected int width, heigth;
         public ImagePanel() {
         public ImagePanel(PlanarImage i) {
              image1= i;
              width= i.getWidth();
              heigth= i.getHeight();
         public void paintComponent(Graphics gc) {
              Graphics2D g= (Graphics2D)gc;
              Rectangle rect= this.getBounds();
              if ((width != rect.width) || (heigth != rect.height)) {
                   double magx= rect.width / (double)width;
                   double magy= rect.height / (double)heigth;
                   atx.setToScale(magx, magy);
              if (image1 != null)
                   g.drawRenderedImage(image1, atx);
    if you need more info, ask about JAI api and docs

  • What's the best way to record different articulations in 1 phrase?

    In my first violins I am using forte legato, pianissimo pizz, forte tremelo and forte marcato in 1 phrase within 4 bars. What now would be the best way to record this? I am using Peter Siedlaczek's Complete Classical Collection. Do I make a seperate track for every effect and record 1 bar on every track? Or do I use the Key Switch for every effect withing 1 track? What is the most easiet way of working and especiallyu, what used not all my processor power? I only have a PowerPc with w GB ram.

    Seems like you've answered your own question as those are the two ways to do what you are trying to do. Using the key-switch will be less CPU intensive than using multiple instances of the plugin.

  • What is the best way to save different versions of a project?

    I am working on a documentary with hundreds of hours of footage. I've been told that to avoid file corruption, I need to regularly save different version of the project. I've done some research and there appears to be different ways to do this.
    In Lisa Brenneis's FCP book, she suggests using "Save As" to protect one's work (renaming the old copy with a version number, and using the same name for the most updated version). This makes sense to me, since this would avoid FCP creating new capture folders every time I change the name of my project. However, I'm wondering if there is a difference between doing Brenneis' technique or duplicating the project.
    Are there different schools of thoughts on this? Does anyone have a system that works for them that they recommend? I've done research and I can't find anything on this topic, other than issues with backing up (I'm working with several hard drives - but what I'm most concerned about is avoiding file corruption and making sure my media isn't all over the place).
    Thanks for sharing!

    Good topic!
    I use the technique of popping over to Finder and using command-D
    to make a copy every once in a while. Then at the end of the day,
    I'll make a copy of the session to another disk. Whenever I've done
    a lot of work that I never want to lose, I take a copy to another location.
    If a backup is super-important, be sure to test it!
    It only takes a minute to quit FCP, and double-click on the backup.
    When I return to work the next day, after making sure my project opens,
    I delete all the "copy" files, then make a new one and the process repeats.
    When I output the edit for others to work on or approve, I will make
    a special copy of the project with the date encoded in the file name,
    Japanese-style (e.g. MyProject_2009-01-22.fcp and RoughEdit_2009-01-22.mov),
    then I never touch that file. Doing the dates Japanese-style means
    that they will be organized chronologically in Finder.
    Keeping these intermediate projects means that people can refer
    to very specific times on specific versions, and I can find exactly
    what they are talking about.
    As far as media goes, most people do not back up tape,
    because it's such a pain (you need two drives). People tend
    to keep their tapes in a box somewhere. This can work OK
    if you never use Capture Now.
    Since capturing from tape is such a time-consumer,
    and since I don't usually work with tape anyway,
    I focus on good disk backup. Ideally I'll have a disk
    and a backup at home, and a copy of the media files
    at another location.
    Be sure to keep the backups organized and named
    carefully so you can FIND what you are looking for
    if you need to. Adding a little text file in your folder
    explaining stuff is not a bad idea.
    People talk a lot about media failure, and yes all media
    will fail someday, but I use backups mostly because
    of my mistakes, like deleting the wrong file or something
    stupid like that.
    Be sure to back up all the other little files you might be
    using in a project, like Filemaker databases, graphics files,
    important emails, hours logs, etc.
    It's good that you are thinking about this important topic.

  • What's the best way to display my lightroom pictures onto my TV via Apple TV? i..e make a slide show

    This was done flawlessly with aperture but Apple doesn't like non-apple products so I was not sure if there was an easy way to do this?
    I want to choose pics from my various collections and see them on my tv using apple tv.  I would rather not COPY the pics to a new location since there are many many gigs of pics and they are all stored on my networked drive.  Anyone using a Mac and apple tv manage to figure out how to do this with Lightroom 5?

    Ok - see if I can do it 'the hard way' ....
    Hi Jeff,
    By "Output Only Folder”, I am suggesting a folder that you export to, via LR, and then never re-import it … it’s just a place to dump the images and since you can re-create them any time, you could delete it at will.
    Here’s the Export Dialogue I have setup from LR to iPhoto …. The optimal output dimensions are 1920 x 1080.  If you crop each image to that ratio, which is the same as 16 :: 9, then the images will fill the screen.  Otherwise just let one of the dimensions max out and the other will fall suit to 1920 or 1080 or lower as the case may be and it will map onto the Plasma at 1 :: 1 – so the Apple TV won’t have to scrunch it again.
    My  output dialog follows.  Note that it sets it up to go under Users/Jim/Caches/iPhoto Cache and then I setup a sub-folder name right underneath which I change (it’s Merc in this example).  So, this becomes the folder in iPhoto – and I can move that into an album or not as I wish.  See the iTunes screen shot a little further down.  The dimensions are setup to 1920 x 1080 at 100%.  The last section, under Post Processing, causes the folder to get read by iPhoto as soon as the Export finishes running and, voila, they are in iPhoto.  I can then clean iPhoto out when I wish.  Yes, it’s a duplicate – but these JPEG’s are smaller than the raws….maybe 300-400kb.
    (side note – the LR Mogrify section is a section you will NOT likely have – it’s merely a plugin I have that allows me to put some borders around output images, watermarks and so forth as the last step in the process – strictly optional but occasionally useful.  It’s not expensive – just google for it)
    Then here’s how it looks when it arrives a second or two later in iPhoto.  So, you can manage these into Albums, etc.  Then look to the bottom for the iTunes interaction.
    From the iTunes menu, select File | Home Sharing | Choose Photos to Share with Apple TV
    Then …..
    Note in the left panel, I have checked Last Import – where this photo was – but you could move/arrange the photos into new Albums and then they would show up and you could select them.  After you select then and Apply, turn on your Apple TV – and it may take a few minutes to sync up.  But then it’s done and you can choose Transitions and so forth on the ATV to nicely display them.
    Jim Camelford

  • What is the best way to create diagonal array in order to avoid MEMORY IS FULL error created by using INITIALIZE ARRAY vi?

    Using the values in a 1D array, I need to place them along the diagonal of a 2D array. Currently, I've been using INITIALIZE ARRAY VI to create 2D array of zeroes and then usE REPLACE ARRAY SUBSET to put the 1D array values on the diagonal. This works sometimes but I often get an error stating that the memory is full and that the application was stopped at INITIALIZE ARRAY.
    I'd appreciate any advice on how to stop this from occuring.
    Thanks and happy holidays,
    Hunter (LabView 6.1 user)

    Weather is the same here, too.
    Sorry about the PDF. I had forgotten about the PRTSCN option. See the attached JPG.
    I'd send you an example input that is giving me problems but today, my computer seems to be behaving and the error hasn't popped up. This makes me believe that it's truly a memory problem with my machine.
    This VI is a subVI used in several computationally intensive applications.
    If you're still interested in playing with it, I will email it to you. Please send me your address. In fact, I see you're in the oil & gas industry and I'd like to hear what you're working on since I work in that industry as well.
    Thanks again, Hunter ([email protected])
    Attachments:
    VI_Diagram.jpg ‏104 KB

  • What is the best way to display list of software titles for sale?

    I am a small retailer that would like to display a list of approximately 15-30 software titles in the most professional way (with prices).
    Can anyone recommend a layout that would serve this purpose, the ones in the template just don't seem to cut it.
    If anyone wants to email me an example, I'd really appreciate it.

    Probably your best bet would be to browse the websites or catalogs of other software stores to see what strikes you as professional, and use that as an inspiration to design your own.
    Also, there are many websites with additional iWork templates--here's one:
    http://www.iworkcommunity.com/
    and google turns up more.
    I can think of a few different ways to present a list of 15-30 software titles with prices (one column, two column, sub-categorized by maker, sub-categorized by function, sub-categorized by sale vs. regular price), but only you have the knowledge to know what system is most likely to appeal to your customers and match the overall graphic presentation of your store.

  • What's the best way to display color-coded telemetry?

    I have an array of up to 64 name-value pairs -- one for each sensor channel (thermocouple, pressure transducer, etc.).  I would simply use an array of clusters with the name and value, but I also want to be able to flag when a particular value goes out of limit.  I want to change the background color of the value to yellow or red depending on the value.  As I understand it, I cannot change the properties of individual items in an array.  :-(  So I'm forced to explicitly lay out 64 string and numeric indicators (even if I'm not using them all)!  Yuck.
    Surely I'm not the first LabView user who wants to color-code a telemetry array display!  Is there a better way to do this?  I've looked at the multicolumn list box but that seems to be aimed at allowing the user to select something from a list -- not strictly display things.  Besides, I don't see a way to change the colors of an individual cell for the listbox either.
    Please help!
    Keith.

    OK, I added defer panel updates and it did speed up the table and listbox significantly (down to around 3 ms) but still not as fast as the cluster array.  (BTW, replacing the active cell read with a constant had no effect.)  But here's what's weird: with the defer, the cluster array is incredibly slow -- around 7 ms!  Not sure what to make of this other than avoid property nodes at all costs -- even if it means using an ugly transparent indicator hack so I can change the BG color ...
    Attachments:
    Telemetry.vi ‏56 KB

Maybe you are looking for