CSV reader not available
CSV reader not available
Sir,
I want CSV reader in designer I was informed that CSV reader will be available in 10 version but when I installed it their is no CSV reader also it is not supporting Emotiv driver.Please give me solution
I want CSV reader in designer I was informed that CSV reader will be available in 10 version but when I installed it their is no CSV reader also it is not supporting Emotiv driver.Please give me solution
Re: CSV reader not available
As stated in its documentation page here, the CSV file reader is flagged as unstable.
You need to set in your configuration file the following token :
For the Emotiv driver, I guess you will find on the forum and the website plenty information about it, and why it is not included in the 0.10.0 release or any other version.
Laurent-
You need to set in your configuration file the following token :
Code: Select all
Designer_ShowUnstable = true
Laurent-
Re: CSV reader not available
Thankyou for your answer sir.The CSV reader is available now in the designer now.But when I loaded CSV file that I got from after recording data from Emotiv in CSV reader and connected to signal display and also I corrected the headings from the file but when I run it ,it is showing fatal error
Re: CSV reader not available
You're welcome !Thankyou for your answer sir.The CSV reader is available now in the designer now.
I'm sorry pickku I don't understand what you did there..But when I loaded CSV file that I got from after recording data from Emotiv in CSV reader and connected to signal display and also I corrected the headings from the file but when I run it ,it is showing fatal error
Please be precise, and take your time when stating your problems. Your posts are not limited to 2 lines
And every time please copy paste any error/warning messages that is printed in the console..
You can even attach a screenshot of your scenario, or attach the scenario itself....
I can't do much without that kind of information, and it's not very time-efficient. For you and me.
Laurent-
Re: CSV reader not available
I have attached the design and CSV file Please check it because when I run it is showing fatal error
- Attachments
-
- srieyeblink2.CSV
- this is the CSV file
- (168.9 KiB) Downloaded 260 times
-
- this is the design
- csv reader.jpg (34.67 KiB) Viewed 17315 times
Re: CSV reader not available
Sir,just now I sorted out what is the problem.In the CSV file no proper heading are their so I corrected and saved as xls file then converted it as CSV and loaded in the CSV reader in the designer, but when I connected to the signal display the signals are not displayed.Can you tell me what is the problem
Re: CSV reader not available
Since you have modified the csv file you will have to resend it so we can see what is inside. Also, the image you have uploaded is compressed too much so we can't see anything.
It seems that you are using a channel selector, so you should also post settings of this box, maybe you are selecting channels that do not exist.
It seems that you are using a channel selector, so you should also post settings of this box, maybe you are selecting channels that do not exist.
Re: CSV reader not available
sir sorry for inconvenience and delay.Here I am attaching the design and the csv file
- Attachments
-
- blink3_blink3.csv
- this is csv file
- (163.46 KiB) Downloaded 281 times
-
- this the design
- csv reader1.JPG (18.69 KiB) Viewed 17272 times
Re: CSV reader not available
Alright, I see the problem.
Please look at this sample of a CSV file readable by OpenViBE
Time (s);POz;O1;Oz;O2;Iz;CPz;Sampling Rate
0.000000;25389.382812;27596.539062;19842.158203;23459.009766;9108.259766;22999.054688;512
0.001953;25391.355469;27603.279297;19846.636719;23456.199219;9111.783203;22999.710938;
0.003906;25393.505859;27604.439453;19848.521484;23464.978516;9108.570312;22999.123047;
0.005859;25393.333984;27597.558594;19846.648438;23467.472656;9113.077148;23000.531250;
0.007812;25391.441406;27593.832031;19844.587891;23457.156250;9115.195312;23005.384766;
As you can see, there are two more things in addition to signal, the Time and the Sampling rate. The sampling rate is specified ONLY at the end of the first line (colored in green).
As for the time, it is the time of the signal in seconds and it is always on the first column (in orange). Since it is not there in your file you will have to recreate that column, it is pretty easy, since the time step is always 1/Sampling_Frequency (in this case 1/512 = 0.00195312) so it's a simple formula in excel.
---
I have one question for you though. In the previous screenshot (on the one with a CVS reader and a Channel Selector), I can see on the log that some boxes have crashed. This shouldn't happen even with broken files. Can I ask you to send me the scenario file along with the CVS file you were using at the moment so I can look at it. Thank you.
Please look at this sample of a CSV file readable by OpenViBE
Time (s);POz;O1;Oz;O2;Iz;CPz;Sampling Rate
0.000000;25389.382812;27596.539062;19842.158203;23459.009766;9108.259766;22999.054688;512
0.001953;25391.355469;27603.279297;19846.636719;23456.199219;9111.783203;22999.710938;
0.003906;25393.505859;27604.439453;19848.521484;23464.978516;9108.570312;22999.123047;
0.005859;25393.333984;27597.558594;19846.648438;23467.472656;9113.077148;23000.531250;
0.007812;25391.441406;27593.832031;19844.587891;23457.156250;9115.195312;23005.384766;
As you can see, there are two more things in addition to signal, the Time and the Sampling rate. The sampling rate is specified ONLY at the end of the first line (colored in green).
As for the time, it is the time of the signal in seconds and it is always on the first column (in orange). Since it is not there in your file you will have to recreate that column, it is pretty easy, since the time step is always 1/Sampling_Frequency (in this case 1/512 = 0.00195312) so it's a simple formula in excel.
---
I have one question for you though. In the previous screenshot (on the one with a CVS reader and a Channel Selector), I can see on the log that some boxes have crashed. This shouldn't happen even with broken files. Can I ask you to send me the scenario file along with the CVS file you were using at the moment so I can look at it. Thank you.
Re: CSV reader not available
thankyou for your reply sir.I have attached the previous csv file and design
- Attachments
-
- csv reader.jpg (67.56 KiB) Viewed 17260 times
-
- srieyeblink3.CSV
- (172.1 KiB) Downloaded 257 times
Re: CSV reader not available
Thank you,
however to debug this I will need the scenario file (just save the scenario in openvibe and send me the .xml file please)
however to debug this I will need the scenario file (just save the scenario in openvibe and send me the .xml file please)
Re: CSV reader not available
sir I have loaded xml file
- Attachments
-
- PP1.xml
- (9.14 KiB) Downloaded 264 times
Re: CSV reader not available
Sir,I have loaded the xml file of design whether you can tell what is the problem
Re: CSV reader not available
Dear Pickku
Thank you for your scenario. Can you check if the separator of your file is the same as the separator defined in your csv box settings. Because in files you sent, the csv file used a separator “,” and the separator defined in your scenario is “;”. When I try with an other csv file, I have no problem when both separator are same but I have got the same errors messages as you when the two separators are differents.
I hope this helps.
bpayan
Thank you for your scenario. Can you check if the separator of your file is the same as the separator defined in your csv box settings. Because in files you sent, the csv file used a separator “,” and the separator defined in your scenario is “;”. When I try with an other csv file, I have no problem when both separator are same but I have got the same errors messages as you when the two separators are differents.
I hope this helps.
bpayan
Re: CSV reader not available
thankyou for reply sir.I tried as you told changing to comma in channel selectors but it is not working.You told its working for you can you send the file and design to me.