DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

File Write stops randomly

I have a setup with multiple (4) File Write modules.   One of them seems to stop randomly during the course of the test.  The other 3 are working fine, and continue to work fine when the other one stops.  Any hint as to what may be causing the problem?  The data is coming from a data socket import, and then fed thru a simple scale module.
Thanks, Ed
 
0 Kudos
Message 1 of 6
(8,043 Views)
Update: Ok, it's not random.  After writing 6,785 lines (or, 8 chan * 6785 = 54280 data points) it stops.  It only appeared random as the time I was starting (or restarting) the program was "random" during the day.  Where can I find what would be making the file stop writing?  Everything I seemed to have checked appears OK.  Thanks, Ed
0 Kudos
Message 2 of 6
(8,026 Views)
Hello,
 
When you say it stops, does your program stop or are you getting some kind of error?  If you're getting an error, what error?  Otherwise you need to look at whatever logic you have in your VI that is stopping it.
 
If you're saying that the file write operation no longer writes, but doesn't give an error... let me know, and if you can send a simple, clear example of this, or describe exactly how you get it to fail, I'll try it!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 3 of 6
(8,017 Views)

The program didn't stop, only that particular write module stopped appending data to the .asc file.  The other 3 write modules continued on without any problems, happily writing their data every 5 seconds. 

After going thru all the settings, I could not find anything that was different between the problem child and it's cousins (except the data inputs and the file names).  So I copied and pasted one of the "good" write modules and remapped the inputs.  Everything has been working fine since then.

Thanks, Ed

0 Kudos
Message 4 of 6
(8,015 Views)
That is very peculiar - if it becomes an issue again, repost and we'll have another look!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 5 of 6
(7,997 Views)
I've seen a few problems recently where a "wire" has become buggy. Removing the wire and replacing it fix the problem.
I suspect that's what you did by removing the module (and its wires) and replacing it with a working module.

It would help us to find and fix the problem if you could submit the broken worksheet, with a copy of the Help-->Report information to the Technical Support page at www.dasylab.com. These problems get checked, and, if necessary, forwarded to the engineering team. Don't forget to give the description of the problem and how you resolved it.
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 6 of 6
(7,919 Views)