I am trying to use shift registers to my application to read out data from combination of sequence structure and for loop, in others words I want to display data from every event, I tried several way to connect shift register to each sequence but no succes. Does anybody knows how to solve this problem?
I don't see any shift registers in your code and could not understand where do you want to place them. Can you post a version of your code with the shift regs even if it's a non working one?
In my example I didn't put any shift register because I could't make use of them, in fact I was searching for a way to collect data from every sequence describing the activities on my printer port (in my example I have 3 sequences among them one which contains a for loop for the generated clock), and then put them in a log file. Maybe the use of the shift register is not a good idea, unfortunately I am not an expert in Labview that is why I need help.
By collecting Data I had in mind to collect the sent sequences on my parallel port (8 bits status+4 bits control), I am generating 16 bits clocks during the bit transfer, I need to keep in a logfile what I am sending, so I have 12 signals (status+ controls)which are changing during SPI communication. I know how to send them to a logfile but I have some problems to catch them from every sequence, in fact to send them out of the case structure.
I assume you would collect the data whitch go out of the SEQUENCE every frame?
There are no shifregister at Sequence Structures. You can use a "Sequence Local" and put values from frame to frame. (rigth click - add Sequence Local) If you connect this values with the "main" loop and enable indexing you get an array (when the loop stops) with all values. (array size depend on interation)
I have found the solution to my issue, so I have just implemented in the LPT via the"write to spreadsheet" block and it is working!so from every sequence the event is sent to my file.