05-14-2016 06:01 AM
Hello
in the labview it joined the project, the al extreme right tables are actually the output of read visa (tension, intensity that has read the stallion and instrument) I want to export to excel and I would like to make the somewhat Application more generic transforming the visa write entries to the penny niveu VI instrument in an .xml file has the grace attached labview function of the way
Content of the first XML tag (order concerning intensity) goes to buffer write the first visa write the contents of the 2nd XML tag (the command for voltage) goes Buffer write the read visa 2nd and so on up a command regarding the frequency to the last write buffer visa) .This will allow user to add al of other instruments (clients) that it can calibrate, simply write in a xml file for orders (intensity, voltage, phase shift, frequency) of the said instrument.
What do you think ?
05-14-2016 08:02 AM
I think you have a jumbled mess of code that can be greatly improved (in readability, which means both you and other people will be able to see and understand it better). Here are some specific suggestions:
I'm sure there are other suggestions, but your Block Diagram was so large and unwieldy (even the Diagram Cleanup tool didn't help much) that I'm forced to stop here. Allow your Diagram to be made smaller and thus more "viewable" (see above) and more help will be available.
Bob Schor
05-14-2016 12:33 PM
Great,Thank you very much for this response.
05-15-2016 04:38 AM
Ok ,the idea of clusters is interesting to arrange all the stuff of tables but how can i do it for example to gather the tables of SRS monophasé?
05-15-2016 06:18 AM
Start at the beginning. You only provided Le Vrai without its numerous sub-VIs, such as SVI Etalon and SVI SRS (if you want to provide more VIs, and especially if your code is wrapped inside a LabVIEW Project that, in turn, is contained in a single Folder, with possible sub-folders, compress the Folder and attach the resulting .ZIP file).
A good LabVIEW Programming Practice is to have all of the sub-VIs that you develop use the same Connector Pane, specificially the 4-2-2-4 Pane, with Error In on the lower left and Error Out on the lower right. Instead of bringing 4-8 single (unnamed) wires out of, say, SVI Etalon, build them into a single Cluster (and be sure to create a TypeDef for the Cluster). Now SVI Etalon has two wires going in (Refnum VISA and Error In) and two wires coming out (whatever you name your output Cluster and Error Out). Do something similar for SVI SRS, which will have a different Cluster Out. Now you can bundle these two sub-Clusters into a single Output Cluster for your For loop and have a single Cluster wire that emerges as an Array of Clusters, going to a single Array Indicator.
Incidentally, I question the number of Error Terminals you have. You may want to branch the Error Line, but it should be re-merged. The Error Line is often the "signal" of sequential action and indicates (and enforces) Data Flow. Certainly almost every sub-VI you write should have Error In and Error Out, and use them internally (they are there for an important reason).
Bob Schor
05-15-2016 09:55 AM - edited 05-15-2016 09:56 AM
In addition to what Bob said, you need to do something about the front panel. Nobody has a monitor that is 24138 x 9563 pixels big! (231 Megapixels!!!!)
Your front panel covers the area of well over 100 1080p screens so there is less than a 1% chance that we see what we need to see.
05-15-2016 10:02 AM
Yes ,Thanks for your response however how it can be?
05-15-2016 10:40 AM
@Maroua wrote:Yes ,Thanks for your response however how it can be?
What is your question? What is "it"?
(Also, next time use a descriptive title for your thread. Since this is a LabVIEW forum, 99% of all discussions are about LabVIEW. A subject of "labview" is redundant and completely useless.)
05-15-2016 11:08 AM
Well, I'm attaching Le Petit Vrai, your VI with a much smaller Front Panel.
Here's what I did:
Bob Schor