LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

logfile

Hi Guys,
I am using the parallel port to send data to my ASIC, I would like to retrieve dynamicaly to a logfile the status of my port every time an event/sequence occurs. In example I am using the 8 data pins so I would like to put in my logfile the 8 columns and number of rows depending on my iteration (for example 32 rows for 16 clocks generated), then be able to save the file to my harddisk. Any idea guys?
Thx
0 Kudos
Message 1 of 8
(3,642 Views)
Hi,

A good way to do it is that you build an array with your data and store it using the write to spreadsheet file function.
This way yo~u can open your file with Excel.

Hope this helps,
Paulo
0 Kudos
Message 2 of 8
(3,637 Views)
Please find attached VI for your reference 🙂

Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 3 of 8
(3,635 Views)
Thanks Ian,
my second question is: is it easy to read that saved file and send the recorded sequence to the parallel port to reproduce in fact the saved file contains?
0 Kudos
Message 4 of 8
(3,629 Views)
It should be relatively easy to read in a file produced by Ian's program. He is saving your data in a "spreadsheet" format, which just means (in this case) that the values are saved to a text file, each value seperated by a "delimiter" (in this case the 'Tab' character). The file can be read back in using the LabVIEW "read from spreadsheet file" vi, which will return an array of your original data. This array can be used however you need.


P.M.
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



Message 5 of 8
(3,624 Views)
P.M has given you the answer! 🙂

Please find attached for your reference!

Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 6 of 8
(3,609 Views)
Ian,
Thanks a lot for your support, I can really learn a lot thanks to NI forum support and all the community!
0 Kudos
Message 7 of 8
(3,593 Views)
You're most welcome 🙂
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 8 of 8
(3,585 Views)