Abort Sub Vi VI main
Suppose I have main VI calling Sub VI with a routine that lasts very little time, but under certain conditions of entry may run much longer. Suppose I want main VI in order to interrupt the execution of Sub VI and recover the provisional result. I can add button give up Sub VI, of course, but suppose I want to display the front panel of the Sub VI, or... I want to just VI main to initiate the abortion under VI.
OK, I found a way how to make - my solution has 2 while loops and 2 global variables. It works, but it is not hard for such a simple task?
Please take a look at my example (increase in the number of points from 20 to 1000 to simulate the longer treatment). Is there an easier way?
To use synchronization object,
You have a beautiful part of LabView to learn now, control of the screws.
If you have hard time understanding, browse the examples of objects related sync...
Happy learning
Tags: NI Software
Similar Questions
-
Hello
As title, I have a lot of sub vi in a main vi, is there any method I can call one of them by sub name of vi?
Currently I use test cases to define all the sub name of vi, I think it is too complicated for my autonomous work in the future.
Thank you.
You can use "Call by reference" in the palette of the application.
It is not quite clear what you mean "using test case" and "inconvenient for my work to support. Without the advantage of seeing the code, you have not posted, I think you are likely to make things more complicated than they should be.
-
How to transfer contineously updated data of sub vi VI main
Hello Mr President
I'm using one of the below attached vi vi Sub and sub vi to hand data transfer. During execution data are updated under vi, but he was not transferred to vi main, is there any setting it takes played in labview to transfer data from sub main VI vi, currently I am using Lab VIEW 2013 this stroke folder version.la I have attached both vi and vi Test Sub Main Test and call the dll for sub vi. His complete my master's project need please give the possible sollution initially.
Hi Frank,.
When you are a beginner in LabVIEW, I recommend free online courses offered by OR on their Web site.
I also recommend to use the help of LabVIEW and the ExampleFinder to learn the use of certain functions.
BTW. reminders of DLL to help and user-defined events is not a perfect entry for a beginner of LabVIEW, how has any problems using rather simple notifiers/queues. Again, I recommend to take online courses!
-
Main vi sharing of sub vi with call-by-reference - how?
Hello
as mentioned in another thread (http://forums.ni.com/ni/board/message?board.id=170&thread.id=390355), I have a main vi with a stop button and a under vi, who needs a few seconds to complete.
During the execution of the Sub vi, I want the stop button in the main vi take effect immediately, which means the sub vi must stop immediately.
I know that I can exchange data between screws somehow by a call to reference, but all the examples I found, to transfer data from the sub to the main vi vi, but I want the other way around.
Given that I've never used the call by reference, I have no idea how I can do it.
Attached you find, what I've done so far.
I would be very happy if you help me and show me how to use the call by reference correctly.
Johannes
LabVIEW 7.1 (I used to program in C and Labview 6)
Win XP
Johannes
I solved it!
A reference and a property node t - it.
See attachment
Johannes
-
Marshall plan: how to pass data between the main field and sub-application
Hello
I'm trying to load a Flex 3.5 application in Flex 4. In the process, I need to move a strong local typed object from main application to the loaded swf file. And I also have to pass a rope and a bitmap of application sub to the main application. Have an example to show how to pass data in the application domain?
Thank you
SW
Define scaleContent = true, set a breakpoint on SWFLoader.as:doScaleContent and
see if he thinks there's a swfBridge.
-
Sub menu browser display number
Hello
http://marketing.Ocean-Florida.co.UK/Damien/Ocean/homepage/ocean52.html
I have a problem with the sub menu navigation main.
In IE9 on Windows 7, the drop-down list text (last character) down to the next line.
Screenshot attached.
Any ideas as to why this is happening would be welcome.
Thank you very much
Damien
I see that you called your CSS width to be Automatic for your ULs combo
Have you tried manual width adjustment for 'Cruise & stay' single UL? Say, around wide 67px instead of 57 you need on auto?
-
Efficiency call DLLS in Labview
Hello
I'm working on a labview program for the treatment of the data in real time. Thus, code running efficiency will be critical. I wonder how about the cost of calling DLLs. Similarly, what the call cost of the subprogrammes.
To implement the same function, the call of a Subvi will be faster than calling a DLL?
If I can develop all screws Sub in the main program and delete all the calls, which will be much faster?
Can someone give me any clue or guideline?
Thank you.
CRXX wrote: [...]
I'm working on a labview program for the treatment of the data in real time. [...]
What is the OS you are using?
Since you ask in general, I answer in general:
This question cannot be ansered. This is a case-by-case-thing and must be assessed individually.
Most of the effect will be the memory management: which allocates the amount of memory? When it's done?
Memory of ESP. allocation mess up determinism, if a DLL can perform worse than pure code LV (given a BONE of RT LV). But it might be preferable for some algorithms encapsulated... no one can say in general.
Perhaps the most important question is:
How many times is that the code (DLL vs Sub - VI) called and how short is its runtime? If the load of execution: calling code relationship is very low (-online 1:1), it is best to "solve" the subcode. SubVI Inling is a valid way in pure BT (from 2010).
If the code is called rarely, this whole discussion is somehow obsolete as the overload of calls will be negligible, even if it would be quite high...
And no, C is not faster as LV by definition. It also depends on the task and how you implement it...
hope this helps,
Norbert
-
Control of first level VI by using controls Subvi indicators?
I'm still learning LabVIEW, so apologies if this is pretty basic.
I'm trying to declutter the façade of my main VI by moving some controls less frequently used in a Subvi. The idea is that when the user wants to set these controls:
(1.) the user presses a button on the main VI to launched the Subvi front.
(2.) the Subvi front opens and the user adjusts the values of controls Subvi.
(3.) the user presses a button to close the Panel front of the Subvi.
Ideally, the relationship between indicators of higher level and the Subvi of control must be the same when all the controls and indicators have been on the main VI - i.e. when the user plays with the controls in the Sub - VI the main VI must always be running and its indicators should respond to changes on the Subvi real-time controls.
I guess it's possible, I'm not sure that eactly how to build this relationship between the main VI and the Subvi.
I just need a little nudge in the right direction on this one, thanks!
Mike
You must create references to controls in your top level VI and pass them in the Subvi. Then have the Subvi write property as the value nodes using these references.
-
Updated entries on day of a Subvi with while loop
Hi there guys! It's my first serious experience with LabVIEW, so the question may seem trivial to you, but it's not obvious to me how to solve this problem. So I do an installation that integrates a number of flow regulators, a temperature regulator, DAQ, some taps and a mass spectrometer basic tasks. All these must be automated using LabVIEW. I started by doing a VI for each separate task is going very well. Now I need to combine the latter in an experience of master VI, and of course I run into trouble.
The problem is that I want of course to control this experiences with some selected buttons/dials/what is on the face before of the main VI. However, each of these VI runs a while loop in which fact acquisition of continuous/data communication / whatever. Of course, I want to change settings online. If I just naively tie them at the entrance to the Subvi these will be read only when the Subvi is started, not during each iteration of the while loop.
I added a very basic example of the problem, so we are all on the same page. The main VI has a button, the State which should update something in the Subvi. However once the Subvi is started it takes control of the execution and the hand-VI seems to be ignored (appears to hang) even if the program has a lot of spare time to read the buttons and put on day of admission. What is the official solution for this kind of problem? My experience in programming that I prefer to keep the intact Subvi, so I can use it as a reusable standard library. Of course a similar question can requested the sub - VI output which will be updated only once the execution is completed (which is never during normal operation).
PS. I'm using LABView 8.6 on XP
The best way to set up a BT program must initialize first your settings, and then launch a while loop where you communicate/aquire data or whatever, then after the while loop is finished close and clean up your references.
Inside the while loop, you can place your code in many of the screws and it is possible to run those in parallel, but I defenetly does not recommend the use of loops in slot face, especially without having to open the front panel or a stop test.
If your code is completely executed up to your Sub - VI, the main.vi will wait for the sub - Vi ends before continuing the code.
-
Problem setting up of sublayer ("not a function")
Hello. I came up with an idea for a script to read a data set and use it to manipulate objects inside of IT. The data is a simple table with several key: values, which matches the identifier of a "set of lines. I stored these values in an array of objects, where each object is a line.
First I wanted to create a layer accession, where 1) each key of these objects of data would create a sub inside a main layer layer. (2) each value of a key would create a layer of sub within the previous layer of created under key. For now I am bypassing the problem of duplication, because the object will share several keys and values, and I don't want duplicates of those.
For the moment I can not finish coz task (2) of the error: "parent.add (); is not a function ". Impossible to find out why, but I have to say that my programming skills are weak. Hope you can help me on this
var doc = app.activeDocument; var layerPrincipal=doc.layers.getByName("RES"); var subLayers=layerPrincipal.layers; //loteObj's are omitted for brevity. var lotesArrCom=[loteObj1,loteObj2]; //Snipped that from the forum. function doesLayerExist(layers, name) { for (i=0; i<layers.length; i++) { if (layers[i].name==name) return true; } return false; } //Snipped that from the forum. function createLayer(parent,nome){ var lay = parent.add(); lay.name = nome; } //Loop trough an Array of Objects storing pairs of data. for(var i=0;i<lotesArrRes.length;i++){ var loteObj=lotesArrRes[i]; for (var key in loteObj) { if (loteObj.hasOwnProperty(key)&&key!="nome") { var keyValue=loteObj[key]; if(!doesLayerExist(subLayers, key)){ createLayer(subLayers,key){ var keyValue=loteObj[key]; var sLayers=subLayers.getByName(key); //It seems to stuck here. The previous function is executed as expected, but the following triggers the error in the 'CreateLayer' function declaration that "parent.add(); is not a function". createLayer(sLayers,keyValue){ } }
In the first case, you call "createLayer (sublayers, key);" - where sublayers = object [layers], in the second case, when you call "createLayer (sLayers, keyValue)' - where sLayers = object [layer] and layer property 'Add ()' is not available.
That is to say in the first case, you call «createLayer (doc.layers.getByName ("RES").» Layers, key)", in the second case, you call"createLayer (doc.layers.getByName ("RES"). " Layers.getByName (key), keyValue) "- but in this case you forgot to add 'intact' - 'createLayer ( )
doc.layers.getByName ("RES") layers.getByName (key) intact)«» ...
//It seems to stuck here. The previous function is executed as expected, but the following triggers the error in the 'CreateLayer' function declaration that "parent.add(); is not a function". createLayer( sLayers.layers, keyValue );
-
It's the example of newspaper:
Problem when executing the SQL operations
java.lang.NullPointerException
at com.testing.Main.helloWorld(Main.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3717)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
2013-11-08 14:08, 828 exception [DEBUG] [public Sub com.testing.Main.helloWorld (java.lang.String)] Manager resolution: java.lang.RuntimeException: java.lang.NullPointerException
2013-11-08 14:08, 841 exception [DEBUG] [public Sub com.testing.Main.helloWorld (java.lang.String)] Manager resolution: java.lang.RuntimeException: java.lang.NullPointerException
2013-11-08 14:08, 841 exception [DEBUG] [public Sub com.testing.Main.helloWorld (java.lang.String)] Manager resolution: java.lang.RuntimeException: java.lang.NullPointerException
2013-11-08 14:08, 847 [DEBUG] unable to complete request
java.lang.RuntimeException: java.lang.NullPointerException
at com.testing.MyLogger.error(MyLogger.java:24)
at com.testing.Main.helloWorld(Main.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:839)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3717)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: java.lang.NullPointerException
at com.testing.Main.helloWorld(Main.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3717)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
... 1 more
as you can see, the same is be connected twice. the first newspaper isn't the part "caused by", where the second has that, but the... 1 more is very frustrating. I want a complete log.
This is the config file:
log4j.rootLogger = DEBUG, FILE
log4j.appender.file = org. Apache.log4j.FileAppender
log4j.appender.file.file=c:/application.log
log4j.appender.file.layout = org. Apache.log4j.PatternLayout
log4j.appender.file.layout.conversionPattern = %m %n
I'm this deployment in weblogic. What I am doing wrong?
Thank you
Basically your code connects it twice. So to stop it stop it.
Your database layer is probably catch the exception, logging, then wrapping and throw the new exception. Which layer another captures and records.
Basic standard of the process - not to save the exceptions that get up again. Don't save the exceptions that are shrouded in other exceptions (which are then thrown.)
-
Clip against a subelement - separate metadata?
Is it possible to have metadata added to a subelement so not crush the metadatra added to its master clip? This would increase the accuracy in locating specific cue points.
Thank you!
Bobby
HI -.
Unfortunately our subclips are simply references to the main element. The main element contains all of the metadata for us. You can try to use markers/tags to isolate metadata in a sub clipping region may be. Alternatively, you can encode your clips of video in real clips on disc (become their own main items) and then add metadata. But then, of course, you lose the relationship between the sub and the main elements.
Wish I had a different answer for your questions.
Kind regards
Michael
-
Create subfolder under virtual &; model computers
I like the script to create folders for Virtual Machines and the model display. To the i in this moment completely chaos.
This code makes it easy as a starting point.
But if I create subfolders that whenever the message folder already exists appears as a red event.
root folder / sub-folder / under file / under folder / sub-folder
Main record office
DC/location/environment/infrastructure/desktop/departments01
Server main folder
DC/location/environment/infrastructure/server/departments01
DC/location/environment/infrastructure/server/departments02
DC/location/environment/infrastructure/server/departments03
DC/location/environment/infrastructure/server/departments04
I did a PowerCLI-New-BlueFolderByPath function, allowing you to create folders for you. You must specify the path to the full in the service folder, as you can see in the example. The function will create all the folders (sub-) that do not already exist.
function New-BlueFolderByPath { <# .SYNOPSIS Creates a new blue folder in the Virtual Machines & Template View .DESCRIPTION Creates a new blue folder in the Virtual Machines & Template View .PARAMETER Path Specify the folder path. .PARAMETER Server One or more vSphere servers to apply the command on. If no value is given to this parameter, the command runs on the server currently specified in the $DefaultVIServer variable. .OUTPUTS FolderImpl .EXAMPLE New-BlueFolderByPath -Path dc/location/environment/infrastructure/desktop/departments01 -Datacenter Datacenter1 -Server vCenter1 This command will create a FolderImpl object for the folder with path dc/location/environment/infrastructure/desktop/departments01 in Datacenter1 on vCenter Server vCenter1. #> param([Parameter(Mandatory=$true)] [string] $Path, [Parameter(Mandatory=$true)] $Datacenter, [VMware.VimAutomation.ViCore.Impl.V1.VIServerImpl[]] $Server=$DefaultVIServer) $Datacenter = Get-Datacenter $Datacenter $Folder = Get-Folder -Name vm -Location $Datacenter $Path.Split('/') | ForEach-Object { if ($Folder) { $SubFolder = Get-Inventory -Name $_ -Location $Folder -NoRecursion -Server $Server 2> $null } else { $SubFolder = Get-Inventory -Name $_ -NoRecursion -Server $Server 2> $null } if (-not $SubFolder) { $SubFolder = New-Folder -Name $_ -Location $Folder -Server $Server 2> $null } $Folder = $SubFolder } $Folder } New-BlueFolderByPath -Path dc/location/environment/infrastructure/desktop/departments01 -Datacenter Datacenter1 New-BlueFolderByPath -Path dc/location/environment/infrastructure/server/departments01 -Datacenter Datacenter1 New-BlueFolderByPath -Path dc/location/environment/infrastructure/server/departments02 -Datacenter Datacenter1 New-BlueFolderByPath -Path dc/location/environment/infrastructure/server/departments03 -Datacenter Datacenter1 New-BlueFolderByPath -Path dc/location/environment/infrastructure/server/departments04 -Datacenter Datacenter1
Best regards, Robert
-
Action/effect of defect in an action game in PSE5
I have a set of Photoshop scripts that contains a 'main' action that performs some features and call a bunch of actions 'sub '. The main action is listed first in the game and is automatically included as the default action and runs correctly when it is installed in PSE6, PSE7 & PSE8 and also works as expected in a German version of PSE5, but in an English version of PSE5, somehow that the second action (IE a 'sub' action) is running rather than the first. Is it possible to configure the default action or force PSE5 to recognize the first action as the action to perform? If this is not the case, is anyone know what PSE algorithm uses to determine the action to execute? The action being performed is not prime (or the last) in alphabetical order, nor place first (or last) in all of the action. Any thoughts/help would be greatly appreciated. Thank you.
This example can work for all versions.
I never thought to put actions outside the subfolders.
I'll have to remember that one.
It seems that pse5 is the odd man out when it comes to actions.
In any case, I hope that you can get all this worked.
MTSTUNER
-
Call a java class in my database to an oracle stored procedure oracle
my oracle stored procedure is:
create or replace
PROCEDURE openpdffile
IN THE JAVA LANGUAGE
NAME 'pdfopenbook.mainbook () ';
It is valid and so is the java class;
import java.sql. *;
Oracle.jdbc import. *;
public class pdfopenbook //class pdfopen
{
Public Shared Sub mainbook (args [] //main function) of channels
{
try try statement
{
Runtime.getRuntime () .exec ("rundll32 url.dll, FileProtocolHandler" + "c:\\temp
final_book.pdf");
Runtime.getRuntime () .exec ("rundll32 url.dll, FileProtocolHandler" + "sol.exe");
} catch (Exception e) //catch all exceptions here
{
System.out.println ("Error" + e); printing error
}
}
}
but I get the error:
onnecting to the caprs of the database.
ORA-29531: no mainbook method in the pdfopenbook class
ORA-06512: at "CAPRS. OPENPDFFILE', line 1
ORA-06512: at line 2
Process is complete.
The caprs database disconnection.
He said that there is no mainbook method, but there is, what I am doing wrong?
Thank you
DougPass the String [] as an argument to mainbook():
create or replace PROCEDURE openpdffile AS LANGUAGE JAVA NAME 'pdfopenbook.mainbook(java.lang.String[])';
Do you have posted on the forum of the database?
Kind regards
Nick
Maybe you are looking for
-
Import and burn on iTunes for Mac
I bought a MacBook Pro in June this year and of course I don't have a CD rom port. Is there a way I can transfer/burn the physical CD music in iTunes without port CD rom?
-
My screen is clicking and my phone it 2 months old
My screen is clicking and my phone it 2 months old
-
laptop computer laptop new product key requested please, it's how can I solve this problem, my previous computer was stubborn in my call, I tried to load my flight simulator existing Microsoft CD on my new laptop computer. the program asked a new pro
-
How to convert wma and wav, mp4 files and what not not mp3 with Windows media player?
* Original title: music questions Music has become a huge problem for me. My car CD player only supports mp3 format. I wish I could burn my CD from which I get used various locations, so that I can play in my car. Or convert files I have, which ar
-
Issue of partitioning and drive recovery
My laptop has some performance issues, and general cleaning does not seem to do much, so I thought go through recovery to give the laptop a new start. Currently, the only thing is that my DVD drive is not working, so backup stuff is clumsy, and is an