Selective sampling of multiple thermocouples

I am using a chassis cRIO 4 to sample and record up to 64 thermocouples.  Right now I can only sample the whole 64 channel set, but my desired product is a program that can taste and record any subset of thermocouples, selected by the user from the front panel.  The best with what I came is using controls Boolean to enable the output of the unselected channels '0' and a series of LED next to the chart legend to indicate which channels record the true values and recording '0 '.  I want to use Boolean controls to avoid that the registration to all deselected channels program.  I have attached a few photos of my program.  The first is part of my function of data acquisition, which takes the value of each thermocouple and places it in a table to draw on the graph and save. PDM file.  The second is a part of the chain of function name, which combines the names in a table for the. TDMS file and sends each name to an indicator beside the chart legend.  The third shows the chart, with all channels unchecked and without name.  Does anyone have any ideas how I can do this more easily extensible program from the front panel?

I'd work with arrays and clusters instead of use explicitly each channel name, etc..

See my sample code attached.  It is very simple, but should give you some ideas.

Tags: NI Software

Similar Questions

  • Display the values selected in a multiple selection prompt

    Is it possible to display all the values selected from a multiple selection prompt? One who is not in a mini report with a filter = promt tabular. I need in the narrative field.

    I don't have anythign to find at the moment which gives no other alternatives.

    Don't know why you need in the view of the narrative, but outside of what you mentioned (prompt = filter), there is no way to store multiple values in a variable to use in the same report selections. But you know that if you chose the way you mentioned, you could do this:

    (1) to your "mini-report" switch to the display of explanatory text.

    (2) since there is only a single column, type @1 in the narrative field.

    (3) consider the maximum number of values that a user would choose 10. Then in the 'lines to display' set 10.

    (4) in the line separator, put in a comma and press the SPACEBAR (this will add a space after the comma).

    (5) now drag this report to the dashboard and the button report properties, select 'View', then select your narrative point of view.

    HTH,

  • Registration of multiple Thermocouples

    Hello world

    I'm watching 4 Thermocouples simultaneously using a cDAQ-9174 and the NI 9211 thermocouple module. I am very new to LabView. I found a VI which seems to do what I want on the forum (I'll hang), but I can't seem to operate beyond recognition the first data channel.

    I think I missed something simple when it comes to select the analog inputs of the VI fort, in order to get the four channels to work.

    I am also open to suggestions for a better example VI that can connect 4 thermocouple readings at the same time.

    Thanks for your help!

    You have to hit the ": 3" at the end of the round.  Select channel 0 from the list, and then add the ": 3" to it.  Who says DAQmx you want channels 0 to 3.  I have a slightly different material (a 9213 instead of 9211) but your VI read the 4 first thermocouples I connected and stacked the traces in the first four graphs.

  • Call a select stmt with multiple columns inside another column

    Hi all

    I have a question about the appeal of a select statement, which is to have multiple columns inside another select statement.

    I know that we can use inline views to retrieve data from another table within a query as shown below.

    SELECT (SELECT dname FROM dept WHERE deptno = e.deptno), deptno, sal FROM emp e;

    Now, I'm going to pull the loc also column within the same view of inline. But oracle is not allowing me to do the same thing.

    Is there a way we can achieve the same thing because I don't want to hit the area two times table each time for each emp record.

    Appreciate your valuable suggestions.

    Thank you
    Madhu K.

    Maybe just a simple outer join?

    select ut.subscriberid
          ,ut.unitid
          ,ut.install_date
          ,nvl(tuh.hardwaretype, 'NO_HW')
    from   tt_unit ut
    left   join tt_unit_hwtype tuh
    on     tuh.unitid = ut.unitid
    where  trunc(ut.install_date) >= V_CONST_PROG_START_DT;
    
  • How to make default an element selected in the multiple selection list

    Hello

    I'm filling the list of multiple selection of a lov (dynamic lov). Is it possible to do by default one of the selected items in the list.

    Please let me know how to do this...

    Thanks /.

    How do you determine that a particular value of the LOV must be the default?
    You should be able to combine the LOV query and your 'default selection' health by using an SQL statement or a pl/sql function and specify it for the 'default value Type' in the section 'Default' definition of the elements page.

    CITY

  • How to select data in multiple binding variables

    Hello


    I need to load data into multiple variable binding how


    From now on, I use this


    Select a, b in: a,: b double


    But I still want a responsible being in both: an and: also b to load into c: b and: d Please suggest


    Thank you
    Sudhir.

    Select a, b, a, b in:,: b: c: d double

  • Going crazy trying to select and move multiple points of tempo

    I tried to move a whole bunch of tempo of a bar points to a spot 4 bars later in my project. First time this... For the life of me I can't figure out what I'm doing wrong as I * try * follow the steps here: Logic Pro X: move and copy points of tempo

    Here's a quick screencast to choose me (while holding the CONTROL key) and then drag (hold down CTRL key):

    https://youtu.be/HpLHQbV4y9U

    (The editor let me not insert a video this time so I downloaded on YouTube instead.)

    I tried dragging dragging the first point of tempo, dragging from the last point of tempo, a place randomly in the Middle the selected points. I also tried now the shift and CONTROL simultaneously select and drag when he did not work on the other hand, only because the instructions mentioned the option to SHIFT + click in the selection. Finally, I tried the same thing while now the SHIFT key instead of CONTROL (don't wait not that it works of course because the instructions didn't say to do, but I tried the way described several times and she didn't).

    Get these points of tempo settles is the last detail in a huge song that ended the case

    There must be some small detail that I forgot the instructions. Any suggestions? Thanks in advance!

    Use the smudge tool to enter the automation of tempo and move it left or right...

  • Control of data using multiple thermocouples via indicators and the waveform in real-time

    I apologize in advance for this question is probably a bit simple but I'm all new to labview and the forum and could use some advice. I have a CompaqDAQ with two 9213 16 modules of track and I'm trying to read in 30 thermocouples in a waveform, but also display 30 indicators so I can mark each indicator with the thermocouple for real-time tracking. Each thermocouple corresponds to a specific location and it is essential that the interface has an accurate indication or a label for each of them. I wonder if there is an easy way to do this in addition to split the signal and have 30 thermometers on my diagram? Perhaps a table any? If I use a table to create 30 thermometers, the DAQ assistant automatically sorts the thermocouples according to ascending numerical order. For example, would be the indicators of first and second on my interface automatically assigned to channels a0 and a1 of the first module, or should I do it manually? Even for the waveform?  Thank you very much!

    PS - Do not know if this message had need of more details, but let me know if more information is needed, and I'll give you!

    I see that you use the DAQ Assistant to create your task.  Now I understand why you may have about labelling.  It is easy of the seller NOR spiel booting...  But in any case, you already have a task to the MAX instead of use the DAQ Assistant?  The interface is similar and there may be a step or two, but your end application will be more effective and you will have more options with your data and properties.  For example, I tried to update the names of physical channel in the DAQ Assistant installation program, that it let you do, but it propagates that change forward to waveform chart legend.  Also, I don't know any property for this dynamic data type node, although I never use it either.  I suggest the setting up of your task and channels, Max if you'd give it a go.

    Since I thought I didn't really takes you all the way with you help, I wrote another one.  It uses a cluster, even if it's a bit barbaric.  I thought that there was a more eloquent way to do by changing labels, but I could not it works as I had expected.

  • acquisition of continuous sample with multiple channels

    Hello! Please tell me what I'm doing wrong here, I'm confused about how the acquisition of continuous sample with several channels (using NI USB-6215 boxes).

    Following code is python code, but I don't know who confuse you (and it's only a part of my code in order to not try, it won't work

    buffer_size = 2000 #samples to read
    sampling_rate_hz = 20000
    channels = "Dev1/ai0 ai1/Dev1" #this can be a string or a large number...

    CHK (nidaq. DAQmxCreateTask ("", ctypes.byref (taskHandle)))

    CHK (nidaq. DAQmxCreateAIVoltageChan (taskHandle, channels,"", DAQmx_Val_Cfg_Default, float64(-10.0), float64 (10.0), DAQmx_Val_Volts, None "))

    CHK (nidaq. DAQmxCfgSampClkTiming (taskHandle,"", float64 (sampling_rate_hz), DAQmx_Val_Rising, DAQmx_Val_ContSamps, uInt64 (buffer_size) "))

    CHK (nidaq. DAQmxRegisterEveryNSamplesEvent (taskHandle, DAQmx_Val_Acquired_Into_Buffer, uInt32 (1000), uInt32 (0), EveryNCallback_func, None))

    CHK (nidaq. DAQmxRegisterDoneEvent (taskHandle, uInt32 (0), DoneCallback_func, None))

    the callback function #and

    def py_EveryNCallback_func (self, taskHandle, event_type, nSamples):
    data = numpy.zeros ((self.channel_amount,buffer_size,), dtype = numpy.float64)
    read = int32()
    CHK (nidaq. DAQmxReadAnalogF64 (taskHandle, buffer_size, float64 (10.0), DAQmx_Val_GroupByScanNumber, data.ctypes.data, buffer_size * number_of_channels, ctypes.byref (read), None))

    With only one channel, everything's fine, and tension diagram looks like this:

    buffer_size = 2000, sampling_rate_hz = 20000

    But if I use two channels, voltage diagram looks like this

    buffer_size = 2000, sampling_rate_hz = 20000

    It looks like the sampling rate is higher or there are fewer values?, but with two channels with the results table is 2000 * 2 long and with a single result is 2000 * 1 long is not smaller

    most of the settings important (?) in my code:

    DAQmxCfgSampClkTiming "float64 rate": 20000 (sampling_rate_hz)
    'UInt64 sampsPerChanToAcquire' DAQmxCfgSampClkTiming: 2000 (buffer_size)
    DAQmxRegisterEveryNSamplesEvent "uInt32 nSamples": 1000 (?)
    'Int32 numSampsPerChan' DAQmxReadAnalogF64: 2000 (buffer_size)
    DAQmxReadAnalogF64 "float64 [] readArray": [[buffer_size] * number_of_channels]
    'UInt32 arraySizeInSamps' DAQmxReadAnalogF64: buffer_size * number_of_channels

    as you can see nSamples is a big question mark, but the problem still exists if I set variable buffer_size y (2000)

    Hi Dazzler,

    It is not a multi-channel example that ships with the driver, but after a quick look at the code that you use in your third post, everything seems to be configured correctly. The only thing I was thing I got a question about your plots. Looks like you draw each time the same number of points. If you draw just the table of data directly from the playback feature, you need to draw (buffer_size * number_of_channels) number of channels since the data returned is as an interlaced array. You can also choose to deinterleave samples. More information about this lie in the NOR-DAQmx C reference help, which is installed with the NOR-DAQmx driver.

    Kind regards

    Kent

    Technical sales engineer

  • Sampling of multiple channels on the same frequency

    I have some problems to understand how to configure my cDAQ chassis.  I have a work labview program that should (I guess it doesn't!) sample 5 channels at 5 Hz each channel.  When I got the system data each analog channel (all in the same spot) resembles a ~1.xx Hz sampling.

    I created my task to taste 3 analogue to 5 Hz, 1 sample per channel.  It gives me a sample rate effectiveness of sample of 1,666 Hz per channel?  That's what seem to tell me my data.

    If the above is true, change my task to make a sample 3 channels at 15 Hz, 1 sample per channel will give me a sampling rate of efficiency of 5 Hz per channel?

    The other 2 channels are digital and on another task and appear to be working (fingers crossed!)

    Thank you and happy holidays.

    Kyle

    I can post code if this confusing issue.


  • Create the form for selecting data in multiple tables

    Hello

    I'm getting APEX for the first time and I just read 2 days dev Application Express guide

    I tried to play and I can't create a report with the form that select data from several tables

    What I want to achieve is a report we'll say 'USERS' makes MANAGER_ID ID, NAME, with a form that allows me to create, delete, change users

    The problem is that, once the report with the form created, if I click on create (to create a user) it will ask me for id, name, and manager_id

    I need a water drop down which allows me to select managers in the table manager instead of manually insert Director id

    How do I do that?

    Thank you!

    HI Chris,

    LOV will use this magic.

    Search:

    Kind regards

    BEnjamin

  • How to select line to multiple line values?

    Hi all

    I have a table as below

    name identity

    ----------------

    10 abnormal loading Services (International) Ltd

    20 manufacturing of Avon

    The Embassy of Austria 30 commercial

    40 associated British Ports T / a UK dredging

    If I use the query in the form

    Select * from table

    It prints then as above.

    My requirement is need to print as

    ID varchar2 (10) name varchar2 (50)

    ----------------

    10 abnormal loading services

    (International) Ltd

    20 manufacturing of Avon

    The Embassy of Austria 30 commercial

    40 associated British Ports T / A UK

    Dredging

    If the length of the field name is longer than 30 characters I need to print both online (it should not break words, the new line of the next word)

    If the single line of characters less than 30 name.

    Thank you

    Su.GI

    In addition, if you want to break on ID using SQL (if your interface is not doing it for you)...

    SQL > ed
    A written file afiedt.buf

    1 with t (id, name))
    2 Select 10, 'Abnormal loading (International) Ltd Services' of all the double union
    3. Select 20, "Avon Fabrications" dual union all
    4 Select 30, "Austrian Embassy" commercial "dual union all
    5 Select 40, ' T Associated British Ports / dredging A UK' of the double
    6    )
    7  --
    8 - the end of test data
    9  --
    10 select case when ln = 1 then end id, otherwise null as id
    11, name
    12 years of)
    13. select id, flat surface that ln, regexp_substr (name, '.) {} 1.30} (| $) ', 1, level) as the name
    14 t
    15 where regexp_substr (name, '.) {} 1.30} (| $) ', 1, level) is not null
    16 connection by prior id = id
    17 and level<=>
    18 and prior sys_guid() is not null
    (19) x
    20 * x.id order, x.ln
    SQL > /.

    ID NAME
    ---------- ------------------------------------------
    10 abnormal loading services
    (International) Ltd
    20 manufacturing of Avon
    The Embassy of Austria 30 commercial
    40 associated British Ports T / A
    UK dredging

    6 selected lines.

  • Select Max (date) multiple records

    I'm having a problem getting the last value for several gauges.  Here's my query:

    SELECT parameter_id,

    TS_ID,

    value,

    Location_id,

    Date_Time

    Of

    MyTable

    JOIN IN-HOUSE

    mytable2

    WE

    TS_ID = ts_id

    WHERE

    TS_ID LIKE '% - rev.

    unit_id = ("pi")

    the value IS NOT NULL

    Location_id as "xxxx".

    Date_Time =

    (SELECT Max (date_time)

    My TABLE

    GROUP BY parameter_id)

    ;

    Hello

    A scalar subquery, such as the expression to the right of the sign =

    Date_Time = (SELECT...)

    must produce (at most) only 1 row.  If the subquery produces 2 or more lines, it will trigger an error.

    Given that you are using "GROUP BY parameter_id" in the subquery, it will produce a separate line of output for each distinct value of parameter_id.  You can use a correlated subquery at that time, that only looks like a parameter_id, or you can use a subquery IN, like this:

    WHERE (parameter_id, Date_Time) IN

    (

    SELECT parameter_id

    MAX (date_time)

    FROM MyTable

    GROUP BY parameter_id

    )

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002#9362002

  • In Acrobat XI, how can I select and move multiple blocks of text/image at the same time on the same page?

    I work with PDF files generated by student requiring all content in a specific range of margin. Occasional tables and figures are indented or otherwise properly spaced so that the content violates the margin requirement. In Acrobat X, I could use the selection tool to draw a selection rectangle around all text and lines of a table for example and just drag the entire table over a little to meet the requirements without referring the PDF to the author for correction. It did not always work, but quite often that I was able to use it on a daily basis.

    Is it possible to select several (but not ALL) blocks of text and image on a page pieces, so they may be submitted at the same time? If I have to select each text block and lines (or each point and in a chart) and move them each individually, it's going to be a nightmare.

    I have Acrobat XI for Mac and Windows, but tend to use the version of Windows more often.

    People have reported what happens when preview of the output (I think) window is open. So you can close.  have not heard of another fix

  • Reset selection prompt a multiple selection of dashboard in OBIEE 11 g

    Hi all

    I have a line of dash that contains 3 columns that all are configured to enable multi selection and defaults all values.

    In 10g, after choosing the some values from the command prompt then press the Go button, I can manually delete all my selection to reset to the default value (i.e. all values).

    11 g, however, I am not able to find how do. The reset button is not reset to the default value (i.e. all values). «So what I have to do is to use the clear all the "customization", which erases my selection for all guests.»

    Any suggestion on how to do it? Thanks in advance!

    Hi Stewart,

    Hopefully, you know very well Multi Select has renamed as a list of choices to OBIEE 11 g and we will have the option "search...". "instead of the"... "button. "to display the selection in the value box, and this option is at the bottom of the list of choices.

    Thank you
    Oldia...

Maybe you are looking for

  • Brand new Lenovo G780 BSOD

    Dear Lenovo support, Yesterday, I bought my first laptop Lenovo, Lenovo G780 brand new. I installed Windows 7 Ultimate 64 bit. Immediately after installation, guess what, I am Blue Screen of Death and one more like 15 minutes ago. I have only 2 GB of

  • Re-install i-tunes music to iPod

    I had to replace the hard drive. Is it possible to transfer music from iPod on i-tunes on new hard drive, or is it a case of resettlement of 5000 titles in the collection of records again?

  • Windows error 80070490

    I constantly get a message that Windows cannot update. I get the Error Message 80070490. I have done repairs registry and system scans, but that's not enough. I tried the suggestions of resolution on the Microsoft Web site, but still no results. The

  • Will be created after 2 years contain all updates of operating system recovery disks?

    I have vista premium ServicePack one, it crashed on the weekend, so I installed two years ago, when the laptop was brand new on the recovery disks. Then I did a few days of nearly a hundred download updates; I don't want to do that again. So, is it p

  • I lost the function of transparency aero theme windows. How can I get him back?

    I tried to install windows 8.  My video card does not support it.  Because of this action, I lost transparency aero for windows themes.  I was not able to bring him back.