Execution context of vi in the application builder
Hello
I have to build a stand-alone application to a .vi that relies on a second .vi running in background to ensure a secure end of the system, in case the first .vi fails or the user can close the wrong way. This second .vi will be opened by the first reference and will monitor the 'running' State of the main .vi. Part why this background .vi is to avoid the problems of the computer freeze the first .vi or unexpected shutdown process.
While the standalone version of construction I can add this background .vi to her "always understood' and it will work in the desired manner if the user clicks on the red button to stop or any other issue that does not involve a more severe end of the operation. When the .exe would freeze or the user closes the process by the brute force of the bottom .vi will not act as it should.
Is it possible to create two stand-alone applications of these fired and let them interact as the fired were, i.e., follow-up of the State of execution of the other and passing parameters between them?
Thank you very much in advance
Shared variable network or TCP/IP seems the easiest.
But why you can't just start both a main VI and have access to events and queues to communicate?
/Y
Tags: NI Software
Similar Questions
-
Kernel32.dll in the application builder
Application builder has been seemed to be changed in version 8.6
Due to the specific API function (file rename), I have to use kernel32.dll (CIN) in my application.
After that the creation and execution by pressing 'Go' button (on the Launcher program) as a first step, it works.
Continuous pressing second "Go" button, labview was told the Subvi confined CIN is failed or lack of external function Kernel32.dll:MoveFile in Subvi.
The pitcher to load the main program (and the Subvi) by reference.
When I did not understand the Subvi explicitly in the application builder property, "Subvi is missed.
In either case, include the Subvi in "still included" in the generator of the application, "the service is missed.
The kernel32.dll file was copied in the folder of data support.
(1) how to set the property of the generator application for kernel32.dll?
(2) the copied kernel32.dll file is valid in the other version of windows?
labmaster.
Have you tried the Move function? Why do you think that I suggested it? It can be used to rename files and directories.
Rename dir1 dir2.
-
the application builder exe file does not work
Hi all
I have a usb data acquisition module, it is USB 2408-2AO of MC. I order the module with a VI and it works very well. I used the Application Builder to create an exe of the VI. The exe works great too, but only on my own computer and not on other computers.
I already made the other screws's exe files and never had any problems to run the exe on other machines. I also tried to do an installation of the VI program and not just a stand-alone application, but once again the final application does not work. The application runs without problem on the target computer, no errors are displayed, but it just does not control the USB module as it should. I think the problem is that the builder Application does not include al screws required in the installation program, particularly MC devices to control the USB device. I tried to manually choose the screws, but it seems that everything is included... I am sure that the problem is the USB device, as I did other exe files and they all work very well (but they do not control the USB device) on other machines. Someone has any idea how to solve the problem?
-
Is it possible to change the theme of the Application Builder?
Is it possible to change the theme of the Application Builder? There are themes for applications; What happened to the constructor itself? I looked but did not see a selection for that.
I'm a Geek through and through, I guess, but I think that you might be retentive xxxx love all of these square boxes. And these old eyes squint to focus among the vast sea of shades of gray. Black on gray and gray on white gives me a pain in the eye!
If this is not the case, is there a place where the suggestions like this are made. Thanks - HowardHello
Is it possible to change the theme of the Application Builder?
The short answer is, no.
You can offer this feature here
https://Apex.Oracle.com/pls/Apex/f?p=55447:1Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
What is the logic in the Application Builder
Hi guys,.
What is the logic in the application builder when you create a report for example. When we create a static report, we're going through these four steps:
< ul >
Display attributes
Source
Report attributes
Conditional display < /ul >
From the stage of 'Source', we can click on 'Create a report' and create the report...
is there a table for each step... or there is a collection for each step. For example, when we click the button create collections are inserted into tables, then get emptied. ?????
In my case, I have three real estate entities: owners, property and marketing. It goes like this:
Enter the details of the owner, then click on create to go to the next page to enter the details of the property, then click on create to go to the next page to go into the details of marketing.
I hope that my question is simple...
Best regards
FatehFateh says:
Hi guys,.
What is the logic in the application builder when you create a report for example. When we create a static report, we're going through these four steps:
Display attributes
Source
Report attributes
Conditional display
From the stage of 'Source', we can click on 'Create a report' and create the report...is there a table for each step... or there is a collection for each step. For example, when we click the button create collections are inserted into tables, then get emptied. ?????
In my case, I have three real estate entities: owners, property and marketing. It goes like this:
Enter the details of the owner, then click on create to go to the next page to enter the details of the property, then click on create to go to the next page to go into the details of marketing.Who would be called a "Wizard" in the APEX (also frequently used in the Application Builder as you say). There is an 'Assistant' option when creating a new page that allows you to create and link the basic multiple page structure. Themes have "Assistant progress List" (horizontal) list templates (vertical orientation) and "Assistant list progression, horizontal Train' that can serve as indicators of progress of scene. You must build the content of each page using standard components. Once completed the "Wizard" there is nothing to indicate that the pages are linked logically, strangely, it generates a list of course assistant for you.
Use Collections to store the data of intermediate stages before final treatment, if all the data is captured in a session. If you want persistence between sessions (e.g., allowing users to enter information over several days) use drafting/staging of the separate tables instead in more collections of capture data before final validation and promotion for the main tables.
-
Increase log idle time in the Application Builder
Hello
We have recently updated our version of the Apex to 3.2 and one of the things we see is that if the application builder has been inactive for a period of time when you want to do something new you must reconnect.
Does anyone know where I can see what is the idle value and can I increase it?
See you soon,.
Paul.Hello
This should help you
http://www.inside-Oracle-apex.com/is-your-Oracle-Apex-session-timing-out/BR, Jari
-
ORA-28112: failed to perform the function of guidance - error in the Application Builder
Hey all,.
I added a political function to one of my paintings, and now I get this error when I try to update a report region that refers to this table.
"The query cannot be parsed into the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. "ORA-28112: failed to perform the function of guidance."
If I remove the policy then everything works fine. My application works well with the policy in place. I just get these errors in the application builder when refreshing a report or a LOV that references the secured table.
The analysis schema is APPL_USER.
Here's the political function:
FUNCTION DOCUMENT_TABLE_POLICY (object_schema IN VARCHAR2 DEFAULT NULL
object_name IN VARCHAR2 DEFAULT NULL)
RETURN VARCHAR2 IS
v_nt_seq NUMBER;
BEGIN
IF use = "APPL_USER" or INSTR(user, 'ITFC_') = 1 THEN
RETURNS A NULL VALUE.
END IF;
IF V ('APP_USER') IS NOT NULL THEN
IF V ('F_NT_SEQ') IS NOT NULL THEN
v_nt_seq: = V ('F_NT_SEQ');
ON THE OTHER
SELECT NT_SEQ
IN v_nt_seq
OF APPL_USERS
WHERE UPPER (NT_ID) = UPPER (V ('APP_USER'));
END IF;
RETURN ' (DOCUMENT_TYPE, MANAGED_BY_ELEMENT, PROGRAM_CODE, CONTRACT_NUMBER) IN (SELECT DISTINCT R.DOCUMENT_TYPE, USL. ELEMENT, USL. PROGRAM_CODE, USL. CONTRACT_NUMBER OF USL, R IPRACA_SECURITY_ROLES IPRACA_USERS_SECURITY_LINK WHERE R.SECURITY_ROLE_SEQ = USL. SECURITY_ROLE_SEQ AND USL. NT_SEQ = ' | To_char (v_nt_seq) | ')';
END IF;
-UNAUTHORIZED USERS CANNOT SEE ANY DATA
RETURN '1 = 0';
END;
This is how to set up the policy:
BEGIN
DBMS_RLS. () ADD_POLICY
object_schema = > 'APPL_USER '.
, object_name = > 'APPL_DOCUMENT '.
, policy_name = > 'APPL_DOCUMENT_POLICY '.
, function_schema = > 'APPL_USER '.
, policy_function = > ' APPL_SECURITY. DOCUMENT_TABLE_POLICY'
);
END;
Any help would be greatly appreciated!
Thank you
Jonathan Hart
APEX 3.1.1It is possible that this raises an exception:
SELECT NT_SEQ
IN v_nt_seq
OF APPL_USERS
WHERE UPPER (NT_ID) = UPPER (V ('APP_USER'));Is there a line in APPL_USERS where NT_ID =
? Scott
-
APEX Bug: Creation Bug, or make the Application Builder
In the page editing screen application Builder:
-Click the icon of legend at top right (left of the lock icon)
-You have the option to create a task, a bug, or comment
-Click on a task or a Bug
-Scroll on the pop-up screen and in a context of application they have no application or pages to choose from
The problem disappears if you use the create menu (top-right)
-Select this option to make or Bug
-If you scroll on the pop-up screen in a context of application good application numbers and page are displayed.
Martin
-----
http://www.talkapex.comThanks Martin. It is now classified as Bug 10267913 to fix in the APEX 4.1.
Joel
-
Transition from tables to call a library function does not work after the application builder
Call a DLL with function of library to call that requires a data table to work properly in Labview, but after building an exe with the application generator, the call no longer works. Dereferecing the pointer in the DLL returns all values 0 and not the real.
So finally figured it out. It seems that you cannot use the utilities of pointer in an exe built such asGetValueByPointer.xnode. Once I replaced the calls with calls to DSNewPtr and MoveBlock library, everything works as expected.
-
the control's behavior bizarre table in the application builder
I just made the program to change the color of the table control by using the property node (LV 2009 SP2).
At the code level, it was no problem, but not just any what dye in standalone application.
It's pretty hard to debug because of the level of the application.
I attached the file source and built the application to check this trouble in LV2009.
(Please run the code, and then simply increase the #Channels one by one.)
labmaster.
When I plug all in error - output and I get the following in the executable file error report:
LabVIEW: Unable to load the front panel.
The front panel for C:\Downloads\exam2\builds\Application.exe\painting_batch_table.vi cannot be loaded, but is required by this property or method.
The reason was that it does not find the Panel before the calling vi. By linking the reference of the vi parent to your sub vi It should work. See the attached project.
-
How to include a .wav file with vi the use of the application builder?
Hello
I am developing an application that uses a .wav file. I want to compress this file along with the vi in an executable so that the end user has a single file to run it. Is it possible to add the .wav file to the executable using Application Builder? Moreover, to do this, can we configure the path to the .wav file in vi to always search for the file in the installation folder (for example: C:\Program Files\E2C\MSK or according to the user installs the executable folder in)?
Thank you
Anvy
Anvy,
It is not possible to compile a wav file in an executable file using LabVIEW. You can include the wav file in the project and include it in "still included" in your build script that will copy the file in the folder wav data from your executable file. So it is quite easy to distribute the wav with your exe file, even if the wav is not in the exe file.
hope this helps,
Norbert
-
APEX4.0 - How to get the Application Builder
Hello
I'm new to Apex and I installed Apex4.0 on XE Windows successfully. I could successfully connect you as an 'admin', with 'internal' workspace and see the four menus admin as 'Manage applications', 'Manage the Instance', 'Manage Workspaces', and 'manage activity '.
Are there any special settings I do see "Application Builder", "SQLWorkshop" etc?
Basically how to 'Application builder' all things developer.
Any help is really appreciated.
I tried "apex.oracle.com", for application builder, but I wish I had in my local machine.
/ regarding
MuraliHello murali.
You must first create a space of 'real' work and the connection to this workspace.
To create a workspace, you connect to the internal workspace (i.e., administration of APEX) and follow the instructions as documented here [url http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/adm_wrkspc.htm#CHDJFJFA].-Udo
-
How to add third-party DLLs in our Setup program by using the application builder?
Hello friends,
I have one (VI) application that uses a third party to the Protocol dll, and now I want to do an installation which should install dll as well as the application exe. Please suggest how...
Thank you
Hello friends,
I found the solution to my problem, thank you to all who have shared time on it...
Quick fix was to allow Boolean register in the attribute file of these DLLs being created for installation...
Thank you
-
How to get the Application Build Date and time?
Hi guys,.
I am developing application in Cascade.
What is the API I can use to get the construction Date of the application and Tiime?
These macros are expanded to C-strings at compile time. This is how/where to use it. Following an example would work I think:
fprintf (stderr, "construction date is %s, construction time is %s\n", __DATE__, __TIME__);
-
Error-229771 after compiling VI in the application builder
Hello
I went from LabVIEW 8.2.1 to LabVIEW 12.0f1. Installation is running on a computer clean windows 7, only the 12.0f1 of labview. My request for LabVIEW 8.2.1 works well within the development system. It seems to be 3 times slower than in LabVIEW 8.2.1, but is not the problem at the moment.
After you create an application with the Builder asks LabVIEW 12.0f1, I get an error:
Error-229771 to Start Task.vi DAQmx
I know that several pages on the error 229771 on ni.com. None of the relay worked. The point, the vi runs within the system development, but not as an application, is noticeable.
Anyone have an idea how to fix the prblem?
Thank you very much and best regards,
Michael
Maybe you are looking for
-
Why Age of Empires 2 does not work on my Satellite P200-144?
I have a Satellite p200-144.I can't get to run, aoe2 something about directly?
-
I have an error code of 0 x 61000016 on my HP all-in-one 7520. I unplugged/plugged the all-in-one, on and off. I have not found a solution to help. What can I do next?
-
Anyone with 8500 a running Lion?
Someone using a 8500 and OS X.7 Please check and see if its under Lion print driver access to yet to Collate selection? I lost this feature with my upgrade of the Lion and the printer is no longer collects several page print jobs. The option used to
-
Can't boot from DVD or USB! Windows 8
It then it really starts to bug me! I tried to solve this problem for a few hours now, and this is absolutely not the case! So I want to do a clean install of Windows 8. I did all the steps to get it on a dvd and a bootable USB. That was the easy pa
-
The Task Manager does not display the process and tabs, even if the menu can be seen.
Dear community, I had a serious problem on my task manager. It does not display the process and tabs, although the menu is visible. Also, any time I open a program or system of adjustment, some and especially no option can be seen since there is no s