Hi Ben
The DSP Generator component works great. Also the XY-Chart.
With the DSP generator I have saved my own curve under custom and can play it as desired.
Question about DSP Generator. How many values can I store in custom wave? Are there a few extra possible?
Question about XY-Chart. How can I get the chart running? (Scrolling)
regards
Stefan
App Developper How to use DSP Gen and XY-Chart?
-
- Valued Contributor
- Posts: 1065
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 201 times
- Been thanked: 224 times
-
- Matrix Staff
- Posts: 1951
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 510 times
- Been thanked: 697 times
Re: App Developper How to use DSP Gen and XY-Chart?
Hi Stefan,
I'm afraid the component doesn't currently support scrolling. If you need scrolling then the data recorder window might be useful for you and will automatically display DSP data.
I beleive the max would be 65535 values but I may be wrong on this, I'll have a look for you.Question about DSP Generator. How many values can I store in custom wave? Are there a few extra possible?
'Question about XY-Chart. How can I get the chart running? (Scrolling)
I'm afraid the component doesn't currently support scrolling. If you need scrolling then the data recorder window might be useful for you and will automatically display DSP data.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1548
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 214 times
- Been thanked: 362 times
Re: App Developper How to use DSP Gen and XY-Chart?
You could try programmatically changing the x-axis properties to implement scrolling. I don't know if this will work well though.
-
- Valued Contributor
- Posts: 1065
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 201 times
- Been thanked: 224 times
Re: App Developper How to use DSP Gen and XY-Chart?
Hi Ben, Hi Steve
Yes the data recorder window shows it scrolling but I think in the deployed App it's not working.
I can try to program something for the XYChart
For the XYChart, I have a lot of propertis but just few macros as command. Would it be possible to change some properties in runtime?
In the Embeded for the PIC and Display there is GraphCreator with scrolling, in the small oled the signal is scrolling nice. But it does not work in App Developper to use this Display or GraphCreator on the screen.
regards
Stefan
Yes the data recorder window shows it scrolling but I think in the deployed App it's not working.
I can try to program something for the XYChart
For the XYChart, I have a lot of propertis but just few macros as command. Would it be possible to change some properties in runtime?
In the Embeded for the PIC and Display there is GraphCreator with scrolling, in the small oled the signal is scrolling nice. But it does not work in App Developper to use this Display or GraphCreator on the screen.
regards
Stefan
-
- Matrix Staff
- Posts: 1548
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 214 times
- Been thanked: 362 times
Re: App Developper How to use DSP Gen and XY-Chart?
Yes, component properties can be changed at runtime. You need to use the Built-in Function "SetValue" as shown in the example image below.
The component property entry needs to be the variable name for the property which can be found by clicking on the property within the "Component Properties" window. It is displayed at the bottom, and can be copied to the clipboard by right-clicking the property and selecting "copy property variable name".
The component property entry needs to be the variable name for the property which can be found by clicking on the property within the "Component Properties" window. It is displayed at the bottom, and can be copied to the clipboard by right-clicking the property and selecting "copy property variable name".
-
- Valued Contributor
- Posts: 1065
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 201 times
- Been thanked: 224 times
Re: App Developper How to use DSP Gen and XY-Chart?
Hi Steve
Thank you for the Info.
I tried with change the Name of the x axis from x-axis to time ,in runtime. This works nice.
A small note
first copy the variable name and then open the component macro.
I am now trying to display an ECG signal.
regards
Stefan
Thank you for the Info.
I tried with change the Name of the x axis from x-axis to time ,in runtime. This works nice.
A small note

I am now trying to display an ECG signal.
regards
Stefan
-
- Valued Contributor
- Posts: 1065
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 201 times
- Been thanked: 224 times
Re: App Developper How to use DSP Gen and XY-Chart?
Hi Ben, Hi Steve
I found a way to show a chart even if it's not scrolling.
2 things are not clear to me
With the chart set mode to 0, the chart text is not flashing but the chart update is a little bit slow.
With the chart set mode to 1, the chart text is flashing but the chart update is very fast.
Can I manage the grid in way?
How can set the grid?
Regards
Stefan
I found a way to show a chart even if it's not scrolling.
2 things are not clear to me
With the chart set mode to 0, the chart text is not flashing but the chart update is a little bit slow.
With the chart set mode to 1, the chart text is flashing but the chart update is very fast.
Can I manage the grid in way?
How can set the grid?
Regards
Stefan
- Attachments
-
- FC9_App_DSP_Gen1_XY_Chart1.fcsx
- (22.08 KiB) Downloaded 484 times