DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIAdem report generation

Hi,

I am here attaching my vi as well as the template, layout editor screenshot, report configure screen shot. I am now able to give Title, Subtitle,logo, user from the block diagram. But till now unable to give any text value in the tex object of the template which I have created. Actually along with title,subtitle I want to add some text to the report. So, I added the text object at the template editor. But it not coming as an object in the report config window unlike title, subtitle, user. So, I can't give any dynamical value to these text objects. How do I? Please help.

Download All
0 Kudos
Message 1 of 17
(5,859 Views)

Please reply anyone

0 Kudos
Message 2 of 17
(5,851 Views)

Hi LSG,

 

There is a big difference between a "Text Object" and a "Text Box" in a DIAdem REPORT layout.  The "Text Object" can only contain static text and/or reference File/Group/Channel properties.  The "Text Box" contents can be set in the DIAdem Report express VI.  Which did you mean?

 

Are you using one of the standard DIAdem report layouts that the DIAdem Report express VI references, or have you created a custom DIAdem REPORT layout?  In the latter case, please post the corresponding *.TDR file.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 3 of 17
(5,838 Views)

Thank you mentioning the difference of Text Object and Text. I am now able to give text to my report dynamically. But the problem is there is that if I want to give multiple line text then I have to add the same number of Text item in the template with the number of line I want to add. And if I don't know the exact number of line in my text, then it will create a problem. How to resolve it?

 

Sorry for not attaching the tdr file last time, now I have attached the tdr file. Please respond.

0 Kudos
Message 4 of 17
(5,831 Views)

No reply!!!! 😞

0 Kudos
Message 5 of 17
(5,823 Views)

Hi LSG,

 

Yesterday was a holiday in the United States.  You should be able to parse the multiple lines of text in LabVIEW with a carriage-return (0x13, 0x10) between each line, all as one string input.  The DIAdem textbox should accept one pink string wire that has carriage-returns in it and display it multi-lined.

 

There are nifty string contants you can use in LabVIEW to parse the carriage-return charaters.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 6 of 17
(5,808 Views)

Hi Brad Turpin,

 

Thank you for your reply. I have tried a lot to enter multiple lines by carriage return, new line feed or other this type of string functions, but nothing is working for multiple line. I am able only to use the tab character. I am attaching my vi herewith. And in case of graph, can't I use time/date in x-axis and data in y-axis provided that the both time/date and data are to be given dynamically from block diagram?

0 Kudos
Message 7 of 17
(5,792 Views)

Please respond someone.

0 Kudos
Message 8 of 17
(5,763 Views)

HI LSG,

 

Sorry, I was out of town for several days.  Would you please also submit the TDR file which your VI asks DIAdem to call?

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 9 of 17
(5,744 Views)

Hi LSG,

 

Never mind, I was able to rename the layout file you submitted back to *.TDR-- for some reason the discussion forum imported it as an *.xml file (which it is).  It looks good in DIAdem, though, after being renamed.

 

I have reproduced the problem you describe and am investigating.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 10 of 17
(5,741 Views)