LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reporting data comming from a communicaion Tester

Hi
actually i'm doing some RF tests using a base station Emulator and controlling it via labVIEW
the point is that i can control and gather data successfully but the difficulty is when reporting the data

i have this test criteria that has the following results :

Test Results: <all the upcomming data is acquired from the instrument>

Channel 1

FER

0%

0%

0%

0%

0.48%

0%

Frame errors

0

0

0

0

3

0

Frames sent

106

306

606

306

631

306

 


And so on for a number of channels.


i just want to know what is the best reporting choice for these data , DiaDem , Simple HTML reporting or TDMS?
plus , how can i group different types of data(as you can see the test titles in strings format and results in numbers format, for sure the array will not be an option , so it might be clusters as i think. but how can i use a cluster to capsulate the data in a report.
Thanks in advance                           
Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
0 Kudos
Message 1 of 10
(4,160 Views)

Hi MAshraf,

There are a number of ways you can write a data file, the best way depends on what you want to do with the data after it is written and saved to the file.  For this data I might suggest using the "Write to Measurement File" express VI.  You can select options for how you want to segment the data including having one header for each columb.  You can find that express vi in the structures function palet under File I/O.  Thanks and have a great day.

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 2 of 10
(4,121 Views)
Thanks steven,
but what if i want a .pdf report , i just knew that DIAdem can generate a pdf file.
i'm starting to learn how can i make a template which have an empty table with the same dimension as in my posted question and insert data to it. if u can help me in this i'll appreciate it.

Very Best Regards

Mohammed Ashraf
RF Certification and Testing Automation Engineer.
Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
0 Kudos
Message 3 of 10
(4,118 Views)
Hi Mohammed,

LabVIEW cannot natively generate PDF files. The only way I can think of generating PDF files is using a Third-party tool that acts as a printer but really generates a PDF file. If you want more sophisticated functions I would recommend DIAdem.

An example of a third party tool I mentioned before is Primo-PDF
Eli S.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 10
(4,097 Views)
Actually i'm trying to create a self generated pdf report using DIAdem Report vi after acquiring some data from an instrument we have in the lab
The data isn't a waveform graph , it's a strings contains the Frame Error rate percentage (e.g. 0.00% - Double) , Numbers of Frames Tested (Integer) , number of error frames (Integer) and finally a Pass/Fail result (string).

i wish i can make something looking like this table in the attached document file "channel1.doc"

the point is that i'm new in using this tool (DIAdem) , and as you see these tables are with different data formats. i'm thinking of converting all of these results as strings , but the "Signal" input of the DIAdem Report VI is in dynamic data type and is not accepting the string format.
i made a simple vi to demonstrate my problem , it will not generate the above table but it is the same concept.
Please someone help me in this and tell me how to generate the above tables.
this is urgent please
Thanks in Advance
Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
Download All
0 Kudos
Message 5 of 10
(4,034 Views)

MAshraf,

Looking at your code, I don't see any instrument I/O.  Where is the data coming from?  The way your code looks now, you are just generating a very simple table with a few rows and columns.  You can generate a custom template using the DIAdem report generation VI but this VI is designed to read signals.  It will be difficult to built a template that just takes a few text values.  It seems like the main issue is that you need a PDF at the end of the day.  Is that correct?  If so you might try saving this data into a spreadsheet file and then just saving the file as a PDF from Excel.  If you have Excel 2007 you can save any file as a PDF. 

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 6 of 10
(3,997 Views)
Dear Sorooshster
actually what i sent is an example for what will be the data after acquiring it from the instrument, and since the data is represented in several data types (intergers, doubles and strings) i preferred converting them into strings (I'm not sure if i was right in that).

so the program i've attached is simply the Data that will enter the DIAdem Report VI.

The point is yet i want to generate a pdf everyday like you stated 🙂 , this PDF will contain tables and graphs for signaling data as well and i wish i can put all in one PDF which is automatically generated for every DUT (Device Under Test).

okay would you please tell me if i customed a template that contains all the string data fixed in it and only feeding the numeric data to the DIAdem report VI. will this work for generating the desired tables ?? and if this work , how can i enter a specific Cell to fill in the data i want ? just put me on the way and i'll proceed.

i'd like to thank everyone who replied to my threads, i really Appreciate it very much.
Best Regards, and waiting your reply
Mohammed Ashraf




Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
0 Kudos
Message 7 of 10
(3,987 Views)

Mohammed,

I will speak with one of our DIAdem experts to see if you can do this using the DIAdem report generation express VI.  You may actually have to bring your data into DIAdem, you could use a VBScript to automatically bring it into a template and generate the PDF. 

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 8 of 10
(3,972 Views)
Dear Stephen,
Thanks alot for your reply.
i'll wait your feedback. and i appreciate your help

Mohammed Ashraf
Certification and Testing Engineer
Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
Message 9 of 10
(3,929 Views)

Hello MAshraf,

Have you tried building an array with your data, and then converting it using the Convert to Dynamic Data express VI? It is in the functions pallete under Express » Signal Manipulation » Convert to Dynamic Data.  You can then connect its output to Signal input of the NI DIAdem Report Wizard express VI.  This express VI allows you to export the signal to a TDM file, and then write it to a TDR report file.  Once the report is generated, you can then export it to a PDF, by (1) manually selecting File » PDF Export... from the Report view of DIAdem, or (2) creating a VBScript file that will generate the report automatically, and call it from LabVIEW using the DIAdem Run Automation Command VI (In the Functions palette under Addons » DIAdem » Automation Commands » DIAdem Run Automation Command.vi). 

Unfortunately, you cannot include any kind of data but numeric data in the Dynamic Data type.  If you want to have other types of data (i.e. string as you mentioned earlier in this thread), you may have to create a VBScript which will fill in this data for you.

Chris_G
Sr Test Engineer
Medtronic, Inc.
0 Kudos
Message 10 of 10
(3,895 Views)