Use Initialize to create a session with the PXIe-5842. All programs must begin with Initialize.

Initializing returns an instrument handle with the session configured to a known state. Initialization can take a significant amount of time compared to other functions, so you should not include it in loops. Ideally, your program should call Initialize one time.