Differenti​al input daq 516

I use the DAQ516  with a program derived from  samples\easyio\ailog.c and ai_asyn.c with input single-ended :
In what way I can use the differential input ? What code i must to put ?
I use DAQ Card 516 , CVI 6.0 and Windows XP .
Many Thanks .
   mauro
Attachments:
ai_log.zip ‏71 KB

Hi,
The board you are using is only programmable using NI-DAQ Version 6.9.3. The device configuration is done through the Measurement & Automation Explorer (MAX). Under Devices and Interfaces you should see the Device listed. Right click on it and select "Properties...". You will get a popup screen with different Tabs
- General> You can configure the device number and test resources for the device
- Analog Input (AI) > you will be able to configure AI mode (Differential or Single Ended) and the polarity if available.
After the config is done, apply your differential signal to one of the 4 Diff channels that are represented by the couples: 0,4 1,5 2,6 3,7.
This should take care of your problem.
Regards,
AlessioD

Similar Messages

  • Difference between input and output values

    I am using NI DAQ 6024E and SCB 68.
    I have shorted one anlog output and input channel
    in the SCB 68 board itself.(differential connection). that is whatever ouput voltage
    i am giving at o/p channel 22 and 55 should come at i/p
    channel 68 and 34. But when i read the values in my VI,
    the input voltage is higher than o/p. why is the difference.
    I used default buffer size 1000 and AI Single scan and AO Single Update.

    There doesn't seem to be a problem with your pin connections.
    The SCB-68 has a temperature sensor that can be used as cold-junction compensation for thermocouple measurements. If the temperature sensor is enabled, it will use channel 0 of the DAQ device.
    Since you are connecting to channel 0 of the 6024E, I would make sure you have the temperature sensor of the SCB-68 disabled. You can disable the temperature sensor by using the switched of the SCB-68. The User Manual of the SCB-68 is linked below and provides the information on how to disable the temperature sensor (page 2-4).
    SCB-68 68-Pin Shielded Connector Block User Manual
    http://digital.ni.com/manuals.nsf/webAdvsearch/74C86ADEF0E4813F86256C84007CB3AB?OpenDocument&vid=niwc&node=132100_US
    I hope t
    his helps.
    Regards,
    Todd D.

  • Lettura dati su ingressi differenziali da scheda DAQ 516

    Ho usato in passato la scheda DAQ516  ( CVI 6.0 e Windows XP ) con un programma derivato dall' esempio samples\easyio\ailog.c ed ai_async.c . Con la lettura delle tensioni single-ended va tutto bene ( ingresso 1 su chan0  e ground , ingresso 2 su chand  e ground  ,... ) .
    Ora vorrei usare gli ingressi differenziali ( ingresso 1  su chan0 e chan4 , ingresso 2 su chan1 e chan5 , ..... ) cosa devo fare ?
    Grazie
           mfranci

    Hi,
    from Measurement & Automation Explorer utility you should be able to see you board under Device and Interaces item, then right click on your board and under Ai tab you should be able to set the AI mode to differential.
    After this connect your signal following your board manual instructions:
    In differential mode, signals connected to ACHc3..0> are routed to the positive input of the instrumentation amplifier, and signals connected to ACHc7..4> are routed to the negative input of the instrumentation amplifier. Thus, the voltage measured by the 5 16 device in differential mode is the difference between two of the input signals.
    Then run the ailog.c and you will acquire your data in Diff mode.
    See foloowing link:
    Data Acquisition (DAQ) Installation/Configuration Troubleshooter
    http://www.ni.com/support/daq/board.htm
    http://www.ni.com/support/daq/versions.htm
    hope this help
    Best regards
    AmbuA

  • For a 3.33v input, DAQ & MAX Test panels read 018v. What is missing in set up?

    Hi All:
    I am resurrecting a Labview setup that has not been used for a few years.
    The goal is to measure strain.
    Software is:
            Labview 6.0
     DAQ V6.8.0f9
     MAX 2.0.3.6.
    Hardware is:
     PCI-MIO-16E-1
     SCXI-1000 Chassis
     SCXI-1121 Module
     SCXI-1320 Terminal Block
    As a fist step I decided to test the hardware using MAX.
    I reset all of the SCXI-1121 jumpers to factory settings except the Filter jumpers.
    Filter jumpers were set at 10kHz  and  I left them at that setting.
    In MAX I followed the software procedures for setting up the PCI-MIO-16E, SCXI-1000 Chassis,
    and SCXI-1121 Module (Module was found using the auto detect). MAX verifies the PCI-MIO-16E
    card, and the SCXI-1000 chassis.
    I verified that EX 0 thru 3  were 3.33v using a digital meter.
    I then wired  EX 0 to CH 0 and using the MAX Test Panel and the set up string of
    ob0!sc1!md1!0
    in the channel box on the Analog Input tab.
    I expected to see a 3.33v reading on the test panel, but got a reading of .0184v
    (I assume this means zero or is noise). The result is the same on channels 1, 2, and 3.
    As far as my bifocals can tell, all cables are connected properly, and there are no bent pins.
    I have re-verified the jumper settings per the SCXI-1121 User Manual. I have printed the
    “Knowledge Base”, “SCXI Trouble Shooting Resources” and walked through them step by step
    to verify the set up of hardware and software.
    I have set up a virtual channel for each channel and used the DAQ virtual test channel
    test panel, and I get the same result .0184v.
    Anybody have any suggestions or clues as to what I have missed?
    Thank You
    Peter Waltz

    Hello Peter,
    If you are reading 0.0184V on your analog input, then it probably means that you are reading nothing at all.
    This seems like a driver issue more than anything else. Make sure that you are the latest possible driver installed for this setup. Traditional DAQ 7.0 or 7.1 are compatible with LabVIEW 6.0 and should work fine.
    Once you have the right driver, try connecting your analog output to your analog input. Output a sinewave or a specific voltage and see what the AI reads.
    Most likely the driver upgrade would solve your problem.
    You can download the drivers from here.
    Chetan K
    Application Engineer
    NI
    Message Edited by CKap on 05-08-2006 02:57 PM

  • GET differences of input datetime

    hi for all.
        i want to get the difference between the high and low dates  which entered from input screen , as houres and minutes.
    Moderator message: date calculation questions = FAQ, please search before posting.
    locked by: Thomas Zloch on Sep 6, 2010 9:28 AM

    are you going to input only dates?if yes then how do you expect output in hours and minutes
    please elaborate your requirement
    Thanks
    Bala Duvvuri

  • Difference between input schedule and Journal?

    Hi all, we need a brief explanation of Journals vs regular Input Schedules.
    Can an expert explain to me the differences between a Journal Entry and just a regular Input schedule?
    1.For journal entries are you only supposed to enter the change or the total for that account?
    2. Where are journal entries stored?
    3. Can journal entries be viewed latter and/or reversed?
    4. Do Journal entries get put into the audit tables?
    Thanks

    Hi Dermot,
    I think you're right that this is a significant difference between the two. I believe journals operate just as you expect - they are an "additional" amount.
    So if you already have $100 in an account and you put in a journal for $20, then the system will do the logic to make that account value $120 behind the scenes. If you input $20 into an input schedule the system will make that account value $20, not $120.
    Ethan

  • Simultaneous serial and analog input DAQ?

    Need to sample from the serial port and 4 channels
    of analog input at the same time. Figured I need
    to use an internal clock to sync the aquisition
    since the serial port response delays every so
    often. Does anyone know how to sample from an I/O
    port and a DAQ card at a consistent sampling
    frequency in LV? Any help would be greatly
    appreciated.
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    [email protected] wrote:
    >
    > Need to sample from the serial port and 4 channels
    > of analog input at the same time. Figured I need
    > to use an internal clock to sync the aquisition
    > since the serial port response delays every so
    > often. Does anyone know how to sample from an I/O
    > port and a DAQ card at a consistent sampling
    > frequency in LV? Any help would be greatly
    > appreciated.
    You don't mention what kind of data rates you are talking about. I have
    put together several systems that combine time-stamped serial and daq
    channels, but in all cases, the serial data was running at around 1 Hz.
    The daq channels were often running much faster (100Hz to 1KHz). If
    your channels fit this description, then it is possible to synchronize
    your data (more or less)
    . You can use software timing to set up the
    slow loop and acquire the serial data, and used buffered A/D to read in
    the appropriate daq channels. The synchronization isn't perfect, but
    may be "good enough".
    Best of luck,
    Dave Thomson
    David Thomson 303-499-1973 (voice and fax)
    Original Code Consulting [email protected]
    National Instruments Alliance Program Member
    Research Scientist 303-497-3470 (voice)
    NOAA Aeronomy Laboratory 303-497-5373 (fax)
    Boulder, Colorado [email protected]

  • Difference between simple DAQ card and FPGA based DAQ card(like PCI 7831R)

    Could any one tell me, where should i use simple DAQ card and where should i use FPGA based DAQ card ? if i can take data acquisition from simple DAQ card then why we go to the FPGA based DAQ cards(like PCI 7831R) ?

    Hello,
    The choice of card depends on the application that you develop. For example, you’d better use FPGA if you need a perfect synchronization of several acquisition chains as FPGA matrix will adapt in the way that your channels will be separated and will no use common resources. Another example of FPGA application can be acquisition of several chains of the data that demands very high sampling frequency (FPGA internal frequency can be up to 400MHz).
    When using FPGA you have to program signal acquisition “from the beginning”, I mean that there are no standard tasks as, for example, “counting edges”. But due to this you can modify standard tasks of DAQ acquisition if you need it.

  • 4 solar panel inputs(DAQ) produce 4 voltages. how can i get all 4 voltages out ?

    the DAQ has been set up to read four voltages from a solar panel which has four pv cells in a north east south west arrangment. i need to get all four voltages out, as they will be different. once out they will be manipulated and the solar panel controlled (proportional feedback control)

    OK... have you looked at the DAQmx examples that ship with DAQmx? There are many examples that would apply to your situation. I would also suggest the Getting Started with NI-DAQmx: Main Page.

  • Differential inputs DAQ 6070E

    Hi,
    I have a 6070E daq card connected with SCXI 1302 terminal block in my data acquisition system. I'm using the first 4 channels (dev1/ai0 -- dev1/ai3) as single-ended channels. They've been working well. Now I need to add two differential signals in. How do I connect these two differential signals to my system -- do I connect them to ch 4 and ch 5? How do I configure the channels in DAQmx Create Virtual Channel.vi in Labview 7.1? 
    Thanks very much!
    Y

    Y,
    Thank you for contacting National Instruments. You can create a DAQmx Task with multiple terminal configurations. Take a look at the KnowledgeBase article linked below for an example of how to do this.
    DAQmx Task with Multiple Different Terminal Configurations
    http://digital.ni.com/public.nsf/websearch/FE54A28C9231C21E86257090007432B0?OpenDocument
    Michael P
    National Instruments

  • DAQ Input Signal kept rising and stop at Max Voltage when run with nothing attached

    I just installed PCI 6229 card and a BNC 2110 (Labview 8.6v). When I started the DAQ Input, the signal kept rising and stop at max Voltage  (10V) when run with nothing attached (instead of fluctuating at around 0). Just wondering what's wrong with it and how to solve it. Terminal configuration was "Differential"
    I just created an input DAQ with a scope and while loop to look at it. Please let me know if I do anything wrong
    Thanks
    Solved!
    Go to Solution.

    I just re-read your original post.  Why do you have the terminal setting to differential?  This sounds like a single ended setup to me.  Change the terminal setting to RSE.  With a differential setting. you need to connect one source to AI1 and another source to AI9.  The difference between the two will be reported.  With RSE, only AI1 will matter and the voltage with respect to ground will be reported.  Make sure you have your AO ground tied to your AI ground.
    Message Edited by tbob on 06-15-2010 05:44 PM
    - tbob
    Inventor of the WORM Global

  • How can I link my daqmx code to another daq assistant to hear my audio output?

    Hi,
    I got a burning question about my school project. I need to use labview and my NI-mydaq to test the difference between
    various samples rates and bit depths.
    I linked an mp3 file to the AUDIO IN of my NI-mydaq and created a way to be able of switching sample rate while running my program.
    Now I would like to link my program inside the NI-mydaq to my AUDIO OUT...
    So...  I generated daqmx code out of an input daq assistant, how can I link my daqmx code to another daq assistant to hear my audio output?

    Hello Fontys_Student...,
    I am not sure I properly understand your question.
    You want to, first, acquire a signal from the AUDIO IN input, second, do some processing on the acquired signal and, third, generate this processed signal at the AUDIO OUT, right? What is the part causing some troubles?
    If you already have the signal acquired and processed, you can simply wire this processed signal to the "data" input of a second DAQ Assistant, right?
    Did you already have a look at the myDAQ User Guide (http://www.ni.com/pdf/manuals/373060e.pdf)? On page 32-35, there is an example showing what you need I suppose. 
    Cédric | NI Belgium

  • How to temporally match/save Input and Output Channels's data?

    Hello, I have a voltage-input, voltage-output SISO system, and need to indentify its dynamic response (or transfer function) as a reference to a PID control. Without using the system identification toolbox, my goal is to generate/provide a sine sweep input (ranging 1Hz-5kHz for 10sec) to the system and to save the corresponding output response signal as well as the sweep input signal simultaneously.
    I got a sample program online and am trying to modify it as attached, but I really need your advices/comments concerning several problems I am facing with:
    1) With the below setting, the number of the acquired Input channel samples obtained is 5461, which is smaller than expected (i.e., 10000). What would I be missing in setting parameters?
    - H/W: NI-USB-6341 DAQ
    - AO: continuous samples with the waveform timing (1k sampling, 10000 samples => 10 sec, slower sampling just for testing purpose)
    - AI: continuous samples, samples to read: 30k, rate: 1k
    2) I am using flat sequence structure as a way to making the start point of saving AI and AO data same, but wonders if this is a right method or if there is other better approaches. (I had an idea of using an internal clock with "1-sample mode" for sync, but this may not work at the high speed sine sweep like 5kHz, right?)
    3) I just want to provide the sine sweep just once to the system and do not require the "reset" functionality implemented in the original sample program. I failed to remove this "reset" part as I did not fully understand the sample code. If I run the attahed, the generated AO signal is periodically provided to the system. Please give me any advice to modify the program as I want.
    Thanks for your help and valualble time.
    Attachments:
    siso.vi ‏230 KB

    Hi J. Kim,
    To begin, you say you want to synchronize your analog input and output so that they start at the exact same time, yes? To achieve tight synchronization, you need to use DAQmx VIs instead of the DAQ Assistant. There's a good overview of DAQmx VIs  here. There's also a document that deals specifically with synchronization in DAQmx here. Additionally, if you go to Help>>Find Examples in the LabVIEW example finder, you can see many other examples of acquiring data using DAQmx.
    As for your configuration, you have your analog input DAQ assistant wired far before your analog output DAQ assistant in your sequence strucutre, so the dataflow of the program will cause the analog input DAQ Assistant to execute before the output. They cannot be in different sequences if they are executing simoultaneously, and I would not use flat sequences here except to start the two tasks in DAQmx. Where did you find this example?
    Best,
    Dan N
    Applications Engineer
    National Instruments 

  • I used to be able to change the output to mono regardless of the input I used. Is this still possible in Garageband 10?

    I have several speeches recorded in Garageband. I mistakenly created the tracks as two input tracks, but in reality, they were only mono. Previously in Garageband, one could select the inputs for a track even after it was recorded, thus changing a two input/stereo recording into a mono. Now, I do not see that setting at all. I do see the two circles next to the track title on the track itself, but nowhere does it allow me to make a change. Does anyone know whether I can select the inputs for a track after it has been recorded? The Inspector has many different effects, but I am admittedly overwhelmed by the number of them in this case and have not seen one that permits the kind of adjustment I want to make.
    Any ideas? (i would rather not have to do something like input them into iTunes in order to manipulate them which I hear might work but is not what I would call an elegant solution to the problem)

    Almost immediately after I asked the question, I tried one more option. I created a new track with only one input. I copied my two input track into it and suddenly it was heard in both channels as if it was a mono recording. It did not make any difference which input I had used to record it originally, I tested adding a track with Input 1 and then Input 2 and both behaved the same way.
    I realize there may be other ways to do this. Feel fee to add your input.

  • Thermocouple Input Error

    I'm trying to run a while loop that has two inputs and one output.
    The two programs are: -A Thermocouple which is connected to a controller which sends an output
    -A flowmeter that sends an input voltage to be read in LabView.
    When I run both programs separately they work fine, but when running in the same loop I get an error.
    The Error is in the input DAQ assitant of the Thermocouple. This is the message:
    Error - 50103 occured at DAQmx Readv(Analog 1D wfm NChan NSamp).vi.
    This error also comes up when running both programs on separate loops, separate files, but simultaneously. I think I'm just missing a command. Is that right?
    Can someone help me to figure out what the problem may be.
    Thanks!!!!

    It is a good idea not to start multiple threads with the same question. It will probably only cause more confusion at your end as the various replies won't be a progression but may be repeative.
    Putnam Monroe
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

