11-04-2011 09:45 AM
Hello,
I want to automate a system for processing and analyzing data and for that I am using labview.
I recently discovered software diadem and already I am able to send data from labview.
I would now like to obtain a curve directly in the "view" is that possible?
11-04-2011 10:20 AM
Hello Beneuss,
You can create a layout template in VIEW, save it to disk and then load it when DIAdem is started. These two lines will automatically load a VIEW layout called "Example" and display the VIEW window.
Call View.LoadLayout("Example.tdv") Call WndShow("VIEW")
To automatically have a curve show up in VIEW, make sure that you assign the correct curves in the VIEW layout before you save the layout. This is done with the drag&drop functionality from the DataPortal. Just assign the channel you wish to see, and then save the layout. It will "remember" all the channel assignments and automatically show all the channels you had assigned, as long as you don't change the channel names.
Please let me know if that helps and if there is anything else we can help you with.
Otmar
11-07-2011 01:59 AM
Hello Otmar and thank you for your response,
I begin with the Diadem software, where to I have to write these two lines?
Call View.LoadLayout("Example.tdv") Call WndShow("VIEW")
And then I don't know if I was clear but I want to show in "View" the curves corresponding to the data that I can already send from Labview and load in the Diadem "Navigator". Is this possible?
Thanks in advance
11-07-2011 07:27 AM
Hi Beneuss,
Will you be sending the same number of channels from LabVIEW to DIAdem-VIEW each time, or will those channels always have the same names when you send them? If so, then Otmar's suggestion will work well for you, and I can send you a LabVIEW VI that will call his code.
If on the other hand the number of names of the channels sent vary from run to run, then you will require a more complicated series of script commands in DIAdem.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
11-07-2011 07:56 AM
Hello brad,
At the moment I send a single channel each time. but these channels have a name that I defined.
I agree that you send me your Labview VI.
Thanks
11-14-2011 04:24 AM
Hi all,
Thank you for your answers, I can load curves in diadem but now I have the problem with talking about Brad. Indeed I create a new sheet for each acquisition and I would like to post on this sheet the new curve keeping sheets above. How?
Thank you in advance for your answers