Hi team, Iam trying the hello word for the file injector, the same code works for the V6 and V7 but for V8 it is not. Any help about would be great.
Thanks
Rod
Problem with file injector
Moderator: Benj
-
- Valued Contributor
- Posts: 682
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 185 times
- Been thanked: 204 times
- Contact:
Re: Problem with file injector
Hi
Try the attached
It simulates and logs to file. I've attached the "out" file too.
Regards
Try the attached
It simulates and logs to file. I've attached the "out" file too.
Regards
- Attachments
-
- out.txt
- (4.06 KiB) Downloaded 97 times
-
- LogToFile_modified.fcfx
- (11.36 KiB) Downloaded 108 times
-
- Posts: 96
- Joined: Fri Jul 15, 2016 10:51 am
- Has thanked: 24 times
- Been thanked: 5 times
- Contact:
Re: Problem with file injector
Thanx, What did you do? Ive tried so many things!
Great thanks again
Rod
Great thanks again
Rod
-
- Valued Contributor
- Posts: 682
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 185 times
- Been thanked: 204 times
- Contact:
Re: Problem with file injector
Hi
You simply forgot to enable the "Data Source" under UART properties. I've often done the same If you compare both file versions you will see the changes.
Glad to have been of help,
Regards
You simply forgot to enable the "Data Source" under UART properties. I've often done the same If you compare both file versions you will see the changes.
Glad to have been of help,
Regards
-
- Posts: 96
- Joined: Fri Jul 15, 2016 10:51 am
- Has thanked: 24 times
- Been thanked: 5 times
- Contact:
Re: Problem with file injector - Little forward
Hi guys, going a little further on the code related to txt data. I uploaded FFT file hello world and I substitute the analog reading from a Pot by the txt file data from an analog circuit that I am working on it. I was not able to output the FFT data into the text file. I believe this is a nice example to work on which involves analog circuit and Fourier analysis. I am attaching the code as well as the circuit. If anybody can help on how to output data into the text file that would be great. Anyway, I am trying to see if I can get a relation about the enveloping, rectification and Fourier analysis. By the way this is for an EMG (Electromyography) application.
Thanks
Rod
Thanks
Rod
- Attachments
-
- EMG_Test.zip
- (44.21 KiB) Downloaded 103 times
-
- Valued Contributor
- Posts: 682
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 185 times
- Been thanked: 204 times
- Contact:
Re: Problem with file injector
Hi
Sounds an interesting project.
I only have access to FC v8 at present which I don't have the DSP pack for, and in FC v9 I believe they changed the DSP quite a bit so unfortunately I'm probably not best placed to offer much help.
Regards
Sounds an interesting project.
I only have access to FC v8 at present which I don't have the DSP pack for, and in FC v9 I believe they changed the DSP quite a bit so unfortunately I'm probably not best placed to offer much help.
Regards