Search Results

by mirvine
Tue Jan 30, 2018 12:47 am
Forum: Python
Topic: Writing multichannels to a file
Replies: 5
Views: 7746

Re: Writing multichannels to a file

Hi Thanks again for your answer which clears things up. I must admit that this is not very efficient for me (compared to how I used to code in phidgets). I have to use globals as I change the file every hour. I could update every object also but I am not sure that this will happen in time so I am go...
by mirvine
Mon Jan 29, 2018 9:46 am
Forum: Python
Topic: Writing multichannels to a file
Replies: 5
Views: 7746

Re: Writing multichannels to a file

Sorry but with this solution it is necessary that each ch object has the file handler as a propriety no ? Again am I missing something ? Are there no multi channel examples which write to a file ?

Thanks
Mark
by mirvine
Mon Jan 29, 2018 9:26 am
Forum: Python
Topic: Writing multichannels to a file
Replies: 5
Views: 7746

Re: Writing multichannels to a file

Ok great thanks for this and your quick response !

Best wishes
Mark
by mirvine
Mon Jan 29, 2018 8:20 am
Forum: Python
Topic: Writing multichannels to a file
Replies: 5
Views: 7746

Writing multichannels to a file

Hi All

I am probablement thinking in a complicated way but if I use a 1046 with 4 analog input channels, what is the simple way of logging all 4 channels into one file ? Give that each channel has its own event this seems complicated to me. Any help would be appreciated.

Thanks
Mark
by mirvine
Wed Jan 24, 2018 5:27 am
Forum: Python
Topic: Data logging with library 22
Replies: 2
Views: 5953

Re: Data logging with library 22

Hi

Thanks for the reply. I didn't realize that I could add variables to my object ! I have been looking for complicated solutions yet the solution is simple.

Thanks a lot !

Mark
by mirvine
Tue Jan 23, 2018 8:01 am
Forum: Python
Topic: Data logging with library 22
Replies: 2
Views: 5953

Data logging with library 22

Hi I have searched without success on the site for an answer. I haven't found it, but sorry if it is somewhere. Before I used phidgets library without a problem but here with the event handling system I am lost I want to log data to a file where the file changes every hour. I need the file variable ...