07-10-2010 03:11 AM
Hello,
I need to Perform two Opreations one by one for a Particular no. of times.
Ex: register write operations need to perform, data is from a table of two columns and no .of rows depends on runtime only.
How shall i implement this?
Please comment on this.
-mfp.
07-10-2010 04:10 AM
"I need to Perform two Opreations one by one for a Particular no. of times"
You can use sequence.
or
state machine architecture.
but I am not clear about your post so kindly please alobarate what u want?
thanks
07-10-2010 04:46 AM
Okay.
I shall use Sequence structure for two operations to perform sequentially.
Each of the set of operations in the sequence required data from a table.Table contains two columns one is I/O Address and the other is Data, so that i need to write a Data to Corresponding I/O Address one by one, that means one operation is for Writing I/O Address and the other is for writing Data. The sequence has to take these I/O Address and Data from the table and perform the operation one by one. User can change the no. of sets of operation.
-mfp.
07-10-2010 11:35 AM
For Loop. Have the table autoindex on the tunnel of the for loop. Then break the resulting 1-D array inside the loop using Index array to do your two writes sequentially.
07-11-2010 02:05 AM
Thank you very much for the reply.
Could you please share me a sample VI using the above concept.
-mfp.
07-11-2010 12:20 PM
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
07-12-2010 04:38 AM
Sorry, I couldnot able to crack the issue.
Anybody Please help a bit more to get it solved.
-mfp.
07-12-2010 04:55 AM