NI-5122 Multiple records: different trigger for first record
Hi,
I’m using a NI-5122 high-speed digitizer to acquire multiple records (say 100 of length 20 each), triggered by an external 1kHz source, and clocked by an external 80MHz clock.
Is it possible to start the whole acquisition process (i.e. the first record) with a certain trigger signal (e.g. from PFI0), but trigger subsequent records with a different trigger signal (e.g. from TRIG)?
Thanks in advance for your suggestions!
TobiSL,
Yes, what your asking for is possible, and the two trigger types you mentioned are called repectively: Start Trigger, and Reference Trigger. You can configure each of these triggers separately. To configure the Reference trigger you use the "niScope Configure Trigger vi". To configure the start trigger, all you need to do is specify the source of the start trigger, using the niScope property node: "Start Trigger Source".
Hope this helps!
Product Support Engineer
National Instruments
Similar Messages
-
Different Header for First and Subsequent Pages with Summary on last page
The data in report can vary from 1 to more than 50 rows (order lines). The header on first page is detailed and the header on subsequent pages has only some fields (whenever data is large). There is a summary section which has to be on the last page of the report only and that too at the bottom (just above the fixed footer in the report).
So, for a single page report the the detailed header, all lines, summary at the bottom and then the footer has to be printed.
For a two page report - first page will have detailed header, some lines, fixed footer and second page will have short header, remaining lines, summary at the bottom and then the footer.
For a three page report the summary has to be on third page only and so on.In a word processing document, select your object, place it where you want & then go to Format > Advanced > Move Object to Section Master. To place a different repeating object, you will need to insert a section break.
With page layout documents, each page is a separate section, so there is no section master. Objects placed on one page don't repeat. -
Different background for first 2 pages of the report
Hi Guys,
I need to create new Invoice Report and I am not able to create a rtf template or a pdf template.The first page and second requires different backgrounds and I dont know how to achieve this in rtf and pdf formats.
Can someone please help me out with this.
Thanks.The ExportPDF forum is http://forums.adobe.com/community/exportpdf
-
how to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header ,20 for detail and 30 for footer.
here is the sample file
DDWTYBILL13092502572 1000000112\\NHLSFS\ORACLE\ORACLE\BILLING\VERIFY\ 2013/09/25 01:19:08 BILLEND
DDWTYBILL13092502572 2000000212PRIVATE PRIVATE STY5572142 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731543 Suspect TB ?CA, (L) EMPIEEM Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000312PRIVATE PRIVATE STY5572149 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731548 Empyema BPF Ward A2 TYGERBERG HOSPITAL Z03.9 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000412PRIVATE PRIVATE STY5572351 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731584 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000512PRIVATE PRIVATE STY5572352 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731585 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000612MAJOR MAJOR STY5577530 010700 INV 12ZTYG000009 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS ZOZI,S,SIYAMBONGA 27-MAR-2010 TYG D3 DR MAHOMED 5602181 113799662 TB731663 Lymphadenitis Ward D3 TYGERBERG HOSPITAL I88.9 Z03.9 H1 07-AUG-201307-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 2000000712MAJOR MAJOR STY5577537 010700 INV 12ZTYG000009 06-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS DLAMINI,N,NTLANTLA 09-OCT-1976 TYG F1 DR WZESE 5602181 135524676 TB731666 Suspect TB Ward F1 TYGERBERG HOSPITAL Z03.0 Z03.9 H1 07-AUG-201314-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 30003034120000003032ENDYou can create an nXSD using Native Format Builder and use lookAhead attribute to read values at specific position and use that as the choice. You can find an example here
http://docs.oracle.com/cd/E11036_01/integrate.1013/b28994/nfb.htm#BGBBAJFD -
Multiple records for infotype with TC1
Hi all,
We have maintained use case A4 for mailing address in ESS.
Strangely, one of our end users, has two overlapping mailing address records! The user had a mailing address record which he edited in ESS. This edited record appears in the backend as a new record. So now the user sees two records in the backend - both with a different start date, but the same end date of 12/31/9999, instead of seeing the first record as delimited. And now when he tries to edit his mailing address in ESS, he gets an RFC error.
Ideally for TC1, a user cannot have two overlapping records and the first record gets delimited to accomodate the updated record as the current record.
Any idea, why this could be happening? We are unable to replicate this issue at our end as this scenario seems impossible for an infotype with TC1.
TIA!
Regards,
Dianaideally it should have delimited the records, but can check how the enduser created the record?
TC1 can use A1,A4,B1,B4
TC2 can use A1,A2,A3,A4,A5,B1,B2,B4,B5
TC3 can use A6,B3
Note this
A: A record can be created specifying the valid start and/or end date Multiple records can exist.. By default the ESS scenario's will allow you specify the start date as today or future date. If you wish to enable ESS scenario's to accept a start date in the past, Business Add-in "HRXSS_PER_BEGDA" can be implemented.
For more information, please refer to IMG activity "Change Default Start Date".
B: A record can be created without specifying the valid start and/or end date. Multiple records are not possible.
A4: Variant of A1, Difference to A1 being, "New <infotype/subtype>" button will always be available on the overview screen of the concerned scenario. E.g., suitable in Permanent address.
A6: Multiple infotype records of the same type (e.g. other bank) may exist for an employee at the same time. "New <infotype/subtype>" button will always be available on the overview screen of the concerned scenario. E.g., suitable in Other bank. -
Multiple records for a single transaction - Issue in LSMW
Hi,
i'm facing a issue in LSMW
i have the data coming up in the flat file. the data which constitutes the single transaction consists of data from multiple records from the flat file..
suppose we have 10 records in the flat file... and all the 10 records related to ony 2 transactions i.e say 6 records to first transaction and next 4 records to next transaction.
we have a direct input method to handle this data like field1 for first record, field2 for 2nd record and so on...
while uploading, we will get all the records one by one into our source structure. My question is can we handle this scenario in lsmw? if yes, pls suggest
Thanks in advance
ShekharHi Kris,
this is regarding the asset creation via AS01..
we are getting the flat file in that way. Lets assume like this:
suppose for one transaction we may need to fill 5 depreciation keys and for another option only 3 dep. keys we need to fill.
then in the flat file, we can get like 5 records for first transaction i.e asset and 3 records for 2nd transaction
Can we handle this via lsmw
Regards
shekhar -
Help needed in PL/SQL for updating the column for multiple records
Hi,
I am new to PL/SQL and need some help. What is the most effiecient way to update some field in a table as I may need to update thousands of records. I have a coulmn groupid can have multiple records tied to it. All the records attached to some groupid have a priority field also.
How can I update the prorityfield value for all the groupids in a profiecient way. Here is a sample data
GroupId Priority
1 1
1 2
1 3
1 4
1 5
2 1
2 2
2 3
3 1Here I have three groups 1, 2, 3. Now if any group contains only one record the priority remains same e.g. groupid=3 on top. If any group contains more than one record e.g. groupid=1 & 2 I want to re-arrange the priority fields e.g. If I want to update groupid=1 now if I change the priority of 2 to 5 (make it the last) I want to rearrange the remaing records priority i.e. if 2 becomes 5 as I have 5 rows for groupid=1 then 5 becomes 4, 4 becomes 3, 3 becomes 2 and 1 remains the same.
Same wya if I want to make the priority 1 to 3 for groupid=2 then need 2 to become 1 and 3 to become 2 etc....
Any help is appreciated.
ThanksHi,
You don't need PL/SQL to do this (though you can put the following in PL/SQL if you want to):
UPDATE table_x
SET priority = CASE
WHEN groupid = 1
AND priority = 2
THEN 5
WHEN groupod = 1
AND priority BETWEEN 3 AND 5
THEN priority - 1
WHEN groupid = 2
THEN
CASE
WHEN prioity = 1
THEN 3
ELSE priority - 1
END
END
WHERE groupId IN (1, 2)
AND ( priority BETWEEN 2 AND 5
OR groupid = 2
);There are lots of different techniques that can reduce your coidng: for example, the nested CASE statement used for groupid=2 above.
You could do several smaller UPDATEs (for example, one just for groupid=1). Execution will be slower, but coding and testing will be faster.
You could make the "magic numbers" 2 (for groupid=1) and 1 (for groupid=2) variables, even outside of PL/SQL.
If you need more help, post the information that Satyaki requested. -
I'm doing a multiple record data merge, I have 2 frames both with variable data placed inside.
I would like to specify that one of the text frames only merges once(first record) and the other frame multiple times for each record in the data file.
Is it possible?
I thought that perhaps if I place the text frame that must merge once on the master page, it would work. But you are not allowed to place variable text on the master and on the document page.
I'm going to try it through scripting next, but thought that perhaps there is an easier way that I'm not aware of.
Thanks,
SuzanneSuzanne,
If you were trying to post a screen shot, you would need to return to the forum and post it using the "camera" icon at the top of the post editing windows.
I use a plug-in from Em Software called InData. One of the benefits for what I do is there are no individual frames on a page to deal with post-merge. Individual frames are great for simple merges (address labels, post cards, etc.). But I typically do more other types of merges.
That said, there is a drawback--one needs to come to an understanding of writing expressions that actually parse the incoming data. So in the spice price list example, that looks like:
It's reasonably easy once one does it a few times. And it can be far more complicated. The above is from Em Software's samples that has been tweaked. The best thing I can recommend would be to download the trial and see for yourself. They are good at responding to specific questions if you get stumped.
I imagine this all could be scripted somehow in ID. But I have no idea how and the plug-in just lets me keep working.
Mike -
ME01 LSMW multiple record for same material issue.
Hi Experts,
I have an issue with multiple record for the same material and plant when I upload the data from the file. Lets I have the records.
Material Plant Start date Enddate Vendor Porg.
1 0010 20060101 99991231 2 0010
1 0010 20060101 99991231 3 0010
When I upload the above data there are 2 IDOCs created when I am using the method LSMW-IDOC method, but only last record is getting updated and the first one is not getting updated in ME01 souce list. But I am getting the success message for both IDOC in LSMW. So I am not sure how to fix this why only last record is updated and not other records??why do you have 2 idocs?
wouldn't be 1 idoc with 2 items be more logical?
1 record in structure E1EORDH
and 2 records in structure E1EORDM
I believe your 2 IDOCs get posted, but I think your 2nd Idoc overwrites the values entered from the first IDOC. -
Creating multiple records from 1 record in the source file for Import DM
Hi Experts,
Today I am working on an interface/import where I want to get the following result:
Source file contains a records like:
Account, Entity, DriverX
Sales,EntityA,ZZ
The BPC appset contains the 2 dimensions Account and Entity next to CostCenter dimension. The DriverX field in the source file is just additional information in the source file. However based on this DriverX we need to determine what CostCenter to choose but we also need to have the same record assigned to a second record in BPC.
Following my example, based on DriverX value I need to create 2 records:
Account, Entity, CostCenter,
Sales,EntityA,CC1
Sales,EntityA,CC2
I don't have a problem assigning the record to 1 CostCenter based on DriverX value but I have a problem creating my second record. Does any of you have had the same "challenge" and if so would you like to share the solution for this?
Best regards,
Johan
PS: I am working on SAP BPC, version 7.0 Microsoft version.Hi Greg,
Many thanks for your answer. And yes this would be a solution. However I just simplified my case as the decision to create an second record and where to post is depending on more than 1 field in the source.
But I will keep it in mind, because I also can opt for a solution to store data differently in BPC fac-tabels which will help me to use script logic.
If it is not possible to create multiple records from a single records in the standard functionality in the Transformation and/or Conversion file, I have to create a custom DTSX or change my way of storing data.
Anyone else who is having an alternative idea like Greg came up with?
Please let it know!
Best regards,
Johan -
Calculate Days between same date field in multiple records, looping for each record
Be patient as I am a newbie to Sql Server (using 2008 R2) and SSIS. I have looked at multiple solutions in this and many other forums before submitting the question.
I am looking at records to identify the number of days between two dates. We review drug information. A member uses drug A (Code identifies this called GPI) and has refills throughout time. The goal is to calculate the days between Refill
1 and refill 2, then refill 2 to refill 3, etc. When that member record set is complete, we move to the next member record set.
The basic data would be as follows. Each record shown below would be a separate record in a single table :
Member
Drug Code
DateService
Days Between
1
A
3/1/2012
0
1
A
3/27/2012
27
1
A
4/21/2012
26
1
A
6/15/2012
56
1
F
2/25/2012
0
1
F
3/20/2012
25
1
F
4/17/2012
29
1
F
8/1/2012
107
5
B
2/15/2012
0
5
B
3/10/2012
25
5
B
4/10/2012
32
5
B
6/28/2012
80
5
B
7/10/2012
13
5
B
8/20/2012
42
The days between is the value I am looking to calculate. The First record for the grouping of Member and Drug Code will be zero ( 0 ) as there is no preceding date to calculate against. The process would then loop through the records at the grouping
(Member and Drug Code) until those records are calculated. It would then move on to the next group of Member/Drug records.
Any assistance would be greatly appreciated. Any clarification I can provide, I would be more than happpy too. Thank you in advance!TSQL- Finding the difference in days of multiple records in SQL ServerWITH OrderDates AS (
SELECT
ROW_NUMBER() OVER (ORDER BY OrderDate DESC) AS RowNumber,
OrderDate
FROM OrdersTable
WHERE SKU = 'AA0000'
SELECT
AVG(DATEDIFF(DD, O2.OrderDate, O1.OrderDate)) AS AverageFrequency
FROM OrderDates O1
LEFT JOIN OrderDates O2
ON O2.RowNumber = O1.RowNumber + 1
Fabio Bilicki -
Correlation for files containing multiple records
I was learning correlation from a nice blog below.
/people/milan.thaker/blog/2008/07/23/correlation-150-runtime-behavior-of-bpm
I have one question though. In the case where the correlation is done on a key field say PsNo.
Now if two files have multiple records, will the correlation compare the PsNo of each record or is the comparison just on the first PsNo of each file record.
Thanks,
Minhaj.Hi Minhaj,
1) Suppose if you want to merge 2 files into a single file based on a keyfield (PsNo), You are opting Correlation in BPM.
In your Correlation Editor, You should mention the XPATH Expression for Keyfield(PsNO) for the involved messages.
2) Only if both the values of keyfied(PsNo) in 2 files are equal then Only you can merge all those 2 files into single file.
So first PsNo of each file record is going to compared with another file. -
How to store multiple records for one master reocrd using sequnce
dear,
my question is in one form i have master block f and detail block.
my question is i created one sequence and assign to master table. but i dont know how to assign that sequence to multiple record in detail table for that particular master record. i got lots of answer previously but i m not getting exactly.pls tell me full procedure otherwise gv me one demo application
NOTe: the sequnce is created after master record commiting to database.
PLS pls help me
Thanks
dambyi did not get answer pls help me.
-
I have multiple emails, how do I add different signatures for each email address
I have multiple emails for different companies I work for, how do I add a different signature for each one, it seems like I have to use the same one for all of them
Thanks. I think I'm on the right track. I added the email address to my contacts and double clicked the image icon to change it, but it only lets me snap a new picture or select an image from another location. What is the folder location of the stock icons that come with Mac OSX?
-
I purchased a yoga video with multiple chapters and only the first one loaded. It says I can't download another chapter for 90 days. How do I get all chapters to download?
Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days.
http://support.apple.com/kb/ht4627
Maybe you are looking for
-
Can't seem to talk to anyone who can actually help me!
I have been trying to get legitimate assistance for my high speed Internet that went down yesterday right in the middle of a final I was taking for school. However after hours of tech support trouble shooting and being hung up on to the hour plus I w
-
Hy, I am from Europe and I'm planning to buy a MacBook Pro from the states maybe next month. The question is, that if I buy it from a retailer, I mean from an Apple store, can I personalize it, just like when I'm ordering online? I mean...can I choos
-
Do i need to install an anti virus or anti malware software on my macbook pro ?
I have bought a new Mac book pro 13" retina model and i was wondering if i need to download an antivirus? Is it safe to download different types of softwares on my mac like vlc media player etc..
-
Why doesn't my iMac recognize my external hard drive?
I updated my imac from leopard to snow leopard to lion. I plugged in MY Book external hard drive, which had been working, but now it is not recognized. I went to the disk utility but all the First Aid buttons are greyed out and I can't do anything. I
-
VNC: How can I share only one desktop screen on mac os when I created multi desktop?
I created multi desktop, and opened different applications on each desktop. I'd like to allow a user to access to only secondary desktop not main screen. How can I allow VNC user to access only to specific desktop?