02-25-2006 09:43 AM
02-27-2006 02:48 PM
Since PDAs have a very limited amount of memory and speed, it's probably better to continuously write the data to the file, rather than building up data in a shift register and writing everything to a file at the end. Have a look at the "Write to Text File" example VI from Help >> Find Examples... This example showes how to continuously append data to a log file.
I also noticed that even though you are sriting to a binary file, you are converting data to a string first. This is the same as writing to a text file. The PDA environment is mush more limited than a contemporary PC. Attention to memory efficiency is a must. If you are going to collect large amounts of data, you might want to explore writing the CAN data directly to a binary file, then parsing that file into string data offline on a PC. This would definitly increase the amount of data you can collect.
02-27-2006 03:10 PM
02-27-2006 04:27 PM
02-28-2006 01:09 PM
This is the program flow that I was referring to. I'm glad to hear that you are able to write your data instantly.
Just one suggestion, the shift register for the error cluster is not necessary.
03-04-2006 10:32 AM
Hi,
I am trying to use this VI but for some reasons it will not acquire any data.
Do you know if there is anything else that may influence its performance on a PDA?
The code seems right and I am actually without an idea.
Thanks for your help again,
03-06-2006 08:03 AM
03-06-2006 09:49 AM