Configure 4472 in NI-DAQmx

Hi, I am switching from NI-DAQ traditional to NI-DAQmx.
Can someone provide an example to implement the following simple task using NI-DAQmx.
Hardware PCI 4472, software LabVIEW 7.1, NI-DAQmx 7.4
Channel settings
Chan0 DC couple
Chan1 AC couple
Chan2 AC couple + ICP (IEPE)
Chan3 DC couple
Chan4 DC couple
Chan5 AC couple
Chan6 AC couple + ICP (IEPE)
Chan7 AC couple + ICP (IEPE)
The acquired data should be in a 2D array in the order of Chan0 to Chan7.
Thanks.
Ian

Hi Ian,
Please review the following online example developed in LabVIEW 7.0 (should transparently convert to 7.1).
NI-DAQmx: Creating an Analog Input Task with Multiple Measurement Types
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=CA272F2D99585A8AE034080020E74861&p_node=201210&p_source=External
Best Regards,
Evan R.
Applications Engineer
National Instruments
http://www.ni.com/support

Similar Messages

  • How to configure physical channel using DAQmx block(remote PXI6733)

    I am trying to run the example in labview that use DAQmx. But I find I can't find the physical channel by browser or using DAQ assisstant. It reports "No supported device found". My PXI6733 is on a controller and communicate with host computer by TCP/IP. Could I use DAQmx in such environment? What I should do to find the physical channel?

    Braver,
    The NI 6733 is not yet support by NI-DAQmx. Thus, you will need to use Traditional NI-DAQ to program this device until this support is added. I would suggest that you examine the following Traditional NI-DAQ examples:
    Examples >> Hardware Input and Output >> Traditional DAQ >> Analog Output
    Good luck with your application.
    Spencer S.

  • MIO Configure.vi in DAQmx

    Hi,
    I am upgrading some LabVIEW code that uses traditional DAQ to DAQmx. I have come across a VI MIO Configure.vi which I have not been able to find a DAQmx equivalent. If anyone knows where I might an the MIO Configure.vi functionality in DAQmx please let me know.
    Thanks
    David
    www.controlsoftwaresolutions.com
    Solved!
    Go to Solution.

    Hi David,
    Use the DAQmx Channel Property Node. 
    Analog Input:General Propertiesigitizer/ADCither:Enable Specifies whether to enable dithering.
    Rico P

  • Check IEPE sensor connectivity and IEPE status (PCI 4472)

    Can someone tell me if it is possible to do the following in a LabVIREW program (with PCI 4472, LabVIEW and DAQmx).
    1) check the connectivity of an IEPE sensor/cable,i.e., if the cable connecting to an IEPE accelerometer is broken.
    2) check the IEPE status of a PCI 4472 channel, i.e, if IEPE of ai0 is turned on. 
    Thanks.
    Ian

    Hi, Ima
    Yes, When the IEPE is turned on, it remains on until you specifically turn it off.
    For my application, I need to have some channel IEPE on and some off, and the configuration changes frequenctly.
    If I have already turned IEPE on, and on the new task I need to call the DAQmx Create AI Channel (Sub).vi with "Voltage" input, IEPE will be turned off, unless I specify in the property node to set IEPE of desired channels on.   
    Ideally, this is what I want to do. If the IEPE was on before I call DAQmx Create AI Channel (Sub).vi, I  will to start measurement straight away; if the IEPE was off before I call DAQmx Create AI Channel (Sub).vi and property node to turn IEPE on, then after commit, I will wait for few seconds to let IEPE sensor to settle.  Therefore, I need to "poll" the device to determine the current IEPE status of individual channels. I guess I can track this from my software, but "polling" may be more reliable.
    Is there any way I do this?
    Thanks.
    Ian
    Attachments:
    Physical Chan.gif ‏3 KB

  • Using two daqmx create channel to acquire signals in random

    Hi
    I am trying to acquire signals from PXI 4472 with two DAQmx create channels. The channel selection is random. For eg. first create channel i have ch. 0, 2, 4, and 6 and the other create channel is Ch. 1,3,5 and 7. This I can do, but the problem is that I need to write the acquired data in seperate files for each channels and that too in sequential order. How can I do that. I know i need to use the loop but how will I will select the channels from two different task.
    Thanx in advance
    Nitin

    Ok, here was my idea, I am not sure if it will work for you or not after looking at your VI. 
    You can use some of your subVIS that you made to make the path different for each file.  But what I had in mind for the channels was what I did in the vi i attached.  You can just repeat the process for each of the channels and you would know that they were saved correctly.  You could also feed in the iteration number of the main VI while loop to have the binary files change sequentially (ie, data1, data2, etc).
    Again, this may not be a route you want to take, you may have other ideas. 
    Ill try to work on it some more later, but I have to get back to work for now
    Kenny
    Kenny
    Attachments:
    pxi subvi idea.vi ‏31 KB

  • DAQmx error -51030 when using SCXI

    I'm building a test system that is using a PCI-6040E with a SCXI chassis. In the SCXI chassis my customer has a number of boards to do AI, AO and some digital control. I configured DAQmx tasks for the various divisions (one SCXI has TC, another is measuring DC voltages, another is output some DC voltages). I created some "action engines" that perform initializations, placing the "DAQmx task name" into an uninitialized SR, to be used on subsequent calls. What happens is that if I configure each of the DAQmx tasks as a single event "when called" (I can't remember the exact wording) vs HW timed, multiple or continuous) this scheme works, but relatively slowly, pausing a good second in each of the acquisitions sub-vi's, resulting in a 6+ second loop time. If I try any of the other modes I get the -51030 error on the second vi executed (they are in a while loop connected with the error cluster chain). Some of what I'm reading almost sounds like I should open each task, acquired, close task, open next, etc., loop. If so does anyone have any idea of the overhead timewise. This system doesn't need to be terribly fast, but I'm measuring currents that I would like to know within a 100ms if they go way out of limits so I can shut down the offending unit.
    As always, thanks in advance for your help
    Putnam Monroe
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

    Good morning all,
    Essentially I have done what LYu is doing, with a "create a channel" for each the "task types" that are on the Analog In. This allows me to have an idea of where in the returned array each group's data will reside and also to perform the appropriate configuration (Thermocouple, current, voltage and frequency measurements) as I create the "groups", they are all, strictly speaking, the same task, but I wasn't able to find a way to easily build the task in MAX, it starts by having you determine which kind of task (Analog in, out, etc.) and then what type (temperature, current, etc.) which precludes having multiple types in the task. You can do this in LabVIEW, as described above. Part of my problem is that without the DAQ hardware installed on the machine that you are using to develop you can't set up any of the settings in MAX and unfortunately time on the target system is really at a premium. On my wish list (for quite a while) is the ability to tell MAX what hardware _WILL_ be installed, and have it let you do the configuration stuff. It has all the data for the supported National Instruments HW in its database. I'm not asking for the ability to simulate the HW, just to be able to do some of the configuration stuff. Many of us develop on systems other than the target one, frequently not being able to get on the target until we are ready to integrate the HW and SW. Oh well, maybe in MAX 5.0 and LabVIEW 9.1 ...
    Thanks for all the helpful suggestions,
    Putnam Monroe
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Multi-task data logging with DAQmx

    I was wonder is it possible to use 'DAQmx Configure Logging' VI and 'DAQmx Start New File' VI for multiple tasks?  I'm doing synchronized high speed DAQ with NI PXI-6133 cards.  Each card (there are 16) must have its own task.  Although the DAQ is continuous, the user (software trigger) determines when data is saved to the disk and for how long.
    In my scenario the test length could be up to an hour with various test events scatter throughout.  The users want to display the data during the entire test length.  However they only want to write the data to disk during an event.  The event could last from 10 sec to 1 min.  That is why the users want to control when data is written to the disk.
    DAQmx Logging seems to work for a single task only, but I need to do multiple tasks.

    I've attempted to implement your suggestion, but I still do not acquire data for all channels for all tasks.  I've enclosed my VI.
    Attachments:
    TDMS Logging with Pause LoggingFSPR.vi ‏55 KB

  • Export "AI Convert Clock" of 4472 to a PXI_Trig line

    i have 11 pxi4472 on the same pxi1006 chassis. previouslly, i routed the "AI Convert" signal of the master 4472 card to an RTSI line, so that whenever there is an A/D convertion it can be timestamped by another card listening to this RTSI line. i used DAQ originally and everything works fine.
    recently, i rewrote all my code using DAQmx. but somehow when i use the "DAQmx Export Signal (Most Signal).vi" to export "AI Convert Clock" to a pxi_trig line, labview complains about a -200375 error: "Signal type requested to be exported is not supported for the specified task running on the given device". so seems like "AI Convert clock" is no longer valid in DAQmx? i tried every other signal that DAQmx allows me to e
    xport, but nothing seems to be the right one.

    To export the Sample Clock from the PXI-4472, use the DAQmx Export Signal property node. Specify the Sample Clock Output Terminal property (Clocks / Sample Clock / Output Terminal), and create a constant or control that specifies the desired PXI trigger line. During an acquisition, the sample clock will be exported as 100ns wide pulses at the specified sample rate.

  • TDMS Direct Integration in NI-DAQmx Logging but where is timestamp!

    Hi
    Wonder if anyone could advise please
    I am quite impressed with Configure Logging.vi on Daqmx pallette streaming straigth to hardwire. I tried and it works great. However, data is missing time channel/ time stamps for individual points. Is there additional setting to achieve this?

    Hi,
    Thanks for answering!
    Yeah, that`s a nice idea, but it is, like you said, not exactly what i`m searching for...
    That`s my situation:
    I have four analog channels (voltage-measurement) and i need to store the raw data in tdms format. So it would be nice to use the DAQmx to TDMS direct logging. But there is one Problem: I also have to log the sum of the four voltages and I want to log it to the same tdms-file as new channel.
    If it is not possible to get the tdms-file reference out of the DAQ-Task, I have to use the traditional way (not using the direct logging) by reading the data and log it manually.
    lg Reinhard

  • Use Daqmx Trigger to initialize software

    Hello,
    I am using an NI PCIe-6537B to run an SMB-2163 High-Speed DIO Accessory.  I have a high speed camera sending out triggers whenever a frame is captured.  Each time the trigger is received into PFI4, a digital output (DIO#) sends out a waveform. 
    I would like to know if it is possible to read that trigger so that I can use it to trigger other things in the software "simultaneously."
    I have attempted to simply read PFI4 as a digital input (Digital Bool 1 Line1 Point) while also using it as the external trigger.  It worked for a while but after I left the project it now seems to only randomly read when the trigger is sent.  Not knowing what changed since it last worked, am I doing this correctly or is there a better way to do this?  Perhaps using the Daqmx events.
    Any help is greatly appreciated!
    Thanks,
    Mike S.
    CLAD
     

    Hey Mike,
    A couple of things here.  Firstly, for the Change Detection timing type, you will not need to use the event structure in your program.  This is implemented in hardware, with samples being latched when the configured lines show the change.  Basically, every time the configured line changes, the DAQmx read will return the values of all lines configured for your channel.
    Also, you will not be able to use PFI4 as the source for change detection.  You will have to specify a data line (ports 0-3) for use with the change detection timing type.  Here's some documentation I could find about using this:
    http://www.ni.com/white-paper/4102/en/
    http://digital.ni.com/public.nsf/allkb/4B9452520950566A86256F31006C9AEF
     

  • Comment configurer une carte 6052E avec le max livré avec NIDAQmx9.8 sous windows 7

    Comment configurer une carte 6052E avec le max livré avec NIDAQmx9.8 sous windows 7

    Vous devez pouvoir voir les panneaux de tests, de même pour l'option de configuration, j'ai aussi DAQmx 9.8. Cf captures en pièce jointe.
    -Que voulez vous configurer exactement ?
    Aussi, répondez à mes autres questions si jamais vous ne voyez pas exactement la même chose que moi.
    Cordialement
    Victor F. | Application Engineer
    Certified LabVIEW Developer | Certified TestStand Architect
    National Instruments France
    Pièces jointes :
    MAX1.jpg ‏73 KB
    MAX2.jpg ‏51 KB

  • Pda daqmx base task information

    Hi!
    I use LV PDA Module 8., Windows Mobile 5 OS on PDA and CF-6004 acquisition card.
    I configure 3 tasks in DAQmx Base Task Configuration Utility, which have different sampling rate and samples per channel property.
    Problem is that I can't get this properties programmical, since PDA Module doesn't support Timing Node, so I have no information what sampling rate is set when I select new Task in my application.
    Thanks,
    andrej

    Hi Andrej,
    Since DAQmx Base does not offer property nodes or the waveform data type, there is currently not a way to programmatically check which sampling rate was used by the 6004.  If you feel strongly that this feature should be included, I encourage you to create a product suggestion and describe your application in detail.  R&D considers these suggestions very seriously when making decisions about future products.  I hope this helps.
    Best Regards,
    Jeff Tipps
    Applications Engineer
    National Instruments

  • 9233 input terminal configuration settings

    Hi
    I am developing a module to configure cDAQ modules and acquire data. The module is quite simple.
    I have a user selection for channels to be configured.
    In this user selection, I am loading the physical channels and if the user wants a Differential input, am disabling the corresponding channel pair. The user will not be able to configure channel 8, if channel 0 is configured for differential input.
    I am using a DAQmx property node for physical channels, to select the 'Input Terminal Configuration' using DAQmx Physical channel property.
    For my temperature module and voltage input module, it works fine.
    However, when I select a 9233 channel, it has only 4 inputs and returns all 'pseudo differential' configuration. But, I can still configure a channel using DAQmx function for accelerometer signals with Differential input. Why is it that i cannot get 'differential' and 'RSE' from the property node when the DAQmx function allows me to select the same?
    Please help. Becasue of this mismatch, I am unable to allow the user to select 'Differential' channels from 9233.

    Well
    Apologies for the delayed reply. However, I realized that and corrected the code to configure 'pseudo differential' input.
    I have not updated the forum post after I made the correction to my code.
    However, Thank you for the reply.

  • AI/AO at different frequency

    Hi,
    As a newbie, I met a problem when I tried to input and output analog signal at different frequency.
    I followed PID-control-Multichannel.vi to build a control program, so input/output can be synchronized. However, the project requires that the AI frequency to be ten times of the AO. I could rewrite the while loop to make the output value constant for 9 of 10 cycles. However, I believe there is more straight forward way to do it.
    Could anybody provide an example?
    Thank you in advance.
    Sincerely yours
    Ming 
    Solved!
    Go to Solution.

    lmuri wrote:
    Hi,
    As a newbie, I met a problem when I tried to input and output analog signal at different frequency.
    I followed PID-control-Multichannel.vi to build a control program, so input/output can be synchronized. However, the project requires that the AI frequency to be ten times of the AO. I could rewrite the while loop to make the output value constant for 9 of 10 cycles. However, I believe there is more straight forward way to do it.
    Could anybody provide an example?
    Thank you in advance.
    Sincerely yours
    Ming 
    Hello Ming!
    Thank you for using the NI Forums. You'll be glad to know that DAQmx allows I/O tasks such as these to be ran not only concurrently but also at different rates.
    The problem with the solution you've devised is that this implementation will remove the delegation of the tasks down to the hardware level and your program would become software driven; this becomes problematic when running data acquisition tasks at very high speeds as you become limited to the output speed of your Operating System (OS).
    You can co-ordinate your tasks to operate synchronously and perform output and acquisition at different rates by creating a task master. This generally means that you configure a task through DAQmx that maintains a clock frequency and you create tasks which use this clock frequency, or a division of it, to operate at their own individual frequency. This will ease not only the implementation of synchronous DAQmx tasks but also provide an entirely hardware driven solution to maximimse performance.
    Through LabVIEW, if you go to Help > Find Examples to open the NI Example Finder. If you browse through Hardware Input and Output > DAQmx > Synchronization > Multi-Function > Multi-Function-Synch Dig Read Write With Counter.vi, you will find an example of how to configure a Counter as a task master to control the operation of both a Read and Write operation. (This example shows a digital implementation but may be easily replaced with analogue.)
    By setting the counter rate to the maximum frequency that you will require for your task (In this case, the speed at which you want to output values) and applying it to the output task SampleClock, you will drive the output task clock with the Counter as the clock source. You can then use the Counter as the source for the SampleClock for the input task, however set the rate to whatever division of the driving frequency you want. In the case of your example, you can set the input rate to 0.1 times the Counter Frequency to acquire at a 10th of the rate.
    If you wanted to acquire at the same rate but only retrieve values at the 10th of the speed, this same solution could be configured to instead produce a trigger to return a buffered acquisition. With a master clocking task, the opportunities are endless!
    I hope that you find this helpful, and if you need any more clarifcation don't hesitate to let me know. Have fun with your DAQ!
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • "2597/6x1 Terminated Mux" fails to initialize

    I am using the 1x6 terminated RF Switch 'NI-PXI 2597' in the 1045 chassis.
    The 2597 fails to initialize (niSwitch Initialize With Topology.vi) with the following error:
    niSwitch Initialize With Topology.vi
    No legacy device supports the specified topology.  Use a different topology, or configure the device under DAQmx and use the DAQmx resource descriptor.
    Status Code: -1074118644
    My other switches (2596, 2599, 2598) initialize without issue.
    I can set the switches via 'switchsoft front panel' in MAX. The LabVIEW .vi aren't working.
    vi's are located at: C:\Program Files\National Instruments\LabVIEW 8.2\instr.lib\niSwitch\niSwitch.LLB\{vi's}
    Picture of setup below.
    Attachments:
    PXI_RF Switch Setup.jpg ‏3199 KB

    Hello,
    You may have your VISA resource name conflicting with the DAQmx resource name. I would recommend looking at this KnowledgeBase article, which describes the problem you are seeing and two possible solutions. 
    This article also describes what can happen with conflicting resource names.
    Jake H | Applications Engineer | National Instruments

Maybe you are looking for

  • Is my iPad the retina display ipad or the ipad 2?

    I'm not sure if I have a ipad 2 or ipad 3. I should of got the newest one with the lightening charger but never I got my ipad in may, did the newest one come after may? Help please thanks

  • Can I stream a rented film from my iPad to apple tv?

    know I can't transfer a rented film that i downloaded on my iPad to my computer or a other mobile device but I just wondered if I can still stream it to apple tv?

  • Because my iphone 4S appears in itunes iphone 4

    Itunes recognize my Iphone 4s and Iphone 4 and I can when I have to restore activate Siri

  • Backup3 for iPhoto

    I have a question about using Backup 3 (v3.1.1) to back up iLife and specifically iPhoto. When I use this program to back up iLife to an external hard drive are my iPhoto settings saved? In other words, are the naming, filmstrips, albums, books, slid

  • Reassign activities in Email Interaction manager

    Hello Mates, i need to delete an agent in Cisco Email Interaction Manager. This fails with this message. Any ideas how to delete the user? the user that your trying to delete has some open activities or cases or suggestions in feedback mode. Please r