01-12-2012 03:39 AM
Serial communication using VISA read-write function from PXI to computer through RS232 as I will read with a duration of every 2sec.
1. IF PXI data for 2s is A, 4s is B, 6s is C, 10s is D, 12s is E
but if we switch on the other computer through RS232 or start running the other side after 0.5sec then the data recorded will be *A, at 2.5s is *B, 4.5sec, *C at 6.5sec how can i extract every 2sec i.e A at 2sec so on
2. How can I extract the actual data of 2sec, 4 sec etc and not the data of 2.5 sec, 4.5 sec etc.
Please let me know!
01-12-2012 08:07 PM
I am thinking instead of extracting lost data if I store all data for every 2sec on the write side and then save it in the file. Then extract that file on the read side, i.e other computer, may be the problem can be solved using FIFO.
but the program structure is:
write random one numeric in AO channel-send to VISA write with a loop of 2sec- then storing the data in xls one column time and other column is data for every 2sec
receiving side computer: open the file xls file and read it through VISA read with FIFO
Question:
1. How can get time data in xls column?
2. Is it a good way? or any other method
01-13-2012 06:54 PM