03-11-2009 02:19 PM
Solved! Go to Solution.
03-11-2009 02:25 PM
03-12-2009 07:19 AM
03-12-2009 10:32 AM
The best way is to attach the actual problem VI.
It does not help if you show us a picture of the code that works. Apparenlty, the problem is with event structures and buttons and none are present in the code you show. 😮
Please attach the code that fails so whe can see what mistake you are making! If would also help of you could attach a few sample files so we can play. So zip the VI and a few data files up and attach the archive. 🙂
03-14-2009 05:31 AM
03-14-2009 11:04 AM
Sorry, I no longer have LabVIEW 7.1 so I downconverted from 8.0, but I cannot test it. Most likely you need to tweak it a bit.
Anyway, you need to built your graph in a shift register. Now clearing simply involves clearing the shift register, no fancy nodes needed. 😄 See if this makes sense.
03-14-2009 12:10 PM
03-14-2009 12:13 PM
Appanrelty, there were some issue converting from 8.0 to 7.1.
As a first try, replace the two express VIs with equivalent ones from your palette. It should work after that. Good luck.
03-14-2009 12:28 PM
I keep trying...
I ignored the missing VI and had a look of the block diagram. I deleted the File Dialog VI and tried to run but I got an error message that the 'Read From Measurement File' is non executable. I deleted it and inserted again from the palette, leading to an error message:
Insane object at FPHP+7A4 in "LoadFromFile WIPMOD.vi": {flags}(0x1000):XYGraph(DDO)
I guess it will be difficult to sort this problem out as I am on 7.1. Actually I thought that would be something very simple to reinit the 'Read From Measurement File' VI as it seems to me that in my solution the problem is that the VI doesn't restart on the second 'Load' command but tries to read from the first file again but the file has no more data to read.
Your help is greatly appreciated!
03-14-2009 12:41 PM
DNI wrote:Insane object at FPHP+7A4 in "LoadFromFile WIPMOD.vi": {flags}(0x1000):XYGraph(DDO)
Ouch! That did not go very well. 😞
Try this: Close LabVIEW, then delete both express VIs. Save and close. Now reopen and insert the express VIs. Good luck!
(Still, you should be able to get the main idea just by looking at the broken VI. Try to manually edit your VI to reflect the changes.)