bull8042 Posted November 7, 2011 Share Posted November 7, 2011 Windows7 Ultimate, DaqFactory Base 5.85, build 1849: I am writing a value both manually and from a PID to a channel, VarioValve set that is set "D to A" on channel 0. I am also controlling a heater by another PID via PWM. The valve is connected to DAC0 and works as expected until I enable the LJ timers via the following code. At that time, the DAC0 and DAC1 outputs begin producing a signal that cannot be read by a multimeter, not a Fluke 87 anyway. AddRequest(ID, LJ_ioPUT_CONFIG, LJ_chTIMER_COUNTER_PIN_OFFSET, 8, 0, 0) AddRequest(ID, LJ_ioPUT_CONFIG, LJ_chTIMER_CLOCK_BASE, LJ_tc12MHZ_DIV, 0, 0) AddRequest(ID, LJ_ioPUT_CONFIG, LJ_chTIMER_CLOCK_DIVISOR, 183, 0, 0) AddRequest(ID, LJ_ioPUT_CONFIG, LJ_chNUMBER_TIMERS_ENABLED, 1, 0, 0) AddRequest(ID, LJ_ioPUT_TIMER_MODE, 0, LJ_tmPWM16, 0, 0) GoOne(ID) ErrorHandler(ID) The heater is connected to EIO0 and works as expected with this configuration. But I cannot figure out why running the timer config hoses the DAC0 and DAC1 outputs. I am unable to attach the ctl file as it is 3.5Mb. Thanks for your assistance, Bull Link to comment Share on other sites More sharing options...
AzeoTech Posted November 8, 2011 Share Posted November 8, 2011 This question would probably be better posted on the LabJack forum as it is unlikely that it is a DAQFactory issue. I'll tell the LabJack support people about the post here, but they will likely say the same thing. Link to comment Share on other sites More sharing options...
bull8042 Posted November 8, 2011 Author Share Posted November 8, 2011 Thank you. I posted on the LabJack forums and will see if they can shed a little light on the subject. Bull Link to comment Share on other sites More sharing options...
LabJackSupport Posted November 8, 2011 Share Posted November 8, 2011 http://forums.labjack.com/index.php?showtopic=5593 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.