The VI discussed in this post is a work in progress which will be able to switch between using the X-Ray batch VI and an In-House XRD VI. We will call this the Main VI.
The two images above display the block diagram. If the condition is true, then the X-Ray Batch VI will execute. If the condition is false then the In-House XRD VI will execute.
The upper left image shows how the various files are entered by the user in the Main VI. The upper right image is the resulting graph of the In-House XRD VI.
The image above shows the block diagram for the In-House XRD VI. The raw data is taken from an Excel csv file. However, the csv file contains other information besides the raw data. So we must start at the desired index in the csv file. The code in enclosed by the red circle creates sub-arrays for the angle axis and intensity axis.