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...
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...
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 ...
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...
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 ...
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...