Export all data from my waveform chart to excel
Hello, my name is Chris. I am just learning to use LabView. Everything I have learned so far is through these boards. Which is a valuable tool for someone learning. The VI I am working on is to monitor current from a unit we are testing. I am able to monitor current and have it running in what I believe to be real time. As I said, this is the first one I have made. I am trying to export all the data from my Waveform Chart to a report. Everytime I try I get one instance and it measures 0. I don't know what I am doing wrong. Any help would be appreciated. Also, if you have any suggestions on the all around working of this I would appreciate that as well. Thank you in advance.
Attachments:
Lp Current Test.vi 83 KB
Hey Christophrt,
If you are trying to display the microseconds for a waveform chart in LabVIEW here is how you can do it:
Go to the Chart Properties>Display Format>X-Axis>Advanced editing mode>enter:
%<%I:%M:%S%6u>T as the format string and you will have the hours: minutes: and seconds to the microseconds.
If you are trying to display the exported data in microseconds in Excel, you will probably have to do some formatting changes in Excel to have that work.
Regards,
Tommy G.
Applications Engineer
National Instruments
Similar Messages
-
How to save data from a waveform chart to a file?
Hi! I have a question:how to save a real time data from a waveform chart? attachement is a example,how can i do to save the data from 0 second to 25 seconds to a file ?thanks!
Attachments:
example.vi 23 KBYou can use a property node to get the chart history as a array. Then you can write that data to the file. The data in the array in you example can also be writen to a file. If you only wnat a portion of the data to be saved, use the Array Subset function to get the part you want.
Lynn -
Problem while exporting the data from a report to an excel file.
Hi SAP guru's,
I have a problem while exporting the data from a report to an excel file.
The problem is that after exporting, the excel file seems to have some irrelevant characters....I am checking this using SOST transaction..
Required text (Russian):
Операции по счету
№ документа Тип документа № учетной записи Дата документа Валюта Сумма, вкл. НДС Срок оплаты Описание документа
Current Text :
? 5 @ 0 F 8 8 ? > A G 5 B C
! 4 > : C "" 8 ? 4 > : C ! C G 5 B = > 9 7 0 ? 8 A 8 0 B 0 4 > : C 0 ; N B 0 ! C < ! @ > : > ? ; 0 B K ? 8 A 0 = 8 5 4 > : C
Can you help me making configuration settings if any?
Regards,
Avinash RajuHi Avinash
To download such characteres you need to adjust code page to be used during export. You can review SAP note 73606 to identify which code page is required for this language
Best regards -
How to take the print out of the entire data from the waveform chart
i am using cont acq to spreadsheet file.vi to acquire data from a number of channels. this vi also plots the acquired data on the waveform chart. i want to take the print out of the entire data. how can i do it ?
also how can i take print out of the data between given interval??
please reply me
thank youThere are a number of different ways of achieving your goal. Depending on which version of LabVIEW you have and which development environment, the Report Generation Toolkit is a very powerful tool. Attached is an example that prints the acquired data without the use of additional toolkits.
Jonathan Hildyard
Applications Engineer
National Instruments
Attachments:
DAQ_with_Print.llb 115 KB -
Saving array data from a waveform chart
I am using a CRIO 9004 and a 9237 bridge module to measure some strains from strain gauges. I've got one timed loop that reads the DMA FIFO and puts the arrays of values (16 data points, 4 per channel) into a queue. In the consumer timed loop a For loop scales the binary data, auto indexes it into arrays, then the arrays are merged into a 2D array for the four channels displayed on a waveform chart . Everytime the consumer loop runs it indexes 4 data points (per channel) yet the waveform chart plots them in a consecutive manner and doesn't overwrite the previous four. If I convert the arrays to waveform arrays I don't see anything on the waveform chart.
If I pass the 2D array of data to a array indicator inside or outside the consumer loop I get only 16 data points. I want to save the information that appears on the waveform chart after the consumer loop but because I'm not using waveform data type I can't use the write waveforms to file vi. The waveform chart history buffer has been set to 195360.
Idealy we will run the four channels for 120 seconds charting the data and saving the data. The minimum data rate is 1613kS/s (403 per channel) The data can be saved after the loops have finished gathering and processing or while they are running. I noticed when I tried to write to TDMS it slowed the consumer down. Same thing if I use a shift register with the volume of data.
I suspect I'm not sending data to the chart in the correct manner ( usualy takes two attempts to "clear chart" using shortcut menu). I'm not too familiar with timed loops /producer consumer loops and just tried to put something together based on examples.
I've attached my host vi and front panel screenshot.Hope they appear attached this time.
Attachments:
Basic DMA (Host).vi 444 KB
screenshot2.jpg 113 KB -
Hi ,
I am trying to export all data from Service record type. but after export i find some data missing. After analysis we found that it is due to Microsoft office 2003 is restricted to only 255 columns.
Has anyone faced similar issue? What was the work around?
We don't have Office 2007 and procurement will take month. So need a immediately resolution.
SandyTry and open in notepad or wordpad.
In case you do not want to change the file in Excel try the viewer of Excel @ http://office.microsoft.com/en-us/excel/HA102221731033.aspx?pid=CH101030611033
Prakash -
Leading Zeros Missing - When exporting data from ALV grid display to Excel
Hi,
Am exporting the data from ALV GRID DISPLAY to Excel sheet using standard toolbar icon 'Local file'
the leading zeros displayed in the ALV output is missing in the EXCEL sheet.
(eg) in ALV o/p - 0029.
in Excel - Only 29 is appearing.
As per the requiement i have to show the leading zeros in excel also.
Pls help on this issue.
Thanks in advance..Hi ,
Please set the property :
wa_fieldcat-lzero = 'X' .
when you are creating field catalog for display alv data .
your prob will solved .
Regards ,
Nilesh Jain -
how to use ni-6008 and build a four channel data acquisition at a rate of 250 samples per channel and display all the data in a waveform chart
Hi kdm,
please stick in one thread for the same topic!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
How to save X and Y vaue from a Waveform Chart
Hello Everyone!
I'm implementing an adquisition systems that send data to a waveform Chart through VISA. All run properly, but I would like to save the data adquired to an excel file. I saw examples to how to save it, but only save the Y value.
I would like getting the X and Y values in 2 columns different in the excel file.
¿Is it possible?
¿Can someone tell me how I can do it?
Thanks for your feedbacks!
Solved!
Go to Solution.I meant uploading the actual VI, not a picture of it. You need to fix your code.
You should not be initializing the serial port in each iteration of the loop. Initialize outside, read in the loop, and close when the loop is done.
Why do you have 2 VISA resource controls? Are you talking to 2 different devices?
The event structure serves no purpose in your code. If you are trying to enable/disable the file writing, use a case structure that's controlled by a simple front panel switch.
You should "remember" the path that the Write to Spreadsheet File uses. Otherwise you will be asked for the filename each and every time you try to save. You can do this using a simple Feedback Node:
Since you are reading the value periodically, just use one of the Get Date/Time functions. You can use the Get Date/Time String to get a formatted string. Then you can format your value as a string, and build your array using those 2 values. Or, you can use the Get Date/Time in Seconds to get a numerical value. Be aware that LabVIEW's starting time is 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00], which is different from Excel.
Attachments:
Example_VI_BD.png 1 KB -
How to export some data from the tables of an owner with integrity?
Hi to all,
How to export some data from the tables of an owner with integrity?
I want to bring some data from all tables in a single owner of the production database for development environment.
My initial requirements are: seeking information on company code (emp), contract status (status) and / or effective date of contract settlement (dt_liq_efetiva) - a small amount of data to developers.
These three fields are present in the main system table (the table of contracts). Then I thought about ...
- create a temporary table from the query results table to contract;
- and then use this temporary table as a reference to fetch the data in other tables of the owner while maintaining integrity. But how? I have not found the answer, because: what to do when not there is the possibility of a join between the contract and any other table?
I am considering the possibility of consulting the names of tables, foreign keys and columns above, and create dynamic SQL. Conceptually, something like:
select r.constraint_name "FK name",
r.table_name "FK table",
r.column_name "FK column",
up.constraint_name "Referencing name",
up.table_name "Referencing table",
up.column_name "Referencing column"
from all_cons_columns up
join all_cons_columns r
using (owner, position), (select r.owner,
r.constraint_name fk,
r.table_name table_fk,
r.r_constraint_name r,
up.table_name table_r
from all_constraints up, all_constraints r
where r.r_owner = up.owner
and r.r_constraint_name = up.constraint_name
and up.constraint_type in ('P', 'U')
and r.constraint_type = 'R'
and r.owner = 'OWNERNAME') aux
where r.constraint_name = aux.fk
and r.table_name = aux.table_fk
and up.constraint_name = aux.r
and up.table_name = aux.table_r;
-- + Dynamic SQL
If anyone has any suggestions and / or reuse code to me thank you very much!
After resolving this standoff intend to mount the inserts in utl_file by a table and create another program to read and play in the development environment.
Thinking...
Let's Share!
My thanks in advance,
PhilipsThanks, Peter.
Well, I am working with release 9.2.0.8.0. But the planning is migrate to 10g this year. So my questions are:
With Data Pump can export data just from tables owned for me (SCHEMAS = MYOWNER) parameterizing the volume of data (SAMPLE) and filters to table (QUERY), right? But parameterizing a contract table QUERY = "WHERE status NOT IN (2,6) ORDER BY contract ":
1º- the Data Pump automatically searches for related data in other tables in the owner? ex. parcel table has X records related (fk) with Y contracts not in (2,6): X * SAMPLE records will be randomly exported?
2º- for the tables without relation (fk) and which are within the owner (MYOWNER) the data is exported only based on the parameter SAMPLE?
Once again, thank you,
Philips
Reading Oracle Docs... -
Unable to export all columns from sharepoint 2010 survey
Have a user that cannot export all columns from a sharepoint survey. When exported, he only gets 3 columns. We've tried a number of things, including exporting from the overview view. We've also made sure that readers had full edit rights, etc. Just for
background, this survey does contain branching logic. Any ideas?I have had
exactly the same problem before.
There's already a ton of suggestions on these blogs, and I suspect there is a bug somewhere.
As I'm lucky to have Reporting Services in SharePoint mode, I've been using it to export Survey data, pre-process it, and export it to Excel or PDF. -
Remove 0 records when Exporting TXN data from BPC
BPC Experts,
I m trying to export transaction data from BPC from one MODEL , While exporting i wanted to ignore the records whose aggregated value is zero for the dimension member combination.
Where i can restrict or set , EXPORT only for SIGNED DATA <> 0.Hi,
Performance point of view optimization is required. As i mentioned in previous post lite optimization Closes the open request, compresses without Zero-Elimination and indexes the cube, and updates database statistics for the BW Info-Cube.
As per my understanding there are no such prerequisite , but for safer side you can process all dimension of model.
Also go through the links that are shared. If you required more details you can search on forum. There are lot of threads on lite optimization.
Problem removing zeros in a model - BPC 10 NW
http://scn.sap.com/community/epm/planning-and-consolidation-for-netweaver/blog/2014/02/07/lite-optimize--a-little-guide-to-the-big-things-you-should-know
Full Optimization and Light Optimization In Detail.
BPC Light Optimize Configuration
Lite Optimize - A little guide to the big things you should know
BPC optimization performance
Light optimize in BPC 10 -
Goto: How to export some data from the tables of an owner with integrity?
Hi to all,
Help please: How to export some data from the tables of an owner with integrity?
My thanks in advance,
PhilipsThanks, Peter.
Well, I am working with release 9.2.0.8.0. But the planning is migrate to 10g this year. So my questions are:
With Data Pump can export data just from tables owned for me (SCHEMAS = MYOWNER) parameterizing the volume of data (SAMPLE) and filters to table (QUERY), right? But parameterizing a contract table QUERY = "WHERE status NOT IN (2,6) ORDER BY contract ":
1º- the Data Pump automatically searches for related data in other tables in the owner? ex. parcel table has X records related (fk) with Y contracts not in (2,6): X * SAMPLE records will be randomly exported?
2º- for the tables without relation (fk) and which are within the owner (MYOWNER) the data is exported only based on the parameter SAMPLE?
Once again, thank you,
Philips
Reading Oracle Docs... -
Reg: Exporting the data from the Physical Standby database system.
Hello all,
We have an oracle standard edition one 11gR1 environment, in which i need to export the data from the physical standby system.
So can anyone suggest me, How to do it safely (mount state).
Regards,
Konda.Hi,
You can use "exp" utility to export the database from a read only database whereas you can't export the read only database using "expdp".
Since you are using version 11g, it is not advisable to use exp. You can convert your standby to snapshot database, open read, write and export the database using expdp and then again convert it to standby.
This is a very easy process which we follow in our company to do testing when required.
Follow note 11g Using Snapshot Standby Database. (Doc ID 443720.1) for converting and usage.
Thank you!! -
I would like to transfer all data from my iPod classic to my new computer with windows 8.1. My old computer's cpu died. Utilizing iTunes which only allows iTunes albums purchased at iTunes store. The cd's were loaded via iTunes originally.
Install disk drive from old computer in an external enclosure.
Then copy the complete iTunes library from the disk drive to the disk drive in the new computer.
Maybe you are looking for
-
ANY UPDATES FOR IPHONE 4S to fix WIFI ISSUE
ANY UPDATES TO FIX THE WIFI (UNABLE TO JOIN NETWORK) FOR IPHONE 4S? THERES A NEW OS FOR IPHONE5, WHY NOT BOTHER TO FIX THIS ISSUE FIRST???
-
Macbook pro 2012 temperature??
My 2012 macbook pro just seems to be very hot underneath, is this common? i downloaded a hardware monitor which was advised on the forum and it shows my CPUs at opver 90degrees!!! Is this normal?
-
ARC4: Failed to archive log# 3 seq# 2091911 thrd# 1
Hi gurus, Iam running my database in archivelog mode and I receive following errors in archive trace files. kindly give me a solution and the trace file is attached below ARC4: Failed to archive log# 3 seq# 2091911 thrd# 1 *** 2006.08.08.02.52.14.656
-
Still need advice about Bluetooth
I would like to use a 3rd generation iPod-Touch with 2 separate Bluetooth earpieces so both my wife and I can hear downloaded walking tours while on vacations and not need to use wired earphones or the built in speaker? #1- Will the Touch send audio
-
When I upload....
When I upload my files to my site that im testing on, well i make them and test them locally and then upload them for friends to try out, i run the page and i get the error: Fatal error: Call to undefined function: virtual() in /home/www/mondan.mybes