Editing template window programmatically
Hello,
I have a vi which is using the UI controls. It is going to be used for end user editing of a series of sequences, which will only use a subset of step types. I have the insertion a palette correctly displaying all of our step types in the step types window, and all the statically defined template steps we have. I now want to temporarily populate a template folder at run time, the
contents of which will be a series of instances of a particular step
type that whose properties are particular to the UUT under test at the time, so the user can more easily set up that uut.
I am looking at the UI InsertionPalette control methods and properties, and the ConnectInsertionPalette methods/properties, but nothing is jumping out. I see where I can get a reference to pages, then item, but the properties available after that are extremely limited, and don't seem to have what I need. Is there a way to dynamically edit the templates window using the UI controls somehow?
I am already to the point of having a sequence dynamically defined which has all the instances contained in it, I just want to put that in the templates window, in a folder.
Thanks
David Jenkinson
Hi David,
You are right, the UI Controls API does not expose all of the same functionality for the Insertion Palette that is available from context menus and manual manipulation. Future versions of TestStand may have expanded functionality for these and other similar controls, the developers are aware of this requested feature.
Luckily, you still should be able to accomplish dynamic template insertion. By accessing the TemplateFile PropertyObjectFile you can get access to the Data PropertyObject member of this PropertyObjectFile. The Data PropertyObject has a Root SubProperty which is the template information.
From here, you can clone and insert what ever steps, variables, and sequence property objects that you desire into this Templates List.
Keep in mind that you can force these changes to the TemplateFile to be saved to disk by calling the IncChangeCount() method on the TemplateFile object.
In order to refresh the InsertionPalette you can post the UIMsg_RefreshWindows UIMessage using the PostUIMessageEx method.
Putting the following code in a statement step may help get you started:
Locals.fileref = RunState.Engine.GetTemplatesFile(0),
Locals.data =Locals.fileref.AsPropertyObjectFile.Data,
//make changes here,
Locals.fileref.AsPropertyObjectFile.IncChangeCount(),
RunState.Thread.PostUIMessageEx(UIMsg_RefreshWindows,0,"",Nothing,True)
If you are not quite sure what to start editing, visualizing the Data PropertyObject may help with this. Setting a breakpoint after executing the above series of expressions will allow you to look at the Data in the TemplateFile PropertyObjectFile using the watch view. Here is what it looks like for me, with 1 step template:
The three SubProperties here match the three default folders in the Templates List section of the Insertion Palette Pane; you can see the matching step template in the Steps folder:
I hope this helps!
Message Edited by Evan P. on 11-21-2008 04:28 PM
Evan Prothro
RF Systems Engineer | NI
Attachments:
watch view.png 9 KB
templates.png 3 KB
Similar Messages
-
Edit Template in Dynamic Conversion Admin is not working
Latest oracle UCM 10gR3 is installed with patches and Site Studio 1ogR4 on windows XP and it is running fine.
When I click on "Edit Template" button after selecting a template in Oracle Content Server >> Administration >> Dynamic Converter Admin >> Edit template nothing happens and no error message is displayed. Some times a dialog pops up with message "preparing to install template editor..". The first time I clicked on this "Edit Template" button, it has installed "Template Editor 10gR3(10.1.3.4.1) version 9.0.0" successfully and it is there in program files.
I find that Dynamic Conversion is working fine by checking in a word doc and it generates HTML. I tried this on IE6 and IE8 on two different UCM installation by enabling IE to run all ActiveX and Javascript but it did not work on either. I am logged on as admin user.
What could be the issue and how to resolve?Hi
Check Note.941978.1 to see the possible cause of the issue and also the workaround for the same.
Thanks
Srinath -
Unable to install SQL server 2008 r2 standard edition on windows server 2008 r2 sp1
I am unable to install sql server 2008 r2 standard edition on windows server 2008 r2 sp1.
On the Setup Support Files page, choose Install this step I don't get any other window i.e. nothing happens I waited for 5-10 min. Then I checked the log file.
Final result: Failed: see details below
Exit code (Decimal): -2068053929
Exit facility code: 1212
Exit error code: 87
Exit message: Failed: see details below
Start time: 2014-03-18 14:59:31
End time: 2014-03-18 15:00:25
=== Verbose logging started: 3/19/2014 9:45:47 Build type: SHIP UNICODE 5.00.7601.00 Calling process: E:\SQL Server 2008 R2 Standard\x64\setup100.exe ===
MSI (c) (10:34) [09:45:47:496]: Note: 1: 2203 2: E:\SQL Server 2008 R2 Standard\x64\redist\watson\dw20sharedamd64.msi 3: -2147287038
MSI (c) (10:34) [09:45:47:496]: MsiOpenPackageEx is returning 2.
=== Verbose logging stopped: 3/19/2014 9:45:47 ===
Please help As i am running out of time as i have to upgrade TFS for that first step is to install SQL server.Hello,
The following are a few things you can try:
Copy the media to the local disk drive, unzip it (in case you are installing from an ISO file, and run SQL Server setup from there.
Try to unregister and register the Windows Installer with the following two commands:
msiexec /unregister
msiexec /regserver
Try to use Process Monitor to log the detailed error produced when the installation of dw20sharedamd64.msi fails. You can download Process Monitor from the following link:
http://technet.microsoft.com/en-us/sysinternals/bb896645
Share with us the error captured by Process Monitor.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
How do I add image upload to web app edit template?
How do I add image upload to web app edit template. When creating fields I am selecting image from the field type. But the only way to upload and image is when I create the web app item within the admin. The option to upload an image is not available when the user submit web form opens.
Wont send any of these questions through this email anymore but really needed assistance.
Thanks,
GordonOn the Details tab of the Web App setup, under Web App Item Options; have you ticked "Allow File Upload" and specified a Default Upload Folder?
-
MS SQL Server 2008 R2 Enterprise Edition on Windows Server 2008 R2 Standard Edition
Hello Team,
Is there any issue/conflicts/limitationn to install MS SQL Server 2008 R2 Enterprise Edition on Windows Server 2008 R2 Standard Edition.
OR their is nothing to worry about it I guess their is memory limitation between both of them. Please suggest
Regards
Naveed AmirHi,
Here you can find the officially Hardware and Software Requirements for SQL Server 2008 R2:
http://msdn.microsoft.com/en-us/library/ms143506(v=sql.105).aspx
There should be NO problem as much as I know if the basic limitation fit you (as shanky mentioned).
I had (an clients still have) several servers with Windows Server 2008 R2 Standard & SQL
Server 2008 R2 Enterprise and Standard with no problem (today I have one old developing server with this exact installations work great for several years).
[Personal Site] [Blog] [Facebook] -
Problem With Oracle Personal Edition On Windows XP
I am trying to install Oracle 8i Personal Edition on Windows XP Professional, Installation was successful. But when I try to login through SQL plus it says "ORACLE not available" User Id I used is Scott/Tiger and System Manager.
Even I checked the services started but some of the Oracle services are still in "starting" staus
Can any one help me in this?Those 'starting' services must switch to 'started' before things will start to happen.
What are the machine specs? Hopefully you have a decent CPU speed (>500MHz) and amount opf memory (>512M RAM) or things can be unsufferably slow.
Is there a particularily good reason for using Oracle8i? After all, it is an unsupported and obsolete version of the database. -
Errro while installing sql server 2012 express edition on Windows 8 -64 version
Hi,
Im trying to install sql server 2012 express edition on windows 8 machine(64 bit),however im getting same error every time.
The following error has occurred:
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337
i've googled and checked all prerequisite which is already installed.so not finding the reason behind this error.
it would be great if any one can help on resolving this error.
Thanks in advance
Regards
RiteshHi ,
Thanks for help. here is the log summary text
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068051679
Start time: 2014-02-05 12:30:44
End time: 2014-02-05 12:36:21
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for SQLEngine: Use the following information to resolve the error, and then try the setup process again.
Next step for Replication: Use the following information to resolve the error, and then try the setup process again.
Machine Properties:
Machine name: IDEA-PC
Machine processor count: 4
OS version: Future Windows Version
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER Database Engine Services
1033 Developer Edition 10.50.1600.1 No
SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER SQL Server Replication
1033 Developer Edition 10.50.1600.1 No
SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER Full-Text and Semantic Extractions for Search 1033
Developer Edition 10.50.1600.1 No
SQL Server 2008 R2
Management Tools - Basic 1033 Developer Edition
10.50.1600.1 No
SQL Server 2008 R2
Management Tools - Complete 1033 Developer Edition 10.50.1600.1
No
SQL Server 2008 R2
Client Tools Connectivity 1033 Developer Edition 10.50.1600.1
No
SQL Server 2008 R2
Client Tools Backwards Compatibility 1033 Developer Edition 10.50.1600.1 No
SQL Server 2008 R2
Client Tools SDK 1033
Developer Edition 10.50.1600.1 No
SQL Server 2008 R2
Integration Services 1033 Developer Edition
10.50.1600.1 No
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
SPLevel: 0
Installation location: c:\b33170cf028067db5b8335d2\x64\setup\
Installation edition: Express
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: true
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, REPLICATION, SNAC_SDK
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: SQLFASHION
INSTANCENAME: SQLFASHION
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: Latin1_General_CI_AI
SQLSVCACCOUNT: NT Service\MSSQL$SQLFASHION
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: idea-pc\lenovo
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Common Files
Component error code: 2337
Component log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
Error description: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
Error help link:
Feature: SQL Server Replication
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Common Files
Component error code: 2337
Component log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
Error description: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
Error help link:
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\SystemConfigurationCheck_Report.htm -
10g Express Edition on Windows 2008 Enterprise R2 x64 with Active Directory
I have successfully installed the 10g Express Edition on Windows 2008 Ent. r2 x64 with Microsoft Active Directory Domain Controller but i could not be able to run http://127.0.0.1:8080/apex
Although i have run the http://127.0.0.1:8080/apex on my another Windows 2008 R2 x64 ant WITHOUT Active Directory Domain Controller Role.
i think its related with AD Domain server role of my server, because i run that on same config and operation without Active Directory Domain Controller role.
Can anyone help about this issue?
thanks in advanceI have experienced the same problem - running 10g Express on a Win 2008 (32-bit). When not being a Domain controller, the install was fine. When installing after the server had been given the Domain Controller role (+the required DNS), it failed. NO FIREWALLS are involved on the server. Seems like Oracle Express has problems being installed in this kind of environment - independent of x32 or x64 bit OS.
Edited by: 811504 on Nov 17, 2010 11:44 PM -
Can't uninstall or reinstall oracle 10g express edition in windows server 2
Hi,
I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
ThanksHi,
I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
Thanks -
Oracle8 Enterprise Edition for Windows 8.0.6
I’m a naïve user in Oracle and would like to know the following details from the Gurus.
Any information in this regard will be highly appreciated !
We are trying to use Oracle8 Enterprise Edition for Windows 8.0.6 for some specific reason.
Some general doubts regarding the installation.
1. Is any installation specific to the OS language (English/Japanese) ?
2. Say, if I get an installation for Windows, would I be able to use the same for a Japanese Windows version?
3. During the installation, choose the default language as Japanese?
Also, if we would need to install Oracle8 Enterprise Edition for Windows 8.0.6 in a Japanese OS, what should we do?
Can we procure a license for the same? Oracle8 Enterprise Edition for Windows 8.0.6
Can we get the media?
Please advice. Many thanks in advance.The best way to arrange this is to contact Oracle sales and talk very nice to them.
You are asking to have someone provide you with a piece of software that was very full of bugs and made obsolete before year 2000. Oracle will probably not be very happy to do that.
Besides, Oracle is so upward compatible that - unless you depend on the bugs - you should be able to use any currently supported version. Such as Oracle9i or Oracle10g. -
Oracle8 Enterprise Edition for Windows 8.0.6 - Info reqd. Pls help !
I’m a naïve user in Oracle and would like to know the following details from the Gurus.
Any information in this regard will be highly appreciated !
We are trying to use Oracle8 Enterprise Edition for Windows 8.0.6 for some specific reason.
Some general doubts regarding the installation.
1. Is any installation specific to the OS language (English/Japanese) ?
2. Say, if I get an installation for Windows, would I be able to use the same for a Japanese Windows version?
3. During the installation, choose the default language as Japanese?
Also, if we would need to install Oracle8 Enterprise Edition for Windows 8.0.6 in a Japanese OS, what should we do?
Can we procure a license for the same? Oracle8 Enterprise Edition for Windows 8.0.6
Can we get the media?
Please advice. Many thanks in advance.The best way to arrange this is to contact Oracle sales and talk very nice to them.
You are asking to have someone provide you with a piece of software that was very full of bugs and made obsolete before year 2000. Oracle will probably not be very happy to do that.
Besides, Oracle is so upward compatible that - unless you depend on the bugs - you should be able to use any currently supported version. Such as Oracle9i or Oracle10g. -
Can't install Oracle 8.1.7 Personal Edition on Windows ME
I am trying to install "Oracle 8.1.7 Personal Edition for Windows 98" on Windows ME. I can't install it. During the install on the Oracle Universal Intaller, on the part where it asks for the Source and Destination, after I click "Next" to install, it gives me a error message: "Invalid staging area. There are no top level components for Windows 95 available for install from this staging area". So I can't proceed with the installation.
The computer I am using is a Pentium 3, 700mhz, 128mb Ram.
On my other computer, it is a Dell Dimension Pentium 4, 1.3 GHz, 128mb ram. When I attempt to install it, while running the D:\setup.exe, before it even loads the install program, it gives me the error message: "Jrew has caused an error in JAVAI.DLL. Jrew will now close. If you continue to experience problems, try restarting your computer". Restarting my computer does not solve the problem.
Can anyone help me out, I really would appreciate it. Thank you.There is supposedly a fix for this 'stage error' but I tried one of them and it doesn't work. What i have found is that you either create a dual boot Win ME/(98 or 2000 pro) or dump ME as I did and run 98 or 2000 instead. It is painful but unfortunately, seeming necessary. I made it a bit less painful by using Symantec Works to back up all of my other loaded APPS (and Registry entries) Most reloaded to 98 even though they were running in ME.
Good luck.
Michael -
Install Oracle 8i Personald Edition on Windows 2000 Server SP2
Hi
I have problem to install the Oracle 8i Personal Edition on
Windows 2000 Server SP2.
I run the Setup.exe, I become the message (not exactly) “JRE
(Java Runtime Environment) was not found…… please visit
www.javasoft.com….. and install JRE version 1.1.7 or higher…”
Now, I have download and install this JRE (JavaTM 2 Runtime
Environment v 1.2.2_008 / Internationalized version of Java 2
Runtime Environment).
The error-messages comes again.
Have everyone a idea?hi phill...
why dont you try it out with the same CD and increase your RAM
by another 64MB? This will be enough. The reason is , most
Oracle 8i releases are combined with a java based Oracle
Universal Installer. This requires some good amount of RAM. Just
try it out with some extra memory. If this also didnt work, then
send in the problem,error with your system config. This will
help me in solving your problem.
Imran. -
Problem installing Oracle 8i(8.1.7) standard edition on windows 2000 server
I am trying to install Oracle 8i (8.1.7) standard edition on windows 2000 server but the setup program doesn't run.
It starts up, allocates some ram then closes before a window even pops up.
I also have MSSQL server installed on this computer, does that conflict?
Has anyone encountered this problem before? If so, please give a solution if you have one, thanks,
OPSYes. There is a bug with Pent4, Win2000 & Oracle8i.
Here is the workaround:
This is a known bug with Oracle java-based applications and Pentium 4 Use this work-around:
1) Copy the install directory from the CD to the hard disk.
2) Edit oraparam.ini and modify it as follows:
* Edit the "SOURCE=" line to to show the full path to the CD ; SOURCE={CD DRIVE LETTER}:\stage\products.jar)
* Edit the "JRE_LOCATION" line to show the full path to the CD ;
JRE_LOCATION={CD DRIVE
LETTER}:\stage\Components\oracle\swd\jre\1.1.7\1\DataFiles\Expanded)
* Edit the "OUI_LOCATION" line to show the full path to the CD ;
OUI_LOCATION={CD DRIVE
LETTER}:\stage\Components\oracle\swd\oui\1.6.0.9.0\1\DataFiles\Expanded
* Edit the "JRE_MEMORY_OPTIONS" line to include "-nojit" as the first argument ;
JRE_MEMORY_OPTIONS=-nojit
-ms16m -mx32m
3) Start setup.exe from your hard drive
Choose a Custom install and choose not to create a database during the install.
This way, the Database
Configuration Assistant will not be launched during installation. DONT SELECT
NET8 products for installation.
You need to put the same java parameters for the DB configurator and the Net8
Configurator
to run.
-nojit -ms16m -mx32m before -classpath on:
* assistants\dbca\DBAssist.cl
* network\tools\netca.cl
** Run the DataBaseConfigurationAssistant and NetworkConfigurationAssistant after installation.
Hope it helps!
Amrit -
Unable to install Adobe Digital Editions and Windows 8
help - I keep trying to install Adobe Digital Editions on Windows 8 - icon appears; program is in "programs" but ADE isn't there - I've installed, uninstalled several times - and still not up and running - need help- is ADE not compatible with Windows 8?
Moved to ADE forum.
Maybe you are looking for
-
I would like to download an older Firefox version - the latest for Mac OS 10.3.9. Please help me find a download site where I might find it.
-
Probleme with butons Apply changes & Create
Hi all, I have an interactive report with a link column which links to a regular form so the user can modify the information when he clicks on the column link. This form is used to add new information too. In the form, the buton create is conditionna
-
I paid a lot of money for this laptop a few years ago and it is out of warranty. I have the same problem as many other owners have reported. The computer just shuts down for no reason. I have to remove battery and re-install to be able to reboot it.
-
I'm pretty sure it works for it but i can't get it to load when i install it in a folder and update my plugins through adobe audition. Anyone know how? or anyone know an alternative to that plugin, a plugin that aligns two takes of a the same vocal t
-
Hi guys, Does anyone know if I can get a group of iCal events (not already in iCal) and to import them? (I am planning to integrate this into an Automator Action). Cheers, Ricky. www.rickyprograms.com