PicoLogger and own software

Post general discussions on using our drivers to write your own software here
Post Reply
ysha4171
User
User
Posts: 3
Joined: Mon Jul 31, 2006 1:15 am

PicoLogger and own software

Post by ysha4171 »

I have tried to run PicoLogger and own software at same time, but it fails. the reason i guess is becuase both of them will be opening the unit before they can actually get the value from the unit. So if either of them opened, the other one can not open the unit again, and thus the error occurs.

so can anyone plz advise how to run PicoLogger and my own software at same time? If either of them opens, can i get readings without opening another one?

or if this is not available, in other words, PicoLogger and my own software can not exists at same time, so is there any way to get data live from the PicoLogger, and then i can read these data into my own software at same time?

Any help would be appreciate

Michael
Advanced User
Advanced User
Posts: 656
Joined: Thu Jul 07, 2005 12:41 pm
Location: St Neots, Cambridgeshire

Post by Michael »

Hello,

As I replied to your message by email I shall answer the post for other forum users.

The product can be opened by one application at a time. You will not be able to run your own software alongside PicoLog. YOu can use DDE to link to PicoLog and your own application. I provided an example via email.

For best results, I would recommend either your own application or PicoLog.

Best regards,
Michael
Michael - Tech Support
Pico Technology
Web Support Forum

skypaul
User
User
Posts: 6
Joined: Tue Sep 18, 2007 3:42 am
Location: Malaysia

DDE Example

Post by skypaul »

Hi Micheal,

I am also trying to do something like ysha4171, do you mind to send me an example of DDE that can link Pico Logger and my own application?

Thanks Micheal!

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko »

Hi I have a file attached that might do what you are asking for.

Let me know if this helps.

Kind regards

Ziko
Attachments
DDE PicoLog (multi chn).xls
(11.5 KiB) Downloaded 883 times
Ziko

Technical Specialist

skypaul
User
User
Posts: 6
Joined: Tue Sep 18, 2007 3:42 am
Location: Malaysia

Thanks

Post by skypaul »

Hi Ziko, thanks for the attachment. I will play around with it these few days.

Guest

Problems with newest version of software?

Post by Guest »

Hi,

I was able to get the attachment above open - but I think the macro in the VB code needs to be updated.

I error off on line:

chan = DDEInitiate("PLW32", "Current")

I know the file is old since I had to change "PLW" to "PLW32" the new exe file name. I wonder if the TOPIC changed away from "Current"? I believe this is so since I can get the PL software to load part way - but will not display temps. I get a runtime error 13 "type mismatch" from VB also (which is the major issue). Converting file to xlsm also does not fix the issue.

I'm using VB with a converter instead of VBA could this be the issue? w.mrexcel.c0m/forum/showthread.php?t=280893
zero in link above should be and "o".
WARSHIP discusses my converter fix in his post followed in the link above, which seems to partially work since it allows me to import your VB code from your attached file and allows me to run your macro.

I'm using excel 2007.

thnx for any help!
RE

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko »

Hi,

Is this the DDE file that I have attached, because it works fine on my computer.

Kind regards
Ziko

Technical Specialist

Post Reply