Generating a new sequence using another sequence
Hi All,
I wish to generate a new sequence file from some external text file/XML file/seq file itself.... can I possibly do it???
I have created a TestStand sequence that creates another sequence and inserts and configures a Message popup step. Its not complete, but it does run (as long as you dont have a sequence of similar name loaded).
The sequence is saved as "C:\temp\Steves.seq"
My sequence makes calls to the TestStand API from within TestStand using the Automation Adapter but you can make similar calls from all of the other enviroments listed in the Adapters drop down.
Its really to give you a feel for the sort of things you need to do to create a sequence on the fly. NI should be able to give you some quality examples.
Regards
Steve
Message Edited by SercoSteve on 03-14-2006 08:50 AM
There are 10 types of people in the world that understand binary, those that do and those that don't.
Attachments:
SequenceCreator.seq 28 KB
Similar Messages
-
Problems cutting a sequence into another sequence
Hello,
We have followed the steps outlined here: Adobe Premiere Pro Help | Edit from sequences loaded into the Source monitor to cut a sequence into another sequence without it nesting. We are on Premiere Pro 2014.1. We often need to work in the same episode but want to combine the work at some point so we need to be able to mark in and out points on a sequence in the source monitor and cut that into a pre existing sequence on the timeline. We have turned off the 'nest' button in the upper left hand corner of the time line but it randomly works. Sometimes it nests, sometimes it doesn't and sometimes it just crashes.
We have tried very short sequences and have better luck with them, but we need to be able to cut in more than two minutes of material at a time. Cut and paste also doesn't work. This is a huge inconvenience in our editing pipeline and very frustrating since both Final Cut and Avid do it easily. Is there a fix?
Thanks.Hi AM Hoyt,
We have followed the steps outlined here: Adobe Premiere Pro Help | Edit from sequences loaded into the Source monitor to cut a sequence into another sequence without it nesting. We are on Premiere Pro 2014.1.
Great.
We have tried very short sequences and have better luck with them, but we need to be able to cut in more than two minutes of material at a time. Cut and paste also doesn't work. This is a huge inconvenience in our editing pipeline and very frustrating since both Final Cut and Avid do it easily. Is there a fix?
I just created a test sequence with an hour of multiple clips and was easily able to cut sections of that into a another sequence. The feature is functioning perfectly and as expected for me. I tested on my MacBook Pro OS X 10.8.5, 2.7 GHz i7, 16GB RAM, NVIDIA 650M.
You may want to conduct standard troubleshooting procedures, including trashing preferences, media cache, preview files, repairing permissions, checking permissions on all Adobe preference folders, and if none of those things work, reinstalling.
Thanks,
Kevin -
Does anyone know why I can't see the timeline audio waveform on sequences inside another sequence in Premiere Pro CS6? Can I fix this?
PERFECT!!! THANK YOU, Ann!!!
-
When I create a new cube using another cube as template which datasource i
Hi,,
When I create a new cube using another cube as template(copy) which datasource is assigned to the new cube, why because am getting all the fields which are there in copied cube even though I used only required fields.why this is occuring?
Thanx in advance,
RaviHi,
Usually, when you copy the cube only data model is copied. means all KF and CHAR, NAV CHAR.
May be after copying you can reassign (CHARS) once again in the New cube as per your requirement.
When you create the update rules, there you can assign the Infosource or original cube as datasource.
may help...
Vis -
Generate alphanumeric sequence using oracle sequence
Hi,
Can we generate alphanumeric sequence from Oracle sequence.
Sequence would be something like this. Please advice
TEMP-0001
TEMP-0002
TEMP-0010
Thanks,
Lakhi,
You can try below procedure...
SQL> create sequence sec
2 minvalue 0
3 start with 001
4 increment by 1
5 nocache;
Sequence created.
SQL> select 'temp-'||to_char(sec.nextval) from dual;
'TEMP-'||TO_CHAR(SEC.NEXTVAL)
temp-1 -
How to Generate a new PERNR using HR_MAINTAIN_MASTERDATA in WD?
Hi Experts;
Can I get some sample code for creating a new PERNR using HR_MAINTAIN_MASTERDATA FM. ???!!!
I've created a some input fields in webdynpro using infotype PA0002 and depending upon those fields I want to generate a PERNR number .
Plz help me with some sample code ..
Thanks in Adv.
Buntywhat am I missing in the below code ??? is the code correct ??? Using the below code how will I get the new PERNR value ??
method ONACTIONSAVE .
DATA lo_nd_final_node TYPE REF TO if_wd_context_node.
DATA lo_el_final_node TYPE REF TO if_wd_context_element.
DATA ls_final_node TYPE wd_this->element_final_node.
DATA lv_inits LIKE ls_final_node-inits.
DATA lv_nachn LIKE ls_final_node-nachn.
DATA lv_vorna LIKE ls_final_node-vorna.
DATA lv_titel LIKE ls_final_node-titel.
DATA lv_gesch LIKE ls_final_node-gesch.
DATA lv_natio LIKE ls_final_node-natio.
DATA lv_famst LIKE ls_final_node-famst.
DATA lv_gbpas LIKE ls_final_node-gbpas.
DATA lv_stras LIKE ls_final_node-stras.
DATA lv_ort01 LIKE ls_final_node-ort01.
DATA lv_pstlz LIKE ls_final_node-pstlz.
DATA lv_telnr LIKE ls_final_node-telnr.
DATA lv_locat LIKE ls_final_node-locat.
DATA lv_usrid LIKE ls_final_node-usrid.
* navigate from <CONTEXT> to <FINAL_NODE> via lead selection
lo_nd_final_node = wd_context->get_child_node( name = wd_this->wdctx_final_node ).
* get element via lead selection
lo_el_final_node = lo_nd_final_node->get_element( ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `INITS`
IMPORTING
value = lv_inits ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `NACHN`
IMPORTING
value = lv_nachn ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `VORNA`
IMPORTING
value = lv_vorna ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `TITEL`
IMPORTING
value = lv_titel ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `GESCH`
IMPORTING
value = lv_gesch ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `NATIO`
IMPORTING
value = lv_natio ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `FAMST`
IMPORTING
value = lv_famst ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `GBPAS`
IMPORTING
value = lv_gbpas ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `STRAS`
IMPORTING
value = lv_stras ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `ORT01`
IMPORTING
value = lv_ort01 ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `PSTLZ`
IMPORTING
value = lv_pstlz ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `LAND1`
IMPORTING
value = lv_land1 ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `LOCAT`
IMPORTING
value = lv_locat ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `TELNR`
IMPORTING
value = lv_telnr ).
* get single attribute
lo_el_final_node->get_attribute(
EXPORTING
name = `USRID`
IMPORTING
value = lv_usrid ).
DATA lv_new_pernr LIKE ls_final_node-new_pernr.
* get single attribute
lo_el_final_node->SET_attribute(
EXPORTING
name = `NEW_PERNR`
IMPORTING
value = lv_new_pernr ).
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
* EXPORTING
* PERNR = '00000000'
* MASSN =
* ACTIO = 'INS'
* TCLAS = 'A'
* BEGDA = SY-DATUM
* ENDDA = '99991231'
* OBJPS =
* SEQNR =
* SPRPS =
* SUBTY =
* WERKS =
* PERSG =
* PERSK =
* PLANS =
* DIALOG_MODE = '0'
* LUW_MODE = '1'
* NO_EXISTENCE_CHECK = ' '
* NO_ENQUEUE = ' '
* IMPORTING
* RETURN =
* RETURN1 =
* HR_RETURN =
TABLES
proposed_values =
* MODIFIED_KEYS =
endmethod. -
Changing the nextval of a sequence using alter sequence
Hello experts,
Is there any option to modify the nextval of a sequence using alter sequece command?
Thanks in advance.
J.PrakashHi
I do not think so there is any direct way to modify the nextval of a sequence, only workaround i can think of is firing two DDL
alter sequence dumm increment by 10
alter sequence dumm increment by 1Where first alter command would increment the nextval to (currentvalue + incement value) and second alter command would reset the increment to its original value in my case 1
Regards -
How can i unload a sequence from another sequence
Hello,
i have a sequence which is running in a loop. At a specified point the sequence executes an ActiveX-call an runs "Test UUTs" with a sequence-name that is passed with a variable.
When "TestUUT" is running then first the SequenceFileLoad of the new sequence is executed and after that the Mainsequence. Thats all good up to here.
But the next time when i call the execute "Test UUTs" then the file is already in loaded and no SequenceFileLoad is running.
So my question is: What do i have to call/run that the loaded sequence is leaving the memory with SequenceFileUnload and the next time when i run "TestUUTs" is completely new loaded?
Thx for your help
Attached a screenshot of how i execute the "TestUUTs"
Attachments:
Clipboard01.jpg 42 KBThe thing is, i only want to execute the SequenceFileUnload when i have a new sequence name in the variable of "Execute Test UUTs".
If the sequence is loaded and executed again, then i dont want to run SequenceFileLoad again.
Thats why i want to execute an "unload"-thing somehow.
It looks like this:
string seqname= sequence1
call execute "Test UUTs" (seqname)
SequenceFileLoad(sequence1)
execute(seqname)
call execute "Test UUTs" (seqname)
//no SequenceFileLoad because its already loaded
execute(seqname)
call execute "Test UUTs" (seqname)
//no SequenceFileLoad because its already loaded
execute(seqname)
string seqname= sequence2
SequenceFileUNLoad(sequence1)
SequenceFileLoad(sequence2)
execute(seqname)
call execute "Test UUTs" (seqname)
//no SequenceFileLoad because its already loaded
execute(seqname) -
Error message when cutting a sequence into a sequence
When we try to cut a sequence into another sequence, we either get a nested sequence (the nest tool is turned off) or we crash with this error message:
We are in Premiere Pro 2014.2 with our media on a server. I moved the entire project to my local drive and tried it that way but had the exact same result.
I switched the General Settings and changed the Mercury Playback Engine to software only. It did not help. I have no unlicensed plug ins and cleared my media cache.
I've spoken to the Adobe help line (!argh!) but he was unable to fix the issue. He did delete all of my settings I was starting at the defaults. This did not help either.
Has anyone any experience with the above error message?
Thanks.Yes.
I see now that I can paste into the layer I am copying from, but not into any other layer. If I lock my source layer, I can't paste at all. -
I have completed a backup onto an external drive using Elements 12 on my PC running Windows XP. I am now trying to restore this backup onto my new Mac using another external drive as the destination as the catalog is too big to fit onto the Mac internal HD. All seems OK until I click the restore button then I get an error message "The Disc Drive in Mac HD does not contain a valid backup" The file names on the backup drive are visible on the Mac so I presume this backup must be valid so why is there a reference to the Mac HD?
System Preferences - Sharing. If you cannot find System Preferences, then use Command - Spacebar and type System Preference and when you see it in Spotlight (uper right) hit return.
-
Generating a Primary Key WITHOUT using a Sequence Number
Hi Everyone:
I am trying to generate a primary key without using a sequence number or row count. What the user wants is the maximum value of the highest primary key already in the row set plus 1.
For example, this is a Oracle Table (eg. named BatchSubmit) used to initiate batch job submission, and the primary key is an integer named "Runcard_Number". If there are 4 rows in this table and the Runcard_Numbers are 2, 6, 8 & 12, then the next generated Runcard_Number would be 13.
I have looked throughout this forum and see how to generate numbers using a DBSequence, but the user does not want that. The numbers mean something to them, and they don't want them randomly assigned other than the max in the rowset plus 1. To do it in SQL it would be - select max(Runcard_Number) + 1 from BatchSubmit;
I have been looking at using a hasnext loop and moving the maximum value to the new Runcard_Number, but I am very new to JHeadstart/JDev and I do not know where to put this. I am assuming the BatchSubmitImpl.java, but I'm not sure where to put it or which method to utilize
I would appreciate any assistance.
Mary
U o WindsorMary you're in luck, 'cause, I've been playing with the same thing, these days and found that..
You can do that in two ways (that I know):
- by calling a stored function that does max+1 (you can look it up in Dev's guide for Forms&4GLDevs 10g chapter 25.5 Invoking Stored Procedures and Functions)
- by calling hardcoded or dinamicaly written statement, that does the same
public Number callStatement(String stmt)
Number id = new Number(0);
Row idRow = getDBTransaction().createViewObjectFromQueryStmt(stmt).next();
if(idRow != null)
Object o = idRow.getAttribute(0);
if(o != null)
if(o instanceof Number)
id = (Number)o;
else
throw new JboException("Conversion error!");
return id;
You should call it in
protected void doDML(int operation, TransactionEvent transactionEvent)
switch (operation)
case DML_INSERT:
// call here
super.doDML(operation, transactionEvent);
break;
case DML_UPDATE:
super.doDML(operation, transactionEvent);
break;
case DML_DELETE:
super.doDML(operation, transactionEvent);
break;
Enjoy!
S. Julijan -
How to generate pseudo random noise(PRN) binary sequence using shift registers?
what is the block diagram to generate pseudo random noise (PRN) binary sequence of 1's and 0's using shift registers
please help
i need 2 submit this project in this weekThis is a fairly simple homework problem. My hints (on the LabVIEW side):
1- look at while loops
2- look at shift registers on while loops with multiple input elements
3-look at the logic components, AND, OR XOR
Look at this wiki article: http://en.wikipedia.org/wiki/Linear_feedback_shift_register
Do the work, you won't learn if someone shows you how it is done! The palette that the previous post points to are of PRN and other "noise generators" but I suspect that is not what you are after.
Know that creating a PRN with a reasonable number of shift register taps produces very pseudo results, as the "random" pattern begins to repeat pretty quickly, thereby making it not a truly random number.
When you have an attempt that is sort of working and want additional suggestions, post the code here. We won't do your work, we will help you try to do it, and learn it, yourself.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion -
I have created a new sequence, dragging my subclips in. All looks fine. I save. I return to another sequence, then go back to my recently created sequence, and it is blank.
You really should keep your contacts in your Personal Address Book.
You can drag and drop contacts between address books.
When sending a message, and the recipient isn't in your address book yet, Thunderbird automatically adds the recipients email address to Collected Addresses. You can turn that off though.
To create a mailing list:
http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Create_Mailing_List -
Urgent : cannot use another account sequence
Hello everybody.
An account named appli_backdb created a sequence named seq_emetteur.
When another user , acquereur_backdb for example , uses the sequence , there is an error ORA-02289 shown in my web page stating that the sequence does not exist.
How could I resolve it.
ThanksAssuming the user acquereur_backdb has the proper grants to use the sequence I think you need to do one of the following:
1. Create a public or private synonym for the sequence.
2. Qualify your SQL when referencing the sequence - refer to it as appli_backdb.seq_emetteur. -
Generating sequence Using row_number function.
Hello All,
I want to know if we can create sequence using row_number .
I know we can create sequence using row_number but I want to start my sequence from 001, can we create using row_number?
It will be great, If I can get a faster response.
Thanks in advance.user13034857 wrote:
Hello All,
I want to know if we can create sequence using row_number .
I know we can create sequence using row_number but I want to start my sequence from 001, can we create using row_number?
It will be great, If I can get a faster response.
Thanks in advance.
SQL> set pagesize 60
SQL> SELECT TO_CHAR (ROWNUM, '000') Seq, s.table_name
2 FROM user_tables s
3 WHERE ROWNUM <= 20;
SEQ TABLE_NAME
001 ICOL$
002 CON$
003 UNDO$
004 PROXY_ROLE_DATA$
005 FILE$
006 UET$
007 IND$
008 SEG$
009 COL$
010 CLU$
011 PROXY_DATA$
012 TS$
013 BOOTSTRAP$
014 FET$
015 CCOL$
016 USER$
017 OBJ$
018 TAB$
019 CDEF$
020 OBJERROR$
20 rows selected.
SQL>
SQL> SELECT TO_CHAR (ROW_NUMBER () OVER ( ORDER BY dept),
2 '000')
3 Seq,
4 empno,
5 ename,
6 dept
7 FROM Emp;
SEQ EMPNO ENAME DEPT
001 2345 zxcv 10
002 1111 qwer 10
003 1234 asdf 20
004 5657 ghjk 20
005 3125 tyui 30
006 2134 zxvnb 30
007 8907 cvmn 30
7 rows selected.
SQL>
SQL>
Maybe you are looking for
-
I have an iPhone 6 with 64 GB of memory. I have iTunes Match turned on my account and on the phone. Suddenly, the Music app is only displaying music purchased directly from iTunes and no playlists are displayed. This occurred after updating iTunes
-
I recently had a new hard drive installed on my laptop; this hard drive has the Windows 7 OS on it. At the same time, I had my old hard drive mounted in an SATB enclosure so that I could use it as an external USB drive. [I stupidly did not export my
-
I usually create my email graphics within Photoshop and import to Dreamweaver. From there, I use the mapping tool to create my hyperlinks. This works great in MS Office '03. I just upgraded to Office '07 and my links do not show up when the email is
-
Dependent process task is not triggering - OIM 11.1.2
Hi All, In 'AD User' process definition, I have added a process task 'send email' which will send a e-mail notification on User profile location change. I made it a dependent task of 'Change AD OU' (process defined by me, triggers when user profile l
-
How to set the paper size for scan import
Adobe Professional 10 - How to set the import paper size to letter or A4 (for example). The only option is automatic and it scans legal size. Normally the options would appear but I have no options other than "automatic".