10-03-2008 01:11 PM
Hi,
I am using NI 9221 modules on CRio 9014, whn I am trying to write the data in the test file using I am getting an error 1430 occured at open/create/replace file and said the possible reason is the path is empty or relative, you must use an absolute path.
Please help me on this issue.
Ajay Sharda
10-06-2008 12:17 PM
Hey Ajay,
First i would like you to look at this knowledge base article. This maybe as simple as changing your path extension.
If that doesn't work. Look below.
Does this occur when you are trying to compile a labview FPGA VI? If you are, in order to verify the problem create a new project from scratch which includes some I/O, create a new FPGA VI that uses these I/Os and then try compiling it.
If the compile is successful, then the resolution to this problem would be to check the original FPGA VI and make sure that it has valid I/O nodes corresponding to the ones defined the Project Explorer.
Regards,
10-06-2008 02:26 PM
Hi,
Thanks for your valuable comments. The mistake on my part wa that I have not taken the program under My Computer, I took there and it worked.
Thanks again,
Ajay
10-06-2008 10:03 PM
Hi
I am using the above equipment and Ni 9221, The FPGA has a flat structure with loop timer of 10 ms and then 10 analog channels are being read. After compilation I am using this FPGA to read all channels and write the data in a text file along with get date and time.
The problem is I am not getting the exact 100 samples every second. They are ranging between 96 to 97 every second?? Can some one help me regarding that please??
I will appreciate
ajay
10-07-2008 11:25 AM
Hi Sharda,
I was wondering if you could add a few ms and see if you acquire all of your samples. It just seems that you are not waiting long enough for all the values to become valid before looping. If this doesn't work, could you send a screenshot of your code? Thanks!
Regards,
Andrew Eddleman
Applications Engineer
10-11-2008 12:16 PM
10-13-2008 11:04 AM
Hi Sharda,
I think we can assume that your pc is just not looping as fast as the loop time rate that you set. this can be changed by adjusting your timer in your loop, until it executes properly or you could just insert a timed loop and see if that corrects the issue. As for the waveform "graph" (from the image it seems like you are putting them into a chart) , how many graphs are being displayed? It seems like you are doing things correctly, and waveform charts are able to take in more than 10 graphs, so what might help is if you could just post the vi so that I can see all the other stuff thats going on here.
Regards,
11-05-2008 08:28 PM
Hi Andrew,
Many thanks for your constant help. I have run into different type of problem where in I am logging data to text file from 10 analog channels and also the true/false commands are sent to digital o/p channels and the data in the text file has two rows of same time stamp though the data values is different. Any ideas why this could be?
Like (time as sec.ms)
55.789 23 24 35 34
55.789 21 22 34 32
55.804 ......................
55.804 .........................
Please help,
Thanks,
Ajay
11-06-2008 10:24 AM
Hi Ajay,
I guess I am confused to what you are asking. You have are getting data from 10 channels correct? Why do you have two rows of the same time stamp? It seems that you should just have one. Could you send the file of your data as it was printed out? Also what input modules are you aquiring data from. What are Modules 4 and 2?
11-06-2008 04:49 PM
Hi Andrew,
Please find attached the data file. My system has 1 Gb RAM 3.5 GHz processor. Is this the issue. Also I modified the program bit. NI9221 Analog input modules. The repetition of time stamps has reduced quite a bit by changing the program but this text file give you the picture. The 5 decimal places was for trial just need 3 for the final day.
Many thanks
Ajay