Data acquisition with time stamp
Hi I'm using NI DAQ 6211 to acquire acceration, strain and temperature from a VI. I have made several modifications and my last two vis are attached. I need to get 1000 data points from a encoder and sampling the period is by far the best way to get acceleration considering my hardware.
Is there a way to ensure that all three variables are synchronised within a timestamp without the vi slowing down?
Sincerely
Ahmad
Attachments:
test_6.vi 57 KB
test_5.vi 50 KB
The problem lies in synchronising the acceleration with the load and temperature. For acceleration I'm getting a period from a counter with Implicit values (i.e. without specifying timing). I have set the number of samples to acquire to 1000 points and this task does not require sample timing. Post processing the period data in matlab gives me the acceleration.
Now my vi uses a Sample Clock with set number of samples being acquired for the load and temperature. This means that a set number of samples for load and temperature can be acquired and this time may not be enough to acquire the acceleration points; hence they cannot be mapped in time.
The period is implicit and I can't find a way to synchronise with the load and temperature that are acquired at a fixed sample rate. The bottle neck in this problem is to get the acceleration (period recorded) in sync with the load and temperature. If this can be done without any compromise to the speed of the vi then this problem is resolved.
I have attached the vis which will show the development to overcome this problem.
Sincerely
Ahmad
Attachments:
test_1.vi 50 KB
test_2.vi 49 KB
test_7.vi 49 KB
Similar Messages
-
Can someone help with a previous post labeled "Writing to a data file with time stamp - Help! "
Can someone possibly help with a previous post labeled "Writing to a data file with time stamp - Help! "
Thankswhats the problem?
Aquaphire
---USING LABVIEW 6.1--- -
Writing to a data file with time stamp - Help!
My program currently asks the user to enter a path to save the data from my virtual channels. What I want is to have a default directory to store my data in and also have the file name that is created to be the date. I tried to use create open or replace but I cant get it to work. Any suggestions would be great. Also and comments to the code would help out a lot.
Thanks
Attachments:
Test.vi 141 KBLook at the attachment. It uses a front panel path control set to only select a new or existing folder (right click and Browse Options). Then, using a Build Path and a Format Date/Time String, a full path to a file is created. Pass this to your Open/Create/Replace File.
Attachments:
Date to File Name.vi 13 KB -
Which type of index is useful for date columns with time stamp
Hi all,
I am using date column in the where clause of an SQL Query. The values stored in the date column are includes timestamp. The query is very slow and there is no index on the date column.
Can any body suggest which index is better on date columns
ThanksI am using date column in the where clause of an SQL Query.Dates a re hard queries to tune. This ...
WHERE start_date BETWEEN to_date('01-SEP-05') AND to_date('02-SEP-05')...probably requires a very different execution plan to this...
WHERE start_date BETWEEN to_date('01-JAN-01') AND to_date('02-SEP-05')Just bunging an index on the date column may speed up your specific query but break something else. So be careful.
Cheers, APC -
TDMS viewer not showing data with time stamp
Need help with time stamping data in a TDMS file generated by DAQ Assistant.
When I use the TDMS Viewer, with the x-scale set to absolute time, the date starts at 1903. If I use Excel to look at the file the start time is correct (i.e. 2013).
Solved!
Go to Solution.Bo_Xie, I have simplifed my VI and now able to display the correct time stamp. Thank for your time!
-
Inserting Current Date with time stamp in oracle database
Hi Experts,
I want to insert the current Date and time stamp in a field in the Oracle Database Table.
I am able to insert date but i am not able to insert the date with time stamp. Any Suggestions??
Thanks
NaveenNaveen,
Do you want to get current date (from sysdate) with a specific format or transform a value containing a date/time value to insert it in ORACLE ?
Usually, you insert current datetimestamp in a date field using this :
TO_DATE(sysdate,'dd/mm/yyyy hh:mi:ss')
you may have to tweak the format pattern ('dd/mm....') according to your needs
if you want to transform a date, use something like this:
TO_DATE(your_date,your_format)
but make sure your format is compliant with your date, ie
TO_DATE('31/12/2008','MM/DD/YYYY') could raise error (litteral does not match) cuz ORACLE can't recognize 31 as a month pattern
Chris -
Mail attachment with time stamp
Hi
My scenario is Proxy to Mail.
On receiver side I am getting the data as an attachment but i want that attachment with time stamp.
How to add time stamp to the attachment in reciever mail adapter.
Regards
Sowmya
Edited by: Sowmya on Aug 28, 2008 12:24 PMhi sowmya,
The bellow link for MessageTransformBean..
[http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]
In that ContentDisposition is used to fill the value for Attachment file name..
Its allows the value accordingly "RFC1806" Note..
RFC1806 allows accordingly RFC822 ..
Check RFC822 ..
5. DATE AND TIME SPECIFICATION
Regards,
Prakasu -
How to read multiple Digital samples and plot a chart with time stamps
Hi,
Could anyone send me a code that:
1. Reads 'multiple samples(lets say 4) from single digital input'
2. 'plot digital data as a chart with time stamps'
3. Find frequency
4. Log data into file with time stamps
I have attached the code which i tried.
Thanks,
LK
Attachments:
DigitalNSample.vi 27 KB
DigitalNSample.vi 27 KBHi,
Could anyone send me a code that:
1. Reads 'multiple samples(lets say 4) from single digital input' using NI USB 6009 or NI USB 6251.
2. 'plot digital data as a chart with time stamps'
3. Find frequency
4. Log data into file with time stamps
I have attached the code which i tried.
Thanks,
LK
Attachments:
DigitalNSample.vi 27 KB -
Advertisement Details of Specific Computer with Time Stamp
Hello Guys,
Could you please help me how to get Advertisement Details of Specific Computer with Time Stamp?
Thanks in Advance.
MukhyapranaIt's true that there is no reliable install date, but IMO last status time for an advertisement is usually close enough.
Select r.name0, adv.advertisementname, stat.laststatename, stat.lastexecutionresult, stat.lastStatusTime
from v_r_system r
inner join v_clientAdvertisementStatus stat on stat.resourceID = r.resourceID
inner join v_advertisement adv on stat.AdvertisementID = adv.AdvertisementID
where r.name0 = 'clientname'
order by adv.advertisementname -
Apache Trinidad is running with time-stamp checking enabled.
Experts,
Contents of my web.xml file
<context-param>
<description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>When my application runs i get the following on the weblogic console
<ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
<UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
Isnt it a bit strange ? Please advise what is wrong.
thnks
jdev 11.1.2.1If you're talking about the integrated WLS, time-stamp checking is automatically enabled no matter what so that changes you make in the IDE can be picked up. It's nothing to worry about.
John -
Hi All,
I using RFC to file scenario ,in this when file is created it folder it is coming with date and time stamp.but i am not using add time stamp in processing paramerts.i have checked the file name in communication channel monitoring it is coming without timestamp
but in folder file is getting created with time stamp.
RegardsHi Gangadhar,
In the receiver file adapter, under Processing tab, see the value of File Construction Mode.
This value should be Create instead of Add Time Stamp.
After making the changes save & activate the file receiver channel. The output file then will not have timestamp appended to its name.
Regards,
Gautam Purohit -
Hii,
I have an issue with using where clause with time stamp. My requirement is to
select * from driver_on_policy
where last_change_datetime = '2001-03-06 19:00:06'
date is in this form 6/3/2001 7:00:06 PM
thnks
samIf you want to use '6/3/2001 7:00:06 PM', then
where last_change_datetime = to_timestamp('6/3/2001 7:00:06 PM','DD/MM/YYYY HH:MI:SS PM')If you can use a literal string in ANSI standard YYYY-MM-DD HH24:MI:SS format, then just
where last_change_datetime = timestamp '2001-03-06 19:00:06' (That 'DD/MM' might need to be switched around to 'MM/DD' if you are in America.)
Message was edited by:
William Robertson -
File name for append processing mode with time stamp
Hi Experts
we are doing file to file scenario using the processing mode as Append.
the requirement for us to append the files and we need to have new file name with time stamp added to the appended file.but in the processing mode of the file adapter either we can append or add time stamp. thatz the problem I am facing now.
we are doing file based processing not message based ,micheal blog regarding the dynamic file name is for message based not for file based.
Please provide your valuable comments.
Thanks
FaheemHi mohamed,
I suggest you to map the target source structure to the required filename u want, like for example ur filename is input26062008.txt means to the target structure u perform the following mapping
constant (input) concat with currentdate function --> concat with constant .txt --> map this concat to target. So u will get the filename u expected with the time.
Then in the communication channel u select the mode as append. Now ur requirement will get solve i think so. plz try.
Regards,
Murugavel -
hi, is there a way to bounce with time stamp in logic? can logic automatically put time stamped files in the right place in the arrange window?
thx, wHi, Acmarie.
Thank you for visiting Apple Support Communities.
To see what time a message was sent or received. Drag any bubble to the left. Below, I have included the user guide which references this new feature on page 66.
iPhone User Guide
Cheers,
Jason H. -
Want date displayed with time on the top banner
Want date displayed with time on the top banner
On the top banner, I see signal, network, wifi, time, alarm, Bluetooth and battery. I want to see date and month and year too. How?There isn't a way to display the date in a banner.. BUT - The calendar icon does display the date and day.
HTH
Maybe you are looking for
-
SAP BOBJ connection with SQL server 2008
HI Gurus I want to install bobj server on a server that already have SQL server 2008 installed on it, I have few confusions as this is my first time installation, I hope you can help me. 1. Since SQL server is installed on the same machine where I ha
-
CC desktop app not showing correct install status for Photoshop
I have Photoshop CC, Bridge CC and Lightroom installed but the desktop app shows Photoshop is not installed. Photoshop runs without problems via a shortcut on the desktop. The Home tab shows Photoshop CC was installed. The Apps tab doesn't show it -
-
Any Adobe app won't start - clean install
Hi there, My name is Andrea. I have a MAC MINI with two partitions. One with OS X 10.9.3 and the second with WIN7. On both I am running Adobe CC app. On MAC partition is working fine. On WIN7 I had an issue. At some point any applications I tried to
-
RE: Processing Logged messages in batch mode ?
Paul, One way to findout the log file is to inspect your <CentralServer>.log. It should have a line something like.. Redirecting output to <someDirectory>/forte_ex_26564.log. That is the file the the current ftexec is writing to. This has worked fine
-
Why does App Store icon show updates ready, but no updates show on update tab
My home screen started showing that I had updates on the App Store icon, three days ago. Next day it showed three, then four and now it shows five updates, but when I go to Updates tab, I get just blank screen.