PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

control file access with PXI

I've just finished an application on my development system that needs to be ported over to our PXI system.  The program requires a control input file (.txt format), which I've placed on the C: directory on the PXI system (C:\TestData\Input).  The first thing the program does is it fetches the control input and parses through the data file to store it in an array.  I'm able to get the VI downloaded to the PXI, but when I run it, the control input file apparently cannot be found because I have "Not A Path" returned, and the program stops - which is what it is supposed to do when the file is not there.

I'm deploying as well as running this through my development system, making sure I switch to the RT system.  The PXI chassis is networked, so anything I do should reference the PXI local directory.  I'm thinking that, since this is controlled via the network, I really don't have direct access to the C: directory on the PXI system.  I tried substituting the IP address of the PXI chassis in my VI, but either I didn't do it right or it's not recognized.  Since the VI is existing on the PXI system, I would think that it would have access to the C: directory since that would be within local directory scope.

Any ideas?  By the way - I'm running LabVIEW 7.1, LabVIEW RT, Windwows XP.  The controller is a PXI-8187 and the DAQ hardware is a PXI-6220.

Thanks in advance!
tsc
0 Kudos
Message 1 of 2
(2,775 Views)

superficially, you do not seem to be doing anything wrong.

since the path is straight forward and simple. so file path syntax cannot be causing error.

And the PXI 8187 chassis also has only C drive and no partitions.

and also clear all controls and indicators before executing is a feature not supported by Labview RT

so first ensure that this file is indeed placed it the specified destination by using ftp feature in NI MAX

Plus, I suggest that you make the file path a constant and run the VI to see of this error still recurrrs.

regards

Dev

 

 

 

0 Kudos
Message 2 of 2
(2,770 Views)