06-02-2008 03:19 PM
06-02-2008 03:54 PM
06-02-2008 04:15 PM
Hi, no I don't just looking at the VI, so when I try and run it as is with my system to acquire data I get the file path not found message (as the file it is directing to is from the C drive on the other PC where the VI was developed), so then I change the directory to one on the C drive I'm working with (I change the files to write the data to ie the green file paths) the wire coming from the loop to the clear data DAQmx breaks and says it is data of the wrong kind?
I am new to all this so I could be missing something really stupid, but literally all I change is the file path so i can't see how that affects the data in/out of the stop and clear DAQmx vi's?
06-02-2008 05:01 PM - edited 06-02-2008 05:02 PM
Are your file paths matching?
One points to C:\test_DA\(your file here)
and the other to C:\test_DA\Data\(your file here)
But you end up with a path like test_080212180712:\ which would indicate that the Folder Path must have been blank when it ran...
Check your paths using a probe..
RayR
06-02-2008 05:53 PM
06-02-2008 06:36 PM - edited 06-02-2008 06:36 PM
Start by looking at the file path.
You can write the base path in "Folder Path", such as C:\test_DA (or whatever you want). The right-click the "Folder Path" control and select Data Operation and make current value default. Just to try as a quick fix .. 😉
RayR
06-03-2008 01:03 AM
06-03-2008 01:20 AM
Hi Khume,
another point, why do you start and stop your task every time in the loop? Start it ones before the loop and stop it after.
Mike
06-03-2008 04:51 PM
Hi, thanks for all of your help and suggestions,
I am thinking that maybe the break in the wire coming from the DAQ stop,and tunneling to the clear is maybe not to do with the files. I have tried replacing the tunnels with shift registries and still no joy. I can get the program to write to the correct files now, but then still end up getting thios broken wire. I have saved it with the wire broken so you can see what I mean, somehow I must be changing the format of the data or something?
06-03-2008 07:37 PM - edited 06-03-2008 07:38 PM
One problem I see is that where the task wire and the error wire come into the loop, they come through as a normal tunnel that is sitting on top the shift register. The shift register is unused. See attached. I dragged the tunnels away from the SR's to highlight.