how to define driving function myself Answered

Hi, 

can you guide on how to code for  user-defined driving function in the 'inp' file ? I find this function in the 'Design' but can't find a sample in the help document for 'Analyst'. Could you provide an example of importing an external file to define driving function? Thanks.

1 comment

  • Official comment

    Hey Jinny,

    If you want to import it as a .txt file this is the code

    c Define time varying funciton
    data hist pulse * 'pulse_5kHz.txt'
    func hist pulse

    The .txt file should contain two columns of data. column1 = time and column2 = amplitude. Remove headers.

    Best regards,

    Oliver

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post