Action Engine Data Space associated with an executable
I am thinking of using an AE (Action Engine) for my project. I have basically 3 top level VI which I use to display and control the machine behavior (they are essentially duplicates of each other). If I invoke the AE (same name), will the AE will be sharing the data with the 3 top level VI in a single executable?
I have not tried that in LV 8.+ yet so I will speculate.
Since NI is pretty good about making sure old stuff still works, I suspect you should be OK.
If not, you will have to explicitly specify the applicaiton instance they run in.
For all of these types a questions, I stongly urge you "Build early, build often" just to make sure you do not get blind-sided when the dead-line approaches.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
MDX to get last date MEMBER associated with a time LEVEL
Hi there,
I need to come up with a MDX calculation in my cube that takes an average 90 days forward from the last date member associated with whatever time level is being viewed in a time hierarchy. Is this something anyone could help me with? I can come
up with code that is specific to a level (Year, Month, Week) but not one that is dynamic.
Best,
DI don't know exactly what you want from me. I have a Time dimension with Year, Semester, Quarter, Month and Date. I want to be able to get to the last date associated with a time member. So, for example, I would want to derive like this...
October 31, 2014 would get to October 31, 2014
October 2014 would get me to October 31, 2014
Quarter 3 would get to to September 30, 2014
Semester 2, 2014 would get me to December 31, 2014
2014 would get me to December 31, 2014 -
Query to find ou the space associated with a tablespace
hi gems...
I need to import a dump into a blank schema of a new database. For that I need to create two tablespaces. But there is space problem and thats why I need to assign nearly the exact space to the tablespaces which I will create.
So is there any query from which I can get the space taken by the source schema to the corresponding tablespaces???-- check the total,used and free space in tablespaces
select a.TABLESPACE_NAME,
a.BYTES MB_total,
b.BYTES MB_free,
b.largest,
a.BYTES-b.BYTES MB_used,
round(((a.BYTES-b.BYTES)/a.BYTES)*100,2) percent_used
from
select TABLESPACE_NAME,
sum(BYTES)/1048576 BYTES
from dba_data_files
group by TABLESPACE_NAME
a,
select TABLESPACE_NAME,
sum(BYTES)/1048576 BYTES ,
max(BYTES)/1048576 largest
from dba_free_space
group by TABLESPACE_NAME
b
where a.TABLESPACE_NAME=b.TABLESPACE_NAME
order by ((a.BYTES-b.BYTES)/a.BYTES) desc;
Regards
Asif Kabir -
Dynamic data source on 10g requires valid data source associated in report
I'm currently using the dynamic JDBC data source feature of PublicReportService_v11 in BI Publisher 10.1.3.4.1 (March 2011 patch applied) and it seems that the BIP report still requires a valid JDBC data source associated with it before the specified dynamic one can be properly used.
Using SoapUI, I tried sending a runReport request with a dynamic JDBC data source for a BIP report that is associated to an invalid/dummy JDBC data source and got the following fault string:
oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to java.sql.SQLException: ORA-01017: invalid username/password; logon deniedAssociating the BIP report to a valid JDBC data source but different from the specified one on the runReport request does make this feature work - data in the BIP report does come from the specified dynamic JDBC data source. I'm just wondering if this is the right behavior for this feature? It seems a little counter intuitive because you already specified a JDBC data source in the request message which I'm assuming will be used by the report you're requesting instead of whatever is the currently associated data source on the report.If it is open, then try
Named range: ConsolLink = Range("Consol File.xlsm'!Source_OpexConsol")
And if it is not currently open, then try
Dim W As Workbook
Set W = Workbooks.Open("R:\Root\Sub1\Sub2\Consol
File.xlsm")
Named range: ConsolLink =
Range("Consol File.xlsm'!Source_OpexConsol")
W.Close False -
Hello All,
I am getting below error can you please help me
Error:-
The transaction associated with the current connection has completed but has not been disposed. The transaction must be disposed before the connection can be used to execute SQL statements.Perhaps this thread will help you out
http://stackoverflow.com/questions/11453066/error-the-transaction-associated-with-the-current-connection-has-completed-but
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
First foray in LVOOP mixed with Action Engine functionality, would appreciate comments
Hello (LVOOP) experts!
I am a big fan of Action Engines (AEs), and use them very regularly.
Now, say I wanted to have a Logging module that writes text to a log file, I can create an Action Engine for this and all is well, i.e. I can drop this VI anywhere in my hierachy and it basically just works. I like to encapsulate AE in a lvlib.
So, what if I wanted a second Logging module, doing exactly the same thing, but operating on a different file. Well, I could create a new copy of the Action Engine in the project, duplicating the code and giving the second AE a different name. This is of course a bit clumsy, as what if I wanted 100 of these!
I suppose I could make the AE re-entrant (cloned) use VI server to obtain a second copy of the AE, but I have not tried this.
So what I decided to do is make a LV Class, and just instantiate a second class as needed. I really really really like the ability of AEs to drop them anywhere without wiring all the way through the hierachy, so that was a design goal with my LVOOP implementation. As far as I can tell, one way to do this is using single element named queues (sort of a singleton design pattern).
The attached code is my attempt, I would really appreciate comments, both positive and negative.
nrp
CLA
Attachments:
Logger LVOOP.zip 54 KBtst wrote:
What you've basically built is a SEQ-based, by-ref class (although you pass a name, not a reference), which is certainly a valid construct. dqGOOP has been doing that for years and the singleton example also uses this, as you mentioned.
Some comments:
You really don't need the object as an input. It can be a constant on the diagram.
You could make this a by-ref system and pass the object which holds the queue reference, similar to the singleton example. This has less chance of braking, IMO.
Instead of acquiring the queue in each member VI, create an LV2 manager VI - when it gets a name it looks up its reference in an array. If it doesn't find it, it creates a new ref and returns it. If it does find it, it returns it. That simplifies some of the code you have to replicate for every member VI.
The fact that you have to replicate code at all for member VIs is annoying. It would be great if LVOOP had by-ref support built-in or could at least create data access VIs from a template.
1. Fixed. I copied this technique from Dr D's Xylophone project. I thought if you drop the class constant on the BD it actually creates a new object each time?
2. Not sure I get you on this one, could you provide some more enlightenment please.
3. Done. Probably not the most efficient implementation though...
4. Agree it sure is annoying!
New version with basic queue manager attached!
nrp
CLA
Attachments:
Logger LVOOP v2.zip 75 KB -
How to execute a JavaScript associated with an interactive field?
I need to perform a virtual click from a plugin. Let's say that a set of 3 check box/radio button fields have the export values:
- Yes
- No
- Maybe
I have a script that says that the user virtually clicked on the "Maybe" button. All I have to do is find which of the radio buttons:
radioButton#0
radioButton#1
radioButton#2
contains the "Maybe" export value. So far, this task is very doable. My question is how to perform the following:
I need to call the JavaScript interpreter and execute it, using as an argument the JavaScript code associated with the up mouse even of the button.
Any help will be most appreciated...
TIA,
-RamonIF you are trying to do this from a plugin - I would just use Cos APIs to get the appropriate JS from the field's action dictionary and then pass it to AFExecuteThisScript().
-
Hi,
While trying to open a folder on my Windows 7 Home Premium, an error comes "This file does not have a program associated with it for performing this
action. Please install a program or, if one is already installed, create an association in the Default Programs control panel." I tried searching on the net but did not get great support for the issue when it happens with folder opening.Hi Nikunj Shah,
First, I suggest you download
Microsoft Safety Scanner or
Malicious Software Removal Tool to run a full scan.
The error messages here seems to be caused by the corrupted registries, which related with the folder association.
You may take a try to merge the following registry settings to reset the folder association, before that, remember to backup your registry settings first:
How to back up and restore the registry in Windows
Copy and paste the following commands into Notepad, and save it to a .reg file:
=================
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder]
"ContentViewModeLayoutPatternForBrowse"="delta"
"ContentViewModeForBrowse"="prop:~System.ItemNameDisplay;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;System.DateModified"
"ContentViewModeLayoutPatternForSearch"="alpha"
"ContentViewModeForSearch"="prop:~System.ItemNameDisplay;System.DateModified;~System.ItemFolderPathDisplay"
@="Folder"
"EditFlags"=hex:d2,03,00,00
"FullDetails"="prop:System.PropGroup.Description;System.ItemNameDisplay;System.ItemTypeText;System.Size"
"NoRecentDocs"=""
"ThumbnailCutoff"=dword:00000000
"TileInfo"="prop:System.Title;System.ItemTypeText"
[HKEY_CLASSES_ROOT\Folder\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,00,00
[HKEY_CLASSES_ROOT\Folder\shell\explore]
"MultiSelectModel"="Document"
"ProgrammaticAccessOnly"=""
"LaunchExplorerFlags"=dword:00000018
[HKEY_CLASSES_ROOT\Folder\shell\explore\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
[HKEY_CLASSES_ROOT\Folder\shell\open]
"MultiSelectModel"="Document"
[HKEY_CLASSES_ROOT\Folder\shell\open\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
65,00,00,00
[HKEY_CLASSES_ROOT\Folder\shell\opennewprocess]
"MUIVerb"="@shell32.dll,-8518"
"MultiSelectModel"="Document"
"Extended"=""
"LaunchExplorerFlags"=dword:00000003
"ExplorerHost"="{ceff45ee-c862-41de-aee2-a022c81eda92}"
[HKEY_CLASSES_ROOT\Folder\shell\opennewprocess\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
[HKEY_CLASSES_ROOT\Folder\shell\opennewwindow]
"MUIVerb"="@shell32.dll,-8517"
"MultiSelectModel"="Document"
"OnlyInBrowserWindow"=""
"LaunchExplorerFlags"=dword:00000001
[HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\BriefcaseMenu]
@="{85BBD920-42A0-1069-A2E4-08002B30309D}"
[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Library Location]
@="{3dad6c5d-2167-4cae-9914-f99e41c12cfa}"
[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Offline Files]
@="{474C98EE-CF3D-41f5-80E3-4AAB0AB04301}"
[HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers\{BD472F60-27FA-11cf-B8B4-444553540000}]
@=""
[HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\BriefcasePage]
@="{85BBD920-42A0-1069-A2E4-08002B30309D}"
[HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\Offline Files]
@="{7EFA68C6-086B-43e1-A2D2-55A113531240}"
[-HKEY_CLASSES_ROOT\Folder\ShellNew]
[HKEY_CLASSES_ROOT\Folder\ShellNew]
"Directory"=""
"IconPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,\
00,00
"ItemName"="@shell32.dll,-30396"
"MenuText"="@shell32.dll,-30317"
"NonLFNFileSpec"="@shell32.dll,-30319"
[HKEY_CLASSES_ROOT\Folder\ShellNew\Config]
"AllDrives"=""
"IsFolder"=""
"NoExtension"=""
==================
Once done, right-click the REG file and choose Merge. Alternately, you can open the Registry Editor and then using the
Import option from the File menu, to merge the REG file contents.
Let me know if you need any further help.
Best regards
Michael Shao
TechNet Community Support -
Refresh the object associated with a Row in a Data Control?
I am using EclipseLink & have an issue with multiple updates of the same Row. During an update, a new instance of the entity is returned by the update method. The instance bound to the Row is not updated with this new version and subsequent updates fail with an optimistic locking exception since the entityVersion hasn't been updated.
Question: Is it possible to refresh the instance associated with a data control Row? I can remove rows, create rows, but it is not apparent to me how to update a row. I am trying to avoid doing a full retrieve on the bound iterator.Hi!
The issue here is, by my opinion, a gap between ADFm and EJB 3.0 in use-cases with large data sets. If you search this forum, you may find related thread by Pedja about problem of feasible "scrollable" af:table with large number of entities in EJB finder result list. Unfortunately, the ADFm "paged" fetching is in mismatch with EJB support for "paged" (or scrollable) results lists. The all results of EJB finder method are retrieved from data source, stored in memory (thus breaking the heap) and transferred to ADF datacontrol. Then, and only then, ADFm paged fetching and caching mechanisms are employed – but they are just cosmetics as the main data set is permanently stored in memory as List<?>. The workaround is, as Pedja discovered, to write completely proprietary TableCollectionModel which completely evades ADFm and is implemented by set of EJB Session methods for paged acces to datasource through TopLink and native database queries (enabling retrieval of particular range of rows instead a complete result set). Of course, this is very complex coding experience and I find it a not acceptable for efficient development of modern applications on ADF + EJB stack, especially as it brakes a technology independence promoted by EJB and EclipseLink and other standards-based technologies (as you have to use database-specific native query implementation for paged /scrollable access!).
What I want to say is that I have feeling that ADF support for EJB is not complete in full extend and that ADFm is still much better suited for BCs then for EJBs. I hope that this will be solved in future as this issue may pose a significant issue on application development in enterprise-level area where it is supposed that we are dealing with BROWSING also a large data sets.
Yes, I emphasize a BROWSING as I strongly oppose a dogmatic approach that SEARCHING is a solution for every use-case. From theory of information, the system SHOULD NOT limit the user in accessing ALL information (based on access rights, of course). So the idea that SEARCH forms should be used to bridge a architectural gap between a ADFm and EJB is not acceptable, as the search MAY limit the user in acquiring the information he (or she) is not able to describe in adequate manner based on search criteria offered by the developer. So, the developer may be responsible for misinformation of user, by limiting his access to information, jus for technology limitations of ADFm which forces a development of purely SEARCH-based functionalities.
I hope that development team would appreciate and consider this remarks, and invest effort in closing (not bridging!) the gap between ADFm and EJB.
Regards,
PaKo -
Show days left until reset based on date and condition associated with date
My question is simlilarly based to the previous discussion https://discussions.apple.com/message/15134714#15134714
What I need to do is display the number of days until I have to reset a flight condition (FS Column) based on a set number of days (60 days). I have several colums of information but the two I would use is a Date Column and the FS Column(drop down menu with text for options). I would need to be able to look at certain FS options and use the date associated with it to subtract from 60.
If FS= "NG" use date associated with it to add 60 days, and then use that date to compare it with today's date to show how many days are left till the 60 day mark.
So if the last "NG" was Jan 1, 2011 and today was Feb 1, 2011 I would want one cell to show 30 days and another cell to show Mar 2, 2011.
I need to fly in a certain condition once every 60 days. I want to show how many days left I have until I need to reset that 60 day counter. Also, I would like to have another cell show the date associated with the day I would need to reset that counter on.
Unfortunately I am in a limited internet environment so I can not post a picture of my spreadsheet. Sorry for the over explination, trying to make it as clear as possible first go round.
Thanks in advance!Aron,
I added a few columns to correlate the conditions and dates. There may be a better way than this brute force approach, but this will work.
Date
DS
FS
Hrs
Seat
Mission ID
D
H
N
NG
NS
Aug 1, 2011
PI
D
1.0
F
C
8/1/11
Aug 1, 2011
PI
N
0.5
F
C
8/1/11
Aug 2, 2011
PI
D
0.5
F
C
8/2/11
Aug 2, 2011
PI
NS
1.4
F
C
8/2/11
Aug 4, 2011
PI
NS
0.2
F
C
8/4/11
Aug 12, 2011
PI
NG
1.0
F
C
8/12/11
Aug 12, 2011
PI
NS
1.2
F
C
8/12/11
Aug 14, 2011
PI
NG
0.5
F
C
8/14/11
Aug 14, 2011
PI
H
0.5
F
C
8/14/11
Aug 14, 2011
PI
NS
0.6
F
C
8/14/11
Aug 20, 2011
PI
NS
2.1
F
C
8/20/11
Aug 21, 2011
PI
NG
2.0
F
C
8/21/11
Aug 22, 2011
PI
NG
1.0
F
C
8/22/11
Aug 22, 2011
PI
NS
0.4
F
C
8/22/11
Aug 29, 2011
PI
NS
0.5
F
C
8/29/11
Then I added a summary table:
FS Condition
LastDate
Plus 60 Days
Today is Oct 11, 2011
Alarm
D
8/2/11
10/1/11
10d
Overdue
H
8/14/11
10/13/11
-2d -
EVERYTIME I UPDATE SOFTWARE OR GO INTO THE CONTROL PANEL TO ITUNES TO REPAIR OR CHANGE IT GIVES ME AN ERROR MESSAGE
THIS FILE DOES NOT HAVE A PROGRAM ASSOCIATED WITH IT FOR PERFORMING THIS ACTION. PLEASE INSTALL A PROGRAM, IF IT IS INSTALLED CREATE AN ASSOCIATION TO THE DEFAULT PROGRAMS CONTROL PANELSTOP SHOUTING! Or at the very least, get the CAPS lock key fixed.
Remove iTunes.
Download and install the current version of iTunes from http://www.apple.com/itunes/download -
am tTying to install itunes and I get error message "This file does not have a program associated with it for performing this action. Please install a program, or if one is already installed, create an association in the Default Programs control panel. Can anyone help me?
Hi,
Here is a similar thread for your reference:
There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control panel
http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/036e3cf6-bff7-4ef2-bd0a-555cd2399ad4
Hope this helps
Vincent Wang
TechNet Community Support -
ITunes installation error: does not have program associated with it for performing this action
Repeated tries to install iTunes continues to fail. Installing on Acer laptop using Windows 7.
Error: does not have program associated with it for performing this action
We have done the following: open Default programs, clicked associate a file type, clicked on change program button and selected a program to open with and clicked OK/enter.
The installation continues. we get to the finish window; click finish.
Next error: iTunes has been installed incorrectly.
So, what do we do to get iTunes working?
Thank you.Hi normeagle,
Welcome to Apple Support Communities.
You may find this article helpful for troubleshooting your iTunes installation:
Trouble installing iTunes or QuickTime for Windows
http://support.apple.com/kb/HT1926
Best,
Jeremy -
IPAD restores applications but not data or files associated with applications
1) Today Itunes prompted me to update the OS on the IPAD.
2) It warned me to back up IPAD before I did. I did
3) I updated software.
4) It returned with an error saying it could not install software and I must restore to facotry settings
5) I resotored to factory settings
6) After that I attempted to restore contents of my IPAD from Itunes on my Windows 7 machine.
7) It restored only music but no applications and no other information
8) I spent all day on the phone with Apple Support who managed to get the applications restored by going through one by one and syncing.
9) It took a few hours
10) After I finished I noticed that files/documents associated with various applications like Kindle, Goodreader, Penultimate Notes were missing on the IPAD.
11) I have made a few phone calls to Apple and thy claim the following: "Apple is not responsible for restoring files or data associated with any applications, only the application itself. It is your responsibility to contact the application developer to get your files restored." This sounds patently absurd to me. I spent half an hour explaining the absurdity of this claim to the Apple representatives but they are firm and non-wavering in this opinion. One even claimed that restoring does not restore applications which of course is not correct.
12) I gave them the example of MS Word on MacBook Pro. If I save/back up on another machine and then restore back to the original machine I would expect to be able to see the Word files I had created and saved. That in particular the failure to view them would not be Microsoft's responsibility but Apple's. They disagreed saying it would be between me and Microsoft and the Apple devices had nothign to do with saving or successful restoring.
13) So I have lost all e-books purchased on Kindle, plus all documents saved on Goodreader application, notebooks on Penultimate applications, and my children’s drawings on their drawing applications. Apple Support say I should contact each application vendor to try and recover the missing data. They refuse to tell me how to get it from ITUNES backup stored on my Windows 7 machine as they say it will not be there.
They have asked me to write to
Apple Customer Support,
Holly Hill,
Cork,
Ireland
quoting case number 319718819.Did you try restoring from a backup of the iPad? If you have a backup with all of your app data and files, that should restore all of that content to the device.
No - restoring does not restore applications. You have to either sync the applications back from iTunes on your computer, or you can download them again, BUT ... All of your data, files and device settings are stored in your backup. Do you have a backup in iTunes .... Edit>Preferences>Devices - that should show you all of your iDevice backups. -
My iPhone, iPad and iPod are all associated with the same Apple ID. How can I remove the iPod and associate it with a new Apple ID without affecting the data on the other devices (note: there is no data on the iPod I want to keep)?
Very simple. Turn off Find my iDevice, then Tap Settings, General, Erase, Erase all content and settings.
Maybe you are looking for
-
When opening Windows 7 I'm receiving the following message The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.......I have never rec'd this before............I have a iPhone and iPad.........
-
Adobe Reader 9.0 Installation problem
When I try to install Reader 9.0, the progress bar gets to 99.9% done and then a copy utility window opens from my printer. If I press the copy button, the printer attempts to copy something and spits out a blank sheet and then nothing happens. If I
-
Exchange 2007 - how to recieve reports from WSUS
Hi I have a strange problem with WSUS reporting, I cannot send reports through Exchange. WSUS verison 3.1.6001.65, chekbox "my SMTP server requires authentication" is not set I try to send test messages to group (checkbox "require that all senders a
-
Hi all, I have read what has been said o nthis topic on the boards. I have my Apple TV with an optical out and HDMI out both going to a receiver. I can switch receiver HDMI outputs (watch a show on tv) with the Apple TV sound still working. Howeve
-
Add new Fields to transaction COOIS
Hi, can anybody tell em , how i can add couple of new fields like Sold to Name ZCAMESLINEDUP / by Sales document or Prod. Order Sold to Account ZCAMESLINEDUP / by Sales document or Prod. Order Series I.D.