From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

ascii header

hi!

how can i set the header comment dynamically? for example: should begin from the 4. line to the 7. line

and how can i set the ignore data dynamically?

in the attachment you can see my data file - i want to have the possiblity to select the 2. or the 3. data and to ignore the rest

chris
0 Kudos
Message 1 of 2
(3,461 Views)
Hi Chris

If you would like to import ASCII data into DIAdem you can use the ASCII-Import-Wizard. In tree steps you can define the structure of your data file and save this information in a configuration file (*.STP). If you have a lot of files (with the identical structure) like this one and you only want to load the same information like before than you just need the STP file to load it easily and quickly. In VBScript's you can use the following commands:

T1=Pfad+'abc.asc'
T2=Pfad+'def.stp'
call ASCIIAssocSet(T1,T2)
call AsciiLoad(T1,0)
call ASCIIAssocDel(T1,T2).

Maybe this will help you.

Greetings

Walter
0 Kudos
Message 2 of 2
(3,461 Views)