Combining 2 readings into a waveform chart/graph displaying continuous readings of data from different sources
Hi,
In the file
(Serial Read and Write to .tdms & Compare on Graph – test.vi) I am trying
to integrate the following two waveforms into a single waveform: Realtime
reading and Waveform chart (open vi to see). Both of them display speed vs time
but from different outputs. One comes from an excel file (Teraterm – Results.xlsx
– sheet 4, (column 3:row 4) to (column 3:row 1878)) and the other comes from
the Serial input which is in Hex format and is split to get the various readings
of speed, voltage etc. I have already wired speed to a variety of waveform
outputs, but all result in broken wires.
The readings are taken in by the program
and but I am unable to wire the two readings together into one graph.
Please do let me know as to how can I make this work.
Thanks in Advance.
Best Regards,
Akhil
Kumar Meesala (Mr.)
Year
4 | Undergrad | Mechanical Engineering
National
University of Singapore
Email:
[email protected]
Mobile:
(+65) 9326 7069
Solved!
Go to Solution.
Attachments:
Serial Read and Write to .tdms & Compare on Graph - test.vi 58 KB
Teraterm - Results.xlsx 593 KB
Dear GerdW,
I'm sorry again about the misspelling your nick.
I tried connecting a waveform chart to the two terminals (speed from the DAQ and speed from the excel file) but I was unable to get the connection right. I understand that charts are used for readings which are equally spaced out, whereas XY graphs are used when the readings are not be spaced out uniformly. But I am unable to wire the connections correctly.
Actually the DAQ device continuously sends out data through the serial port. So I would not run out of data . Are you referring to the data coming from the DAQ device or the excel file? I actually have not thought of what would happen when the excel file would run out of values I am just hoping for the software to run till then for now
I have cleared up the wires as well Thanks for your help.
Best Regards,
Akhil Kumar Meesala (Mr.)
Year 4 | Undergrad | Mechanical Engineering
National University
of Singapore
Email: [email protected]
Mobile: (+65) 9326 7069
Attachments:
Get Excel Values.vi 25 KB
read_excel_values.llb 201 KB
Serial Read and Write to .tdms & Compare on Graph - test.vi 79 KB
Similar Messages
-
How can I use notifications to send data from different sources to thesame chart?
Hi,
I am using the "Continuous Measurement and Logging" template project that ships with LV 2013.
It is extremenly helpful for figuring out messaging between the acquire, graph, and log loops. (Thanks NI!)
I've run into a snag however.
I would like to modify it so that my graphing loop receives data notifications from two acquisition sources via notifiers.
I'm having trouble getting data from both sources to display on the same chart.
I've isolated the issue in the attached vi.
Here's what happens:
1. I create data from 2 parallel loops and send the data to a third parallel loop with notifiers.
2. The third loop receives data from only one of the loops because one of the receiving notifiers just times out instead of receiving data.
Can someone suggest how I can fix this?
Thanks.
- Matt
Solved!
Go to Solution.
Attachments:
test notification loop.vi 42 KBHere is my modification of your VI. I put notes on the block diagram to explain the changes. It uses a queue for the data transfer to avoid loss of data. It uses a notifier to stop the loops. All local variables and Value property nodes have been eliminated.
The way the loops are stopped will likely leave some data in the queue. No more than one or two iterations of each of the data acquisition loops. If you need to guarantee that all data has been displayed (or saved in a real application), then you need to stop the acquisition loops first and read the queue until you know it is empty and both of the other loops have stopped. Then stop the display loop and release the queue and notifier.
Lynn
Attachments:
test notification loop.ldj.vi 1036 KB -
How to fetch data from different sources into one source (like into Ztable)
hi friends,
As per our client requirements they want to develope an Inventory and an Ontime delivery report in BO on top of Oracle database.
Situation is some thing like they have ECC 6.0.and they want to collect all inventory and ontime delivery data at one place.According to me that could be one Ztable in which we can gather all data.Apart from that they are going to use Data Integrator in which they can directly fetch the data from R/3 system(They dont want to have BI system) and put all data in Oracle DB.On top of ORacle BO person can develop BO reports.
My question is how to fetch all data at one place and what are the tables going to be use.
kindly help me out as its very important project.
Thanks
AbhishekThe following is my standard reply to those who need to get old data from a backup in one account and add it to another account. The method described here may be applied to your case. It would be a bit of a long process, though.
When connected to the account you want to GET data from, Go to Settings>iCloud and turn all data that is syncing with iCloud (contacts, calendars, etc.) to Off.
When prompted choose to keep the data on the iPhone.
After everything is turned off, scroll to the bottom and tap Delete Account. Next, set up a new iCloud account using a different Apple ID and turn iCloud data syncing for contacts, etc. back to On. When prompted, choose Merge. This will upload the data to this new account.
Note that this only affects the "Apple data" like contacts, calendars, reminders, etc. Many third party apps also use iCloud to store data files there. These files may be lost in the process, unless the apps also keep the data locally on the device.
NOTE: Photos in the photo stream (if you use it) will not transfer to the new account. It is advised that you save the photos to a computer before performing the account switch. -
Combination of Stacked & Overlaid Waveform Chart
Hey everyone,
I've got a challenge for you that would really help me out. I'd like to use - specifically - a waveform chart to display four parameters overlaid on two divisions (in stacked mode) i.e. two parameters plotted on the first division and two parameters plotted on the second division with no additional divisions possible. I have an example attached that gets me halfway there (written in version 8.2), but I can't seem to figure out how to make the waveform chart display only two divisions instead of the four dictated by the bundle tool. I suspect this isn't possible as I can't seem to find a property that allows me to control the number of divisions displayed but hoped that someone else might know a trick or two to disable those pesky additional (and blank) plot fields.
Thanks in advance for any help!
Andrew
Attachments:
Overlaid and Stacked Waveform Chart.vi 22 KBHere you go....
there should be enough here to get you what you need.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
Attachments:
2 Traces per Plot Description.pdf 71 KB
2 Traces per Plot Description.zip 182 KB -
How to combine data from different input forms outside a nested iView
Hi,
i try to combine data from different input forms in a single one.
Because of space reasons in Flex compiling i already use nested iViews. Within these nested iViews its possible to use the 'combine' function to do this.
But in the main iView I cant compose these function with other elements. I need to do this because of using these model in Guided Procedures with output parameters. These parameters I only get with a 'endPoint'. Unfortunatly its not possible to combine data from different input forms into the 'endPoint'.
Is there any solution?
Thanx
MathiasHi Scott,
i tried this already and i also tried to map all parameters in the endpoint by drawing lines from the other forms and assign the 'empty parameters' by a formula.
And when i create a collable object in GP and assign the VC iView, only the parameters of the parent-form (the form who trigger the event) are shown as output-parameters.
Maybe any other ideas? I cant believe that such a simple thing is not possible?!?!
In my opinion, thats a bug, that I'am not able to use the combine-operator in the main VC-iView. Whats your mind?
greets
mathias -
Displaying a group of data in different colums
I have a problem with displaying a group of data in different colums. I want to display a group of data like this:
Column 1 --- Column2 ----- Column3
data1 data6 data11
data2 data7 data12
data3 data8 data13
data4 data9 data14
data5 data10 data15
That is, the coulm headers must be at the same height of the page and data must be in paralell columns.
My number of data is variable depending on a query result, and I want to start displaying my group on the first column and when it is full (the number of records per column is fixed), is must switch into the next one.
In case there were more than 15 records, the 16th and the followings, must be displayed on the next page, with the same format as i have explained before.
Thank you very much.Send me all files along with expected output at [email protected]
-
I just got a new phone today the iphone 5c and i plugged it into itunes. i wanted to get all of my data from my iphone 4s but when i synced my phone all of my iphone 3 data was on my new phone how do i get my iphone 4 data on my new phone?
Did you choose the wrong back up? There should be a drop box when you go to "Restore from Back up" in iTunes and your iPhone is plugged in, on the Summary page. Choose the correct back up. If you can't find one, and you still have your device, back up your iPhone 4 again and then choose that back up. Or check for an old iCloud back up if you have one.
-
How to display multiple data from different table in one table? please help
Hi
I got sun java studio creator 2(the separate installation not the one in the net beans)....
My question is about displaying data that have been taken from the database.... I know how to display data in a table(just click on the table "bind data" )... but my question is that:
when i want to use a sql statement that taken the data from different table...
how can i display that data in the table(that will be shown in the web) ??? when i click bind data on the table i can only select one table i can't select more than one....
Note:
1) i'm using the rowset for displaying the data in the table, since the sql statement is depending on a condition(i.e. select a from b where c= ? )...
2) i mean by different table is that( i.e. select a from table1,table2 )..
thanks in advance...Hi,
937440 wrote:
Hi every one, this is my first post in this portal. Welcome to the forum!
Be sure to read the forum FAQ {message:id=9360002}
I want display the details of emp table.. for that I am using this SQL statement.
select * from emp where mgr=nvl(:mgr,mgr);
when I give the input as 7698 it is displaying the corresponding records... and also when I won't give any input then it is displaying all the records except the mgr with null values.
1)I want to display all the records when I won't give any input including nulls
2)I want to display all the records who's mgr is null
Is there any way to incorporate to include all these in a single query..It's a little unclear what you're asking.
The following query always includes rows where mgr is NULL, and when the bind variable :mgr is NULL, it displays all rows:
SELECT *
FROM emp
WHERE LNNVL (mgr != :mgr)
;That is, when :mgr = 7698, it displays 6 rows, and when :mgr is NULL it displays 14 rows (assuming you're using the Oracle-supplied scott.emp table).
The following query includes rows where mgr is NULL only when the bind variable :mgr is NULL, in which case it displays all rows:
SELECT *
FROM emp
WHERE :mgr = mgr
OR :mgr IS NULL
;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL it displays 14 rows.
The following query includes rows where mgr is NULL only when the bind variab;e :mgr is NULL, in which case it displays only the rows where mgr is NULL. That is, it treats NULL as a value:
SELECT *
FROM emp
WHERE DECODE ( mgr
, :mgr, 'OK'
) = 'OK'
;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL, it displays 1 row. -
We migrated Packages from SSIS 2008 to 2012. The Package is working fine in all the environments except in one of our environment.
SSIS 2012 is intermittently failing with below error while importing data from a source table into a Destination table with same exact schema.
Error: 2014-01-28 15:52:05.19
Code: 0x80004005
Source: xxxxxxxx SSIS.Pipeline
Description: Unspecified error
End Error
Error: 2014-01-28 15:52:05.19
Code: 0xC0202009
Source: Process xxxxxx Load TableName [48]
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid date format".
End Error
Error: 2014-01-28 15:52:05.19
Code: 0xC020901C
Source: Process xxxxxxxx Load TableName [48]
Description: There was an error with Load TableName.Inputs[OLE DB Destination Input].Columns[Updated] on Load TableName.Inputs[OLE DB Destination Input]. The column status returned was: "Conversion failed because the data value overflowed
the specified type.".
End Error
But when we reorder the column in "Updated" in Destination table, the package is importing data successfully.
This looks like bug to me, Any suggestion?Hi Mohideen,
Based on my research, the issue might be related to one of the following factors:
Memory pressure. Check there is a memory challenge when the issue occurs. In addition, if the package runs in 32-bit runtime on the specific server, use the 64-bit runtime instead.
A known issue with SQL Native Client. As a workaround, use .NET data provider instead of SNAC.
Hope this helps.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
How to insert data from different internal table into a data base table
hi all,
I want to insert a particular field in an internal table to a field in a data base table.Note that the fields in the internal table and database table are not of the same name since i need to insert data from different internal tables.can some one tell me how to do this?
in short i want to do something like the foll:
INSERT INTO ZMIS_CODES-CODE VALUE '1'.
*INSERT INTO ZMIS_CODES-COL1 VALUE DATA_MTD-AUFNR .(zmis_codes is the db table and data_mtd is the int.table)REPORT ZINSERT.
tables kna1.
data: itab LIKE KNA1.
data lv_kUNAG LIKE KNA1-KUNNR.
lv_kuNAG = '0000010223'.
ITAB-kuNNR = lv_kuNAG.
ITAB-name1 = 'XYZ'.
INSERT INTO KNA1 VALUES ITAB.
IF SY-SUBRC = 0.
WRITE:/ 'SUCCESS'.
ELSE.
WRITE:/ 'FAILED'.
ENDIF.
Here lv_kunag is ref to kna1 kunnr passed in different name
In internal table .
Try and let me know if this logic dint work. -
Displaying a group of data in different Pages
Hello
I will try to explain my Problem below briefly
I have a problem with displaying a group of data in different Pages.I want to display a group of data like this:
page1 page2
data1Part1 data1Part2
Page3 Page4
data2Part1 data2Part2
Page5 Page6
data3Part1 data3Part2
page 7 Page 8
data4Part1 data4Part2
What I get is :
page1 page2
data1Part1 data2Part1
Page3 b]Page4
data3Part1 data4Part1
Page5 Page6
data2Part2 data3Part2
page 7 Page 8
data4Part2 data4Part2
I test <?for-each-group@section:ROW?> and Different first page etc. It doesn't work.I would appreciate your help. I can send you the output, template and xml doc, if you can have a look at it.
ThanksSend me all files along with expected output at [email protected]
-
How can i import the data from multiple sources into single rpd in obiee11g
how can i import the data from multiple sources into single rpd in obiee11g
Hi,
to import from multiple data sources, first configure ODBC connections for respective data sources. then you can import data from multiple data sources. When you import the data, a connection pool will create automatically.
tnx -
Reading coordinates in waveform chart graph
hello!
i have a problem using the labview, and i hope someone could help me.
so, i have a project for a class, and for that project, i have to read the coordinates on the waveform chart.
in vissim, there is a simple command, if you click the right mouse button on plot, you have an option "read coordinates".
basically, i didnt found that or similar option in labview.
if someone knows how to read the coordinates accurately , i'd appreciate if you would help.
thanksMouse down event wire click location to Map XY To Coordinates.... ?
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Hello,
in my vi I have a chart with 5 Plots displaying measurement data.
The user should be able to save all the history data from the chart at anytime. (e.g. the user watches the chart and some event happens, then he presses a "save"-button)
I know, that I can read out the history data with a property node. That is not the problem. The problem is, how do I handle the data? The type of the history data is a 1-D array of cluster of 5 elements.
I have to convert that data somehow into a 2 D-array of numbers or strings, so that I can easily save it in a text-file.
How do I convert a 1-D array of cluster of 5 elements into a 2-D array of numbers?
I use LabVIEW 7.1
Johannes
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
Solved!
Go to Solution.Gerd,
thank you for the quick response and the easy solution.
Look what I did in the meantime. I solved the problem too, but muuuch more complicate :-)
And I have converted the numbers to strings, so that I can easily write them into a spreasheet file.
Johannes
Message Edited by johanneshoer on 04-28-2009 10:39 AM
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
Attachments:
SaveChartHistory.JPG 57 KB
SaveChartHistory.JPG 57 KB -
Can I make a chart automatically source data from different parts of a table?
Hi! I have a chart that shows data entered into one row across several columns of a table. I want the chart to automatically display information from the next row down once data has been entered into all fields of the first row without the chart displaying two sets of data i.e. just the second row only. I would greatly appreciate any ideas as I've hit a total roadblock with this. Thanks!
Hi gsnwosu,
I don't know of any way that Numbers can predict your next move! You must enter all your data and then select cells and create a chart. Here is a Table with a Header Row and two Rows of data:
You don't say what kind of chart you want. Here is a bar chart using data from Row 2. Select Row 2 by clicking once on the grey Row number (2) and choose a chart type (bar chart here):
Ignore the "Chart 3" label. I had three goes at this!
Click on the chart to select it:
then drag the Row (or Cells) selection down to Row 3 for a new chart (Oranges):
Regards,
Ian.
Message was edited by: Yellowbox. then drag the Row (or Cells) selection down to Row 3 for a new chart (Oranges):
Maybe you are looking for
-
I've been connecting a sony PD170 via firewire to my Macbook pro to record directly using Quicktime pro. Can I use the usb port (and mini audio in) to accomplish this with a camcorder that doesn't have a fire wire port but does have USB out?
-
New Quicktime 7.1 - What are the changes exactly? I am looking...
May 11, 2006 - QuickTime 7.1 is an important release that delivers numerous bug fixes, support for iLife ’06, and H.264 performance improvements. This update is highly recommended for all QuickTime 7 users. Thanks to Karl Peterson: What’s new in Quic
-
Make Word default app for .doc files
How can I make Word the default app for .doc files? I don't want Pages to launch when I clip on a word doc attachment in an email using Entourage.
-
Forms 6i and Portable Java Components
Hello Where do I have to place my Java classes (PJCs) for the Forms 6i to find them. Now i place them in c:\ora\FORMS60\java but Forms 6i cant load them and my bean areas are empty. Can somebody help please. I cant run PJC demos for forms 6i for the
-
I still haven't received the iOS 7 update for my iPod Touch 4th Generation
I understand that the iOS 7 update has been out for a while but I still havent't recieved the update.