Posted 03 August 2011 - 03:33 PM
Posted 03 August 2011 - 04:00 PM
You can get the examples here:
And the application guide is here:
You should be able to just load up the BasicCounter example and start getting readings. If you want to understand what is going on and how to write your own apps the application guide can provide a great foundation for using LabJack devices in conjunction with DAQ Factory.
Posted 03 August 2011 - 04:42 PM
Posted 03 August 2011 - 05:13 PM
Posted 04 August 2011 - 11:02 AM
Totally new to DAQFactory, Labjack and scripting. I am trying to build my own weather station, and measuring voltage outputs is not a problem. However, my anemometer also outputs pulses anything from 1 every so often to perhaps 10 per second. I need to count those pulses and display the total.
Try as I might I cannot find a way through setting this up. I can get the pulse counting to work with LJcontrolpanel, but further than that I cannot go.
Please help, as I am completely lost as to how to begin to set this up.
In DF set channel type to counter. You have to read the docs about offset, etc. Depending on the pulse type (Most Davis anemometers just grd on "count"), you can choose how to set up the circuit. For Davis you will probably have to do an RC circuit to debounce the signal.
for a Davis anemometer
This DF code gives mph
// NOTE: Receiving inherits 2nd Params TIME
private xxx =(((-W_count + W_count) / (-W_count.Time + W_count.Time)) /0.44444)
Posted 24 August 2011 - 01:08 PM
Posted 18 February 2013 - 05:22 PM
Posted 19 February 2013 - 09:25 PM
Section 10.5.2 of the DF-LJ App Guide is applicable, and see "Simple PeriodIn32 Example.ctl":
If you want to stick with the counting over time technique, you can actually use the timers in mode 5 or 6 where they act like counters:
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users