08-28-2012 05:28 PM
Hi,
I was using the sample code from the NiDAQmx VB.net samples that is on the cd that came with my recent DAQcard-6062E purchase. i noticed voltage data collected from the card was fluctuating even when the the AI0 port was grounded. pretty sure something is wrong, i proceeded to open Measurement and Automation Explorer.
the version that came with the cd is 5.0, under the "devices and interfaces" section, it shows "NI-DAQcard-6062E 'dev1'". i clicked on the device, then clicked on the "create task" button on the screen and added a voltage sampling task for AI0.
when i ran the task, the voltage continues to fluctuate, then it peaks and flatlines at +10v. each re-run of the task gives the same result. not knowing if it's software or hardware issue, i sourced another laptop with Measurement & Automation Explorer V.4.6.1 with the identical daq card.
this time, the screen shows two devices under the "devices and interfaces" section. in addition to the "NI-DAQcard-6062E 'dev1'" that i got prior, i also found a new deviced that's named "Traditional NI-DAQ (Legacy)". using v.4.6.1, i created a task for both of the devices. the device "NI-DAQcard-6062E 'dev1'" behaved just like it did with v.5.0 of the software. but, the device "Traditional NI-DAQ (Legacy)" behaved as it should, showing tiny, almost nonexistent voltage fluctuations that's centered at 0 V.
so my question is, why is this happening? is there some incompabilities for the legacy devices to be used with the nidaqmx drivers? is there a way for the legacy cards to work with nidaqmx and vb.net? Thanks!
08-29-2012 07:46 PM
First, I would check if you see the same voltage values when you use the test panel in MAX for your card.
Also, which version of Windows are you using on both the PCs that you've tried this on?
Regards,
Brice S.
Applications Engineer
National Instruments
08-29-2012 07:53 PM
both laptops are running windows xp.
i'm not too sure what you mean by check voltage values.... as, one laptop has v.4.6.1, and the other laptop have v.5.0, and the behavior can only be duplicated only for the "dev1", and not legacy.
08-29-2012 08:38 PM