Go Down

Topic: How to add another baud rate to plx-daq (Read 342 times) previous topic - next topic

CyberBob

Hi

I have an older version of PLX-DAQ (older because my Excel 2003 can't handle the newer version).

The Baud rate selector in the version that I am using doesn't have the option of 115200. I need to know how to add this to the PLX-DAQ spreadsheet.

I understand that this can be done in VBA but I'm a newbie to this.

Any help will be really appreciated

Thanks

CyberBob

I've managed to open the VBA editor and opened frmStampDAQ.

On UserForm I have added the following line:

cboBAUD.AddItem ("115200")

When I reload the spreadsheet and select 115200 from the Baud rate drop down box, I get -

Run-time error "1000" Invalid port settings

What else do I need to do to get it working?

Any help will be greatly appreciated

Thanks

PaulS

Quote
What else do I need to do to get it working?
Just adding a menu item, with no corresponding "do this/use this value" when the menu item is selected, won't work, as you've discovered.

It's hard to guess what file you've edited, or how, though. So, it would be impossible to tell you what else you need to change.
The art of getting good answers lies in asking good questions.

ieee488

Just adding a menu item, with no corresponding "do this/use this value" when the menu item is selected, won't work, as you've discovered.

It's hard to guess what file you've edited, or how, though. So, it would be impossible to tell you what else you need to change.
Presumably there is code elsewhere that is triggered with a selection from the dropdown box --- he added an item instead of creating the whole thing from scratch.

However, without seeing the actual VBA code, one cannot say for certain.



.

Nick_Pyner

This is looking like it is more trouble than it is worth, but do you really have a problem? If so, what is it? Can it not be solved at the Arduino end?

ieee488

#5
Jul 09, 2018, 05:46 pm Last Edit: Jul 09, 2018, 05:47 pm by ieee488
This is looking like it is more trouble than it is worth, but do you really have a problem? If so, what is it? Can it not be solved at the Arduino end?
Apparently he wants the baud rate to be 115200 which is not one of the choices.

To make sure that it is not something else causing this communication problem, he should run at whichever baud rate is available in Plx-DAQ.

If that works, then add the changes required for 115200.

Nick_Pyner

#6
Jul 09, 2018, 06:08 pm Last Edit: Jul 09, 2018, 06:12 pm by Nick_Pyner
No, he definitely wants 115200. My questions are why, and is there another solution...
It''s not even clear that this is an Arduino problem but, in the likely event that it isn't, there may be an Arduino solution.

ieee488


PaulS

What other solution?

.
Try reading the whole post, not the snippet you copied. That was a question.
The art of getting good answers lies in asking good questions.

ieee488

Try reading the whole post, not the snippet you copied. That was a question.
I misread the post. Is that a crime? ? ?  Sheesh.


.

sumguy

Plx-Daq adds a reference to Selmaware SelmaDAQ ocx which provides a serial class. The ocx does not allow for 115200 baud rate, as far as I know that can't be changed without the orignal source.

Your best option might be Plx-Daq V2.11, seems very much like the older version but has gone away from the ocx and is using Windows API instead, if you join that discussion and talk with the developer you might get an educated opinion on what is the best option for you.

https://forum.arduino.cc/index.php?topic=437398.0

Nick_Pyner

Your best option might be Plx-Daq V2.11,
That might be about the most sensible comment on this thread..... I haven't used it myself as I use Office 2000 anyway, but I'm pretty sure that, when it came out, NetDevil was making v2 compatible with earlier versions of Excel.

ieee488

That might be about the most sensible comment on this thread..... I haven't used it myself as I use Office 2000 anyway, but I'm pretty sure that, when it came out, NetDevil was making v2 compatible with earlier versions of Excel.
I took a cursory look, and there was no mention about earlier versions of Excel.

Is there a list of which version of Excel it v2 is compatible with?

The OP must have chosen to go with v1 because Excel 2003 wasn't supported in v2.


.

PaulS

I misread the post. Is that a crime? ? ?  Sheesh.


.
I just don't like to see people get jumped on by someone that appears to have misread something. No harm, no foul, this time.
The art of getting good answers lies in asking good questions.

Go Up