Modifying the Labview window
I've barely ever used Labview before, so I'm coming at it from a newbie perspective, so be gentle.
I currently write data acquisition programs in Visual Basic or C++, so I am used to making the window look exactly the way I want for subject feedback studies. Is it possible to make the Labivew output window look exactly the way I want? This would mean I would only want a graph of a single channel on the window, without buttons, menus, etc to clutter the display up. I would control the program either through the keyboard or by a context menu.
Also, does Labview have profiling features? So if I want to time how long a certain VI takes to run, is this possible?
Thanks
[Tim]
tben60 wrote:
I currently write data acquisition programs in Visual Basic or C++, so I am used to making the window look exactly the way I want for subject feedback studies. Is it possible to make the Labivew output window look exactly the way I want? This would mean I would only want a graph of a single channel on the window, without buttons, menus, etc to clutter the display up. I would control the program either through the keyboard or by a context menu.
Absolutely. Look at the Event Structure. You can create an event case to handle the pressing of a keyboard key or the activation of a context menu. I would also recommend making an event case for VI Front Panel Close to you can perform some cleanup and close you application.
tben60 wrote:Also, does Labview have profiling features? So if I want to time how long a certain VI takes to run, is this possible?
Check out the Tools Menu. There is a Profile submenu.
tben60 wrote:
Thanks
[Tim]
You have a GREAT name.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Similar Messages
-
How to disabled (grey) the menu's options in the LaBVIEW window?
HI,
I would like to disabled (grey) all the menu options (e.g: File, Edit, Operate, Tools, Browse, Wndow, Help) in the LabVIEW window.
Note: This when the program is ready for users. I would like them NOT to be able to see these menu options.
How can I do this?
Kind Regards,
Amaloa S.Hi,
Thanks!
This helped!
Kind regards,
AS -
Hi all,
I need to run two applications in my system at same time. one of the application is labview. it is running in backside. the dialog boxes which i created in labveiew need to display in fron of all applications.... what should i do to do that.....any suggestions...
thanks in advance
Regards,
RaguThe easiest thing to do (but can be bad) is to make the LabVIEW window modal. This will make it the front most window at all times, until the program stops executing. As you can imagine if you don't have a way to close the window then you will be forced to kill LabVIEW through the taskmanager.
To make window modal go to VI Properties (by right clicking the VI's icon) go to Window Appearance, click Customize, then under Window Behavior select Modal.
The other more complicated solution is to use Dll calls to bring the window to the front.
Message Edited by Hooovahh on 07-02-2009 08:44 AM
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously. -
Minimize/Maximize LabVIEW window
The labview application designed to detect clicks in audio via sound blaster input.
In order to run the application you can create a loop between sound blaster input and sound blaster output. Then you have to generate sinus tone via sound blaster output.
The problem is as follows:
1) Run the application.
2) Minimize and maximize the labview window while running.
The following error message shows up:
3) It seems that once in a few Minimize and Maximize an unexpected notch shows up in “Waveform chart”, probably because of task priority?
Attachments:
ClickDetector.vi 84 KBUse Front Panel Windowtate Property you can set the state of the FP to maximum, minimum, or even hidden (I believe this wont even show in the windown bar at the bottom of the desktop.
-Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA -
Changing the minimum window size in Calendar
I keep two programs open side by side on one of my "Desktops." They fit next to each other side by side and filled the entire screen. iCal was one of those applications. Since upgrading to Mountain Lion, the default minimum window size appears to be larger than it was in Lion. Now Calendar.app obscures part of the other application on this desktop.
I've searched around on the internet for hours looking for a way to modify the minimum window size to restore the "side by side" configuration, but I have not been able to find anything.
Does anyone have any advice on how to tackle this?
DonI just upgraded to mountain lion. I cannot reduce the size of ical to fit with mail on my 15" macbook pro. In checking around, the new calendar does not allow us to size the window as we want. This is a big miss for apple. we need to be able to size windows as we see fit. also, in lion, and now mountain lion, we only have the option of the stupid fake-leather looking calendar. We should have options for this, too.
Please let me know if there is a fix for sizing the ical window as we previously had in lion. Apple, if you are listening, go for simplicity and flexibility. Let us decide window sizes, look, and anything else.
thank you
john -
TestStand sequence launchs Labview Window
When I open a sequence in TestStand 3.5 consequently Labview is opened. But I have a test bench where this doesn't happen. (note: the bench are software and hardware identical, but assemblied in different moment). Moreover, when I launch my testing application (that recalls a teststand sequence), on the first bench appears always the labview window, while on the second bench none labview window is opened.
I'd like to reproduce the second behaviuor: none labview window is opened.
There is a particular setting in teststand to block the labview window?
Note: the testing application and sequences are the same on the two benchs. The bench setting are identical. I controlled every setting between the two benchs.
Solved!
Go to Solution.There is a setting that I just found out about in the LabVIEW.ini file. It disables the Getting Started Window dialog on LabVIEW 8.6. It might work on LabVIEW 7.1 and may be present on one of your two test computers.
Can I Disable the LabVIEW Getting Started Window On A Macintosh?
The setting is "showNoNavDialog". Look on your computer that is behaving as desired and see if this setting was added (would be set to TRUE).
\Program Files\National Instruments\LabVIEW x.x\LabVIEW.ini
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness -
I am performing a data aquisition in one VI at 10000 Samples per second, then averaging 100 samples every 10 msec. This runs in a loop and I monitor the time of the loop. Another VI pulls the single point result of each 10 msec average and plots it to a graph.
If another window on the Windows XP operating system is re-sized the LabVIEW VI performing the Acquisition suspends until the resizing is complete and I can watch the loop time go from 10 msec to whatever time the other window is being manipulated (100, 200 300 msec...). The resulting graphical display will then show the next averaged plot point (this is a point to point drawing) without any of the 'real' analog activity that occurred during these +10 msec interruptions (the dataq VI pulls more than 100 samples to perform the averaging).
Does anyone know how I can prevent the resizing from taking such a high priority on the CPU? For various reasons I do not want to change my data acquisition scheme.chrisger says: "if you want to pass data without loss you should use a method that allows buffering of data, e.g. queues. Take a look at the LV documentation (there are several solutions, but a named queue is the easiest way to go for such sort of applications)."
Actually, one VI is running as the executable and the other is called dynamically. The Dynamic VI uses a queuing vi common to both to access the data. This part works well, it is the interrupt of the main vi perfoming the data aquisition that is the problem.
Because I am not using the full buffer of data, but only whatever portion is acquired and then averaged, the graphing vi essentially gets two (software timed) points and draws between them.
I realize software timing is bad, but I am kinda stuck with this scheme. So, I want to minimize the interruption when a non-related window is re-sized. -
How can I make the LabVIEW CGI write to the same client window twice?
I'm building a CGI VI using LabVIEW 6i and the Internet Dev. Toolkit. I would like this VI to write to the same client browser window twice. The first reply will just be a confirmation that the form has been submitted, and the second reply will be the results from a measurement. Is there any way this can be done? I have tried to use the "CGI Write Reply.vi" twice in the same CGI VI, but only the first reply is received in the client window.
Very nice interface! It sounds like you might want two separate steps and two separate CGIs (or one CGI with a "step" flag). Here's one idea:
1. Pass the configuration info from the form, initiate the measurement, and return a confirmation page to the user. Embed something in the result page (a hiddden variable on a second form, perhaps?) that will identify the measurement that was requested upon a subsequent CGI call.
2. Either have the second form/CGI automatically submit itself after time T, or else allow the user to submit it. Use the hidden variable to identify which results set is being requested. If the measurement is finished, return the results; otherwise, return another confirmation page with a new time estimate.
Best of luck,
Jo
hn -
How to replace the LabView logo at the top left corner of running VI windows
Hi All
I need to replace the Labview logo (at the top left corner of the windows) when my VI is running. Same thing applies for any of the pop up windows I have in my program.
I have a .jpg file of the logo I would like to replace the Labview logo with. I would appreciate any help on the best way to go about this.
Thanks in Advance> It's also worth bearing in mind that since you have a .jpg there are free online converters that will generate the .ico file from your .jpg if you don't have access to a graphics package that allows you to make .ico files.
> Is there a way to convert the current logo I have .ico??
Seems like I am now able to read into the future. Better play the lottery at the weekend!
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets -
Labview code for closing the command window
Hi,
This is naveen.Actually we are using 3rd paty test software for our mobile hardware testing which creates an DOS or Command window after execution.We have automated to execute this software using labview.the problem we facing is that we couldn't run the test software unless we close or kill the dos window opened in the previous run.So i like to know whether you have any labview code for closing or killing the DOS window ,i request you help me in this regard.
regards,
NaveenUse the System Exec VI Owning Palette: Libraries & Executables VIs and Functions.
And take a look here http://www.tech-recipes.com/rx/446/xp_kill_windows_process_command_line_taskkill/
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far) -
The garage window band has remained me too great and I cannot accede from any way to the corner to modify the size. Due to this I cannot accede to the red button to initiate a recording.
Two things to try:
with some Applications it helps to hold down the the "Option Key" while pressing the green "maximize Window" button.
If that does not help try this Apple Script:
--Open the AppleScript editor (in Applications -> Utilities), paste the following and run it:
tell application "Finder"
set {d1, d2, d3, d4} to (get bounds of window of desktop)
end tell
tell application "GarageBand"
set margins to {d1 + 10, d2 + 54, d3 - 10, d4 - 148}
set bounds of window 1 to margins
end tell
Good Luck
Léonie -
Modify the title and the label of buton close of the help window popup
Hello everybody.
I am looking for a way to modify the title of window popup and the label of the close buton of the popup window help text.
In my item template item, I am using the following in order to pop the window help :
<a href="javascript:popupFieldHelp'#CURRENT_ITEM_ID#','&SESSION.')
Thanks for any help.
LilaHi lila
Let us say that you have page 1 on which you want to show help for some item....
So in Post Element Text you can put an image tag ( for help) which onclick will call the function ...
function helpWin()
var URL = 'f?p=999:2:&SESSION::NO::';
w = open(URL,1,"Scrollbars=0,resizable=0,width=600,height=600");
if (w.opener == null)
w.opener = self;
w.focus();
so page 2 is your customisable help page...in which you can put page title ,customise button etc....
hope it helps
thanks
-prashant -
Is it possible to run LabVIEW 7.1 and 8.5 under the same Windows installation?
We have an older version of LabVIEW (7.1) which includes functionality for Event Notifications and the base version of LV8.3, which does not seem to contain this functionality.
Is it possible to run both of these from the same Windows Installation? If not I plan to create a new partition and a new Windows installation just to accomodate the two of them.Something else to consider is windows compatibility. If you are running LabVIEW on Vista, I would highly discourage installation of Lv 7.1 and 8.5 on the same machine (even if they were different partitions), since there are some significant issues in terms harware compatibility.I am running windows 7.1 and 8.2.1 on a test station with no problems, but the OS is Win XP. My biggest gripe about the dual software system is when a v 7.1 files is opened up by 8.2.1. There is not a system to prevent it from happening, and once we accidentally save a 7.1 app in 8.2,1, going back to 7.1 is a big headache.
-
How to modify the window name and field name in standard oracle forms
Hi All,
I am new to the forms. I would like to ask how to modify the standard form window name "Subinventories" to "INV Subinventories" in EBS.
Please help.
Thank you.
Regards,
Dianehi
plz move your thread to EBS forum.
sarah -
Running an EXE from LABVIEW without the 'cmd' window showing
Hi,
I am currently using the 'system exec.vi' in a LabVIEW application to open files in external executables (mainly Windows Explorer, Acrobat Reader and Word). This actually works fine and while my application is fairly sleek (even if I do say so myself) I am annoyed by the cmd window that momentarily appears each time I use the 'system exec.vi'.
Is there any way to disable this window? Or maybe there is another way of opening the files altogether?
I am using LabVIEW 8.0 on Windows XP Pro.
Any help would be appreciated.
BazzaBazza wrote:
Thankyou for your comments...
I do buy LV as part of a developer suite so could use the toolkit you mentioned. While PDF's and Word docs are the main files I open they are not the only. I guess I could open different file types different ways. I just hoped there was a better all round way to do it.
As far as Windows Explorer goes... My application is a file manager targetted directly at the file structures we use for developing functional test applications. The application handles all the file management requirements (i.e. WIP Backups, deploying, zipping/archiving etc) and its an added feature that you can 'explore' a given folder directly from the application. The general idea is that all our developers create systems using the same structure and approach.
Cheers,
Bazza
Have you looked at the VI in vi.lib\Platform\browser.llb\Open a Document on Disk.vi. It opens the document passed in according to its file ending and attempts to communicate with the target application through DDE if possible before using the command line. Even then I have not seen a cmd window popup so far.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions
Maybe you are looking for
-
Crystal Reports 2008 Barcode font not exported to any format
Hi, I am creating a report that will use IDAutomationC128XXL barcode font (GS1 standard). I have downloaded and installed this font in my machine. I use the Visual Basic UFLs (IDAutomationFontEncoderUCC128()) to convert my content to barcode. I also
-
IPad AV adapter to 47' Vizio TV resolution ?
From my iPad I'm getting a 1080p signal but no matter how I adjust screen size it's still only using middle of my screen. Can the iPad only run at 720p therefore I'm unable to have a full screen?
-
Upgrading the Target System-Will it affect the XI Messages?
Hello Friends, I need to know the better solution for the following issue. We have a scenario SAP->XI->SRM 4.0. Now we are upgrading SRM 4.0 to SRM 5.0. If we upgrade the SRM System, whether the Messages flow in XI will get affected? Regards, UP
-
Communication channels missing
In performing some cache refreshes, all of the communication channels have gone missing from the communication channel monitor. They still show up in the integration directory though. Can someone help me on how to get these channels back into the m
-
am using windows 8, 64 bit system inside VMWARE in Ubuntu 14.04 . I have intel core i3 processor. I want to install WIndows-7 inside windows 8 as a virtual machine. SO I tried to use "HYPER V MANAGER" with elevated privilege. wHEN I TRY , NEW->VM Mac