Query - Sharing single Input/output FRS across multiple CMS Cluster
Hi,
I have two BOE XI R2 SP3 servers on windows 2003r2 x64 which are with one BOE clustered, sharing file repository (FRS) on common NAS storage folders. Objective is to vertically scale BOE servers by adding more clusters on these two BOE servers. I wish to add few more clusters by adding CMS through CCM wizard option pointing to separate CMS db sachems.
Can multiple CMS cluster share same FRS component with separate folder structure OR do I have to duplicate each BOE component per cluster basis.
Regards,
G.
Hi
Thanks for your response.
Hardware allocated for BOE is only 2 servers, and design is to maintain 3 separate environments( One change should not affect other). We wish to share Production, Testing and support BOE environments on same hardware.
Only objective of maintaining multiple BOE cluster on same hardware is to provide non inter dependent BOE service to various user groups.
Suggest needful
Regards,
Similar Messages
-
HELLO...
I hope you experts out there can help me. Consider the following (2) Tables in MSSQL:
1. TENDERED --> Primary Key = DATE / DOC_NO / PAYMENT_SEQ_NO
DATE
DOC_NO
PMNT_SEQ_NO
PAYCODE_TYPE
AMOUNT
2. TENDERED_CR_CARD -->Primary Key = DATE / DOC_NO / PAYMENT_SEQ_NO
DATE
DOC_NO
PMNT_SEQ_NO
CR_CARD_NO_MASKED
CR_CARD_NAME
CR_CARD_EXP_DATE
These two tables are certainly related, based on their Primary Key values.
Now, consider the following data in those two tables:
DATE
DOC_NO PMNT_SEQ_NO
PAYCODE_TYPE
AMOUNT
03/10/2014 100001
1
CASH
100.00
03/10/2014 100001
2
CASH
-9.75
03/10/2014 100002
1
CASH
50.00
03/10/2014 100002
2
VISA
100.00
03/10/2014 100002
3
VISA
250.00
03/10/2014 100003
1
MC
125.00
03/10/2014 100003
2
AMEX
75.00
DATE
DOC_NO PMNT_SEQ_NO CR_CARD_MASKED
NAME
CR_CARD_EXP
03/10/2014 100002 2 4225******801289
MARY JONES 2016/08/31
03/10/2014 100002 3 4121******637442
JOHN DOE 2015/04/30
03/10/2014 100003 1 5428******971134
MIKE BAKER 2018/09/30
03/10/2014 100003 2 3732*****344756
LINDA LIU 2017/07/31
OK...so what we NEED...is a Combined, SINGLE RECORD Audit Report type query.
The resulting query should show, based on the Data from above, the SINGLE LINE represented in the Attached Spreadsheet.
NOTE...what's important to point out here..is that ONLY the 'CASH' Tender gets "summed"...EACH INDIVIDUAL Credit Card record MUST have its own Field...as represented in the corresponding Columns of the Spreadsheet (i.e. PMT_TYP_1, AMT_1, PMT_TYP_2,
AMT_2, and so forth).
PLEASE HELP! Any suggestions/advice would be most appreciated!
Thank You!...MarkI would not do this in SQL if I could possibly avoid it. Instead do it in the front end.
If you must do it in SQL, this is a dynamic pivot on multiple columns. Naomi Nosonovsky has a blog at
http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/dynamic-pivot-on-multiple-columns/ on how to do that. Look especially at her second example using the claims table. Of course, you must do some manipulation even before you do the multi-column
pivot, since you must first combine all the cash entries.
So one way to do it would be to build a temp table with all the entries you have except the cash entries combined into one payment sequence number. To do that you may need specifications that are not clear to me from what you have given us. For
example, if PMT SEQ 1 is VISA, PMT SEQ 2 is CASH, PMT SEQ 3 is VISA, PMT SEQ 4 is CASH, and PMT SEQ 5 is VISA, you want to combine the two cash payments. So they become PMT SEQ 2? If so, what happens to PMT SEQ 4 - is it left N/A or does
PMT SEQ 5 become PMT SEQ 4?
But once you have this temp table with the cash payments combined in the algorithm you need, then you can use Naomi's method to do the multi-column pivot. Note that Naomi uses the code
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_Name = 'Claims'
to get the column names from the permanent table Claims. To get the column names from a temp table use code like the following. To find the column names in a temp table named #MyTempTable, do
From tempdb.sys.columns
Where object_id = OBJECT_ID('#MyTempTable')
But as I say, if feasible, I would do this in the front end, not in SQL. T-SQL is a very good language for storing and retrieving data, not so good at formatting it.
Tom -
Can we share one single RDBMS security store across multiple domains ?
Can we share one single RDBMS security store across multiple weblogic domains? The idea is to utilize the same set of users and group defined in Weblogic Security Realms across multiple weblogic domains. Is it possible ? are there any risk ?
i am using Oracle WebLogicServer11gR1 (10.3.6) Generic with Coherence.Hi,
The document which you are referring is for WLS 10.0 and RDBMS security is introduced from WLS 10.3.0 onwards.
The reason why RDBMS security store should not be stored between two domains is RDBMS security store is used by authorization, role mapping, credential mapping, and certificate registry providers.
Once the RDBMS security store is configured in a domain, an instance of any of the preceding security providers that has been created in the security realm automatically uses only the RDBMS security store as a datastore, and not the embedded LDAP server.
It is just the replacement for Embedded LDAP.
Thanks & Regards,
Murali.
============ -
Convert Oracle SQL query to single column output
Hello All,
I need to build the query to have multiple columns in a single column with multiple rows.
select a.customer_trx_id,a.previous_customer_trx_id
from ra_customer_trx_all a
where a.customer_trx_id = :customer_trx_id
here, a.customer_trx_id and a.previous_customer_trx_id are in two columns. I need to bring them into a single column.
Say: the above output is
a.customer_trx_id a.previous_customer_trx_id
123456 87654
Need to have single column
As
123456
87654
Please do the needful.
Thanks,
AbdulHi,
Post your question in [SQL and PL/SQL|http://forums.oracle.com/forums/forum.jspa?forumID=75] forum, you would probably get a better/faster response.
Regards,
Hussein -
SIngle row output for a multiple values
Create table test_table ( metric_name varchar2(30), dt date, value number) ;
insert into test_table values ('METRIC_1', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 10) ;
insert into test_table values ('METRIC_1', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 20) ;
insert into test_table values ('METRIC_1', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 30) ;
insert into test_table values ('METRIC_2', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 11) ;
insert into test_table values ('METRIC_2', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 22) ;
insert into test_table values ('METRIC_2', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 33) ;
commit;
alter session set nls_date_format='mm/dd/yyyy hh24:mi:ss' ;
SQL> select * from test_table ;
METRIC_NAME DT VALUE
METRIC_1 12/31/2013 08:00:00 10
METRIC_1 12/31/2013 09:00:00 20
METRIC_1 12/31/2013 10:00:00 30
METRIC_2 12/31/2013 08:00:00 11
METRIC_2 12/31/2013 09:00:00 22
METRIC_2 12/31/2013 10:00:00 33
But I need output in following format:
METRIC_NAME 12/31/2013 08:00:00 12/31/2013 09:00:00 12/31/2013 10:00:00
METRIC_1 10 20 30
METRIC_2 11 22 33
-ThanksHi,
943750 wrote:
Create table test_table ( metric_name varchar2(30), dt date, value number) ;
insert into test_table values ('METRIC_1', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 10) ;
insert into test_table values ('METRIC_1', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 20) ;
insert into test_table values ('METRIC_1', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 30) ;
insert into test_table values ('METRIC_2', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 11) ;
insert into test_table values ('METRIC_2', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 22) ;
insert into test_table values ('METRIC_2', to_date('12/31/2013 08:00:00','mm/dd/yyyy hh24:mi:ss'), 33) ;
commit;
alter session set nls_date_format='mm/dd/yyyy hh24:mi:ss' ;
SQL> select * from test_table ;
METRIC_NAME DT VALUE
METRIC_1 12/31/2013 08:00:00 10
METRIC_1 12/31/2013 09:00:00 20
METRIC_1 12/31/2013 10:00:00 30
METRIC_2 12/31/2013 08:00:00 11
METRIC_2 12/31/2013 09:00:00 22
METRIC_2 12/31/2013 10:00:00 33
But I need output in following format:
METRIC_NAME 12/31/2013 08:00:00 12/31/2013 09:00:00 12/31/2013 10:00:00
METRIC_1 10 20 30
METRIC_2 11 22 33
-Thanks
All the dts INSERTed were 08:00:00; why are some displayed as 09:00:00 or 10:00:00? I assume there are typos in the INSERT statements, and the results above are correct.
Taking data from 1 column on N rows, and displaying it as N columns on 1 row is called Pivoting. Search for "pivot" for details.
If you know the exact dts for which you want to check, you can do something like this:
SELECT *
FROM test_table
PIVOT ( MIN (value)
FOR dt IN ( TO_DATE ('12/31/2013 08:00:00', 'mm/dd/yyyy hh24:mi:ss') AS hr_08
, TO_DATE ('12/31/2013 09:00:00', 'mm/dd/yyyy hh24:mi:ss') AS hr_09
, TO_DATE ('12/31/2013 10:00:00', 'mm/dd/yyyy hh24:mi:ss') AS hr_10 )
ORDER BY metric_name
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Point out where the query above is giving the wrong results, and explain, using specific examples, how you get the correct results from the given data in those places. If you changed the query at all, post your code.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
Separate Analog Input/Output Tasks for Multiple USB-Daq 6008
Hello, In my application I'm using two separate USB-6008 DAQ devices, they are to be used simultaneously,
i.e both tasks will start in a same loop, there are both writing to some channels and sampling some data from
some channels, the problem is, when I'm trying to define a task, via Daqmx base Configuration Utility, I
sucseed at defining the task, for the first Device, but unable to define nearly same task but for the
different Device, since the OK button is grayed out (Disable).
I'm using Labview 7.1 and a NI-Daqmx base ver. 2.0
Following attachment shows what I'm talking about.
Attachments:
daqmxbase.JPG 59 KBActually it is not the easiest to use the full version of daqmx is easier, It is also very easy to set this up in MAX (measurement and automation explorer) What version of labview are you using. have you made sure that the device is recognised in MAX and that the device number is correct. i have a couple of 6008 and have run them alot without any trouble so it must be the way you have things setup. Could you post a section of the code that gives you the error. also try running each device in max with the test panels for each one and see if it works there.
Joe.
"NOTHING IS EVER EASY" -
Sharing an iTunes Library across multiple user account and a network.
Sharing an iTunes Music Library across multiple user accounts.
Hello Everybody!
Firstly, this was designed to be run in Mac OS X 10.4 Tiger. It will not work with earlier versions of Mac OS X! Sorry.
Here's a handy tip for keeping your hard drive neat and tidy, it also saves space, what in effect will be done is an iTunes music library will be shared amongst multiple users on the same machine. There are advantages and disadvantages to using this method.
• Firstly I think it might be worthwhile to state the advantages and disadvantages to using this approach.
The advantages include:
- Space will be saved, as no duplicate files will occur.
- The administrator will be able to have complete control over the content of the iTunes library, this may be useful for restricting the content of the Library; particularly for example if computer is being used at and education institution, business or any other sort of institution where things such as explicit content would be less favorable.
- The machine will not be slowed by the fact that every user has lots of files.
The disadvantages to this system include.
- The fact that the account storing the music will have to be logged in, and iTunes will have to be active in that account.
- If the account housing the music is not active then nobody can use the iTunes library.
- There is a certain degree of risk present when an administrator account must be continually active.
- Fast User Switching must be enabled.
Overview:
A central account controls all music on the machine/network, this is achieved by storing iTunes files in a public location as opposed to in the user's directory. In effect the system will give all users across the machine/network access to the same music/files without the possibility of files 'doubling up' because two different users like the same types of music. This approach saves valuable disk space in this regard and may therefore prove to be useful in some situations.
This is a hearty process to undertake, so only follow this tutorial if you're willing to go all the way to the end of it.
Process:
Step 1:
Firstly, we need to organize the host library, I tidied mine up, removing excess playlists, random files, things like that. this will make thing a bit easier in the later stages of this process.
Once the library is tidied up, move the entire "iTunes" folder from your Home directory to the "//localhost" directory (The Macintosh HD) and ensure that files are on the same level as the "Applications", "Users", "Library" and "System" directories; this will ensure that the files in the library are available to all users on the machine (this also works for networks)
Optionally you can set the ownership of the folder to the 'administrator' account (the user who will be hosting the library.), you may also like to set the permissions of 'you can' to "Read & Write" (assuming that you are doing this through the user who will host the library); secondly you should set the "Owner" to the administrator who will be hosting the library and set their "access" to "Read & Write" (this will ensure that the administrator has full access to the folder). The final part of this step involves setting access for the "Others" tab to "Read Only" this will ensure that the other users can view but not modify the contents on the folder.
Overview:
So far we have done the following steps:
1. Organized the host library.
2. Placed the iTunes directory into a 'public' directory so that other users may use it. (this step is essential if you plan on sharing the library across multiple accounts on the same machine. NOTE: this step is only necessary if you are wanting to share you library across multiple accounts on the same machine, if you simply want to share the music across a network, use the iTunes sharing facility.
3. set ownership and permissions for the iTunes music folder.
Step 2:
Currently the administrator is the only user who can use this library, however we will address this soon. In this step we will enable iTunes music sharing in the administrator's account, this will enable other users to access the files in the library.
If you are not logged in as the administrator, do so; secondly, open iTunes and select "Preferences" from the "iTunes" menu, now click the "Sharing" tab, if "share my library on my local network" is not checked, the radio buttons below this will now become active, you may choose to share the entire libraries contents, or share only selected content.
Sharing only selected content may be useful if their is explicit content in the library and minors use the network or machine that the library is connected to.
If you have selected "share entire library" go to Step 3, if you have selected share "share selected playlists" read on.
After clicking "share selected playlists" you must then select the playlists that you intend to share across your accounts and network. Once you have finished selecting the playlists, click "OK" to save the settings.
Overview:
In this step we:
1. Enabled iTunes sharing in the administrator's account, now, users on the local network may access the iTunes library, however, users on the same machine may not.
Step 3:
Now we will enable users on the same machine to access the library on the machine. This is achieved by logging in as each user, opening iTunes, opening iTunes preferences, and clicking "look for shared music". now all users on the machine may also access the library that the administrator controls.
This in effect will mean that the user will not need to use their user library, it will be provided to them via a pseudo network connection.
As a secondary measure, I have chosen to write a generic login script that will move any content from the user's "Music/iTunes/iTunes Music" directory to the trash and then empties the user's trash.
This is done through the use of an Automator Application: this application does the following actions.
1. Uses the "Finder" action "Get Specified Finder Items"
1a. The user's "~/Music/iTunes/iTunes Music" folder
2. Uses the "Finder" action "Get Folder Contents"
3. Uses the "Finder" action "Move to Trash"
4. Uses the "Automator" action "Run AppleScript"
4a. with the following:
on run {input, parameters}
tell application "Finder"
empty trash
end tell
return input
end run
IMPORTANT: Once the script is adapted to the user account it must be set as a login item. in order to keep the script out of the way i have placed it in the user's "Library" directory, in "Application Support" under "iTunes".
Overview:
Here we:
1. Enabled iTunes sharing in the user accounts on the host machine, in effect allowing all users of the machine to view a single iTunes library.
2. (Optional) I have created a login application that will remove any content that has been added to user iTunes libraries, this in effect stops other users of the machine from adding music and files to iTunes.
Step 4:
If it is not already enabled, open system preferences and enable Fast User Switching in Accounts Options.
Summary:
We have shared a single iTunes library across multiple user account, while still allowing for network sharing. This method is designed to save space on machines, particularly those with smaller hard drives.
I hope that this hint proves to be helpful and I hope everybody will give me feedback on my process.
regards,
Pete.
iBook G4; 60GB Hard Drive, 512MB RAM, Airport Extreme Mac OS X (10.4.6) iWork & iLife '06, Adobe CS2, Final Cut Pro. Anything and Everything!!!how to share music between different accounts on a single computer
-
Sharing one iTunes library across multiple accounts on the same Mac
Hello, I've poked around at some of the posts dealing with sharing one iTunes music library across multiple accounts on the same Mac but it seems like this can only be done if the libary is moved to a shared folder. I realize this can be done but I was trying to share it the way it is described in a post on Apple support (See link below.). That post seemed to imply that you don't have to move the library from its original location (owned by account A, e.g.), rather just make a couple preference changes in the accounts, use fast user switching and voila. That doesn't seem to work. So my question is this: Is the only way to share one iTunes music library across multiple accounts on the same Mac to move it to a shared folder? I'm running 10.4.8 on an Intel iMac. Thanks in advance!
http://docs.info.apple.com/article.html?artnum=93195After reading this and several other related threads, I am becoming thoroughly confused about all of this. I have a situation similar to the one that pokerpal described in the post dated January 7 at 8:06 pm, except that the music files on my system are located on an external hard drive. Everything else is pretty much the same though - I am the admin user (and the main iTunes user and maintainer) and my girlfriend is a standard user who has no music in her own iTunes library. She can see and listen to and make playlists from and sync her iPod with the music in this library from her account, and I can do the same thing, independent of her, from my account. And if I make a change to information within a song, she doesn't see it, and vice versa, and I understand that. What I don't understand is why when I add a song or an album to the music files by importing a CD or downloading something from the iTunes Music Store, she has no way of knowing that unless I tell her, and then she can add it to her library by using the "Add to Library" function. Is there no way of automatically updating her library files to add the new song(s)? We have almost 15,000 songs and videos in that library, and I don't even want to think about what might have to happen if the answer to my question is "no." Interestingly enough, if I put an update to a Word document in the same exact location (on the hard drive), we can update that and pass it back and forth all day - why is that such a difficult task for iTunes to accomplish?
Sorry I went on so long, but this has been building up for some time, and none of the solutions I've read about here have really been of any help, so I'm a bit frustrated and, as I said at the beginning, confused.
iMac G5, MacBook Mac OS X (10.4.8) -
Scrollbars w/ one table across multiple tabs
Please help, I'm stumped on this...
User has requested that a single table be displayed across multiple tabbed canvases. Problem is that each tabbed canvase contains mulitple record data.
I can define a scrollbar using the block property pallette and have the scroll bar then display on the first tab. How can I define and display a scroll bar on the second and third tabs?
In the past, I created a stacked canvas view that replaces the 2nd/3rd tabs. In this instance, the user has requested that the data not be displayed via a stacked scrolling canvas.
Any ideas?You mean the scrollbar does not scroll??
What is the number of records displayed value of
your block?
Your scrollbar should be working when your number of
records exceed the number of displayed items. Visual
attributes is for look and feel only.
Let's say your block number of records displayed is
5 and you have 10 records the scrollbar is not
scrolling??
Regards,
TonyCorrect. The scroll bar is not scrolling. For the base table block that is spread across three tabs, the number of records displayed is 5. When I execute the query, 6 records are returned. On the first tab, I used the block item property to set up the scroll bar x/y settings and height/width. Within the first tab, the scroll bar is working fine.
When the second tab is activated (e.g. it is the top most tab page) (w/ the stack canvas overlay scrollbar), the bar appears in the correct position but there is no functionality attached to it. In other words it just appears as a bar like one would find on a bar graph. The bar does not resemble a scroll bar (visually) nor does it operate like one. Ditto for the 3rd tab.
Do I need to attach a Dummy block with 5 records to each stacked canvas overlay scrollbar in order to have the look/feel and functionality of a scroll bar?
Thanks,
Steve -
Singletons across multiple JVMs
I have an EJB application container which is spread across multiple JVMs(something like a clustered EJB container). I am using a Singleton class to hand out 'running serial numbers'. Therefore there is a Singleton class per JVM(which is not very clean but i chose this path in the absence of anything better). Each singleton comes up when it is first invoked within a JVM and reads a starting running number and a pool of numbers from the database. This way multiple Singletons will not step on each other when doling out the serial numbers and there is no need to go back to the database for every request to the 'running serial number'.
Is there some way to do some of the initialization within these Singleton's just ONCE across the multiple instances of the JVM ie. a real Singleton across multiple JVMs?
Thanks
RamdasPranav,
thanks for your suggestions.
the idea of using a Session bean to access a serialized object was one of my design options when i first implemented this, but then i decided against it because of the overhead of having to make an RMI call for every request to the 'running serial number'. The application being written is for a performance benchmark, and the request to the number being done at least once for every transaction, I chose to use Singletons.
It is a clustered EJB container(not like most conatiners), in the sense that a single container is spread across multiple JVMs.
Now if your application is getting clustured
then you have a problem, in that what you can do is
what object you have made put it in JNDI context and
everytime you want to edit it pull it out edit and set
it back. This will act a your singleton object in
clustured environment accross JVM'sI did not fully understand the second part of your solution????
Ramdas -
Can Web Modules of a single application be dispersed across several OC4Js
In WebSphere the Web modules of a single J2EE application (multiple .WARs within a single .EAR) can be installed on the same application server or dispersed among several application servers. Can this be done with OAS 10.1.3? In other words - can web modules of a single application be dispersed across multiple OC4Js.
I did not find a way to configure this from within EM. And I question whether it is even possible.
ThanksSingle sign on can´t be used as the passwords in SAP and CRM can be different for a user
In SSO you can have any password in any system, It does not matter.
If User names are same you can use SSO.
Regards. -
Oracle query - Merging multiple rows into a single row output
Hi All,
I have to have a multiple row output to be converted into a single row output.My current output looks as follows:
ID YR INC_CODE OFFN SCHOOLNO
8006 2002 00175 SC03 12
8006 2002 00175 DC06 12
8006 2002 00175 DC03 12
8006 2002 00175 DC02 12
ID,INCIDENT CODE,OFFENSE are all Primary keys
So I need the output as follows:(IN ONE ROW)
ID YR INC_CODE OFFN1 OFFN2 OFFN3 OFFN4 SCHOOLNO
8006 2002 00175 SC03 DC06 DC03 DC02 12
Can you help me on this since have been spinning the wheel and this has to be a query since will have couple of tables join to produce a materialized view.
Thanks in advanceHi Nigel,
Thanks for the reply I tested out the portion having the decode and I get the output as follows:
ID YR INC_CODE OFFN1 OFFN2 OFFN3 OFFN4 OFFN5
8982 2002 2175 DOC01 -----------------------
8982 2002 2175 DOC02-------------------
8982 2002 2175 DOC03------------
8982 2002 2175 DOC06-------
8982 2002 2175 SCV03
There is no value as max for OFFN and each INC_CODE MAY HAVE UP TO A MAX OF 5 OFFN.My query is as follows:
select distinct STU_STUDENT_ID, INC_BEG_SCH_YR,INC_INCIDENT_CODE
, decode(rank() over (partition by INC_CODE order by OFFN),1,OFFN,null) as offn1
, decode(rank() over (partition by INC_CODE order by OFFN),2,OFFN,null) as offn2
, decode(rank() over (partition by INC_CODE order by OFFN),3,OFFN,null) as offn3
, decode(rank() over (partition by INC_CODE order by OFFN),4,OFFN,null) as offn4
, decode(rank() over (partition by INC_CODE order by OFFN),5,OFFN,null) as offn5
from stu_offn where
stu_offn.ID = '8982' and stu_offn.INC_CODE = '2175'
(****Where clause is just given to just check a value)
So as you know I need to just have all the OFFN in a single row ie as follows:
ID YR INC_CODE OFFN1 OFFN2 OFFN3 OFFN4 OFFN5
8982 2002 2175 DOC01 DOC02 DOC03 DOC06 SCV03
Can you just give me a step by step procedure to go through this and the table in this case is just 'STU_OFFN'
Thanks for the earlier reply appreciate it!
****Sending this again to show the exact way the output is coming -
Python script in dasylab using single input multiple output
Hello
For a project, I would like to use the python scripting module of dasylab 13. I got it to work for simple functions such as y=f(x), where i have one input and one output.
The next step in order to get to where i want to be with my script is using a single input and generating two outputs.
I defined it in the "predefined settings" that pops up first. The module created looked as it should, having one input and two outputs. However, when I wanted to edit the script (and double clicked the module) the module went back to having one input and one output.
I searched the help and found the section "channel assignment constants". There describe the various constants, which should have been set in predefined settings. In my case it is CR_1_2.
It also states to setup the meta data in the SetupFifo tab.
Now here is my problem: How should i change the SetupFifo tab?
I tried the command:
self.SetChannelRelation(channel_no, Ly.CR_1_2)
Unfotunately this didn't work, which doesn't supprise me, as I made this command up, based on the examples in the help file on the SetupFifo tab. Those are, however, for SetChannelFlags and SetChannelType, which I don't think I need yet...
Has anyone experienced a similar problem? I also installed a trial version on another computer to check if it works there (it doesn't).
Or does someone know a method to find out how to be able to change inputs and outputs the way i want?
Every help will be greatly appreciated.
Sincerely, JarnoYou do not need to set the channel relation for "simple" channel relation like 1:2, 2:1, etc.
Just set the relation you want in the configration dialog that open when you drop a script module into to worksheet.
The channel relation and their python constants have nothing to do with the amount of inputs and outputs of a script module.
The channel relation tells the "DASYLab core" how to guide meta data (channel names, units, etc) through a module.
In function "DlgInit" you have to tell DASYLab how many inputs and outputs your module should have.
Your module should have 2 outputs for each input: this combination of input and outputs is called a "channel".
Because one channel has 2 outputs, the module can have max. 8 channels only.
The dialog with the channelbar "thinks" in channels, but DASYLab "thinks" in connectors (connectors are inputs/outputs).
So, you are responsible to translate "channels" in "connectors" and vice versa
In DlgInit you can ask DASYLab about the amount of inputs and outputs.
self.NumInChannel <-- amout of connectors on modules left side
self.NumOutChannel <-- amount of connectors on the right side
self.DlgNumChannels <-- amount of activated channels in the dialog (something between 1 and DlgMaxChannels)
Your module's channels have 1 input, 2 outputs each, so you can write either
self.DlgNumChannels = self.NumOutChannel / 2
or
self.DlgNumChannels = self.NumInChannel
If the module has 3 input and 6 outputs, the dialog will get 3 channels.
In DlgOk you need to translate the amount of channels into the correct amount of connectors (inputs/outputs):
For "one channel = 1 input + 2 outputs" this is:
self.SetConnectors( self.DlgNumChannels, self.DlgNumChannels * 2 )
DlgInit
self.DlgNumChannels = self.NumInChannel
# or: self.DlgNumChannels = self.NumOutChannel / 2
self.DlgMaxChannels = 8 # or Ly.MAX_CHANNELS/2
DlgOk
self.SetConnectors( self.DlgNumChannels, self.DlgNumChannels * 2 )
M.Sc. Holger Wons | measX GmbH&Co. KG, Mönchengladbach, Germany | DASYLab, DIAdem, LabView --- Support, Projects, Training | Platinum National Instrument Alliance Partner | www.measx.com -
Multiple strings input to single string output
Dear all,
this program is needed for my demo simulation purposes, I'm creating several string inputs to show into a single string output updating (input strings are shown in each line). i attached the picture below, put 2 output strings w/c both doesn't meet my desired result:
1.) 1st string output - replace the old string w/ new string. what i need is to maintain also the previous strings. the new string will go to the next line.
2.) 2nd string output - although i got all the strings i needed, it only appears right after the while loop terminates, so i did not see the string inputs updating.
i'm using LV 8.5.1., any help is appreciated... posting your correct code will be more appreciated.
thanks in advance...
Ivel R. | CLAD
Solved!
Go to Solution.here's my code for anyone to see the actual difference.
thanks,
Ivel R. | CLAD
Attachments:
update strings.vi 14 KB -
Sharing static files across multiple WAR files in a single EAR
Is there also a way to share the Session across multiple WARs in the
same EAR ??
TIA
Nikhil.
Vinod Mehra wrote:
Yes, we have Virtual Directories for this in 7.0.
http://edocs.bea.com/wls/docs70/webapp/weblogic_xml.html#1031951
--Vinod.
"Sam Smith" <[email protected]> wrote in message
news:3d3f47cf$[email protected]..
Hi,
I have multiple web apps to be deployed to an intranet. I need to have acommon
look and feel for these multiple webapps.
I could place the webapps in a single ear file or deploy them without aear file.
I wanted to know if there is any standard way to include static files likeimages,
javascripts and css files (for a common look and feel) across multiple warfiles.
Right now I am planning to keep a war file which just contains all thestatic
files and point all the jsp pages in the other apps to the static files inthis
common app. Is there a better way to go about this.
Thanks,
Sam
Maybe you are looking for
-
hi friends, for the item in sub contract change process lcop is done. so this is marked as completed and new line item is created with the all the changes is required. but using this new item i need to find the old sub contract item. can anyone
-
Problems with iPod/iCal and daylight savings
Why is it that after Apr. 2, 2006 my ipod changed the times for my calendar events to be 1 hour back (i.e. an appt for 7:45 am now states 6:45 am) when they are fine in iCal? How can I fix this? 3G ipod, 15GB, firmware 2.3, itunes 6.0.4, ical 2.0.3
-
Mac G5 Flash CS3 Hi, I'm creating a movie with a swift flies quickly across screen, but in playback it always appears as if there are two or three swifts flying together almost on top of one another, a sort of stuttering effect in the playback. I've
-
Hi : i have two text boxes where one is upper limit and second is lower limit lower limit cannot be greater then upper limit now i have validated but when i give 10 and -12 its giving error please help me in modifying this code declare begin if :P23_
-
Getting rid of borders on captions above fields
Hi, (über-noob alert) How do I get rid of the black borders to the left, right and above a field when the caption is above the field? The borders of the field are set to 'none'. I could have no caption and place the captions as simple text blocks, bu