LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get one element from array

  I am new to labview and labview FPGA. 
  I am using a PXI 7833R card right now and want to use digital out to generate a data pattern.
what i know is that i can use true or false to control the digital output , so i am thinking using an array of binary number to control the output.
like I use 010101 array to generate a low high low high low high data.
    I will use a for loop to read out each element of the array and generate a boolean value to control the digital I/O. but I don't know how to read out the element from the array.
    And same problem for the digital input. I need read in the device reponse in form of digital signals. How to store or save the incoming digital data into an array or some others forms?
 
   Any help would be appreciated.
0 Kudos
Message 1 of 3
(7,735 Views)
You can use auto indexing of For loop and Index array function to serve your purpose.
Please see attachment.
 
                                       - -Vikas
0 Kudos
Message 2 of 3
(7,725 Views)
thanks Vikask
 
I think it works:)
0 Kudos
Message 3 of 3
(7,702 Views)