Maybe you are looking for

  • CreditCheckTotal

    About a week ago I found out about this site called CreditCheckTotal.com which appears to be brought to us by Experian. I was complaining that my EX FICO was not updating on myFICO and someone mentioned it. The cost is $29.95 per month, and gives you

  • How to generate key events programmatically

    Hello friends, I am developing an application that would automaticall trigger some keboard events for this purpose i would like to trigger an event like alt+f4 i.e pressing alt+f4 together How can we do this using java regards hari

  • Strange syslog from Prime Infrastructure 2.1

    Been getting alot of these syslog messages. I think perhaps a system job is failing but I don't know where to start to troubleshoot. 09 03 2014 11:23:13 [pi-ip-address] <LOC7:ERRR> 09/03/14 11:23:13.484 ERROR [jobmanager] [seqtaskexecutor-12371] ERRO

  • Sales Order - Prevent user from creating more that one schedule line

    Hello, Is it possible to prevent users from adding lines (rows) in the schedule line tab of VA01/VA02 ? Our requirement is that one item will have one only schedule line, the quantity cannot be split into different dates. Regards, Joã

  • NEF aus RAW-Converter öffnen in CS2

    Für eine Erstbearbeitung meiner NEF's öffne ich diese zuerst aus Bridge im RAW-Converter. Wenn ich dann aber "Öffnen" (Änderungen übernehmen und öffnen) klicke, wird mir das Bild ohne die im Converter vorgenommenen Änderungen in PS CS2 geöffnet. Was