Contact an Expert

Thread: Did you know this about the i3070 ICT Test System?

Permlink Replies: 0 - Pages: 1

Posts: 69
Registered: 04/08/08
Did you know this about the i3070 ICT Test System?
Posted: Mar 19, 2012 6:16 AM
Click to report abuse...   Click to reply to this thread Reply
Executing .exe in BTBasic

Hi Everyone,
Did you know that you can execute .exe files within BTBasic testplans?
In fact, you can also run batch (.bat) files, too.

There are 2 ways ...

  • Execute and forget
execute "display.exe", Err; <options>
Err = traps error codes; mostly missing .exe file
<options> = some options can be set like nowindow, window, failwait, nowait, wait

  • Execute and wait for response
enter "display |",,Err ; Ret$
print Ret$
Err = traps error codes; mostly end-of-file (Err 101007) errors
Ret$ = the output string (max 80char), which you can use in the testplan

You can find detailed information in the user manual.

With the above commands, you can execute an application that checks the database whether the board's serial number is detected prior to executing the rest of the testplan. If you use the "enter" command, you can get a "PASS" or "FAIL" result into the Ret$ and handle this in the testplan.

rgds ... adrian

Edited by: adrianc on Mar 23, 2012 7:16 PM

Point your RSS reader here for a feed of the latest messages in all forums