02-22-2014 12:36 PM
You can only add them if they contain the same number of points. If they also have the same freqeuency, this seems like a silly exercise. Can you explain?
02-22-2014 12:50 PM
What problem are you having?
The wiring in your VI is impressively orderly (when you ignore those spots where wires disappear under other structures), but it is massive and impossible to follow what is going on. You have numerous case structures all with the same code. They should be reduced to a subVI. You have function like a boolean wire AND TRUE. Why? Something AND True will always give you the something.
You have numerous boolean wires being ANDed in a sequence. Do you know that the Compound Arithmetic node can be set to AND, thus you can AND multiply wires together in a single node? Or you can build the wires into an array, then use And Array Elements to get the result.
What are you really trying to do here? It looks like you have about 1000 times as much code as you actually need!
02-22-2014 01:59 PM - edited 02-22-2014 02:03 PM
Here's another way to do this using simple linear algebra 😄 (assuming the six sines are fixed).
(compare the diagram size with yours!)
Of course you would autoindex over arrays of desired function paramters in the for loop if needed.
02-25-2014 04:45 AM - edited 02-25-2014 05:11 AM
🙂 thank u
we need to add six different sine waves with differnt frequencies, but by this we dont have a chance to give frequency as input, we should give frequency value as our wish individually .
02-25-2014 05:19 AM
we need to convert this .vi file(addition of six signals) to stand alone application to run on another system with out using labview can u please help in that, and we are using labview 2013 professional development system.
02-25-2014 06:58 AM
You need to create 6 waveforms. Make sure you have the same number of samples and the same delta T when you construct each waveform using the functions that LabVIEW provides.
To run on another system, you'll need to install the LabVIEW runtime system and the DAQmx drivers on that PC. Within your development PC, you'll build your application into an .exe. Search LabVIEW help and also the forums to find more detailed instructions.
02-26-2014 02:05 AM
thank you
is this information necesasary to develop a .exe fie
http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/develop_distribute_applications/
http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/creating_about_dialog_box/
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/building_a_stand_alone_app/
02-26-2014 02:21 AM
Creating a custom "about" dialog box is optional.
02-27-2014 12:28 AM
thank u
02-27-2014 05:37 AM
It,s working when we converted to .vi file to .exe file but, all the other .vi files are opening when we select from File->Open->select, how to overcome that.