02-25-2016 02:24 AM - edited 02-25-2016 02:26 AM
hie
I want to give ECG files in the pc as input files to VI in myrio, is it possible?
thanks
02-25-2016 03:24 AM
02-28-2016 09:53 PM
03-01-2016 02:01 AM
Hi,
Lets take this step wise.
1. Make sure your program is ready and working under the myRIO target when you have it connected to the PC. You can access the file stored on your PC on the myRIO in this mode.
2. If all works well in the first option, copy paste the ECG file from your computer to the C: drive of the myRIO. To access this, you will need to ensure that "Legacy FTP support" is installed on the myRIO. If it is not, go to Add or Remove software for myRIO from MAX, and put this in.
Next, you can copy the file through ftp to the myRIO, and access this file throug its path in the VI.
Hope this works.
-Suraj Pawar
AE, NI India
03-01-2016 04:46 AM
Maynak94,
As Suraj said, do the steps you should be able to access the files in myRIO thorugh FTP.
Here I have attached a sample code which makes use of a simple text file to determine if "TRUE" is written, if it's written then myRIO will set the LED0 to TRUE. You have to create a text file named "sample.txt" with TRUE text in it and copy it to ftp://<myrio-IP-address/c/.
Thanks,
Ajay.
03-05-2016 10:51 PM
hie
I have two doubts regarding this,
1.You said copy the files in myrio folder, did you mean copying the ecg files in the folder where myrio project is saved?
2.when I tried to install 'Legacy FTP support' as you said in myrio, I dont find it in NIMAX. Is there any alternate for this?
thanks and regards,
mayank
03-06-2016 11:02 PM
Mayank,
If you are unable to see legacy ftp support, let it be for now. Directly try to open FTP link to the myRIO. Yes, you are supposed to place the ecg file anywhere in the C drive of the myRIO. Be sure to access this file from the right path in your code.
Regards
Suraj Pawar
AE, NI India
03-06-2016 11:36 PM - edited 03-06-2016 11:41 PM
Hie suraj
I have created a mapped network drive for myrio, copied ecg files in the C: drive of myrio and when i gave same path for file input in VI ,Iam unable to get ECG.
Iam attaching screenshot of VI i used.
thanks regards
03-07-2016 04:51 AM
Hi,
Instead of creating a mapped drive, try directly pushing the file to the myRIO through FTP. If, for example, the IP address of your myRIO is 192.168.1.1, then you should enter in Windows Explorer "ftp://192.168.1.1". This will open the c drive of the myRIO. You can paste the file there. Thereafter, you can access the path through c:/<name of your file>.
In the VI you have made and tried, try to create an indicator to the error out and see if an error is coming up. I feel it hasn`t found any file in the path mentioned.
Regards
Suraj Pawar
AE, NI India
03-08-2016 11:20 PM
hie suraj,
I have done as you said but when i gave output of one express Vi(read from measurement file) as input for second express Vi(wavelet denoise) iam not able to get output at second VI, I also tried to give input of first expressVI to normal tools like peak plot but no result.
What my doubt is Iam able to access ECG from database but Iam not able to process it further.(iam attaching screenshot of my vi)
thanks for your support.