ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Example LabWindows/CVI code for NI4351

Hi,

I'm using an NI4351 PCI DAQ card with the Ni435x driver and LabWindows/CVI v5.5 (on Windows 98) to measure temperature and voltage levels. Are there any simple tested code examples that I could download, which use the NI435x driver function NI435X_Check_and_Read(), called from an asynchronous timer for continous scan? There are no problems when I use MAX (so hardware problem is ruled out), but
my code yields occasional random temperature reading errors (looks like data corruption to me). The NI435x_ functions return no errors. Can I use lower level C driver functions instead of NI435X_Check(), NI435X_Read(), or NI435X_Check_and_Read()? What does MAX use behind the scene? Of course, the MAX setup only scans the one channel, so maybe this is why it works correctly. I have to scan one temperature channel and six voltage channels though.

Many thanks,
John.
0 Kudos
Message 1 of 1
(2,815 Views)