Search found 8 matches

by LPH
Tue Jun 22, 2010 7:18 pm
Forum: USB PC Data Loggers
Topic: Duty cycle when sampling in streaming mode
Replies: 3
Views: 5655

Re: Duty cycle when sampling in streaming mode

Hi Stuart, thanks for Your reply. Im not completely clear about what is happening. I use PicoLog in streaming mode (BM_STREAM) and I call pl1000GetValues inside a while loop. The (pseudo) code looks as follows; pl1000SetInterval() While total < condition pl1000Run() Do while not ready loop pl1000Get...
by LPH
Tue Jun 08, 2010 8:04 am
Forum: USB PC Data Loggers
Topic: Duty cycle when sampling in streaming mode
Replies: 3
Views: 5655

Duty cycle when sampling in streaming mode

Hi, I'm using a pl1216 and I'm unsure aboute the period/duty cycle when sampling in streaming mode. If I set the sampling interval to e.g. 100 msec, what time elapse between the intervals when the device collects data? My collected data is power and I collect these to get a dose (energy) so I need c...
by LPH
Tue Jun 01, 2010 11:36 am
Forum: USB PC Data Loggers
Topic: Digital output on PL 1216
Replies: 11
Views: 12601

Re: Digital output on PL 1216

Hi Robin, found the error! Thanks for the links, now I know more about difference in data types. However the error was in declarations below, realized that do_value and doNo must be ByVal - totally missed that. //Patrik Hi I should have said that you also need to change Declare Function pl1000SetDo ...
by LPH
Wed May 26, 2010 8:34 am
Forum: USB PC Data Loggers
Topic: Digital output on PL 1216
Replies: 11
Views: 12601

Re: Digital output on PL 1216

Hi Robin, tried that, that was what I meant by "declaring the function as integer" in previous post. Tried again to be sure, still same error code. I'm a bit confused regarding data type for functions in pl1000.dll. In the vb (excel) example, for instance pl1000SetTrigger is declared as short. How d...
by LPH
Tue May 25, 2010 4:47 pm
Forum: USB PC Data Loggers
Topic: Digital output on PL 1216
Replies: 11
Views: 12601

Re: Digital output on PL 1216

Hi again...

no, still same error code. Also tried declaring the function as integer, should it be short or integer?

Really dont know what to do but ask for help ;-)

Thanks a lot for assistance so far.

//Patrik
by LPH
Tue May 25, 2010 2:07 pm
Forum: USB PC Data Loggers
Topic: Digital output on PL 1216
Replies: 11
Views: 12601

Re: Digital output on PL 1216

Hi Robin, yes I use .net (at least I think so, I use VD 2008 express, when I type a function or object I get suggestions and when typing "." I get suggestions for method. Isn't that implying .net? Im not a programmer so please excuse the, perhaps stupid question) About the error code, I checked the ...
by LPH
Mon May 24, 2010 8:12 am
Forum: USB PC Data Loggers
Topic: Digital output on PL 1216
Replies: 11
Views: 12601

Re: Digital output on PL 1216

Hi Robin,

feel a bit silly not have done that...

It returns PICO_NO_SIGNAL_GENERATOR

Isn't there one in the PL1216?

//Patrik
by LPH
Wed May 19, 2010 2:51 pm
Forum: USB PC Data Loggers
Topic: Digital output on PL 1216
Replies: 11
Views: 12601

Digital output on PL 1216

Hi, i'm using a PL1216 to integrate an exposure (laser) to get the dose. I'm writing an application that opens a shutter to start exposure and closes it when the reference dose is reached. To my problem: to control the shutter i want to use the digital output from PL1216. When i test i do not get an...