DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

PicFileAppend issue

Solved!
Go to solution

When I open up Diadem fresh and run this command it doesnt do anything. Meaning I dont see the report tab that was imported in the REPORT view. If I run the same script again then it shows. I tried the Call PicUpdate command after it too. That doesnt do anything either.

 

Call PicFileAppend("path\fileName.TDR")

 

 

0 Kudos
Message 1 of 5
(3,685 Views)

Hi Anne,

 

What version of DIAdem are you using? I tried to replicate the problem by running the following script but everything works fine. 

 

Option Explicit  'Forces the explicit declaration of all the variables in a script.
Call PicFileAppend("C:\Users\Public\Documents\National Instruments\DIAdem 2010\Documents\Example.TDR")
Call PicUpdate

 

Let me know if this works for you.

 

Regards,

Sean Ferguson
Application Engineering Specialist | RF and Reconfigurable Test
0 Kudos
Message 2 of 5
(3,661 Views)

Hi Sean

I am using Diadem 11.1

It happens only the first time the script is run after Diadem is launched. After that it works fine.

I've tried different TDR files as well.

Thanks

Anne

0 Kudos
Message 3 of 5
(3,643 Views)
Solution
Accepted by topic author anne

Hi Anne,

 

If the REPORT panel has never been opened, then you need to programmatically open the REPORT panel before calling any REPORT functions-- try inserting this command at the top of your script:

 

Call WndShow("REPORT")

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 4 of 5
(3,636 Views)

Thanks Brad. That works.

-Anne

0 Kudos
Message 5 of 5
(3,626 Views)