NEITHER cDAQ - select signals

I have a simple VI here to read input values selected module 9221 on a cDAQ. The output values are formatted as a string. I want to output to a second string that contains the names entries, I chose what I can write it to a file in a format that looks like this:

0 #, 3 #, 4 #, #7<--- this="" is="" the="" new="">

10, 11, 12, 18<--- the="" string="" i="" already="">

The top line shows the names of the selected entries, and the lower part contains the measured values.

Thank you!

It seems that you can create your own search function to browse the array of Booleans and produce numbers that correspond to them.

See my code attached.  I used the power of the loop, automatic indexing and shift registers to fill it.  I think it corresponds quite closely to your needs, even if you need to tweak it a bit.  In addition, you will need to change your channels of data acquisition in the wizard as I changed something on my system to try the VI.

Tags: NI Software

Similar Questions

  • Why NEITHER cDAQ-9178 isn't in the DAQmx device simulated in MAX?

    Hi all

    I want to create a device that simulated for cDAQ-9178. But Max, I could not find it. It lists only NOR cDAQ-9172. I have the version of NOR-DAQmx 8.9.5.

    Thank you

    Raja

    LV 2009

    Hello Dennis,.

    NEITHER cDAQ-9178 is listed under DAQmx 9.0.2 supported device.

    Thank you

    Raja

  • How to give the option to the user to select the measures of temperature or voltage with NEITHER cDAQ-9178

    Hello. I wrote two programs for the NOR cDAQ-9178 that work perfectly, but now I would like to combine... and users the ability to perform a measurement of the temperature (module NI 9214) or a measure of tension (NI 9201 module). I tried to use an Enum to a case Structure control, where the

    user can choose either 'Measure the temperature', or 'Measure the tension', but during execution of the program, only the before user input panel opens and the program stops. Could someone please look at the code below and give me advice on the placement of my two programs in a structure of case? Each program contains two screws... a Subvi user input and a measure vi. Is it possible for me to drag the temperature and tension screw in the structure of matter? Thank you.

    FYI - I am reposting this, because I couldn't get tethering to work on my previous post

    I found my solution. I had to right click on the Subvi vi... 'Subvi node Setup' and select set the front panel

  • cDAQ module signals from 5 to 2000 Hz genarete

    Hello

    I am looking for an output module of the cDAQ which can generate signals of frequency from 0 to 2000 Hz

    Thank you

    Prashant

    Hello, UPRR.

    As long as the module has a refresh rate higher than 20kS/sec, then you should be fine. so NI 9263, NI 9264, NI 9265 and NI 9269 should be good for you.

    Kind regards

  • How to analyze the data of the cDAQ and Signal Express, especially after analysis?

    In the first series of tests of my instrument, it took longer than expected for the race.  Thus, the data was saved in 6 days.  The file is too large for export to Excel.  At the beginning of the project, I was as ignorant as I could go ahead and add analysis and the scaling of measures.  By the scaling, I mean my data of switching current dew points or whatever it is that I record.

    How to evolve the data to read the output data as expected 4mA = point of dew of-20 C or 0 PSIG?  Can I pre program this to be recognized for each event?

    For real analysis I am doing – I would first analyze the data I recorded and choose different points to send to Excel to graph and analyze.  Is this possible?

    Secondly, I would like to know how to scale and analyze my data in the project without having to do this later analysis in the future?

    I have a cDAQ-9172 with LabVIEW signal Express 3.0 that uses four modules - 9211 2 modules of thermocouple, my 4-20 1-9201 module +/-10V module and 1-9203.

    Thank you for any assistance.

    Hi Patricia,

    "' You can do this by adding a step Load/Save signals ' analog '.  I hope this helps!

  • NEITHER cDAQ not see max

    Hello

    I have the problem that my NOR cDAQ-9172 is neither seen or recognized in MAX. But this material is well recognized by Windows (2000 SP4) in Device Manager under data acquisition devices and the USB root hub (it is connected with a USB cable). "This device is functioning correctly.

    This device worked well before. Last week I just connected a device of the light source (not from NOR) with USB connection + installed its driver. This source lignt is no more in the laboratory and therefore not more connected to the computer. Today is the first time that I try to work again with my hardware of NOR.

    I restore the database to the MAX, but nothing has changed.

    What can I do to "force" MAX to find the cDAQ?

    I have a FW camera connected and it is still recognized and functional with MAX. The problem seems to be connected to the USB port.

    Thanks in advance for your help.

    Patrick Queeckers

    Workaround.

    With the help of an engineer of the NC, of Belgium, we found the solution: the device loader NOR was not working!

    Started for:

  • NEITHER USB-6211 signal to noise

    While using the analog inputs of the device USB-6211 (Labview 8.5 / Win 7) signal become noisier. By surprise, I got a signal perfect after you have disconnected and reconnected the USB card to the system. This behavior is reproducible for the cards (n = 4) that we use in our laboratory. Is this a known issue with the 6211 card and if so is there a method to reset the map using labview?

    Thank you!

    Christian

    Christian,

    I'm glad that you have solved your problem.  Manuals for most of the DAQ cards NOR recommend resistance of two entries to HAVE to AI GND to ensure that a path suitable for polarization currents exist when it is used in differential mode.

    Lynn

  • AC1200 ignores the selective signal

    I recently bought a usb network adapter for my pc, well hung and he worked for 3-6 hours. Suddenly, he breaks the connection to only OUR router. If I can catch neighbouring signals but not ours. the router settings seem to be my mac address blocked, if im not a expert in such things, but see nothing obvious in the inspection.

    Also, I can connect a live wire and it works so the router seems to be not blocking me and the adapter seems to work... Yet, I can not catch the signal.

    I am running Windows 7 build 7601 with network linksys ac1200 adapter. The network inSSIDer tool found my network, but after I unplugged my ethernet that it disappeared from the list of wifi available, now I can't seem to find him...

    Notes: I tried to reboot everything and reinstall the connection in the connections stored in the Panel but also reinstalled the NIC driver.

    I tried to connect on a different os (Linux), but it looks that this network adapter is not supported with drivers linux so no luck there.

    None of these tests have nothing. I returned the linksys adapter and got a belkin one to match the router and have not had problems since. Maybe it was a problem of brand compatibility

  • Synchronized in my cDAQ-9172 multiple input signals?

    I use NEITHER cDAQ-9172, and I currently have 20 signals from various sensors (acceleration, speed, power, etc.). How can ensure me that when I start my vi, all input data is saved from the exact same hour?

    Here is a link that I hope is useful, do not hesitate to ask questions:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/5259

    This program example will show you how to perform a synchronization module multiple analog inputs with CompactDAQ.

  • How to select the signals from the output of a DAQ assistant

    Hello!

    I am a new user of Labview 8.5 and I work with a USB-6210. I have two different instruments connected to the same USB device, half of the channels are used for the transducers of pressure where I only need reed and record data, while the other half are associated with TCD detectors where I need to perform an analysis of the signal to get and save the data. I'm in the first stage of construction the block diagram, once I have defined each of the signals that its correspondent of channel using the DAQ assistant, I need to select and separate the signals coming from sensors of pressure from those who come by the TCD detectors, before that I can continue to draw the block diagram. I am using the function select Signal, but I don't know how to do this. Can you get it someone please let me know at least in which manual, I can find a good explanation? I have read the getting started and the LabView user manual, but they have not been very helpful so far.

    Thank you!

    I fixed it. As you say, I had some mistakes in the thread, but it's working now. Thank you very much for your help! It was very useful.

  • An effective way to select dynamic data signals

    Is there a better way to select certain combinations of dynamic data from splitting signals the signals and checking them with a case statement and then merge the signals back up?

    The express vi "Select signals" of the range of manipulation of signals seem to works, but it is only good for a predefined set of signals. I want the user to be able to show easily, which indicates that they want.

    Thank you for your comments and suggestions.

    The Express VI select signals has a "Input Selector" where you can plug you want to select by program. Take a look at the example of 'Select signals' which comes with LabVIEW.

  • samples cdaq-9172

    The following vi allows the user to choose 1-8 global data channels and record is a record for a certain time or number of samples. A file is written to the location selected users. Any channel can be separately filtered through an IIR filter, and the user can select the rate and sample size. There is a graphical display of each channel and a digital display for each. The problem is that I get a time-out of samples. If I put the high sample rate (say 2500) I start missing samples. I use 9172 cDAQ chassis. The error is 200279, tried to read samples is no longer available. In the recording of samples or when you save a timed record, the number of samples are not correct at higher rates. Can I have a problem with my logic of vi?

    The time base of 80 MHz can be used for the counter / timer source contributions.  Generally, the 20 MHz or 100 kHz is used to generate the synchronization signals HAVE and AO.  This information and more, are in NEITHER cDAQ-9172 User Guide and Specifications.  Therefore, the question with the x-axis is probably because he is trying to use a basis of time which is too high.  In order to read faster, we can increase the number of samples per channel to read with the lu DAQmx vi, as suggested by this article in the knowledge base .  In addition, you may want to move the part of the acquisition of data from your application to a producer / architecture of consumer, who may also increase the rate of reading.  There is an example of the producer / consumer at the bottom of the knowledge base article linked above architecture.  In addition, this Tutorial DeveloperZone has a good explanation of the design model.

    David

    Technical sales engineer

    National Instruments

  • How to speed up loop DAQ triggered using NOR cDAQ-9174 with NOR-9215 and NOR-9402

    Hello

    I use LV2010 and NOR-DAQmx 9.2.2. I have a NOR cDAQ-9174 with a NEITHER-9215 4 channel 100 k simultaneous ADC and NOR-9402 4 channel DIO module trigger and reset.

    We run WinXP sp3 on a Dell M4400 core 2 duo @2. 26 Ghz.

    I used the code example NI DAQmx for acquisition of tension with trigger HW. My goal is to try all 4 channels on the 9215 simultaneously when a trigger is received on channel 0 of the 9402, after data is read, I use channel 1 on the 9402 to reset the trigger of the target material.  I have a version of this work, however the maximum event rate is ~ 16/second. I have the Setup 9215 for finite samples / 10 samples per channel which is ~ 400uSec of conversion time and I realize he is above in the appeal of vi, but ~ 50mSeconds worth?

    The target detector can put out up to 1 k / event triggers / seconds.  Only, I received a rate of 8 per second and I added the NOR-DAQmx control vi driver and chose "commit" this did double the rate.

    My question is what is the maximum rate of loop for these devices (trigger/conversion/reading device / reset) and start over? I noticed that just let free the 9215, carried out using the 'Acq & chart internal strain Clk' raised only the rate of events up to 20 Hz.

    Thank you

    normbo663

    Hi normbo663,

    You can get this works far better assuming you have an available counter (there are 4 on the backplane of the 9174).

    DAQ Compact supports the tasks of meter output "redeclenchables" that can be used to generate a finite pulse train.  You can set a task of finished meter redeclenchables output to be used as sample for your task of analog clock.  The task of the meter output will be re-Army (less than 12, 5-25 ns) as soon as it's finished out the last pulse.  The task of analog input would be configured to run continuously, but it would only sample based on the output of the meter triggered.  For an example, see here.

    You can reference the internal counters on the cDAQ without signals through a routing module using: cDAQ1/_ctr0 (right click on the chain counter control, then select i/o name of filtering and check channels internal to add these options to the drop down).

    Thus, with the tips above, you should be able to immediately re - arming your analog acquisition on the 9215 using one background basket counters.  It seems that the second half of the application is to use a second channel on the 9402 to reset the trigger of your DUT.  You can deterministically generate this signal so by configuring a 2nd redeclenchables meter out task (single pulse, but this time).  All you need to do is the initial delay on the appropriate value for your analog acquisition.  Trigger this counter on the same PFI line that trigger you your analog task from.

    Using counters to generate the signals you need in a deterministic way, the loop becomes is no longer a problem (as long as your input buffer does not overflow).  You may need to re-read several triggers at the same time for the loop to keep (for example to read 1000 samples each, which would correspond to 100 triggers 10 samples).

    Best regards

  • weak continuous signal low-pass filtering

    I get continuous signals to the NI USB-6259 of multifunction DAQ device is acquiring its signals to 1000 Hz. The rate of data acquisition can be changed through the GUI, but that

    is for later analysis. The main issue here is labwindows offers many options for filtering. I was wondering if someone could recommend the best option for a LP

    Filter on a frequency of 50 or 60 Hz. are there - it implemented an easy way to put this. Basically, I want to filter the data acquired and then store it in the file that is currently present.

    I was also wondering if material 6259 filtering, if it's a better road then should I use the filter material to clean noise signals?

    mdmorar,

    The reason why you get this error is the low-pass filter property is is not supported on the USB-6259. You will need to use a filter software for your application, because there is no low-pass filter in the material. If you look under the range of libraries in CVI and select Signal Processing > IIR digital filters > features of filtering in a single step, it will give you options for different low-pass filters. They have some low-pass filters here that should help you.

  • cDAQ or cRIO or RT + cRIO?

    Hello community,

    I write software that controls a process can take up to 8-10 hours. This is a high current application so the stability of the system is a fundmental requirement. I need to choose the right hardware for the application and I would go with the c series modules, I hesitate between going with cDAQ, cRIO or RT + cRIO (eg. 9081).

    I'm a little concerned about the use of cDAQ since it depends on Windows, so Windows is blocking my application hangs so that is quite undesirable. On the other hand, I was able to write an appiciations using the cDAQ, which can run for weeks without any problems (automatic updates of course are disabled on windows and we have a UPS in the system). The timing of the inputs / outputs certainly do not require the precision of timing of a FPGA based device)

    Who would be my best option among these three for a station like that?

    Thank you.

    I think that it is, Yes. I've seen it mentioned in two different documents and we have even a video demonstration of the watchdog for the 9188XT feature.

    NEITHER cDAQ-9188XT - Product Page

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/211734

    • "Set up a fail-safe mechanism using timer for output types to react appropriately"

    NOR ComapctDAQ Watchdog - NIWeek 2013

    https://www.YouTube.com/watch?v=Occkq1Ax3DI

    Definitely a good option for this type of situation

Maybe you are looking for