## Maths is cool (but I cannot get it to work)

Martinjensen
TwoWaves
Posts: 55
Joined: Wed Feb 13, 2013 6:22 pm
Location: Denmark

### Maths is cool (but I cannot get it to work)

Hello Steve.

Thank you for this great post. and for the hard Work you put into this forum tread.

Math is Cool, but i cannot get it to Work.

I have downloaded the pico files, but the mathchannels does not appear.

The strange thing is that the math channels is shown in the thumbnails on my desktop.
I also tried to input the formula my self, but it does not Work.
Attachments
2.PNG (8.68 KiB) Viewed 19973 times

Steve Smith
Pico Staff Member
Posts: 1671
Joined: Sun Aug 25, 2013 7:22 am

### Re: Maths is cool

Hello Martin thank you for the feedback.

This is very odd as the math channels should load with the psdata file.

My gut feeling here is we have a "Region and Language" setting to amend based on the language version of PicoScope/Operating system

First of all Martin could you try to create the first section of the Math channel without using the decimal point?

E.g. freq(A/48) with a range over 0 to 500 Hz

Lets see if that works and then we can move on with the digit grouping symbols (either . or ,)

Take care.......Steve

Martinjensen
TwoWaves
Posts: 55
Joined: Wed Feb 13, 2013 6:22 pm
Location: Denmark

### Re: Maths is cool

Hello Steve.

Tried some different Things
Both with , . ; bot no change

Now i tried the following:
freq(A/48)*(3.14*0.625)*60/1000 - Does not Work
freq(A/48)*(3.1*0.625)*60/1000 - Does not Work
freq(A/48)*(3.2*0.625)*60/1000 - Works
freq(A/48)*(3.3*0.625)*60/1000 - Does not Work
freq(A/48)*(3.4*0.625)*60/1000 - Works
freq(A/48)*(3.5*0.625)*60/1000 - Works
freq(A/48)*(3.6*0.625)*60/1000 - Does not Work
Attachments

Steve Smith
Pico Staff Member
Posts: 1671
Joined: Sun Aug 25, 2013 7:22 am

### Re: Maths is cool

Thank you again for the feedback Martin and for your patience on this matter

I will be out of the office tomorrow but will be able to take a look tomorrow evening

Could you post your psdata file here with the concern and I will see if I can reproduce this symptom

Sorry for the delay, take care.....Steve

ben.martins
Pico Staff Member
Posts: 557
Joined: Tue May 16, 2017 1:02 pm

### Re: Maths is cool

Hello Martin,

As Steve mentioned he is out and about today so I thought I would follow up with some assistance.

He mentioned in an earlier post about the regional language and settings that could be having an effect on the maths channels and I think this is exactly why you aren't seeing Maths working.

We have another user in Denmark that has come across a similar issue on this topic - topic11511-10.html

We have found that using ; instead of the , is working fine. Could we ask you to try this and let us know?

I hope that helps and whilst not ideal we will continue to improve the software and will pass on feedback to the development team and hopefully have a solution in the future.

Kind regards

Ben

Martinjensen
TwoWaves
Posts: 55
Joined: Wed Feb 13, 2013 6:22 pm
Location: Denmark

### Re: Maths is cool

Hello Ben.

I also tried with ; but that dosent Work.

As i said i have tried both with , . ; : but nothing Works

But if i change the formula to for examble:
freq(A/48)*(3.44*0.625)*60/1000 it Works

Also tried to change the language in the Pico software to English, but it stil does not Work.

Martinjensen
TwoWaves
Posts: 55
Joined: Wed Feb 13, 2013 6:22 pm
Location: Denmark

### Re: Maths is cool

Hello Steve.

The file that i am using is the file from the first post regarding ABS road speed
[/Re: Maths is cool
 Post by Steve Smith » Fri Oct 05, 2018 1:56 pm

Steve Smith
Pico Staff Member
Posts: 1671
Joined: Sun Aug 25, 2013 7:22 am

### Re: Maths is cool

Hello Martin, thank you for the continued feedback and patience
Thank you Ben for your assistance too.

This is a strange one for sure Martin but we will resolve it.

I think it best at this stage to define "Does not work"

When you download the ABS TO ROAD SPEED waveform, does it open and display the included math channels?

When use the formula freq(A/48)*(3.14*0.625)*60/1000 that "Does not Work" do you receive as "cross" indicating an error against the math channel formula? (See image below)
Cross-Error
Or, is the formula accepted, but no data displayed on screen?

Please could you post your psdata file with both math channels below included?

One working freq(A/48)*(3.2*0.625)*60/1000 - Works
One not working freq(A/48)*(3.14*0.625)*60/1000 - Does not Work

Once you have created the above math channels, could you close PicoScope and also send over the trace file?

The trace file will be located here: C:\Users\your username\AppData\Local\Pico Technology\here will be an alphanumeric file containing a trace xml file with the time and date of your last PicoScope session

I understand you may not wish to post your trace file here Martin as this will contain information about your PC etc. Please could you send the trace file to support@picotech.com?

Thank you again for your feedback and patience, take care......Steve

Martinjensen
TwoWaves
Posts: 55
Joined: Wed Feb 13, 2013 6:22 pm
Location: Denmark

### Re: Maths is cool

Hello Steve.

Thank you for helping me.
When i download the file ABS to road speed, the file opens fine but it contains no math channels
BUT the mathchannels can be seen in the thunbnail for the pico file saved om my desktop

Its is the same for the file : TEST 8 IGT IGN WATER PUMP

When i try to create the math channel my self, from the formula you provided, i get a red X, and i cannot create the math channel.

After trying all sorts of Things, i discovered that different formulas Works and others dont:

freq(A/48)*(3.14*0.625)*60/1000 - Does not Work
freq(A/48)*(3.1*0.625)*60/1000 - Does not Work
freq(A/48)*(3.2*0.625)*60/1000 - Works
freq(A/48)*(3.3*0.625)*60/1000 - Does not Work
freq(A/48)*(3.4*0.625)*60/1000 - Works
freq(A/48)*(3.5*0.625)*60/1000 - Works
freq(A/48)*(3.6*0.625)*60/1000 - Does not Work

What i mean by "does not Work" is that i get the Red X, and i cannot creat the math channel

I have attached the file with the formula: (A/48)*(3.2*0.625)*60/1000

i cannot create it with the formula: freq(A/48)*(3.14*0.625)*60/1000 because of the red X

I cannot provide the tracefile, i simply cannot find the AppData folder

This is a Company PC, i will try this when i get home om my normal PC.

When i open the file this is what i get:
This is what i get when i try to type the formula manuel
Attachments

Steve Smith
Pico Staff Member
Posts: 1671
Joined: Sun Aug 25, 2013 7:22 am

### Re: Maths is cool

Hi Martin, brilliant feedback thank you.

Could you let me know when you can re your own PC as I would be intrigued to see what happens there?

The App data file may be hidden from view, sorry, I should have said as its not always visible by default
App data folder options
You made need admin rights to amend these settings Martin so it maybe over to your IT team to set this up

Take care......Steve