05-15-2009 03:19 AM
Hello There
I am using Shared variables (SV) on an RT host. The use of these variables seems to be functioning correctly. However, after certain events, which are not that frequent, I write the values in this variables to a spreadsheet.
What has happened on a number of occasions is that previous values that were stored in the SV are being written to the spreadsheet. I have been careful to employ VI to write to spreadsheet after the values are stored in the SV. I may or may not have had the file download link between the RT host and the desk top at the time of these errors.
I have independent hardware and software checking the operation of my RT controller, which was all correct, so the problem is simply related to file storage.
Can anyone help.
Thanks MAC_D
05-18-2009 01:23 PM
MAC_D,
Suggest that you make sure that the Shared Variable Reads and Writes in your vi are not returning any errors or warnings.
05-19-2009 03:37 AM
Thanks for your reply Wayne.
The shared variable is reading and writing correctly and there is no errors.
I am using these shared variables to control digital outputs, and i have verified using external hardware and software that my application preformed correctly.
The issue is that the correct values of the shared variables were not written to file correctly. Previous values were replicated.
Kindest regards
05-19-2009 06:42 AM