More precision in Timestamps
Hello,
I'm acquiring 2.5MS/s with a DAQmx card. That means that my timestamps must have more than ms precision... When I have ms precision I get around (I don't know if it's exactly that) 2500 samples with the same time (for example 2500 samples at 0,023s).
So, how can I get more precision in my timestamps? I read something about getting another counter channel and use it as timestamp, but I want to know if there's any other path for that? I'm already acquiring 8 channels and 'fighting' to save them, I didn't want to add one more channel. And I need timestamps for EACH channel, and not one for all of them...
Thanks for the help,
Rafael
Timestamps have 64 bit for 1 second so the absolute accuracy is much greater, maybe it's just the reprsentation.
Where do you read the timestamp?
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!
Similar Messages
-
Please specify short text more precisely
Hello All
when i create a free text sc and reffered a material group GOA item text are same.
sc description text = goa item text same (product category GOA)
i get this error "Please specify short text more precisely" while creating a PO (classic)
SAP options to make error message to warning message in ECC Version = 00
Appl.A = 06
No. = 474
Cat = W
what are the business impacts will be there if i make E to W.
Br
muthuHi
06474 is a MM-PUR error . It will also have effection to MM prochase order process.
Error message 06 474 with item category W and M contracts occurs if the
material on the PO has the same short description (text) as a non-stock
item from the referring contract.
If you change the description of your short text on the PO item (ex.
text1) or you insert a material master with a description the error
message will not appear.
The error message that is generated is part of standard functionality.
It is designed to prevent you from having a duplicate material.
LMEPOF2B
IF ekpo-ematn IS INITIAL. "371796
IF ekpo-txz01 NE space AND ekpo-konnr NE space AND
ekpo-txz01 EQ kekpo-txz01 AND
( kekpo-pstyp EQ pstyp-munb OR kekpo-pstyp EQ pstyp-wagr ).
PERFORM enaco_2(sapfmmex) USING '06' '474'. "371796
mmpur_metafield mmmfd_short_text. "431879
CASE sy-subrc. "371796
WHEN 1. "371796
MESSAGE w474 INTO gl_dummy. "371796
mmpur_message 'W' '06' '474' '' '' '' ''. "371796
WHEN 2. "371796
MESSAGE e474. "specify the short description of the item
WHEN 3. "< message not customized "371796
MESSAGE e474. "371796
ENDCASE. "371796
ENDIF.
ENDIF. "371796
The code listed above is where the error is generated. When there is no
material master (EKPO-EMATN) and the short text on the PO (EKPO-TXZ01)
is the same as the short text on the contract (KEKPO-TXZ01) and the
contract is item category M (PSTYP-MUNB) or W (PSTYP-WAGR) then the
error is generated.
You can set the message to 'W' in SPRO t-code:
SPRO > Materials Management > Purchasing > Environment Data >
Define Attributes of System Messages
I hope this information will help you. -
Short text vs contract item text-Please specify short text more precisely
Hello all
1. creating free text PO w.r.t material group for reference to material group contract
2. miselanious - SHORT TEXT vs Contract MATERIAL group miselanious SHORT TEXT are same
now i get error Please specify short text more precisely
Why SAP set as E . if i make W . what are the impacts.
-> Purchasing
-> Environment Data
-> Define Attributes of System Messages
-> System messages (double click on it)
Add a new entry
Version = 00
Appl.A = 06
No. = 474
Cat = E
if i set W , i could create PO successfully. ..
Why SAP KEPT ERROR for this matter?
thanks
MuthuThanks Jurgen
Note 371796 - Msg 06474: Please specify short text more precisely
ME21N, ME22N, ME23N
Message 06474: "Please specify short text more precisely" for a purchase order with reference to a material group contract.
Additional key words
ME21, ME22, material description
Cause and prerequisites
In the new transactions for the purchase order, the system displays the message for a material group contract with reference, which is correct, if there is an assigned material without a material number and the short text, which was copied to the purchase order from the contract to help you, was not changed to the actual material text. In this case, the short text of the material should be more specific in the purchase order than that for the material group in the contract.
For situations in which the specification of the purchase order text does not need to be checked, the message could be made adjustable in Customizing.
In Transaction ME21 and ME22, the text is not copied and must be entered manually. However the system then no longer carries out a check.
Solution
For situations in which the specification of the purchase order text for contracts with the item category material group should not be checked, this note enables you to set error message 06474 in Customizing.
See the advance corrections.
any impacts what itcause damage to business.
bullet points. i will freeze the thread.
Muthu -
Precise response needed
I made a vi to drive a vco circuit .I am varying the frequency from 70 to 148. For some values of frequeny I am getting the exact respose ie the frequency.I am entering is getting at the output using Ni USB 6009 DAQ card, ie the 12 bit binary generated at DAQ output is sufficent. It have 12 bit digital output pin.I want to make the response more precise
I am adding some value
148.1 1111 1111 1111
129 1011 1101 1001
Please help me to solve is issue
Thanks in advance
with regards
DK
Attachments:
v to f 150 expresion node B.vi 47 KBDuplicate Post:http://forums.ni.com/t5/Digital-I-O/2-digit-decimal-to-12-bit-binary/m-p/2584021
Duplicate Post:http://forums.ni.com/t5/Digital-I-O/Precise-response-needed/m-p/2586339
Please keep it all in a single thread.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
I want to take a measurement of the time that i use to make a gpib transmision in a Visual Basic program,i use the function TIME() to take the time in the begining and other time in the end,but this way only give me precision of seconds, and i want miliseconds,can i use other function,other way?
Can answer in spanish?Try using GetTickCount() API function, which provides millisecond precision. If you need more precise timer, try using QueryPerformanceCounter() function.
Makoto -
Controling speed changes with more precision? is it possible in FCPX?
controling speed changes on clips with more precision? is it possible in FCPX? other than the presets?
where is it that you can change the values...I have read that you open the retiming bar in the timeline...didn't see anywhere to change the values..sorry I'm sure it's right in front of me, but?
-
How to paste audio clips more precisely?????
Im just getting to know my brand new Logic Studio. Im working on a track just to try to get to know my new Logic.
So in trying to paste Audio clips on a certain point, it wont allow me to get it bang on where desired point. Its always
a little off. For example Im trying to copy and paste the first verse to build the 2nd verse. I dragged the bar to the deseired
point which is 20 1 1 1. When I paste in my region or audio clip its like 21 4 4 239. After this I notice I try enlarge the screen
to make it more precise and as I drag it the Audio clip goes past it or before it a little out of time.
Maybe its something to do with the audio clips themselves Im not sure but this never happened to me in Logic Express...
Thanks guysYou know, the funny thing might be to pull them into a single track in FCP and Dona remove gaps.
You could try:
Using the browser in STP to list all the files in order. I'm on the road so I can't test this, but what happens if you select them and drag and drop to a single track in multitrack mode?
And how about: in the browser select the next clip, right click and do spot to playhead? If you've jumped to the end of the file in the track it will butt next next one against it.
So a could things to fool with. -
Higher precision of timestamp when wrinting to txt
Hello,
I would like to have a higher precision (--->miliseconds) of the timestamp when saving waveforms to .txt. Labview only prints the date and the time in HH:MMS. As I am acquiring data with a rate of 1k, 1000 data values have the same time description in the .txt-file.
Note: This problem only occurs when writing to .txt, it is no problem to get a higher precision by using the graph or the chart.
Any help or suggestions would be appreciated.Thanks so far.....
Maybe I was not precise enough. What I am looking for is the opportunity to easily manipulate the format of the timestamp, which comes with my data and then write it to .txt. I already used the "Format Date/Time String"-VI to get the time with the miliseconds part and joined this time information with the data of the waveforms, which I also had to extract from the waveforms before, afterwards, but I thought there would be a more elegant way, because if I can extract the ms-part from the timestamp it must have been in it before, right ? ;-) So why can´t I tell Labview to also display the ms-part, when using the "write waveforms to .txt"-VI? I attached a .txt-file with a short excerpt of data, which should visualise the problem.
Regards
Message Edited by Marauder on 03-10-2006 03:20 PM
Attachments:
data_with_same_timestamp.txt 10 KB -
Hi all;
I know timestamp data types has up to 9 precison after seconds.(Ref: http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm)
SQL> SELECT systimestamp FROM dual;
SYSTIMESTAMP
02-FEB-07 02.26.51.207000 PM +02:00
SQL> BUt above query has 6(default for timestamp precision) digits and after 3 digits they become zero.(207000).
What i need is to display timestamp exactly 9 digits:
SQL> SELECT systimestamp FROM dual;
SYSTIMESTAMP
02-FEB-07 02.26.51.207569782 PM +02:00
SQL> Are there any ALTER SESSION command or any others to achieve this situation?
Thanks, Regards...First insert..select is atomic so it will use one timestamp for all insert statements.
For second insert, if timestamp has 9 digits of precision(now it has 6) it may pass constraint(Am i right?)
Thanks..
SQL> SELECT * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Prod
PL/SQL Release 10.1.0.5.0 - Production
CORE 10.1.0.5.0 Production
TNS for Compaq Tru64 UNIX: Version 10.1.0.5.0 - Production
NLSRTL Version 10.1.0.5.0 - Production
SQL>
SQL> drop table t;
drop table t
ORA-00942: table or view does not exist
SQL> create table t( d1 timestamp);
Table created
SQL> alter table t add constraint uq_d1 unique(d1);
Table altered
SQL> insert into t select systimestamp from all_objects where rownum < 1000;
insert into t select systimestamp from all_objects where rownum < 1000
ORA-00001: unique constraint (SYSADM.UQ_D1) violated
SQL> DECLARE
2 BEGIN
3 FOR i IN 1 .. 1000 LOOP
4 INSERT INTO t VALUES (systimestamp);
5 COMMIT;
6 END LOOP;
7 END;
8 /
DECLARE
BEGIN
FOR i IN 1 .. 1000 LOOP
INSERT INTO t VALUES (systimestamp);
COMMIT;
END LOOP;
END;
ORA-00001: unique constraint (SYSADM.UQ_D1) violated
ORA-06512: at line 4
SQL> SELECT * FROM t;
D1
02-FEB-07 03.24.54.877353 PM
02-FEB-07 03.24.54.879306 PM
02-FEB-07 03.24.54.880282 PM
SQL> -
Moving Clips More Precisely PrE 9
I am moving clips around and many times want to to insert a clip exactly between two other clips. When I do it however, I seem to chop off a bit of one of the existing clips. Is there an easy way to slide in or insert precisely between two clips? It's a pain to go back and patch together the broken clips. Thank you, Stan
I do not understand why, with Snap ON, PrE will shear off a Frame, or two, but if one Moves the Clip slowly, and with little "force," that does not happen. I have never observed similar behavior in PrPro.
If one is doing much of this Moving, it would be wise to check the full Timeline, in case some Orphans have been created. This ARTICLE goes into more detail on Orphans, and how to handle them.
Good luck,
Hunt -
Why is Maps more precise than SDK apps? [iPhone]
I'm using Core Location Manager with best accuracy and get latitude and longitude. When I call Google Maps with the lat/long values I get a marker pretty close to where I really am.
If, however, I use the build in iPhone Maps application I get the PRECISE location, which is some hundred meters from what my own app yields.
I'm running on an iPhone 3G.
Does anybody know:
- Whether Maps uses internal APIs not available via the SDK?
- What is the appropriate way to "enforce" GPS over cell tower location resolving (CLManager)
- Any other hints re this issue
Thanks.I have the same issue. My iTunes library and iPad mini both say they have 2215 songs but my iPhone 5s says it has 2225. All devices are set to sync entire iTunes music automatically. I do not understand how I have more songs on my iPhone than my entire iTunes library. Please help.
-
More precise JDBC driver error messages?
Hi,
is there a way to tell the Oracle JDBC driver (9.0.2.3) to provide more detailed error messages in an SQLException message string when a table cannot be found? The usual message "Table or view does not exist" does not provide information on the actual table or view that was missing. I would like the table or view name to be included in the message provided by the SQLException.
(In general I would appreciate more detailed error information in the Oracle JDBC driver exception messages.)
Best regards Uweperhaps this might help:
* Get error message of an SQLException with the following form:
* <p>
* <code>Code=<Vendor-specific error code>:'<error message>':SQLState=<SQLState></code>
* <code>
* Note: SQLState "S1000" is returned for general errors or if driver does not support SQLState.
* @param sqlException SQLException to create error code from.
* @return Specific error message or null if <i>sqlException</i> not available.
public static String toString(SQLException sqlException) {
String result = null;
if (sqlException != null) {
StringBuffer sb = new StringBuffer();
while (sqlException != null) {
sb.append("RDBMS Vendor Code ");
sb.append(sqlException.getErrorCode());
sb.append(": \"");
sb.append(sqlException.getMessage());
sb.append("\" : SQLState=");
sb.append(sqlException.getSQLState());
sqlException = sqlException.getNextException();
result = sb.toString();
}//else: input unavailable
return result;
}//toString()
* Get string representation of a SQLWarning.
* @param sqlWarning
* @return Specific error message or null if <i>sqlWarning</i> not available.
public static String toString(SQLWarning sqlWarning) {
String result = null;
if (sqlWarning != null) {
StringBuffer sb = new StringBuffer();
while (sqlWarning != null) {
sb.append("errorCode=");
sb.append(sqlWarning.getErrorCode());
sb.append(", SQLState=");
sb.append(sqlWarning.getSQLState());
sb.append(",message=");
sb.append(sqlWarning.getMessage());
sb.append(",cause=");
sb.append(sqlWarning.getCause());
sb.append(";");
sqlWarning = sqlWarning.getNextWarning();
}//next subsequent warning
}//else: input unavailable
return result;
}//toString() -
AUDIO TO SCORE. I used that all the time for drum doubling for the following reasons:
In Logic 9 i always used audio to score for drum doubling because it had much more control over essential parameters than the drum replacement window. Parameters like: Granulation, Smooth Release and Attack Range made sure that i didn't have any flams, too few notes, too many notes etc etc. AND you could see in the sample editor (below the waveform) immediately the effect of the changes made in those parameters!
Now with these parameters gone and only the drum doubling function left, what was a real pro function has become much more cumbersome to use. You can no longer see in detail what changes in parameters does to the out-coming midi. And the lack of the detailed parameters makes drum doubling drop or miss notes, makes flams with the original drum track etc etc.... In short. The drum doubling function is inadequate for pro results.
So this is my suggestion: Apple probably wont reinstate audio to score as it was (i'd love it if they did, it's essential to me and others who does rock mixes in logic instead of protools). But you can do something that's even better:
In the audio file editor (previously the sample editor) make the old audio to score into an advanced drum doubling/replacement editor. Take the audio to score window and parameters and reinstate them BUT instead of outputting different note values make them output to a desired note of the users choice (e.g C1). Without opening the library. It cluters the window and often people want to use their own drum software than apples samples.
It's the realtime view in the bottom of the audiofile editor that makes a difference. And the missing parameters. Without these things a good outcome is based on luck rather than visual reference.I was doing drum replacement ( adding ) with Audio-to-score for years, and must say, drum replacement is working for me without any flams and much better and 2x faster. I think it is pro feature, with advanced transient detector. Only problem is velocity,as in Audio-to-score.
If automatic threshold not working on some material, you can do fine transient edits in audio editor with visual realtime feedback, you can change output note and delay globally. Also you can hear ( in compare with Audio-to-score), that's why library is opened and sample replacement -after, not difficult to do. -
Hi my name is vicente and i was wondering if the following code is as precise as it could be. I made the program in the course of 1 hour during class and it is quite simple. Let me know if there are things i can clean up. thanks
import java.io.*;
class Program49A1
public static void main ( String[] args ) throws IOException
EasyReader indata = new EasyReader ("testscores.dat");
//initialize the variables
int num=0,index,count, count2,newsize;
String input,fName,lName,input2;
double total=0, average,min=0,max=0;
//read the first piece of data and save it to some variables for later
input = indata.readLine();
count = Integer.parseInt( input );
index=count;
count2=index;
double testScores[] = new double[index+1];
//get the student's name and begin output.
fName = indata.readLine();
lName = indata.readLine();
System.out.println(fName+ " " +lName+"'s test scores:");
//read the first test score.
input2 = indata.readLine();
testScores[index] = Double.parseDouble( input2 );
total = total + testScores[index];
//initializing the first element of the array as both the largest and the smallest number
min=testScores[index];
max=testScores[index];
for( count=count-1; count != 0; count--)
//begin the for loop by printing the test score and a comma.
System.out.print( testScores[index] + ", ");
input2 = indata.readLine();
testScores[index] = Double.parseDouble( input2 );
//find the max and the min
if ( testScores[index] <= min)
min = testScores[index];
if (testScores[index] >= max)
max = testScores[index];
//calculate average
total = total + testScores[index];
//print out the last testscore of the array.
System.out.print(testScores[index]);
//if the max and the min are the same number (unlikely)
//this will make sure the new average is correctly calculated
if(max==min)
newsize =index-1;
else
newsize=index-2;
//calculations and final output
average = (total/count2);
System.out.println("\n\naverage: "+average);
System.out.println("\nmin:" +min+"\n\nmax: "+max);
//subtract the sum of the max number and the lowest number from the total.
total =total -(min+max);
//average is now equal to the new total divided by the new number of numbers.
average=total/(newsize);
//final output
System.out.println("\n\naverage: "+average);
System.out.println("\n\n");
}im using easy reader which you can find here: http://www.skylit.com/javamethods-old/EasyReader.javaAny place you have a comment could potentially be re-factored into a private method with a descriptive name. When you see 'blocks' in your code delineated by comments, always consider breaking up the larger method into smaller ones. Blocks within loops are also excellent candidates for a private method.
Consider making all string literals in your class into constants that are static and final. (Don't bother doing this for logging message or System.out.println(), it's overkill).
Consider catching the IOException rather than letting it propogate out of the main() method. You should instead display a meaningul message to the user. Stack traces are not that friendly on the eyes to ordinary users.
- Saish -
How can i highlight more precisely on adobe reader on my galaxy note 10.1?
So far I am only able to highlight entire sentences but not isolated words and the tutorial is limited.
It could be due to the problem mentioned here: http://forums.adobe.com/message/4818976#4818976
Maybe you are looking for
-
I plugged in my iPhone to my computer and it erased all of my photos and videos, is there anyway I can get them back? The photos and videos were obviously taken before I plugged it in and I didn't get a chance to back it up. It just synced and erased
-
Hello. I was recently given a specification for an application I've been developing for a significant amount of time now. All these combo boxes that are used in various query and edit forms on the application, are populated by a "select distinct" fro
-
How to measure and fill with the same transparency?
for example creating a fill using Edit > Fill with a random Color and Opacity in the Fill dialog, then later without the original information about the Color and Opacity but just the file, how can I make exact same fill and opacity again?
-
Problems with samples in Workshop 8.1.3
I am Weblogic newbie. When I used Weblogic Workshop 8.1.3, I found I can not build many ejb projects smoothly, even for some samples in workshop. I guess the underlying reason is from the version I am using, workshop 8.1.3. Then I use Workshop 8.1.2
-
Printing Issue CS4 paper size SRA3
Hi I am using InDesign CS4, I am wanting to print on SRA3 paper which i have been doing so without any problem until I updated my computer. I deactivated the program before uninstalling, it is now re-installed and the printer settings have all disapp