How Can I do to make an interactiv​e user interface?

I have to make a virtual laboratory, with a oscilloscope, multimeter, function generator and power supply, i don´t know how can interconnect the different outputs of the devices, How can I draw for example a probe and put it in the function generator output if i want to show the output signal of the function generator?
THANKSSSSSSSSSS

Well, dynamically drawing objects on the screen isn't one of LabVIEW's strong suits, imho. I suppose you could put a picture control on the front panel and draw the connections but I would assume you also want the front panel to display the controls and indicators of the instruments as well. With the picture control on top, you can't directly click on the controls so you'd have to do a lot of work detecting mouse clicks, determining coordinates, and programtically activating controls. If you're willing to forgo the graphical look of wires connecting inputs and outputs, a table representation would be a lot easier to implement. One column could represent an instrument's output and another column would be an instrument's input. Have something like a "Create Connection" button that pops up a list of possibilities and let the user add and delete them. I have done graphical representation of matrix switches using lines from the decorations palette. The program changed the color of the lines as the user made desired connections. The instruments were represented as Booleans that the user had to click to configure and view results. If that sounds like it might work, let me know and I'll try and find the code I did. It was pretty tedious to do as well.

Similar Messages

  • How can I improve the response time of the user interface?

    I'm after some tips on how to improve the response time to mouse clicks on a VI front panel.
    I have  data acquistion application which used to run fine, but after spending a couple of weeks making a whole bunch of changes to it I find that the user interface has become a bit sluggish.
    My main GUI VI has a while loop running 16 times a second, updating some waveform charts and polling about a dozen buttons on the front panel.
    There is sometimes a delay (variable, but up to 2 seconds sometimes) from when I click on a button to when it becomes depressed. I have wired the iteration terminal of the while loop to an indicator on the front panel and can see that the while loop is ticking over during the delayed response to the mouse click, so I know that the problem is not that the whole program is running slow, just the response to mouse clicks.
    Also, just for debugging purposes, I have indicators of the iterations of all the main while loops in my program on the front panel, so I can see that there are no loops running abnormally fast either.
    One thing I've tried is to turn off multi-threading, and this does seem to work - the response to mouse clicks is much faster. However, it has the side effect of making the main GUI while loop run less evenly. I was trying to get a fairly smooth waveform scrolling across the screen, and when multi-threading is off it gets a bit jerky.
    Any other suggestion welcome..
    (I am using LabVIEW 7.1, Windows 2000).
    Regards,
    Mark.

    Hi Altenbach,
    Thanks for your reply. In answer to your questions:
    I am doing both DAQ board and serial data acquisition. I am using NIDAQ traditional for the DAQ board, and VISA for the serial. I have other similar versions of this program that do only DAQ board, or only serial, and these work fine. It was only when I combined them both into the same program that I ran into problems.
    The multiple while loops are actually in separate VIs. I have one VI that acquires data from the DAQ card, another VI that acquires data from the serial port, another VI that processes the data and saves to file, and another VI, the GUI VI, that displays the data in graphs and charts.  The data is transferred betwen the VIs via LV2 globals.
    The GUI VI is a bit more complicated than I first mentioned. It has tab control, with 4 waveform charts on one page, 4 waveform graphs on another page, and 3 waveform graphs on another page. The charts have a history length of 2560, and 16 data points are added 16 times a second. The wavefom graphs are only updated once per minute.
    I don't use the value property at all, but I do use lots of property nodes for changing the properties of the graphs and charts e.g. changing plot colours, Y scale range etc. There is only one local variable (for the Tab control). All the graphs and charts have data wired directly to their terminals.
    I haven't done any profiling yet.
    I am building arrays in uninitialised shift registers, but this is all well under control. As the experiement goes on, more data is collected and stored, and so the memory usage does gradually increase, but only to the extent that I would expect.
    The CPU usage is 100%, but I thought this was always the case when using NIDAQ  with DAQ cards. Or am I wrong about this? (As a side note, I am using NIDAQ traditional, but would NIDAQmx be better?)
    Execution priority of the GUI vi (and all the other VIs for that matter) is set to normal.
    The program is a bit large to post here, and I'm not sure if my company would be happy for me to publicise it anyway, so I suspect that this is turning into one of those questions that are going to be impossible to answer.
    Just as a more general question, why would turning off multi-threading improve the user interface response?
    Thanks,
    Mark.

  • How can I hide or make visible the fields at the order and at the delivery?

    How can I hide or make visible the fields at the order and at the delivery?
    Thanks in advance.

    Hi,
    For sales order, use user exit :
    MV45AFZZ and FORM userexit_field_modification.
    For deliveries, use BADI :
    LE_SHP_DELIVERY_PROC (see with Tcode SE18) and method CHANGE_FIELD_ATTRIBUTES.
    Create implementation in ref to this badi with Tcode SE19.
    Regards,
    Lionel

  • How can i do to make the iPod play the next album when the albums that it's playing finish?

    How can i do to make the ipod play the next album when the album that is playing finish? because when tha album that i'm listening to is over ihave to select another, and i want to listen all the albums continuously
    Thanks

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, then sign back in with the other ID.  When you delete the account it will prompt you about what to do with the iCloud data.  If you need to migrate it and merge it with the data in the new account choose Keep on My iDevice; then choose Merge to upload the data and merge it with the new account.  If your data is already in the other account and you don't need to migrate it to the other account, choose Delete from My iDevice.

  • How can I embed a JPEG so that Windows users....

    How can I embed a JPEG so that Windows users will not have to open it as an attachment? I have a flyer I've converted to a JPEG, and I need to send it out to my contacts. Problem is, a lot of people are too lazy to open attachments in outlook.
    How can I make it so even (ugh) Window's users will just open the email and see the flyer?
    Thanks a lot!

    Dont think you can on ipad numbers.
    Jason

  • How can I get Disco Viewer to remember the user's final filtered worksheet?

    Hi every one:
    How can I get Disco Viewer to remember the user's final filtered worksheet?
    Each time the users login they have to make several operations (drillings, pivots, etc) to get their reports customized as they want. I wonder if is there a chance I could configure Disco Viewer in order to remember the last worksheet layout, and set it as the initial worksheet the next time the user login?
    Thanks in Advance
    Jorge

    Once your users have customised the report to their requirements, they can add the URL of final data diaplay screen to their favourites menu in the browser.
    Next time they want to run the same report, they can access the URL saved into favourites, they'll just need to enter their password to run the report when prompted.
    I know that this works with Oracle Applications user id's, and that the URL "remembers" User Name, Oracle Apps Responsibility, Workbook Name, and Paramteters Used, Table Layout Customisations, and Page Item selections... so in theory it should record Drill information too.

  • How can I get Disco Viewer to remember the user´s final filtered worksheet?

    Hi every one:
    How can I get Disco Viewer to remember the user's final filtered worksheet?
    Each time the users login they have to make several operations (drillings, pivots, etc) to get their reports customized as they want. I wonder if is there a chance I could configure Disco Viewer in order to remember the last worksheet layout, and set it as the initial worksheet the next time the user login?
    Thanks in Advance
    Jorge

    Once your users have customised the report to their requirements, they can add the URL of final data diaplay screen to their favourites menu in the browser.
    Next time they want to run the same report, they can access the URL saved into favourites, they'll just need to enter their password to run the report when prompted.
    I know that this works with Oracle Applications user id's, and that the URL "remembers" User Name, Oracle Apps Responsibility, Workbook Name, and Paramteters Used, Table Layout Customisations, and Page Item selections... so in theory it should record Drill information too.

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • How can I share my iTunes library with another user on my laptop?

    How can I share my itunes library with another user on my laptop?

    If you type "Shore itunes library" into the search bar at the top of this page by "Support" you will find:
    iTunes: How to share music between different accounts on a single computer

  • How can i share purchased apps between 2 diff users on the same mac?

    How can I share purchased apps between 2 diff users on the same mac?

    A purchased app is associated with an Apple ID. A user with a different Apple ID cannot use the app unless they also use the same Apple ID.
    I cannot use my wife's apps nor she mine because each were purchased with different Apple IDs.

  • How can I set up my Mac for two users to share photos, music etc

    How can I set up my Mac for two users to share photos, music etc?

    On the Mac with the libraries you want to share:
    iTunes Preferences click on the Sharing tab and put a tick in 'Share by library on local network'.
    iPhoto Preferences click on Sharing and put a tick against 'Share my photos'.
    When launching the same apps on other Macs on the network the libraries should be available, listed on the left.

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • How can i save music and pictures so all users can access them?

    how can i save music and pictures so all users can access them?

    Hi, this should be your answer as for sharing music. For photos though, I would assume you can do the same thing. Hope it helps!
    http://support.apple.com/kb/ht1203

  • How can I import Firefox bookmarks, now stored in User folder on same (new) PC, into Firefox?

    How can I import Firefox bookmarks, now stored in User folder on same (new) PC, into Firefox? I have exported the Firefox bookmarks from my old PC into a [Windows 8] folder on my new PC.
    When I use the Firefox import facility, it will only import one bookmark at a time - and then it bookmarks all the main pages on the bookmarked website, not just the one which I originally bookmarked. It also does not import the information stored in the bookmark tag.

    Sure thing.
    # Open the run dialog by holding the Windows key and pressing R
    # Type <code>%appdata%</code> into the run window and press ok
    # Open the ''Mozilla'' folder
    # Open the ''Firefox'' folder
    # Open the ''Profiles'' folder
    # Copy the folder that is located in this folder to a USB drive
    # Install and run Firefox on the new computer
    # Close Firefox
    # Repeat steps 1 to 5 on the new computer
    # Open the folder that you copied from the old computer
    # Copy the contents of that folder into the folder located inside of the new computer's profile folder
    # Allow Windows to replace any duplicate folders with the ones that you are copying onto the computer is prompted
    If you have any problems following these instructions or if you need further help, please feel free to comment below.

  • How can i hide a pages file from other users

    How can I hide a pages file so other users can't open or see it?

    My own tip is to save this kind of doc in an encrypted disk image (the .dmg items)
    Such item resemble to every downloaded installer so it doesn' take special attention and the encryption scheme is an efficient one.
    Yvan KOENIG (VALLAURIS, France) dimanche 21 août 2011 14:53:01
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

Maybe you are looking for