DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

unknown syntax and variable errors

Im fairly new to diadem, and scripting in general. i have a peice of code that sections a thermo profile of a hass test into 8 sections. then i have an additional peice of sub that is called out that checks each cycle for failures, and then puts all of the data into a report. I think i have the right plan for how to make this work but my lack of knowledge of vbscript(or coding in general) as has left me  unable to corrent these errors. I'm sure some of them are quite trivial sorry. But thank you for any assistance.
0 Kudos
Message 1 of 4
(3,559 Views)

Hi adevins76,

 

Could you post an example data set and a brief description of exactly what you're wanting to accomplish.  I looked through your posted VBScript, but I'm afraid I couldn't do much with it, and it raised more questions than it answered.

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 4
(3,531 Views)

im all set sorry.  with some blood sweat and tears ive got it all worked out.

 

One unrelated question though. Can you call a variable from a script file from a  report?

0 Kudos
Message 3 of 4
(3,527 Views)

Hi adevins76,

 

Any variables you declare with GlobalDim or OdsValAlloc or a VAS file are available in a REPORT layout, but I'd recommend instead that you write any info you want to have in the REPORT to a Root or Group or Channel property or two and reference the property or properties instead of the global variable(s).

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

Message 4 of 4
(3,516 Views)