DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

how to load a curve and the view automatically in diadem from labview ?

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?

0 Kudos
Message 1 of 6
(4,395 Views)

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

Otmar D. Foehner
0 Kudos
Message 2 of 6
(4,394 Views)

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

 
0 Kudos
Message 3 of 6
(4,380 Views)

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

0 Kudos
Message 4 of 6
(4,364 Views)

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

0 Kudos
Message 5 of 6
(4,361 Views)

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

0 Kudos
Message 6 of 6
(4,309 Views)