Binary Data file displays large gaps in the data. Will use of a queue help?
Ultimately I'd like to save 15 channels of data (1 channel at 20kHz, 6 at 2kHz, and 8 at 100 Hz) while displaying the waveforms on the front panel.
Currently, I am saving in binary format without any decimation of the data (therefore saving all channels at 20kHz). Decimating the waveforms can be done without affecting the display, and will definitely reduce the final size of the data files, but will slow down the processing. I've seen examples of using queues to limit data loss, but do not know if it will be advantageous in this case.
Any comments and suggestions will be greatly appreciated.
Attachments:
Cont_Acq_to_File_(binary)_NM-no_dec.llb 546 KB
Cont_Acq_to_File_(binary)_NM-dec 531 KB
So let's say that I'm going to use queues. Is it better to have an acquisition loop and then a 'everything else' loop (decimation and data recording) or is it possible (and better?) to use 3 loops? I'm assuming with each queue segment, the time spent reading and writing the data will increase, and therefore slow down my vi even more than it is doing now.
And another question: in the case of the tabbed case structure, my charts are only active when the corresponding tab is selected, correct? If I would then put the recording of data in each case, then the data would be recorded for only those signals which are displayed on that tab. I'm not completely confident that I understand how that structure works, or how I can make the data recording more efficient.
Thank you for all of your help, and for the compliment.
Similar Messages
-
Problem in Compresses file.Not able to see the data in file
Hi All,
I am downloading file into application server.
Using:
OPEN DATASET file FOR OUTPUT FILTER 'compress'.
OR
DATA: l_command(100) type c.
CONCATENATE 'compress ' p_file INTO lw_command SEPARATED BY space.
ENDIF.
CALL 'SYSTEM' ID 'COMMAND' FIELD lw_command.
When I see the file content it contains junk characters.
If I want to see the data Do I need to uncompress the file.
con't we see the data without uncompressing the file?.
Regards,
vinodHi,
Uncompress is required to read the content of an Compressed file.
OPEN DATASET DSN FOR OUTPUT FILTER 'compress'.
OPEN DATASET DSN FOR INPUT FILTER 'uncompress'.
The first OPEN statement opens the file so that the displayed data can be read into it in compressed form.
The second OPEN statement opens the file so that the data is decompressed when it is read from the file.
http://www.sapnet.ru/abap_docu/ABAPOPEN_DATASET.htm#&ABAP_ADDITION_8@14@ -
i am receiving the data through the rs232 in labview and i have to store the data in to the word or text file only if there is a change in the data. I have to scan the data continuasly. how can i do that. I was able to store the data into the text or word file but could not be able to do it. I am gettting the data from rs232 interms of 0 or 1. and i have to print it only if thereis a change in data from 0 to 1. if i use if-loop , each as much time there is 0 or 1 is there that much time the data gets printed. i dont know how to do this program please help me if anybody knows the answer
I have attatched the vi. Here in this it receives the data from rs232 as string and converted into binery. and indicated in led also normally if the data 1 comes then the led's will be off. suppose if 0 comes the corresponding data status is wrtten into the text file. But here the problem is the same data will be printed many number of times. so i have to make it like if there is a transition from 1 to o then only print it once. how to do it. I am doing this from few weeks please reply if you know the answer immediatly
thanking you
Attachments:
MOTORTESTJIG.vi 729 KB -
How do I have photos in iPhoto display on their face the date and time?
How do I have photos in iPhoto display on their face the date and time? Displaying in the camera shows this. When I check edit the info is there. How do I have that displayed on the face of the photo when I view it in iPhoto?
How do I have photos in iPhoto display on their face
the date and time? Displaying in the camera shows
this. When I check edit the info is there. How do I
have that displayed on the face of the photo when I
view it in iPhoto?
Hi! My name is Tom from San Diego, CA. I have the exact same question as you. That is, I would like to be able to print out a photo from iphoto with the date that picture was taken displayed on the face of it. In this way, someone looking at that picture in a photo album years later would know when it was taken. Did you ever find a method to print copies of photos out of iphoto with the date displayed on the print? Thanks for your help! -
ORA-01190: control file or data file 1 is from before the last RESETLOGS
hi, experts.
i have oradb 11g and using it for OIM11
after some actions in oim i try to get my db to previous state (many times it was done successfully)
but now i have problem ORA-01190: control file or data file 1 is from before the last RESETLOGS
im runing in noarchivelog mode
i have autobackup of controlfile and i have 2 backups of my db
please help me
maybe some one know how to restore my backup to new db and then change configuration of wls and oim...Hi, Thanks for reply
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1 1 OIMDB 2372279074 PARENT 1 02-APR-10
2 2 OIMDB 2372279074 PARENT 940976 11-JUL-11
3 3 OIMDB 2372279074 PARENT 5590849 09-AUG-11
4 4 OIMDB 2372279074 PARENT 5590850 10-AUG-11
5 5 OIMDB 2372279074 PARENT 5596482 11-AUG-11
7 7 OIMDB 2372279074 PARENT 5596483 11-AUG-11
8 8 OIMDB 2372279074 PARENT 5596484 12-AUG-11
6 6 OIMDB 2372279074 ORPHAN 5622931 11-AUG-11
9 9 OIMDB 2372279074 PARENT 5627526 18-AUG-11
10 10 OIMDB 2372279074 PARENT 5627527 18-AUG-11
11 11 OIMDB 2372279074 ORPHAN 5627528 18-AUG-11
12 12 OIMDB 2372279074 CURRENT 5627528 18-AUG-11
RMAN> list backup;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
9 Full 1.50G DISK 00:00:31 12-AUG-11
BP Key: 9 Status: AVAILABLE Compressed: NO Tag: TAG20110812T114515
Piece Name: D:\APP\999-ILYASOV\FLASH_RECOVERY_AREA\OIMDB\BACKUPSET\2011_08_12\O1_MF_NNNDF_TAG20110812T114515_749PJDCW_.BKP
List of Datafiles in backup set 9
File LV Type Ckp SCN Ckp Time Name
1 Full 5627525 12-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\SYSTEM01.DBF
2 Full 5627525 12-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\SYSAUX01.DBF
3 Full 5627525 12-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\UNDOTBS01.DBF
4 Full 5627525 12-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\USERS01.DBF
5 Full 5627525 12-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_OIMLOB.DBF
6 Full 5627525 12-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_IASSDPM.DBF
7 Full 5627525 12-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_MDS.DBF
8 Full 5627525 12-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_SOAINFRA.DBF
9 Full 5627525 12-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_OIM.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
10 Full 9.36M DISK 00:00:01 12-AUG-11
BP Key: 10 Status: AVAILABLE Compressed: NO Tag: TAG20110812T114515
Piece Name: D:\APP\999-ILYASOV\FLASH_RECOVERY_AREA\OIMDB\BACKUPSET\2011_08_12\O1_MF_NCSNF_TAG20110812T114515_749PKJJS_.BKP
SPFILE Included: Modification time: 12-AUG-11
SPFILE db_unique_name: OIMDB
Control File Included: Ckp SCN: 5627525 Ckp time: 12-AUG-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
11 Full 1.33G DISK 00:00:26 16-AUG-11
BP Key: 11 Status: AVAILABLE Compressed: NO Tag: TAG20110816T094954
Piece Name: D:\APP\999-ILYASOV\FLASH_RECOVERY_AREA\OIMDB\BACKUPSET\2011_08_16\O1_MF_NNNDF_TAG20110816T094954_74N183D7_.BKP
List of Datafiles in backup set 11
File LV Type Ckp SCN Ckp Time Name
1 Full 6118204 16-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\SYSTEM01.DBF
2 Full 6118204 16-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\SYSAUX01.DBF
3 Full 6118204 16-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\UNDOTBS01.DBF
4 Full 6118204 16-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\USERS01.DBF
5 Full 6118204 16-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_OIMLOB.DBF
6 Full 6118204 16-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_IASSDPM.DBF
7 Full 6118204 16-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_MDS.DBF
8 Full 6118204 16-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_SOAINFRA.DBF
9 Full 6118204 16-AUG-11 D:\APP\999-ILYASOV\ORADATA\OIMDB\DEV_OIM.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
12 Full 9.36M DISK 00:00:01 16-AUG-11
BP Key: 12 Status: AVAILABLE Compressed: NO Tag: TAG20110816T094954
Piece Name: D:\APP\999-ILYASOV\FLASH_RECOVERY_AREA\OIMDB\BACKUPSET\2011_08_16\O1_MF_NCSNF_TAG20110816T094954_74N197JO_.BKP
SPFILE Included: Modification time: 16-AUG-11
SPFILE db_unique_name: OIMDB
Control File Included: Ckp SCN: 6118204 Ckp time: 16-AUG-11How to reset database to right incarnation.? -
Data point display when mouse hovers over data point in TCODE QGC1
Hi experts,
Just want to ask if anyone knows how to add more data in the display when your mouse hovers over the data point in the control chart of transaction QGC1?
Because currently the control chart shows u201CSeriesu201D and u201CValueu201D, Iu2019m planning to add the inspection lot date when your mouse hovers over the data point.
Hope to have some response regarding this and thanks in advanceTohatsu,
I am not sure exactly what you are trying to do but the way you have went about doing things is not the way to code in LV. Fist off break your code into functional blocks and use these functional blocks as Subvi's. This will make your block diagram easier to read. Once you do this you can get rid of a lot of code. Also you need to learn how to use the event structure, right now the way your code is set up to use it is not correct. Have a look at the examples that ship with LV. i am not even going to begin to try to understand your code because the diagram is so large. Please do not take all of this the wrong way I am not trying to be hard on you or anything, I am just giving you some constructive criticism..
Break your code down into functional blocks and use subvi's to perform those blocks of code.
Have a look at the examples on how to use an event structure.
Have a look at state machines
You would also benefit from getting the book called Labview for everyone, third edition, jeffrey travis and james kring.
You have a lot going on in this VI. Use the eventstucture to your advantage instead of as a hinderence like it is now. the way your code is set up now everything runs in your while loop, then it waits for an event to fire. in your case the while loop will not run again until the mouse moves over the waveform chart. You are on the right track, you just need to get some fundamental basics down and you will figure out what is going on.
Thanks for converting the code to 8.0 for me.
Message Edited by Jhoskins on 01-30-2008 09:17 AM
Joe.
"NOTHING IS EVER EASY" -
Data warehouse Loader did not write the data
Hi,
I need to know which products are the most searched, I know the tables responsible for storing this information
and are ARF_QUERY ARF_QUESTION. I already have the Data Warehouse module loader running, if anyone knows
why the data warehouse loader did not write the data in the database, I thank you.
Thank.I have configured the DataWarehouse Loader and its components.Even I have enabled the logging mechanism.
I can manually pass the log files into queue and then populate the data into Data Warehouse database through scheduling.
The log file data is populated into this queue through JMS message processing" and should be automated.I am unable to
configure this.
Which method is responsible for adding the log file data into loader queue and how to automate this. -
Display pop ups in the jsp by using Java script
Hi
can any body say ,how to display pop ups in the jsp by using Java script ?that's correct. You can use the below code for AJAX request.
<script type="text/javascript">
var httpObject = getHTTPObject();
//create XMLHttpRequest object
function getHTTPObject() {
var xmlhttp;
if (window.XMLHttpRequest) // if Mozilla, Safari etc
xmlhttp = new XMLHttpRequest();
else if (window.ActiveXObject){ // if IE
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
catch ( e ){
try{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
catch ( e ){}
return xmlhttp;
//define the function to send the request
function sendRequest(){
var currDesc = document.getElementById("description").value;
var URL = "manageMaintAction.do"; //action mapping in your struts-config
var queryString = "currDesc="+escape(currDesc); //get the currDesc value in your action class like request.getParameter("currDesc")
httpObject.open( "Post", URL, true );
httpObject.onreadystatechange = cbFn;
httpObject.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded");
httpObject.send(queryString);
//callback fn
function cbFn() {
if (httpObject.readyState == 4)
if (httpObject.status == 200)
var result = httpObject.responseText;
alert(result);
</script> -
Hi i am getting an error like this while installing Live Cycle Server " The file merge_modules\lc11_common_iam_zip does not exist This file is required sucessfullly run the Live Cycle Installer.Can any one help me on resolving this issue it would be of great help..thanks .
I think in your situation it would be worth trying the things listed under the event. It does have to do with FRS and it's easy to do. I've used it to fix journal errors after a server unexpectedly restarts and sysvol stops replicating. I
could see where it could fix your issue, and if it doesn't, you're out 5 minutes. :)
The listed registry key does not exist
Expand HKEY_LOCAL_MACHINE.
Click down the key path:
"System\CurrentControlSet\Services\NtFrs\Parameters"
Double click on the value name
"Enable Journal Wrap Automatic Restore"
-
HT4847 How i can download my backup data? And how to manage the data on i Cloud?
How i can download my backup data? And how to manage the data on i Cloud?
You can't download an iCloud backup, except to restore it to your device should you ever need to.
iCloud data can be managed within the apps on your iPad. Any changes to the data within the apps corresponding to the data you are syncing with iCloud will take place in iCloud. You can also manage some of this data on icloud.com from your computer.
This article explains ways to manage your iCloud storage space, should you need to reduce you iCloud storage: http://support.apple.com/kb/ht4847. -
My data are not gettitng enterted in the data base
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class Main implements ActionListener
Frame mainf;
MenuBar mb;
MenuItem List,admitform,inquiry,exit;
Menu newm,update;
Inquiry iq;
Admit ad;
Register reg;
Main()
mainf=new Frame(" Engg College V/S Mumbai University ");
mb=new MenuBar();
newm=new Menu(" New ");
update=new Menu(" Update ");
List=new MenuItem("List");
admitform=new MenuItem("Admit");
inquiry=new MenuItem("Inquiry");
exit=new MenuItem("Exit");
newm.add(List);
newm.add(admitform);
newm.add(inquiry);
newm.add(exit);
mb.add(newm);
mb.add(update);
mainf.setMenuBar(mb);
exit.addActionListener(this);
List.addActionListener(this);
inquiry.addActionListener(this);
admitform.addActionListener(this);
mainf.setSize(400,300);
mainf.setVisible(true);
public void actionPerformed(ActionEvent ae)
if (ae.getSource() == List)
reg=new Register();
if(ae.getSource()==inquiry)
iq=new Inquiry();
if(ae.getSource()==admitform)
ad=new Admit();
if(ae.getSource()==exit)
mainf.setVisible(false);
public static void main(String args[])
new Main();
}>My data are not gettitng enterted in the data
base
no real surprise to me.Can u please help me ??How? There's no connection and prepared staments anywhere in your code. Do you think the database will update itself automagically? -
I recently bought a new Time Capsule and the following message has started to show:-
"Time Machine could not complete the back up. The backup disk image “/Volumes/Data-1/Brian’s iMac.sparsebundle” is already in use."
Can anyone help?Pondini is the resident Time Machine expert on the forums, and he has all the answers.
Check is excellent Time Machine - Troubleshooting support document
http://pondini.org/TM/Troubleshooting.html
See # C17 in particular -
getting error message could not activate cellular data network when trying to access the internet without using wifi. what do i need to do? i have already restore the phone.
contact your phone carrier as they handle cellular network.
-
I hava the key which has many data,how i can del all the data
In the Duplicates database,i hava the key which has many data,how i can delete all the data.such as i hava the key:aaa,but the data has three:123,234,456, how i can del the 123,234,456, i used the cursor to del(Cursor.delete()),but i only can del the first ont: 123,and used the cursor.count() method,i find the method return 2 for me ; and me question is how to delete the remained two; thanks everybody
After calling Cursor.delete, call Cursor.getNextDup to move to the next duplicate, then call Cursor.delete again, and repeat.
--mark -
iOS 8.1, mail fumction, date at bottom of email accounts the date hasn't changed since 9/26/14. How can I fixed this?
Thanks for the reply Brenden. However the problem is:
At the very bottom of the "Mailboxes" screen (where I've got 6 email addresses that do work) there is on the far right (bottom right corner) an icon to compose a new message.
In the center of that space is a generated message that says: 1) "downloading x of y" and 2) when finished downloading it says "Updated on 9/26/14." today is 11/6/14!
My problem is that that date hasn't changed since I upgraded to iOS 8.1. The emails are current, but that date isn't!
Can you help?
Maybe you are looking for
-
How many licensed users can you have under one serial number for Adobe Photoshop Elements 9?
I would like to know how many computers I can install my Adobe Photoshop Elements 9 on under one serial number? Thank you!
-
Portal performance monitoring scripts : (Unable to generate reports) HELP
Hi, Using 10.1.2.0.0 I followed README.html document to load the logs files to generate reports for Portal Performance. First of all while running loadlogs.pl I keep getting the following error. I even tried adding -nodirect but still gets the same e
-
Name of sms sender not appearing
Hi, I would like to ask why is that the name of the sms sender doesn't appear on my X6 even though the sender name and number is already in my contact list? Regards, micosdeque
-
I can't believe I'm typing this but I want to make my monthly payment but can't find the link. What credit card site doesn't have a "Make Payment" option right there on the first page??? This is crazy. I've seen other people with the same problem
-
Return query based on condition
I'm trying to create a report region that returns results based on which table the data is stored. I'm using the type SQL Query(PL/SQL function body returning SQL query). I do a select to the first set of tables if the data is not there then it will