Jump to content
  • 0

Differential Voltage Input with MCC USB-2408


Hannamon

Question

Hi; does anyone have any LabVIEW examples of acquiring a voltage using a differential input?  I know I have to configure the USB-2408 first using the InstaCal.exe software for differential mode, which i've done already... But I'm not sue if I treat it as a single-ended program but using the differential channels instead (i.e. the pin numbers for CH0L/H).... anyway, some LV examples would be great.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

LabVIEW doesn't care if the channel is set to differential mode; it just knows it must read that channel.

The programming examples can be found in ..\National Instruments\LabVIEW 2022\examples\ULx\. There are four LLB libraries in the Analog subfolder. Open Measure Slow Varying Signal and run the example named ULx Cont Acq&Chart Samples-SW Timed.vi. 

Link to comment
Share on other sites

  • 0

Ah, so it doesn't care if it reads CH0H/L or CH0/CH8, as long as it reads pins 1&2 then?  Now things are beginning to make more sense... and pin 2/3 need to be tied together by a 100k resistor, from what I understand... (I'm assuming this is the only case?)  In which case I would use "Read N channels, Single Sample" or something like that to get a single differential value out?

At any rate, I will check out those examples in the libraries you specified...

Edited by Hannamon
Link to comment
Share on other sites

  • 0

Also, assuming the " ..\National Instruments\LabVIEW 2022\examples\ULx\" refer to "C:\Program Files\National Instruments\LabVIEW 2022\"... in which case there is no "\examples\ folder... I have installed and reinstalled mccdaq.exe and instacal.exe... is there something else I need to install for this to show up?  All that I have is \resource\ directory.  Figured this out...

Oh, and the lvhlp.chm just contains a bunch of empty links...

Edited by Hannamon
Link to comment
Share on other sites

  • 0

OK... didn't work right the first few times... t I modified the shortcut so that it not points to the correct file... and the CHM works properly now... I'm guessing that it's much easier to set up SE programs, whereas Diff programs need to point to the specific pins, and there's some math involved to read out the proper differential signal... because all these examples seem to be for SE measurements... unless I'm missing something over-obvious...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...