Test and Measurement Forum

PicoLogger and own software

Post general discussions on using our drivers to write your own software here

PicoLogger and own software

Postby ysha4171 » Thu Sep 21, 2006 4:06 am

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
ysha4171
User
User
 
Posts: 3
Joined: Mon Jul 31, 2006 1:15 am

Postby Michael » Thu Sep 21, 2006 12:28 pm

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
Michael
Zen Master
Zen Master
 
Posts: 656
Joined: Thu Jul 07, 2005 12:41 pm
Location: St Neots, Cambridgeshire

DDE Example

Postby skypaul » Tue Sep 18, 2007 6:17 am

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!
skypaul
Active User
Active User
 
Posts: 6
Joined: Tue Sep 18, 2007 3:42 am
Location: Malaysia

Postby ziko » Tue Sep 18, 2007 3:18 pm

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 388 times
Ziko

Technical Specialist
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Thanks

Postby skypaul » Wed Sep 19, 2007 5:50 am

Hi Ziko, thanks for the attachment. I will play around with it these few days.
skypaul
Active User
Active User
 
Posts: 6
Joined: Tue Sep 18, 2007 3:42 am
Location: Malaysia

Problems with newest version of software?

Postby Guest » Wed Aug 05, 2009 6:17 pm

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
Guest
 

Postby ziko » Wed Aug 19, 2009 11:25 am

Hi,

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

Kind regards
Ziko

Technical Specialist
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests