How to call a VI front panel using Menu on anothe VI
I want to create a VI Which will have menu to call another VI frontpanel at the run time is it possible to call another VI frontpanel using the LAbVIEW version 7.0 please mail me at [email protected]
Shoyeb,
Yes this is possible. First, you will have to implement the Run time menu. Then, use the Events structure to detect when a user has selected a menu option. Finally, when this Event triggers, you execute the other VI.
Let me know if you have any questions. I can attach an example if you run into issues.
-Khalid
Similar Messages
-
How to make the LV front panel controls the current value through the programis set as the default value when the next time you open?
1110340051Try this: Re: How to make a VI remember the latest control value?
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice -
How to Call an ADF Bounded Task Flow Located in Another Web Application
Hi.
I'm working in JDev 11G TP3.
I've read the section from the 11G documentation on Working with Task Flow Activities,
specifically the section 15.5.3 on How to Call an ADF Bounded Task Flow Located in Another Web Application.
I've followed the instructions but still can not seem to call another task flow in another application correctly.
Can someone send a small example specifying how the (TaskFlow Reference) section
should be filled in, and just a general simple outline of process to set the whole process up.
ThanksYour EL for the remote-app-url needs to return something like this
"http://www.acme.com:80/myapp/faces/adf.task-flow"
where "http://www.acme.com:80/myapp/faces" is the root of the url you'd normally use to access the remote application.
I filed two bugs:
bug 6944247 to improve the documentation
bug 6944246 to fix the fact that you currently have to specify the 'adf.task-flow' part. You shouldn't need to do that. But doing so for now will get it to work. -
How to call a JSP page from Applications menu?
Hi partners,
I am still looking for "how to call a JSP page from Applications menu?", I mean instead of calling a form, I want to call a JSP page which is staying in a OC4J repository which is located in another server.
Any idea will be really appreciated.
Thanks in advance.
Frank Mtz.Hi Frank,
if u know the solution please share it with me. i'm looking for the same scenario.
thanks in advance,
anish -
How can I simultaneously acquire and display an image on the front panel using a PCI-1424
Dear friends;
I want to use PCI-1424 , and labview 5.1 to capture the image, But I can not find some functions in labview to capture, display and save the image.Can you be kind to share some examples or provide some information.
Another question is how I CAN display the image in the front panel.
thanks so muchHello yangshang,
Thank you for contacting National Instruments! To acquire images from the 1424 you will need NI IMAQ 2.5.1 or later. This can be found HERE on our drivers download page. One thing to note is that in LabVIEW 5 we only had the ability to view an IMAQ image as a pop up window. This VI is called "IMAQ Windraw". This will pop up a separate window that will display your picture. If you need to view the picture on the front panel you can try saving the image as a file (BMP, JPG, etc) then use the LabVIEW Graphics and Sound VI's to Read a picture file in and then wire the picture to a picture control on the front panel. Let me know if you have anymore questions. Good Luck.
Regards,
Mark T
Applications Engineer | National Instruments -
In Test Stand when I call a sub-VI front panel, the pop-up window goes behind all the windows and the user just waits for the screen. I want the pop-up to come to the front so that the user can know what to do. I couldn't find any property that I can set which would make the called VI go to the front.
What version of TestStand are you using? Here are the TestStand palettes in LabVIEW for TestStand 2.0 and 3.1. You can also set a VI to be modal in VI Properties>Window Appearance. Select Dialog or go to Cutomize and change the Window Behavior.
Message Edited by Dennis Knutson on 03-07-2006 10:32 AM
Attachments:
TestStand palettes.JPG 37 KB -
How can I simultaneously acquire and display an image on the front panel using a PCI-1408
I have to acquire and display an image directely in the front panel of a *.vi using a PCI-1408. i have to know all informmations about this image because I want to create a calibration system.
Hi Paola,
if you own IMAQ Vision you can just have a look at the examples that comes with your board or you can look at: http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/2abaefe05789961686256866007c0d22?OpenDocument.
Without IMAQ Vision look at:
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/22474456534202b086256aff005fc4f3
(or search at ni.com for "IMAQ Display without IMAQ Vison)
Please mail me if you need further help,
Michael -
How to close a front panel using 'one button dialog'?
I wish i could use a 'one button dialog' so that the user can close the front panel when asked.
actually, i do put a 'open vi reference' followed by an 'invoke node' and then by a 'close reference' in a case true false (vi attached)
it seems that i can'ty use the option 'close FP' in my invoke node.
I am using a labview 6i version, is that possible to have this option, otherwise hoe can i achieve muy application without this invoke node??
thanks
guillaume
Attachments:
testfermeture.vi 18 KBtry this.
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com
Attachments:
IFK_VIServer_Example.vi 32 KB -
I can successfully view and control a VI remotly. However, the remote VI dinamically loads another VI, this VI loaded dinamically is a VI that allows open others VIs, I want to see the files that contains the server machine, in the client machine, but the front panel of the dinamic VI appears only on the server and not on the client, How can I display the fron panel with the files of the server machine of the dinamically loaded VI on the client computer?
Attachments:
micliente.llb 183 KB
miservidor.llb 186 KB
rdsubvis.llb 214 KBI down loaded your files but could use some instructions on what needs run.
It seems that you are so close yet so far. You need to get the data on the server machine over to the client. I generally do this by doing a call by reference (on the client machine) of a VI that is served by the server. THe VI that executes on the server should pass the data you want to diplay via one of its output terminals. You can simply wire from this terminal (back on the client again) to an indicator of your choosing.
Now theorectically, I do not think that there is anything that prevents use from getting the control refnum of the actual indicator (on the server) of the indicator that has the data, and read its "Value" using a property node. I have never tried this idea but it seems t
hat all of the parts are there. You will need to know the name of the VI that holds the data as well as the indicator's name. You will also have to serve all VI's. This is not a good idea.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Help! how to make transparen​t front panel
Hi:
I intend to show a vi when my system call it but the backgound have color and I want it to be transparent. I search inside forum and get this thread http://forums.ni.com/ni/board/message?board.id=170&message.id=178411&query.id=105714#M178411 . After that I try follow that method using "call DLL" to let my front panel become transparent but I fail.
I attach my vi and hope come one can help.
thank in advance.
Attachments:
Enter OP ID.vi 50 KBTK Chang wrote:
Thank a lot tst, it work.
By the way I am try to understand how to use windows API. For example function "GetWindowLong" got 2 parameter one is "hWnd" I know is get the window name and the other "nIndex" I search in MSDN (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/wi...) but I can't figure out why the input value is "-20".
Same as function "SetWindowlong" and "SetLayeredWindowAttributes". All these APi i can find the explaination in MSDN but I don't know what value I should put for those parameters. Is there anyway to find out what vaule I should give for those parameter?
yes, if you can get that example for change bmp shape then pass to me.
Thank very much
Message Edited by TK Chang on 01-11-2007 09:44 PM
That is because Micrososft defined for readibility constants and usually only documents them in MSDN. If you want to know the numeric value (which you need when trying to call such a function from non-C environments) you basically have to install the plattform SDK from Microsoft and search in the headers for the constant name and see what value it has assigned too.
A search of the constant name as documented in the SDK on the web might sometimes also give results such as an include form for Visual Basic, and interface description for Delphi or simply C header files from some Wine patch, but there is no quarantee and you might have to look through many hits before finding something useful.
All these options do however require you to understand a bit about the syntax of the programming environment you got the solution from such as C syntax (the plattform SDK is completely for C(++) too), Delphi, or Visual Basic.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Main VI Menu event calling a subVI front panel
Hi all,
I have a subVI whose front panel is loaded upon calling by a main VI.
I call the subVI using a User-menu event.
the subvi-properties are set to allow close window and i am not handling a 'panel close' event.
The problem is....
when i run the main VI and click on the menu that loads the subVI front panel, subVI window opens, and if i click on the window-close, the main VI hangs.
i understand that the control remains with the subVI only and never returned to main VI after i close subVI panel.
but is it the only way to handle the 'panel close event' or any other way out to solve this?Try running the VI with highlight execution turned on, and see if anything unexpected is happening, or you could post your vi and let us take a nosey
Message Edited by yenknip on 09-12-2008 04:30 PM
- Cheers, Ed -
How to move control in front panel at run time
Hi,
I'm using LabVIEW 8.5. I want to move the control anywhere in front panel. For example in the attach file I want to pick up the pict control (with the help of mouse) and drop it anywhere in front panel. second thing I want to ask if I want to make it copy paste, means main control will b at its initial position and where the mouse moves the image moves and when I leave the mouse the image gets drops there. How to do it. Please help me.
- Thank You
Attachments:
track.vi 15 KB"Sonali" <[email protected]> wrote in message
news:[email protected]..
Hi, &
nbsp; I'm using LabVIEW 8.5. I want to move the
control anywhere in front panel. For example in the attach file I
want to pick up the pict control (with the help of mouse) and drop
it anywhere in front panel.
You'll need to use an event structure to respond to the mouse down, mouse
move and mouse up events. In the mouse down event of the control, set a
value in a shift register to true. In the mouse move event, when the value
is true, change the position of the control with a position property node.
In the mouse up event of the control, set the boolean in the shift register
to false.
second thing I want to ask if I want to make it copy
paste, means main control will b at its initial position and where the
mouse moves the image moves and when I leave the mouse the image gets
drops there. How to do it. Please help
me. &
nbsp;  
;
You can't copy paste controls during run time. It seems you want to make a
graphical application, where you can graphically drag and drop some
configuration or something like that. You should have a look at the picture
control. You can draw anything you want in this control, and catch mouse
down, move and up events in the same way. It is perhaps a bit difficult to
get to know it, but it is very powerful when you do.
Regards,
Wiebe. -
How to call RFC in Async Mode using TCP/IP RFC Destination ?
Hi experts,
Can anybody tell me how to call an Async RFC using TCP/IP RFC Destination ?
Regards,
UmeshCheck the link
http://help.sap.com/saphelp_nw04/helpdata/en/80/09680289c751429ab3b07ad2a61c10/content.htm
It says
<b> For asynchronous calls, no connection to external systems is possible (TCP/IP connections in transaction SM59).</b>
Regards,
Abhishek -
How to call one report2 from report1 using report1 selection screen
hi experts,
iam presently working in report1.
now, from my report1, i want to call report2 with report1 selection screen.
how to call?
thanks in advance.Below is an sample example, from where i am calling transaction MB5B (Report-RM07MLBD).
Here i am using selection screen data from report ZTEST and passing it to RM07MLBD.
REPORT ZTEST
DATA : listtab LIKE abaplist OCCURS 1.
DATA : listtab_tmp LIKE abaplist OCCURS 1.
DATA : N TYPE n.
*DATA mseg_wa TYPE mseg.
*SELECT-OPTIONS s_matnr for mseg_wa-matnr.
*SELECT-OPTIONS S_WERKS for Mseg_wa-WERKS.
PARAMETERS : S_MATNR LIKE MSEG-MATNR,
S_WERKS LIKE MSEG-WERKS,
S_CHARG LIKE MSEG-CHARG.
DATA MKPF_WA TYPE MKPF.
SELECT-OPTIONS S_BUDAT FOR MKPF_WA-BUDAT.
REFRESH listtab.
CALL FUNCTION 'LIST_FREE_MEMORY'
TABLES
listobject = listtab.
SUBMIT RM07DOCS using SELECTION-SCREEN '1000'
WITH matnr = S_MATNR
WITH werks = S_WERKS
WITH charg = S_CHARG
WITH budat-low = S_BUDAT-low
WITH budat-high = S_BUDAT-high EXPORTING LIST TO MEMORY AND RETURN .
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = listtab
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DESCRIBE TABLE listtab LINES n .
CALL FUNCTION 'WRITE_LIST'
EXPORTING
write_only = 'X'
TABLES
listobject = listtab
EXCEPTIONS
empty_list = 1
OTHERS = 2.
IF sy-subrc = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to call PL/SQL stored procedure using ODBC?
Could anyone tell me how can I call PL/SQL stored procedure using
ODBC? Are there any sample codes?
Thanx!
nullYou are correct on all counts, they all should work.
Oracle Product Development Team wrote:
: Hi,
: I don't know the exact syntax in ODBC, but reasoning by analogy
: with other API's, I'd bet one of the following works
: (for a call to: procedure my_proc(n1 number, n2 number);):
: "{ my_proc(1,2); }"
: "{ call my_proc(1,2); }"
: "{ begin my_proc(1,2); end }"
: "begin my_proc(1,2); end;"
: "begin my_proc(1,2); end"
: Hope this helps. - Pierre
: jiangbuf (guest) wrote:
: : Could anyone tell me how can I call PL/SQL stored procedure
: using
: : ODBC? Are there any sample codes?
: : Thanx!
: Oracle Technology Network
: http://technet.oracle.com
null
Maybe you are looking for
-
F110S - Payment program selection criteria
We have a large backlog of past due invoices, we are looking to create payment runs that will select invoices that are due through a certain date that is in the past. For example, on the first day, we may want to pay only invoices that are due throu
-
Hi All, I want to create a dynamic action to pouplate IT0019 with a reminder when the employee turns 60 and 62. I need to call a function to do the age calculation. Do i have to create a new one? Or there are standard functions for this. Regards, Swa
-
I know, submit a feedback form. But I just wanted to vent. I see all the cool games itunes has and just think it would be great if they would give us just a few games to be able to play. Just a few! LOL! Well, hope you guys know you are missing out o
-
Change Run - 'M' entries deleted from /BI0/M* table
Hello together, I came across the following problem with master data activation... After master data loading there appear new entries in all tables M,P, X, Q, Y with OBJVERS='M'. Next step is to execute Change Run, what should result in entries with
-
Group Data locked for material
Hi, I have an interface that failed because the "Group Data" of the material was locked. I am aware of "Material being locked by another user". However I don't know how the group data gets locked or what group data refers to. In most cases when I run