Hi Labjack Team:
I am doing program for differential analog input connection in stream mode. Here I attached screen shot for Single ended configuration. If i am connecting two differential connection how to configure (what should give in LJM_eWrite Names and LJM_NamesToAddresses) in labview program.
Example: Sensor1,Sensor2
Sensor1 Output +Ve - AIN0
Sensor1 Output -Ve - AIN1
Sensor2 Output +Ve - AIN2
Sensor2 Output -Ve - AIN3
For Sensor1 how sould I configure( what should I enter in aNames and aValues of "LJM_eWrite Names" and What shuld I enter in aNames of LJM_NamesToAddresses).
Kindly Help me
Example:
This is correect for "LJM_eWrite Names", in which {(AIN0,AIN1),(AIN4,AIN5),(AIN6,AIN7)} are differential connection and remaining are single ended.
It sounds like you figured out that you need to write to AIN#_NEGATIVE_CH and you can continue reading AIN#. More details here:
https://labjack.com/support/datasheets/t-series/ain#differential
Any Example Program For Differential Mode in labjack. Kindly Share it
I do not believe we have any examples that explicitly do differential readings, but all you need to do is set the AIN#_NEGATIVE_CH to the appropriate channel and read the positive channel AIN as normal.
For example, in the dual AIN Loop.vi example under Examples\More\AIN, you could set up a differential reading by changing the "Config Values" entry for AIN0_NEGATIVE_CH from 199 to 1. That small change would leave you with a program that takes a differential reading between AIN0 and AIN1 and a single ended reading from AIN1 to GND. Following the negative channel change, removing AIN1 from "Channel Names" would leave you with a program that only takes a differential reading between AIN0 and AIN1.
Thanks LabJack Team,
This Configuration Will Applicable in Streaming Mode.
And I have one More Query, is it possible to Both differential and single Ended Connection at a Time.
Example:
Senor 1(Differential Mode):
Sensor 1 Output positive -AIN0
Sensor 1 Output Negative -AIN1
Sensor 2(Single Ended):
Sensor 2 Output positive -AIN2
Sensor 2 Output Negative -GND
Is it Possible Bro
And If it Possible,What should I enter in "Channel Names" will be {AIN0,AIN1,AIN2} OR {AIN0,AIN2}