Hi,
I am using an NI4351 PCI DAQ card with the Ni435x driver and
LabWindows/CVI v5.5 (on Windows 98) to capture several voltages and a
thermocouple signal. I want to process the thermocouple signal to
enable the software to drive a temperature controller from the card's
digital port. I require a loop which is completely independant of the
voltage reading commands, so that the controller can be tightly
regulated to a setpoint selected from the UIR panel. I am using
seperate threads, so that the temperature control function can be
peformed in the background while the voltage readings are scanned in
another thread. However, by their nature, these scans can never be
interleved or seque
nced with the temperature scans, and so it would
seem that I need more than one DAQ session. Is it possible to
establish seperate sessions with the same DAQ card on program startup
by using the "ViStatus NI435X_Configure()" function? I am hoping to
have two sessions, with each having its own Scan rate, sample size and
channel group. I could keep opening and closing sessions only for the
fact that the temperature control must be continously performed in
real time and I also fear that this would slow down the system. I
would be grateful for any tips.
Thanks.