Put two signals in a single waveform
i wanna put a triangular and a sinusoidal signal in a waveform. i've bundle (i don't know if this is the right thing to do) them but i'm getting wire problems.
can somebody help me?
p.s. - my VI is attached
Message Edited by coimbra on 11-21-2008 01:41 PM
Attachments:
tpc-aipe2.vi 11 KB
Thank you
Now i have to, using a ring, make several operations with the signal: add, sub, divide, mult. and show the result of the chosen operation in a new wavechart.
I've just done this because i'm not understanding how does the ring constant works...
Attachments:
tpc-aipe2.vi 17 KB
Similar Messages
-
What's a good app to use to put two photos on a single page like Windows Paint?
I have a OSX Lion with an iPhoto app. I would like to put two photos on a single page like Windows Paint. What's a good app for this? Is there a Windows Paint app for Mac or something similar?
You can print two photos on a single page with iPhoto, you can put two photos on a single page with Pages, Word or any word processor. Or are you trying to edit two photos together?
In order of price here are some suggestions:
Seashore (free)
The Gimp (free)
Graphic Coverter ($45 approx)
Acorn ($50 approx)
Pixelmator ($50 approx)
Photoshop Elements ($75 approx)
There are many, many other options. Search on MacUpdate. You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto. -
I have a 1-D array of waveform with size = 4 that contain "raw" potentiometer voltage data. I need to manipulate waveform data from index 0 & 1 using the formula shown below to derive a single waveform of angle data. I need to do the same for index 2 & 3 as this is a redundant circuit. I was hoping that the formula node can work on entire arrays and although it can take an array as input, it requires me to index the array in the formula so it becomes a scalar value.
Since the formula is relatively complex, I'd like to keep it in text form but have it automatically work on each point of the two input arrays. This math is done inline with pulling data out of a DAQ and so I need it to be as efficient as possible so that I don't spend too much time on it and potentially overflow the DAQ buffer.
The naive solution would be to wrap the formula nodes with for loops, but I don't know if this is this is an efficient way to do this. I would appreciate any suggestions on how best to tackle this.
Thanks!
Solved!
Go to Solution.Here's how I would do it with no formula nodes or loops requied:
If you want to use the formula node, then you could run a loop inside each formula node while you index through the arrays. The performance difference between formula nodes and the graphical approach should be insignificant. Note that my approach assumes that the array sizes are the same. You could also create a sub VI to contain the math so you don't have to maintain two copies of the same piece of code.
Chris M -
Two signals at two waveform graphs
Hello Everyone!
I got some problems with my software for data acquisition.
I got two signals and I have to show two signals at two different Waveform Graph.
How to seperate signals?
Solved!
Go to Solution.
Attachments:
separate.png 37 KB
spearate.vi 23 KBI read DAQmx help and what I know is that Each row corresponds to a channel in the task. Each column corresponds to a sample from each channel.
I really don't know how to wire Index Array... Can you explain it to me, please?
Look at the attachment, is it ok?
Attachments:
explain.png 8 KB -
How come two signals of the same frequency show on the graph as having the same?
Hi!
My assignment for school is to build a 2 channel oscilloscope, with generators too. Initially, I tried using a waveform chart, that actually showed a very "ugly" image. Just for testing, I left the chart there with hidden indicator.
The student teacher suggested I use a graph, which is ok, as far as the shape of the signal. The "time" axis however doesn't really show the time.
Thinking that it might show the samples, I put at the "nr.of samples" the reciprocal of the sampling rate multiplied with 1000,000 and the result was the same. The really strange part is that if I'd put two different frequencies for each channel it showed as is the signals had the same frequency.
And that's not the only problem... The while loop everything is in doesn't look like it's executing more than once. Now, I know the vi is pretty large but is that what makes it behave like that?
I also put cursors (like in the example from Fundamentals> Graphs and Charts > Programatically Control Cursors) that should be in the middle of the graph. Since I didn't use a chart, are the values at "Style" or "Pointer Style" different? (I wanted the cursors to be multi-plot).
Can you help me with any of that?
Thank you very much!
PatriciaHi Patricia !
First of all, I would suggest you to synchronize all actions according to data flow concept : try to link all property nodes with error wires... That way, you MAY notice some warnings/errors. Then you should try to group functionalities into clusters, that way your code would be easier to debug...
Then your While Loop runs as fast as possible (which makes your processor to run at 100% all time long), you should consider using a timing function to slow down the loop.
Then using "Graphs", the X-axis will display the number of samples in the array to plot. If you know the sampling frequency of your signal and the number of samples in the array, you can try use "Xaxis.Multiplier" property node to convert the number of samples into time.
Then for your cursors, you should consider using "Cursos List" property node... It's not really cool to program it (lot of options) but it works very well and allows you to deeply customize your cursors.
I hope this helps... Otherwise, don't hesitate to post another message !
Zyl -
TWO ERRO ORA-01427: single-row subquery returns more than one row
Hi,
I have a procedure which contains a cursor. If i run the select statement in the cursor separetly, it returns only value and works fine. But the same select statement in the cursor of a procedure throws me the error as below:
TWO ERRO ORA-01427: single-row subquery returns more than one row
Not sure what going on...any help appreciated.
Below is the select statement:
SELECT DISTINCT PSE.PARENT_POSITION_ID,
(SELECT DISTINCT PPD1.SEGMENT2
FROM PER_POSITION_DEFINITIONS PPD1,
HR_ALL_POSITIONS_F HAPF2,
PER_POS_STRUCTURE_ELEMENTS PSE2
WHERE TRUNC(SYSDATE) BETWEEN
HAPF2.EFFECTIVE_START_DATE AND
HAPF2.EFFECTIVE_END_DATE
AND PPD1.POSITION_DEFINITION_ID =
HAPF2.POSITION_DEFINITION_ID
AND
HAPF2.POSITION_ID = PSE2.PARENT_POSITION_ID
AND PSE2.PARENT_POSITION_ID =
PSE.PARENT_POSITION_ID
AND ROWNUM = 1) SEGMENT2,
(SELECT DISTINCT PAPF1.FIRST_NAME || ' ' ||
PAPF1.LAST_NAME CHIEF_NAME
FROM PER_ALL_PEOPLE_F PAPF1,
PER_ALL_ASSIGNMENTS_F PAAF1
WHERE TRUNC(SYSDATE) BETWEEN
PAPF1.EFFECTIVE_START_DATE AND
PAPF1.EFFECTIVE_END_DATE
AND TRUNC(SYSDATE) BETWEEN
PAAF1.EFFECTIVE_START_DATE AND
PAAF1.EFFECTIVE_END_DATE
AND PAAF1.POSITION_ID = PSE.PARENT_POSITION_ID
AND PAPF1.PERSON_ID = PAAF1.PERSON_ID
AND ROWNUM = 1) CHIEF_NAME
FROM PER_POS_STRUCTURE_ELEMENTS PSE,
HR_ALL_POSITIONS_F HAPF,
PER_POSITION_DEFINITIONS PPD
WHERE PSE.SUBORDINATE_POSITION_ID = 52744
AND TRUNC(SYSDATE) BETWEEN HAPF.EFFECTIVE_START_DATE AND
HAPF.EFFECTIVE_END_DATE
AND HAPF.POSITION_ID = PSE.SUBORDINATE_POSITION_ID
AND HAPF.POSITION_DEFINITION_ID = PPD.POSITION_DEFINITION_ID;
Thanks
PK
Edited by: user539616 on Jun 30, 2009 6:30 PMHi,
The cursor has a different parameter? Maybe the query is not exactly the same. Could you check this?
This is your query (formatted):
SELECT DISTINCT PSE.PARENT_POSITION_ID,
(SELECT DISTINCT PPD1.SEGMENT2
FROM PER_POSITION_DEFINITIONS PPD1,
HR_ALL_POSITIONS_F HAPF2,
PER_POS_STRUCTURE_ELEMENTS PSE2
WHERE TRUNC(SYSDATE) BETWEEN HAPF2.EFFECTIVE_START_DATE AND
HAPF2.EFFECTIVE_END_DATE
AND PPD1.POSITION_DEFINITION_ID = HAPF2.POSITION_DEFINITION_ID
AND HAPF2.POSITION_ID = PSE2.PARENT_POSITION_ID
AND PSE2.PARENT_POSITION_ID = PSE.PARENT_POSITION_ID
AND ROWNUM = 1) SEGMENT2,
(SELECT DISTINCT PAPF1.FIRST_NAME || ' ' || PAPF1.LAST_NAME CHIEF_NAME
FROM PER_ALL_PEOPLE_F PAPF1,
PER_ALL_ASSIGNMENTS_F PAAF1
WHERE TRUNC(SYSDATE) BETWEEN PAPF1.EFFECTIVE_START_DATE AND
PAPF1.EFFECTIVE_END_DATE
AND TRUNC(SYSDATE) BETWEEN PAAF1.EFFECTIVE_START_DATE AND
PAAF1.EFFECTIVE_END_DATE
AND PAAF1.POSITION_ID = PSE.PARENT_POSITION_ID
AND PAPF1.PERSON_ID = PAAF1.PERSON_ID
AND ROWNUM = 1) CHIEF_NAME
FROM PER_POS_STRUCTURE_ELEMENTS PSE,
HR_ALL_POSITIONS_F HAPF,
PER_POSITION_DEFINITIONS PPD
WHERE PSE.SUBORDINATE_POSITION_ID = 52744
AND TRUNC(SYSDATE) BETWEEN HAPF.EFFECTIVE_START_DATE AND HAPF.EFFECTIVE_END_DATE
AND HAPF.POSITION_ID = PSE.SUBORDINATE_POSITION_ID
AND HAPF.POSITION_DEFINITION_ID = PPD.POSITION_DEFINITION_ID;Tips: To put formatted code you must use {noformat}{noformat} tags, start tag and end tag are the same,you don't need to put '/' in the close tag.
Regards, -
How do I put two different apple id accounts on one computer?
I have my account on my home computer but I have another account that I set my Ipad up with. How do I put two different accounts on to one computer?
Refer to FAQ
http://support.apple.com/kb/HE37
I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs. -
How to put multiple classes in a single file?
Hello,
I'd like to put mutliple classes in a single file. (This
would be useful for grouping children that are minor extensions of
parent classes or helper classes that are used by one class only).
When I tried to put two classes in one file, I got this error
message:
5006: An ActionScript file can not have more than one
externally visible definition: Notation.editField,
Notation.labelField1
This is the structure I used. Thanks in advance for your
help.You can declare multiple classes in a single file, but only
one can be
within the package declaration. All class declarations
outside the package
are invisible to code outside the file.
package sample
public class SampleClass
class SampleClassHelper
class SampleClassHelper2 -
Is it possible to put two different colors in tree parent
node background and child nodes background?
Any help will be very helpful.
ThanksHi PanosE,
Yes, you can set up another Standard Edition Server in child domain and then deploy pool pairing.
You need to deploy a new Front End Pool for the new Standard Edition Server.
A similar case for your reference.
https://social.technet.microsoft.com/Forums/office/en-US/eca4299c-8edb-481e-b328-c7deba2a79ba/lync-2013-standard-edition-lync-fe-pools-in-multiple-domain-single-forest-senario?forum=lyncdeploy
Best regards,
Eric
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How to find the phase difference between two signals using Hilbert transform
hi,
I am new to LabView.... I am trying to find phase difference between two signals. I sucessfuly found out the phase difference between two predefined waves using single tone measurement. .... But I really want to know how can I measure phase difference between two signals( not predefined... ie we don't know the initial conditions) using hilbert transform or any transformation techniques (without using zero cross detection).. I tried by using hilbert transform based on algorithm... bt I am getting error.... plz help me
Attachments:
phase_differece.vi 66 KByou could try something similar to this, for each table pair that you want to compare:
SELECT 'TABLE_A has these columns that are not in TABLE_B', DIFF.*
FROM (
SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
FROM all_tab_columns
WHERE table_name = 'TABLE_A'
MINUS
SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
FROM all_tab_columns
WHERE table_name = 'TABLE_B'
) DIFF
UNION
SELECT 'TABLE_B has these columns that are not in TABLE_A', DIFF.*
FROM (
SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
FROM all_tab_columns
WHERE table_name = 'TABLE_B'
MINUS
SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
FROM all_tab_columns
WHERE table_name = 'TABLE_A'
) DIFF;that's assuming, column_name, data_type and data_length are all you want to compare on. -
How do you configure two counters for a single task?
Hello Everyone,
I would like to know how to configure two counters for a single task. At first, I have put two start task for two counters and it did not work. Now, I have put Control Task to control the task of the other counter. Appreantly, all what it does is that it makes one counter work while other is stopped or not working. I have attached a picture of the VI below.
Thanks.
Mechanical EngineerHello Mike,
We are currently using NI-cDAQ 9191 chassis with NI 9401 Digital I/O module that can use counters. I don't know if the lines for the counters are multiplexed or not. I have attached the VI for you to look at it.
Thank you for your effort.
Mechanical Engineer
Attachments:
VI_Degrees(test2).vi 187 KB -
How to put two ipods on one computer
how to put two ipods on one computer
Set up the second exactly the same way as you set up the first. If iTunes is already installed, it doesn't need to be installed again.
(64746) -
Can i put two ipods on one itunes
can i put two ipods on one itunes
The OP didn't ask how. They only asked if it was possible, which would consist of either a yes or no answer, which is exactly what Niel provided.
If the OP wanted more information, they will respond asking for more information.
B-rock -
Can you put two iTunes libraries on the same computer? what is the best way?
Is it possible to put two iTunes libraries on the same computer? What is the best way to do it so the two libraries are not connected?
MSGTN wrote:
Is it possible to put two iTunes libraries on the same computer?
yes.
What is the best way to do it so the two libraries are not connected?
give them distinct names. launch iTunes while holding the option (⌥) key, click on choose library when prompted, and select the iTunes folder of the desired library.
FWIW, there are 3rd party apps that help with managing multiple libraries, notably:
PowerTunes
iTunes Library Manager -
Merging two records in a single record for the same matnr,werks and bwart.
Hi I have a requirement to merge two records into one single record using the quantity field from MSEG table.
I am selecting two records from the table MSEG. Now for these two records i have to add the quantity values into one variable.
Then there should be only one record for the same matnr,werks,bwart.
Any suggestion would be appreciated.
Regards,
Amithi,
You can COLLECT statement only if all non key fields are numeric.
This statement Adds all such fields and give us a single record.
Regards
Sumit Agarwal
Maybe you are looking for
-
Hi, user creates a PR(a/c assgnmt K),saves it.then finds she has to change cost center,does ME53N..does required changes & saves again. Now while releasing the PR(both thru w/f or ME54N) it gives error - the PR cannot be released. Pl resolve/advice.
-
Hi, I am running 8.1.7 on Sun Ultra 10. I backed it up in NOARCHIVELOG mode using RMAN without recovery catalog. But I didn't make a seperate control file backup as the document says. I swithched to ARCHIVELOG mode later. I tried to restore and recov
-
Saving scan to desk top using mac OS 10.9
Just want to thank the HP employee who provided instructions on how to save the scan to the desk top without getting an all gray or black image. This question was solved. View Solution.
-
Hi, I am running Linq query in CRM2013 and throwing error : Invalid 'where' condition. An entity member is invoking an invalid property or method. My Code is as below; var conntionRecord1Id = (from connectionBase in orgServiceContext.CreateQuery("con
-
ADF Faces: columns sort problem
Hi all, I'm new ADF Faces italian user and I have some problem sorting columns of table component... I have tried to convert my ResultSet in a List, and the data are correctly inserted in the "af:table" but the column sort don't work... I have alread