I am trying to modify a VI that was created using labview v6.0. I am modifying it in v8.0. The old program uses the Analogue input VI called 'AI Acquire Waveforms'. It uses a device number to decide which instrument to use along with the appropriate count, rate and other settings. Instead I want to use a VI in the Universal Library for LabView with version 8.0 program. The VI I specifically want to use is called 'AInScFg' (Analogue In Foreground). The VI is similar, it uses a 'Board number' instead of device number.
The main difference is that on the 'AI Acquire Waveforms' VI, the output wire type is a 2D array, an Actual period time, and an error out. On the 'AInScFg' it has a single array of ADData type, an Actual rate, and an error out. The 2D array must be transformed in order to be graphed. So to ge to the point here, the old version uses the transform VI and then makes indices of the transform two times to create Array Index VIs for index 0 and 1(constants set for Array Index). These indices are then put into a Build Array and sent to the Y part of a node for a waveform graph (the node has Xo, dX, Y parameters).
When i try to do this with 'AInScFg' the ADData indices are not arrays like they are with the previously mentioned indecies. How can I create the same output using the AInScFg? Thanks,
-Tekky