11-03-2008 07:52 PM
11-04-2008 10:23 AM
Hi Stan,
Hope you are doing well today! Can you explain the issue in a little more detail? How exactly are you logging the data; is it possible for you to post a screenshot? And, how are you viewing the data? Are you copying the file over to your computer using an FTP client or are you viewing the file through a browser? If it's through a browser, have you turned caching off? If you change the name of the file or create a new file (when you are saving data), do you get correct data? Also, can you give us an idea of what values you are getting and how it is different from the ones you are expecting?
11-06-2008 04:58 AM
The data comes from a 9215 analogue input module. I am viewing the file via. an FTP client and get the same incorrect data when I update the filename. I am expecting to save data at a rate (related to the scan rate on the 9215) and for a duration determined by the user. The voltage data is scaled during acquisition (just after the FPGA acquire) to give Engineering Units. Data file header is set up in the file writing VI deployed to the CRIO and is supposed to be user-controlled. What I am getting is:
* 10 seconds worth of data irrespective of the time entered.
* Constant data file headers (as far as I can remember they are the "dummy" ones I set initially to test the programme, before putting user-controls in.
* My file writing routine stays active for the correct amount of time and when I look at probes it seems the VIs are processing the correct data up to and including the actual file write VI itself (My VIs are modular, passing information from one to the next). I.e. the engineering units appear in the probes but it is the voltage values that end up in the data file.
At first I thought I must have still got my original test version deployed to the CRIO controller but when I change the file path to U: and write data to a memory stick plugged into the CRIO USB port everything is as it should be!!!
1. Should I copy the file to my PC then look at it, instead of opening via FTP? I cannot see how this would alter the contents.
2. Can you also tell me how to remove VIs from the CRIO so I can be sure that only the ones I need are deployed?
I should add that at present I am running this application "live" on the CRIO and viewing the screens on the Host PC in development mode rather as a run time. However, I wouldn't have thought this would make a difference to the content, just the response.
Thanks
Stan
11-06-2008 09:57 AM
Hi Stan,
Is it possible for you to post some code so we can have a look?
11-06-2008 07:55 PM
11-11-2008 11:34 AM
Hi Stan,
It's a little difficult for me to diagnose without getting to look at an isolated piece of code that highlights the issue. Is it possible for you to run the following attachment (LV 8.6) on your cRIO target. I have a included a snapshot of the code as well. Have a look at it and let me know if that works on your controller. Hopefully, it will make it easier for you to diagnose the issue and answer some of the questions that you have. If you have any other questions, please be sure to let me know.