01-28-2009 06:50 PM
CVI Popup window states:
Unable to open workspace file "c:\..\..ChangeDetectionEvent.cws" (The tag "version" is missing from the section [Workspace Header] or it has no value.)
To edit the workspace file in a LabWindows CVI source window you must rename the file so that it has an extension other than ".cws" .
OK?
I tried reloading the sample programs from the disc but it still happens. It seems not to occur with other sample programs.
What do I do?
Solved! Go to Solution.
01-29-2009 04:16 PM
Hi CVIJoe,
What version of CVI are you using? Also, please tell me where the example is located on your machine This seems like a problem with the example itself rather than CVI since all the other examples are working, but its definately strange that the on disc file didn't work either.Once I get thatadditional information from you, I will take a look at the correct file to see what could be going on. Thanks!
02-02-2009 11:16 AM
Hi Al,
I'm using CVI version 8.5.1. The sample's path is c:\Documents and Settings\All Users\Documents\National Instruments\CVI\samples\DAQmx\Events\Signal\Change Detection\Read Dig Chan-Change Detection Event\ReadDigChan-ChangeDetectionEvent.cws .
Seems pretty long too me, could that be it? I reinstalled the CVI samples from the Installation CD. It's path is D:\Parts\CVI\Samples\CVISamples.msi .
Thanks for the quick reply.
02-02-2009 11:34 AM
Hi CVIJoe,
I think your file is somehow corrupted, and the reinstall is not overwriting it. I found the file on my machine, and it contains the version tag mentioned in the error. I have attached my file, so go ahead and try replacing your .cws file with this one, and let me know what happens. Hope this helps!
02-02-2009 12:38 PM
Replacing your .cws with mine worked. I'm able to open the workspace and run the app in debug mode. However I'm getting a NON-FATAL RUN-TIME ERROR on function DAQmxCfgChangeDetectionTiming (return value = -200077) when I start acquiring samples. Maybe I should start another thread for this problem?
Thanks again for the quick reply,
02-02-2009
05:17 PM
- last edited on
09-06-2025
03:21 PM
by
Content Cleaner
Hi Joe,
This error seems to be related to an incorrect value for AI.max or AI.min. the following article addresses this error:
http://digital.ni.com/public.nsf/allkb/440EB533229211CD8625711C007E61B3?OpenDocument
If this does not fix the problem, creating a new post in the DAQ forum would be the best way to get an answer. Thanks!