How to get a variable of a sub - VI all the way to the top level vi (GUI)
Hi all
I am currently working on controlling the movement of the six axes with labview through RS232 communication. These axes are controlled in order so not more than one axis moves at a certain point in time. To do this, I need to query the axis status bit to see whether or not the move is done. Basically a while loop to stop "asking" for the State when the statusbit is '1 '. This is done by a somewhat deep nested vi in software architecture (low level vi). The behavior of this vi is necessary because it blocks the execution of the remaining vi until the movement is finished. Therefore, I am sure that no command is sent to move a second axis during the movement of the axis of another.
I want to do is to bring the traffic all the way to the front of the user interface so that the operator can see if the axis is in motion or not. But the problem is that the vi that handles these requests status only publishes the output data when the while loop stops, in this case when the movement is completed. And I would like to know the status on a regular basis, for example every 100ms or so?
How can I get the value of the bit on the status in the GUI? I have to place another vi on the upper level which requires also that the status?
Any help is much appreciated,
Best regards.
You can pass a reference to what ever VI main control/indicator panel you want to display it on. Then in your Subvi loop, use this reference with a knot of property value for updating control/indicator light panel.
Tags: NI Software
Similar Questions
-
Tecra A9: How I get saved keys FN-esse to work all the time?
How can I get my saved keys FN-esse to work all the time?
It is without having to use the Toshiba Assist button to bring up the Fn-esse chart on my desk?
Hi Cameillia
Please excuse my question, but what do you do exactly?
You want to use the FN + F1 - F9 button functionality without using the FN key?Sorry, but I think that it is not possible
But if you use Vista OS, then you can use the mouse cursor and might point up, display area and could activate the Vista FlashCards.
The FlashCards support the same functionality as the use of the keys FN + F1 - F9Concerning
-
I think that the question is quite clear: I don't know what additional details would be useful. Questions?
The F11 key activates / turns off Mode full screen or not.
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update if necessary:
- Plugin check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
- Adobe Shockwave for Director Netscape plug-in: install (or update) the Shockwave with Firefox plugin
- Adobe PDF plugin for Firefox and Netscape: Installation/update Adobe Reader in Firefox
- Shockwave Flash (Adobe Flash or Flash): updated Flash in Firefox
- Next-generation Java plug-in for the Mozilla browser: install or update Java in Firefox
-
How to restore items where my images are returned in the top left corner when it is open, and they have a "mesh" around them? Something to reset elements so that the image appears in the center of the box... I can't have more than 1 image open at the same time to work on. I e I can't pass a layer on the image to the other.
OK - I got out my trusty Photoshop Elements 10 - The Missing Manual and figured it out. What I was trying to describe, it was how to make images with 'tab' images 'floating '? This has somehow reset without my knowledge. What you need to do to get your images 'Floating' back is to click on "EDIT" in your editor - at the bottom of the drop-down list hover your cursor to "GÉNÉRAL" and click on - at the bottom of the drop-down list, click in the bottom left box 'ALLOW FLOATING DOCUMENTS IN FULL EDIT MODE' - and then click OK.
That solved my problem!
-
When trying to update, I get this code 0x8024400A. I tried all the recommended fixes.
Hello
(1) what is the description of the update that does not happen?
(2) what are the troubleshooting steps you tried to solve the problem?
I suggest you try the steps from the link below and check if it helps.
http://support.Microsoft.com/kb/836941
Hope this information is useful.
-
I have no sound when playing my clips by adobe first 12 elements. How to fix this? I checked all the audio levels and there is no mute etc. I've updated to 12.1, but still no sound in clips. Not even on the old files that are used to work.
Bfun
What operating system is running your first items 12/12.1? Can we assume that this audio reads OK
on the same computer when you use a computer independent of Premiere Elements drive?
What are the properties of these clips that have worked before, but don't know regarding sound
For now, I will assume that you are working on Windows 7, 8 or 8.1 64bits.
Have you checked the settings change preferences/Menu/Audio ASIO hardware? You have all 3rd party audio devices integrated in your IT environment?
Please delete the Adobe Premiere elements Prefs file and, if it does not, then all 12.0 folder in which the Adobe Premiere elements Prefs file exists. Is the path to 64-bit Windows 7, 8 or 8.1
Local disk C
Users
Owner
AppData
Roaming
Adobe
First Elements
12.0
and in the 12.0 folder, is the file Adobe Premiere elements Prefs that you delete. If this does not work, then delete all 12.0 the folder in which the Adobe Premiere elements Prefs file exists. Make sure that you work with the Option "Show hidden files, folders and drives" of the current folder so that you can see the full quoted path.
You have the installation files or the installation disc with the serial number purchased in case we need to use to uninstall/reinstall?
We will follow your track to the top.
RTA
-
How to divide a variable in 3 of those using the XPath/XQuery functions
Hello
do you know if it is possible to divide a (string) variable with this format, var1, var2 > < var3 > in 3 simple variables such as:
var1;
var2;
var3;
use of XPath/XQuery functions in a project of OSB?
I found how to get the same result by using an action of legend of java, but I prefer an easier way (if available).
Thank you.
Hello
Take a look at this section of forum...
https://forums.Oracle.com/thread/1274460
See you soon,.
Vlad
-
I'm just frustrated.
I have a child of 12 years and a house full of i-products. The problem arises because I want to allow him to use a planning application and some other apps education during school time, but not the games and the wifi and so on. We got the House and I would continue to allow the use of the i-device to school, but it doesn't seem to be an app that will enough allow me to the things of the lock upwards. I don't have the time to constantly monitor, it's ridiculous.
Sometimes there are ideas as to the allow him to use educational applications and its music from itunes, but not anything about wifi, or any other games or Web sites. There are other times where I'd like it to be allowed to use iMessage and not much else.
The problem is that there is something out there that allows this level of control. Apple has rolled out their "our Pact" that does not come close, but it's a start. And no other control parental app or program allows control level "app." they will allow you to lock all applications (which are not integrated in the iOS) or not, but I can not choose. Restrictions are unnecessary and won't allow me to lock the wifi or not to allow the addition of new locations of wifi.
It's to the point that they I need to new devices, I'll phase out home iOS devices, unless I can get a control.
Someone at - it a have a way around this? Someone has any idea how to get Apple to listen to?
For an application to the time-, you can use guided access
-
How to get an array of integers to user in the User Interface
Hi all. I'm not a very experienced user of the CVI. I have almost exclusively coding in LabVIEW but have a client who wants all of their work in the CVI.
I've been very fruitful so far (set up a Modbus API from scratch that supports all types of connection) but am confused on how I can get the integer multiples of the user without limiting the number of integers I can get. Essentially, I need to be able to get an array of integers to the user.
General information, I am building a user interface to test my Modbus API. There are Modbus functions to 'Write multiple registers' and 'write multiple coils. I want the user to be able to enter all the values they want to write in one command.
What is the best way to get an array of integers through the user interface?
The easiest way is probably to allow user input in a textbox control numbers: items can be separated by spaces, commas, or even a line break (using ctrl + Enter). You will then need to extract the string from the TextBox and analyzed for numeric values using any non-digit character as a separator: strspn (string, '0123456789'); can be used for this.
More complex, another possibility is to use a table control to receive user input: you Dresses an empty table with a reasonable number of roews, or you need some codes to add new lines as long as the user fills all those already existing. On the other hand, it will be easier since data recovery in a simple statement, you will all return values: GetTableCellRangeVals (panelHandle, PANEL_TABLE, VAL_TABLE_COLUMN_RANGE (1), table, VAL_COLUMN_MAJOR);
-
How to get rid of internet shortcuts mass contained in the document library?
I tried to add a folder my documents. Seem to have merged now all my "Favorites" in the toolbar with my documents.
Documents are now full of internet shortcuts and I do not want the files.
Use the working documents and they need to see that word or powerpoint or pdf files, not stuff from the internet.
Don't know how I did it or how to get rid of all these files.
Can anyone help please? Thank you
Hello
I don't know what you have enabled.
Do a system restore, if necessary using the safe, before the problem started.
http://bertk.MVPs.org/html/restoresysv.html
How to access Safe Mode
http://www.bleepingcomputer.com/tutorials/how-to-start-Windows-in-safe-mode/#Vista
See you soon.
-
How to get windows8 installation CD/DVD, I have only the product key?
I have the windows8 pro product key, but I don't have OS CD/DVD or recovery drive. How to get the installation for windows8 CD if I wanted to format my laptop and windows8 re - install?
See:
-
How to get rid of squatters data that appears in the text boxes?
How to get rid of pre-selected information that appears as a drop down choice in the text box? The data that I placed in the areas of text continuously appears as an option to select text box. How can I prevent the previous data entries to appear in the future?
I think you should maybe just disable the AutoComplete feature in Acrobat.
Edit > preference > forms > AutoComplete and choose
-
How can I get more of my character to display at the top of the display screen?
Before you download the latest Firefox, my character at the top of the display showed at least 1/2 on firefox. Now, is that the ears. How can I show more of her? Stupid question, I know, but it's bugging me.
I think you need to show toolbars as you can so that your character can have more space so it can be displayed more.
How to show or hide various toolbars?
Check and tell if its working.
-
How can I get my Menu bar to stay there all the time?
I just reset my old Macbook Pro for five years. Since it has been reset, the Menu bar to the top of the top keeps disappearing. I was using the same OS before I reset my laptop.
I don't know how to change this, I looked each in System Preferences.
Kind regards
Andrew
What operating system do you use? You info States 10.11.1 if that is correct go to prefs sys - general - check / uncheck Hide the menu bar.
-
The email I'm reading is very large with a lot of things that I did not need to see. How can I make my mailbox smaller?
Remove the stuff that you don't need to see and to compact the folders later.
http://KB.mozillazine.org/Compacting_folders
Maybe you are looking for
-
New music/playlists appearing is not on the Apple music
This has happened for the last month or two... my Itunes and Iphone 5s are both updated. I used to be able to create playlists of music on iTunes and short while later he would automatically show on Apple music on my phone. Same thing with the music
-
Satellite A100-011 strange overheating
Hi there guys!I bought this laptop A100-011 Satellite with MS Vista included. Anyway... I decided to remove the vista (reason of incompatibility with some software) and I installed XP. And that is the problem... I don't know if it's regarding the OS,
-
How can I make the screen keyboard on disappear?
How can I make the screen keyboard on disappear?
-
now, I bought the new 103tx, can u pls send me the link drivers and pilots how much I owe be installed pls help me?
-
cannot restore or repair system
says not enough memory but I'm only using about 54% of my total memory.