Create ASAM ODS hierarchy
I am configuring an ASAM ODS server. I already create the server, export the configuration, and installed on the client computer. Then I am able to connect from a client computer to the server but when I try to run the script to the hierarchy that does not work. My understanding of the forums another is that the script "main.vbs" to create the hierarchy should be run in tiara 2012 (I'm running with 2012 SP1 and still does not work).
The first thing I notice is that after the conection icons are not the same in the interface ASAM (NAVIGATOR) and then when I run the "main.vbs" and "CreateASAMModelHierarchy.SUC" the error attached.
Can you please help me with this problem?
Neither Chei,
In case you have the same problem as did nrin, here is once again this solution:
To connect to the NI ASAM-ODS server with AOP5 please follow these steps:
1. open the NAVIGATOR tiara.
2. go to settings - data banks...
3. Add a new data store. Or using the first button on the toolbar or via the context menu.
4. enter a name, select the use AOP5 and click OK.
5. in the following configuration dialog box, you must enter the computer name of the machine running the server OR ASAM-ODS.
(This information is also displayed in the dialog box settings ASAM Manager DataFinder (DFSE)
6. click on the [...] button in the URL line. In the next dialog box, select your server ASAM-ODS.
7 leave the dialog boxes for configuring two clicks on the [OK] button and open the new data store in the BROWSER.
8 download the creative hierarchy script that has been updated on January 27, 2014 and run in DIAdem SCRIPT
Brad Turpin
Tiara Product Support Engineer
National Instruments
Tags: NI Software
Similar Questions
-
Definition of the ASAM-ODS unit
Hello
I'm creating a file converter that should correspond to the ASAM ODS standard.
I use the "storage/data plugin" tip screws, range of the file IO. For now my test are based on the creation of an ATF file on my computer. Eventually the Oracle server with the asam-ods database.
The *.atf files that I create can be read: 'Tiara' and "AVL Concerto" too.
The problem I have is the association of a unit (rUnit) of my "MeasurementQuanties". I understand that I must pass a reference to the unit
INSTELEM MeasurementQuantity Id = 67; iName = "P_CV_CEE"; rMeasurement = 3; rUnit = UNDEFINED; rQuantity = UNDEFINED; iDataType = "DT_FLOAT"; iDescription = UNDEFINED; iSize = UNDEFINED; iSystemName = UNDEFINED; iChannelMode = UNDEFINED; iInterpolationMode = UNDEFINED; iDelayTime = UNDEFINED; iDeadband = UNDEFINED; iLocalName = UNDEFINED; LocalColumn = 67; ENDINSTELEM;
INSTELEM Unit Id = 45; iName = "hhmmss"; rPhysicalDimension = 35; iGain = 1.; iOffset = 0.; iSystemName = "hhmmss"; iUser = "AlmaAutomotive"; iProject = "Common"; iLastUpdate = "20100304183325000000000"; MeasurementQuantity = UNDEFINED; quantities = UNDEFINED;ENDINSTELEM;
I need to change the rUnit = UNDEFINED to something similar to rUnit = UnitID
Any help is appreciated!
Hi Davide.
There are two cases to consider:
(1) the device that you want to assign does not exist and must be added to the unit catalogue
(2) the device that you want to assign already exist in the catalog of the unit
Here's a VBScript code that shows the main actions that need to happen. In your case, you already have the references to 'Channel' as your reference light green MeasurementQuantity table.
' determine subtypes of aounit and aophysicaldimension dim unitEntity : set unitEntity = store.Model.Entities("aounit").SubTypes(1) dim physdimEntity : set physdimEntity = store.Model.Entities("aophysicaldimension").SubTypes(1) '''''''''''''''''''''''''''''''''''''''''' ' I: unit does not exist and we have to create it in the unit catalog dim channel : set channel = store.GetElementList("tdm_channel", "name=ch1", 1).Item(1) dim mPhysDim : set mPhysDim = store.CreateElement(physdimEntity, "m") mPhysDim.Properties("length_exp").Value = 1 mPhysDim.Properties("mass_exp").Value = 0 mPhysDim.Properties("time_exp").Value = 0 mPhysDim.Properties("current_exp").Value = 0 mPhysDim.Properties("temperature_exp").Value = 0 mPhysDim.Properties("molar_amount_exp").Value = 0 mPhysDim.Properties("luminous_intensity_exp").Value = 0 dim cmUnit : set cmUnit = store.CreateElement(unitEntity, "mm") cmUnit.Properties("factor").Value = 0.001 cmUnit.Properties("offset").Value = 0 cmUnit.References("phys_dimension").Elements.AddReference(mPhysDim) ' now we have created the unit and can add it to the channel channel.References("unit").Elements.AddReference(cmUnit) store.Save '''''''''''''''''''''''''''''''''''''''''' ' II: Query the unit already added in case I dim channel2 : set channel2 = store.GetElementList("tdm_channel", "name=ch2", 1).Item(1) dim unitEntityName : unitEntityName = store.Model.Entities("aounit").SubTypes(1).Name dim myUnit : set myUnit = store.GetElementList(unitEntityName, "name=mm",1).Item(1) channel2.References("unit").Elements.AddReference(myUnit) store.Save
Brad Turpin
Tiara Product Support Engineer
National Instruments
-
memoryconsumption-ASAM ODS - AOP5 (Speicherproblem)
for txt German please read below...
****
Hi @ all,
I had a problem with memoryconsumption in the code as follows:
[...]
Call OdsValAlloc ("VehicleList", "Ods_TYPE_INST", 1).
Call OdsInstList ("Vehicle", "State = 1 VehicleList", "", OdsHandle)
intAnzahlVehicle = OdsValCount
IntI = 1 to intAnzahlVehicle
' * Anzahl der Configs ermitteln
Dial OdsValuesCount (VehicleList (intI), 'Configurations', OdsHandle)
intAnzConfigs = OdsValCount
' * Instanz mit den entsprechenden "Configurations".
Call OdsValAlloc ("ConfigList", "Ods_TYPE_INST", 1).
Call OdsValGet (VehicleList (intI), "Configurations", 1, intAnzConfigs, 'ODS_TYPE_INST', "ConfigList", 1, OdsHandle)
IntJ = 1 to intAnzConfigs
[...]
Next
Call OdsValFree ("ConfigList")
Next
Call OdsValFree ("VehicleList")
[...]
I have itterate through several instancelists, which I get of our ASAM-ODS-database. Several information as in this code "vehiclename" or "configurationsnumber" is stored in variants and writes in a txtfile.
Several trys with a shortend script with I only itterates through the bodies exhibits the same behavior.
I only GET information from the database.
After a while my memory is used and the script chrash.
Unfortunately, it seems that the 'OdsValFree' command frees the memory space used of the GPI-variables.
If I close the connection to the server ("OdsClose"), then the memory will be accessible again.
All advice out there?
THX
Contur
****************************************
German:
Hi zusammen,
ICH habe in um Scripten, die wie das wanted aufgebaut sind, das problem, dass immer mehr Speicher und das Script nach einer weile busy DIAdem mit ner Speicherfehlermeldung absturzt.
Beim Itterieren durch diverse Instanzen, welche ich aus of our ASAM-ODS-data base lese, wird immer mehr Speicher keine, auch wenn ich - wie im angegeben - die GPI-specific freigebe Script.
ICH habe den Code before can Schön, dass ich nur durch die Instanzen itteriere und nichts weiter in irgendwelcher form vorhalte. Problem experienced existiert.
Wenn ich mit "OdsClose" die zur beende, wird der Speicher freigegeben DB connection. However email ich handle Instanzen ja zum Itterieren...
Habe ICH in diesem Fall nur lesenden Zugriff auf die data base.
Danke as read
Contur
Hmm, aktually the plugin behaves like that.
Information retrieved by the server are collected up to
- OdsDialogRefresh handle
- OdsClose handle
is called. This behavior is made to enable high-performance access to data server recovered.
I a m a bit wondering this same course of instances will cause this huge memory consumption.
Your entities have attributes thaosands? Or just you manage an enormous amount of instances.
Please keep in mind that, normally, an ASAM Ods server does not return more than 10,000 cases.
Workaround solutions:
OdsDialogRefresh will not release the full memory but should be a good first step and allows in most cases.
OdsClose will help globably as you already determinde. This is not the worst. There are two ways to do the job.
To be known: the odskeys returned by odsinstlist, odsvalget, odssvalget are persistent. So that they can be used even if the session is closed. Even the next day.
- Close the sourec some time and go on the use of the source after having reopened.
- Use a second store opened and the key retrieved by source1 source2. If you can open and close a few times source2.
Both solutions work quiet well with AOP, AOP5, ATF, ATFX.
Hope this helps
Greetings Andreas
P.S.: To speed up the work with AOP5, it is possible to specify Instances which should not be removed from the cache in the advanced settings. Canidate for things like unit or quantity on the other must be retrieved from server every time that it is requested. So if if you work on a playground with the same unit, quantity, this may help. Otherwise the device and quantities can be resolved to a second source which is not updated or closed.
-
Hi all!
I need a function that creates folders,
Create A folder on the target "C:/test/123 / '.
If A file exists on the target "C:/test/123 /" then create folder B on the target "C:/test/123 / '.
If the B folder exists on the target "C:/test/123 /" then create folder B on the target "C:/test/123 / '.
If file B exists then create file C on target "C:/test/123 / '.
Could someone help me with this function
Thanks in advance
Try this,
var target = Folder.selectDialog("Choose a target folder"); if(!(Folder(target+"/"+"Folder A")).exists) { new Folder(target + "/" + "Folder A").create(); } else if(!(Folder(target+"/"+"Folder B")).exists) { new Folder(target + "/" + "Folder B").create(); } else if(!(Folder(target+"/"+"Folder C")).exists) { new Folder(target + "/" + "Folder C").create(); } else { new Folder(target + "/" + "Folder D").create(); }
Kind regards
Cognet
-
I just discovered a very basic bug in Windows 7 file Explorer:
Open the folder "libraries." Select any item under 'Libraries', for example 'Documents '. In the hierarchy of folders in the 'Documents' left right click and select 'New'-> 'folder '. Select the directory newly created in the hierarchy of folders (always in the left frame of the Explorer). Right-click in the right frame and select 'New'-> 'text Document '. Open the newly created document, enter text and save it. Now, again select the new folder in the hierarchy of folders in the left frame and type
+ . An error message appears stating something like "C:\Users\Public\Documents\FOO refers to a location that is unavailable. It could be on a hard drive on this computer or on a network. Make sure that the disc is inserted correctly, or that you are connected to the Internet or your network, and then try again. If it can't be located, the information may have been moved to another location. » When you click OK in the window of the Explorer will crash and respan itself after a short period of time.
What is the full error message?What changes were made before the grant took place?How long you have been facing this problem?You can use the following methods that can help you solve your problem:Method 1: try to make the SFC scan on the computer.How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
http://support.Microsoft.com/kb/929833Method 2: If above method does not work, try to perform the clean boot and check for the issue:How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: Ensure that you switch your computer to normal startup mode after completing the troubleshooting steps. Steps are available in the article above.
Method 3: If that does not work, create a new user account and verify. If it works in a new user account, then probably your user account have been damaged and would need a fix.
Create a user profile.
http://Windows.Microsoft.com/en-us/Windows7/create-a-user-accountNow search for the question.
Follow the link provided below to fix the damaged user profile.
http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profileMethod 4: You can also use Event Viewer to search for information on the problem.
Reference:
The display of the error messages in the event viewer
http://support.Microsoft.com/kb/947321You can check for more information about this at the time where it appeared and post this information here to help us narrow down where the focus.
-
Problem creating hierarchy based on 2 physical dimension tables
I'm having a problem create 1 dimension logic with a hierarchy of exploration, based on two separate physical dimension tables. The errors I get when navigating in the exploring hierarchy is:
"Cannot find coverage source logical table to the columns of the logical" &
"Missing join between the logical tables.
I use OBIEE 10.1.3.4
Here are the details of what I have set up as:
Physical layer:
Table DIM_ORG with the dimension columns:
-dimension_key
-org_total_code
-org_total_description
-org_detail_code
-org_detail_description
Dimension table DIM_DEPT with columns:
-dimension_key
-dept_total_code
-dept_total_description
-dept_detail_code
-dept_detail_description
FACT_SALES table with columns of facts:
-fk_org
-fk_dept
-sum_sales
Physical joins:
FACT_SALES.fk_org = DIM_ORG_dimension_key
FACT_SALES.fl_dept = DIM_DEPT.dimension_key
Business model and the mapping of layer:
I created a logical dimension ORG_DEPT. It contains two sources of logic table (DIM_ORG & DIM_DEPT) and the following logical columns:
-All departments (mapped to dept_total_code)
-Organization (mapped to org_detail_description)
-Organisation number (mapped to org_detail_code)
-Department (mapped to dept_detail_description)
-Department Code (mapped to dept_detail_code)
The logical key of the company is based on the combination of number of organization & Department Code
The hierarchy, I need is: all departments-> organization-> Department so I created the following hierarchy for ORG_DEPT:
-Total level containing: all departments
-Organization level containing: company (defined as logical level key) number & Organisation (als defined the key level drill)
/ Department detail level containing: Department (defined as logical level key) Code and the Department (defined as key level drill).
In the LTS of the ORG_DEPT dimension, I've set levels of content for sources:
DIM_ORG: Level of organization
DIM_DEPT: Level of detail Department
The LTS non - joins inner - came against the associated physical tables.
I created a logical fact table (based on the physical fact table) SALES and joined him on the ORG_DEPT logical dimension table.
In the LTS, level of content for ORG_DEPT is part of the level of retail service. Non - joins inner were aded against related physical tables.
When I create a report in response to test the hierarchy and select only "all departments' I get the value of the returned correct size. When I try to break through to the next level, I get the following ODBC error:
"Could not find coverage source logical table for logical columns: [all of them]." "Please check more detailed level keys are correctly mapped.
When I create a report in responses and select "Every department" and "Sales", I get the correct result. When I try to break through to the next level, I get a different ODBC error:
"Lack of join between the logical tables DIM_DEPT and DIM_DEPT: there must be at least a physical link to join between the underlying physical tables.
All suggestions are welcome!
Thank you!You have no relationship defined between the Department and org.
You can either:
a. create a table of physical dimension with a composite key of org_id & dept_id if there is a relationship defined somewhere, then to obiee model as you have already done, but in the physical layer on the composite key join
b. model your exisitng as two-dimensional and two hierarchies tables and set up a path of forest favorite between them according to your needs.Kind regards
Robert
-
Show only the screws used to VI hierarchy instead of all polymorphic Versions of a VI
Hello!
When you pull the top of the hierarchy of VI for a program, you get a diagram showing all polymorphic versions of a VI used in your program (at least I do). Is a checkbox hide somewhere that I did not find that put the screws in the hierarchy I call in my program? For example, if I use the polymorphic VI 'DAQmx create Virtual Channel' in my program, and the "AI Input" version is used, I always get every version, which is several, figure in the hierarchy of VI. This clutters the schema a bit. Instead of an icon that appears in the hierarchy, it is instead of 20 or 30.
Everyone there knows what can be done? Thanks for any help you can give me.
Thank you, Jeff, to confirm this as I was afraid of. I was wondering where they were hiding this darn box!
I guess that the code that creates the diagram hierarchy VI must have been written before polymorphic VIs and he travels find as all loaded screws to add them to the diagram. When any one version of a polymorphic VI is called, all versions are loaded and found the code that creates the schema. If only the specific version of a polymorphic VI takes over, then this theory does not work.
If I helped you and I get this feature implemented, I am glad that I could be useful.
I appreciate your response.
-
Add a folder of files with the hierarchy to the installer
Hi all
Have a folder of files that can be read by the app. This folder has a hierarchy of other records and contains xml files.
I just want to include this file and all files with the hierarchy with installer and add to the Application directory.
I don't want to have to manually create this folder hierarchy in generator installation and add each xml file.
Is it possible to simply add files with the hierarchy folder the installer?
Thank you.
You should be able to do this if you add the folder of your project as a folder automatic settlement. If you right click on my computer in the directory of your project and select Add > folder (automatic settlement) will include the folder and subfolders. Now when you go to build an installer and click on the Source Files tab you can add all of the folder and its subfolders. Note, you are not able to do it with normal files or instant capture. I hope this helps.
-
Hierarchy with each Member of the child's repeated occurrences
I created a simple hierarchy in OBIEE Administration tool, as follows:
When I create an analysis using this hierarchy, I would expect the following:
Instead, I'm multiple occurrences of each Member of the child, as follows. I do not know what is causing the failure, because none of these criteria, I have included in the analysis.
Take a look at the generated query physical if you are 100% sure of what groupping done OBIEE and from there you can find on the issue.
You can also start by dual control key you defined (Sun and hierarchy) and, of course, that I'm sure you didn't play too much with content levels to set some strange things, but they are well positioned to match your hierarchies, right?
-
Chargeback Manager does not display the hierarchy
Hello
After you have created a new hierarchy, Chargeback Manager cannot display hosts, clusters, etc. In vCenterDC_Errors.log, following error appears constantly:
2013 08-09 T 12: 48:30.442 + ERROR 0200 [StorageSyncJob (4) on VC 515] [storage. StorageSyncJob] 4433: Transport error: error 503: Service unavailable
org. Apache.Axis2.AxisFault: Transport error: error 503: Service unavailable
at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:311)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:200)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.vmware.vc.sps.InternalSpsServiceStub.queryCapability (unknown Source)
at com.vmware.vim.vcenter.datacollector.job.storage.StorageCapabilityInfoCollector.collectCbStorageCapabilities(StorageCapabilityInfoCollector.java:68)
at com.vmware.vim.vcenter.datacollector.job.storage.StorageCapabilityInfoCollector.collect(StorageCapabilityInfoCollector.java:50)
at com.vmware.vim.vcenter.datacollector.job.storage.Accumulator.collectAndStore(Accumulator.java:98)
at com.vmware.vim.vcenter.datacollector.job.storage.Accumulator.accumulate(Accumulator.java:72)
at com.vmware.vim.vcenter.datacollector.job.storage.StorageSyncJob.run(StorageSyncJob.java:54)
And, in the GUI, the collector of data has linked errors with synchronization of storage, can someone please help me fix?
Kind regards.
Hello
Could check you if the storage VMware Profile-Driven Service runs on the server vCenter added Server... ? If not, start the service. It should work
Thank you
-
I just started using hierarchies of keywords. After creating my first one from the 'location', I find that trying to create a new (like 'animals') the place in the hierarchy of the keyword "rental." So how to create a new hierarchy that stands alone? To create the first hierarchy, I used the symbol '+' at the top of the list of key words. When I use the '+' again once, to create a new keyword, it automatically places under the hierarchy of 'Location' (even if I don't count whether a hierarchy).
Right click on the key word "rental".
Then uncheck "Put new keywords inside of this keyword"
Default keyword location is noted by a sign more/asterisk following the keyword name. (sign for regular keywords/asterisk for keywords people)
-
Hierarchy of basic level?
Hello
I have two dimension tables with a join relationship in the physical layer, and now I need on top of the 2 tables to create the hierarchy level in layer MDB database.
By maintenance single logical table with all the columns required 2 tables (using multiple LTS) and the creation of hierarchy on this subject.
I want to know is this is the right way to create the hierarchy level?
or is there an alternative way to do it,
Please need your suggestions.
Thank you.Since you have 2 tables proceed as below:
Suppose DimA and Edin are 2 tables and you want to create the hierarchy of basic level for Edin. In this case, another table DimA treat it as a fact and create aliases for this dim as FactDimA.
Participates in the physical layer
FactDimA-> DimA
FactDimA-> EdinMDB: Pull these 3 tables and create the hierarchy based according to the needs and for another dim just create the default hierarchy
Use the settings in FactDimA and descriptive or column of type char DimA
If you have any questions; I guess you're not as I said.
Finally mark it as correct ;)
-
Hierarchy shared for DTS members
Hello
Is it possible to create some other hierarchy (shared member) for DTS members in the planning application.
I use version Hyperion 11.1.2.1.
Kind regards
Sunil.Hey, Sunil,.
My apologies, I did not read the question carefully the last time. I created the SDR structure using dynamic members (non-shared members). Example: Create dynamic members such as:
CDA Jan = January;
Feb YTD = CDA Jan + Feb;
YTD Mar = Feb + Mar; CDAI hope this helps.
-
I have a requirement that when I click on a column, I can down a different low level for different report.
For example:
A report has a column named region, when I click this column that can explore the neighborhood.
Report B have the same yourself, when I click this column that can explore the store.
For this feature, how to design the hierarchy of the RPD. Please help me if you know the answer.try my suggestion
If you know the paths different drill incorporated into reports, create several dimensions for the location (duplicate with same existing joins), create a logical hierarchy for each of > with desired exploration path, use respective hierarchy for respective exploration path.
for example,.
your normal path is A-> B-> C-> D - achieve you with the existing hierarchy.
you need A-> B-> D and-> C-> D. You duplicate the size twice in your RPD, make all joins, levels of content in your facts.
for A-> B-> D, create a logical dimension and create appropriate without level C levels, do the same for A-> C-> D.
But recommended is my only concern with this approach.
Published by: user7760457 on 7 February 2012 23:39
-
I'm new to UCM / Site Studio. I have the site installed example which works fine, but when I use Site Studio to create a new site, the immediate error I get is:
Cannot create new site hierarchy "NewSite".
(Invalid metadata for 'SS_PROJECT_NewSite'. Virtual folder does not exist.)
What happens here? I also tried to get around by creating a project to weblogic user different, but who gave is just that buggy?Have you defined the default metadata for new sites? Under the administration Menu > Studio Site Administration > metadata by default of the project...
If you have, you have a record of contribution it doesn't exist anymore?
Maybe you are looking for
-
Because the update to 40 FF lance a blank white screen with no controls, no toolbar or address bar. I can create a new profile in the Profile Manager and then launch firefox functional but a previous bug still exists, the text in the address bar is r
-
What is the keyboard commands for counter top without having to close all of the windows open
I used to know a keypad to reach the top of office easily. I tried to guess a little, but they do not work, I would like to use this command if everyone out there knows a. Thank you.
-
Windows7 task bar icons won't stay where I put them
I spent hours carefully "pin" some 20 shortcuts to the Win 7 taskbar. When I removed some UI features, ALL icons have been deleted without warning. Then, I collected all the icons, this time putting them in a folder and put the folder in the to-do ba
-
No media player sound recording live TV
Hi people, I have a problem with Windows 7 in record mode Live Tv (planned or not) I'm under edition Full 64-bit Windows 7 Home premium with an AMD processor Athlon 64 dual core with 4 GB of Ram. I only have the problem with the TV Live recorded
-
Whenever I have click on this link the connecting me to the rather different page.
When I try to go to example.com (x.x.x.x), it takes me to the login page. It is very good. But when I try to open this link "example.com\abc\xyz\test.txt" rather then opening an attachment, still need me to the login page. Now, when I change the link