With the help of StatBlockCalc on channels separated

I use StatBlockCalc on several channels to give me a new channel of all the minima of each channel in my DataSet. The call looks like this

Sun Dat

"Dat is used to set the list of channels when you don't know the number of groups
Dat = "" [1] / CH1_min'-' ["& GroupCount &" ' "] ' / CH1_min'" "

Call StatBlockCalc ("Channel", "1-", Dat)

It works when there is only one channel in each group.  However, I have now 2 channels in each group, and I need to create the new minima channel separately.

Any ideas how I can do a StatBlockCalc on separate channels in an undetermined number of groups?

In collaboration with one of application engineers, we came up with a solution.  Basically, I'm building a chain of the CNo() of each of the channels I want and sent this string to the StatBlockCalc function.  Works like a charm.

DAT = «»
For j = 1 to groupCount
Chnum = ONC ("[" & j & "] / Ch1_min")
If Chnum > 0 Then
DAT = Dat Chnum & & ''
end if
next

Call StatBlockCalc("Channel","1-",Dat) '... StatDirec, RowNoStr, ChnNoStr

DAT = «»
For j = 1 to groupCount
Chnum = ONC ("[" & j & "] / Ch2_min")
If Chnum > 0 Then
DAT = Dat Chnum & & ''
end if
next

Tags: NI Software

Similar Questions

  • With the help of two CAN channels on cRIO with 9853

    I have a cRIO 9014 controller RT and 9112 chassis and a CAN Module 9853.  I used successfully CAN receive and channel CAN Transmit example projects to check the work of material.  Then, I took two screws FPGAS of each project and grouped in a single FPGA VI by copying just the two in the same VI.  I can correctly transmit and receive with the host live

    My goal now is to be able to use the two CAN channels on the module 9853 for transmitting and receiving CAN Messages on each channel.  I like to use in a project in hybrid Mode later, so I think that there is only a single DMA channel available after that Scan Engine takes 2.  Maybe that's why I get an error when I make a copy of everything in the FPGA VI, make a new FIFO and make copies renowned host of screws with different names of variables to match the copied content from FPGA VI.

    Any other ideas on how to proceed would be appreciated.

    Also, I know that CAN1 needs an external power supply, so it is no more a problem.

    Thank you

    John

    I thought about it, I don't know why, but some parts with part 'FPGA to receive channel CAN' in their own lines fixed.  Now CAN receive is as fast as can be, never drop frames or overflowing the FIFO.  He also compiled FPGA Bitfile 30% faster and was about 50% less use of the device.  Weird...

    If you're curious, here's the new VI:

    John

  • With the help of a string of separated by commas as lines

    HT a column in which I store the name separated by commas, I have to show them that the lines in a report...
    Help, please

    Check out this link...

    http://nimishgarg.blogspot.com/2009/12/Oracle-SQL-use-comma-seprated-string-to.html

  • Error-1074135024 with the sequence mode arbitrary two-channel on SMU-5451

    Hello

    I am trying to use both channels on my SMU-5451 and operate in arbitrary sequence mode.

    In the build step start, I get the error-1074135024:

    Possible reasons:
    Invalid value for the parameter or property.

    Attribute values are not similar in the channels or the specified features. Use a unique channel name or feature name to query the value.

    Unfortunately, I have no idea what parameter or property value causes the error.

    Initially, I tried this with my own VI, and I was able to run each channel individually, but could not get them both to operate simultaneously. As an attempt to troubleshooting Finally, I decided to change the example of arbitrary signals Fgen (Dual Channel) (which worked properly), to see if I could get it to work with arbitrary sequences. I still get the same error. I enclose modified VI, because it is quite a bit simpler than what I'm running.

    I'm under Labview 2012.0.1f3 (32-bit) on a Windows 7 Enterprise (64-bit) operating system.

    Thanks for any help you can offer on how to solve this problem!

    Bill

    So with the help of your VI I have figured out how to make it work.

    First of all, your VI I noticed that I should wire the specific channel, I just want to niFgen Create VI waveform, but not in VI of arbitrary sequence niFgen set up. For this I devrais either do not fill in the entrance of the channel, either entry "0.1". This gets rid of the original error message that prompted this post.

    Your VI works, but it seems to be designed to write on only one channel at a time. However, I noticed that if I run it with all the waveforms channel 0, change the waveforms to be on channel 1 and click load & sequence, waveforms will be correctly output channels 0 and 1.

    Finally, I worked on that the trick is to create an arbitrary sequence, so use the arbitrary Create Sequence niFgen and niFgen configuration arbitrary sequence screw, single-channel waveforms. Then run the niFgen Clear VI arbitrary memory, then create another arbitrary sequence for the other channel. After that, run the generation VI niFgen undertake. And everything works fine! I don't know why it is important to have clear memory arbitrary VI in the Middle, but it seems to be essential for this to work properly.

    I downloaded my VI relatively simple test that works properly with this arrangement.

    Thank you very much for your help.

  • With the help of modulated signal pulse width (square wave) to control when a signal is enabled or disable

    With the help of modulated signal pulse width (square wave) to control when a signal is enabled or disable

    Hello all

    I am using a modulated signal to labview created pulse width (square wave) to control when a signal is activated or not.

    Here is my logic and a concrete example:
    (1) the wave source signal is continuous
    (2) use a PWM (square wave) created in labview to control when the signal is enabled or disabled
    (3) if the PWM (amplitude) signal is superior to 0 play signal PWM is not greater than 0 do not play signal.

    I use actually this to the sequence step / pulse several distinct magnetic coils using my audio card (which has several channels of audio output), I have a signal in labview played constantly.  As to compare it to the PWM (square wave) which controls whether or not the signal is played on each separate channel.  That way I can control which coil is on and offshore and in what order they are activated.

    I couldn't find an edge detection for a square wave created in labview, so I tried the limits, but it doesn't seem to work unless I change the phase manually and it only goes 1-1.  I'm just trying to compare the PWM (edges of the square wave) already created by labview / play a signal if the pulse is greater than 0 and it shuts off the signal, if she is less than 0.

    Should I do this another way

    TIA

    A waveform contains an array of values. You must check every value and respond accordingly:

  • With the help of time interleaved sampling (TIS) to get the highest sampling rate of data acquisition card

    I tried enabling to TIS using nodes of property for the appropriate channel and by disabling the TIS for strings, I don't want to use. When I do that, I get the following error:

    niScope read Cluster.vi:1internal software error has occurred in the extended software. Please contact the support of National Instruments.

    Name of the component: nihsdru
    File name: p:\Measurements\highSpeedDigitizers\hsd\driver\trunk\1.10\source\redirection\tHardware.cpp
    Line number: 1038

    State code:-223425

    Any ideas what to do?

    Thank you, but I managed to fix it with the help of a few colleagues.

  • With the help of Photoshop CC on my MacBook Pro (bought a few months ago)... The question I have is that under the filter options, when you select made... There is no option use lighting effects... any suggestions

    With the help of Photoshop CC on my MacBook Pro (bought a few months ago)... The question I have is that under the filter options, when you select made... There is no option use lighting effects... any suggestions?

    Hello

    Please make sure that you work in 8 bits/channel and RGB mode. (Under Image > Mode > Select RGB and 8-bit per channel) lightning effects only works in this mode.

    Also in preferences > Performance > "Use Graphics Processor" must be checked.

    ~ Assani

  • My AirPort Extreme end not implemented with the help of AirPort Utility

    Bought a used AirPort Extreme (Genesis 4) of a person who showed me that he worked at home. When I try to set up as a Wireless extender to my last existing AirPort Extreme, he will not carry out synchronization upward with AirPort Utility. It appears as a new extreme, but get a message 'unexpected error' before or after the name. Have you tried to reset the two while it is powered and turning the as explained in the help.

    When I try to set up as a Wireless extender...

    Gen 4 airport will connect to your existing AirPort Extreme wireless... or... it will connect using wired Ethernet wired, Permanent?

    .. .it will not accomplish the synchronization upward with AirPort Utility.

    Which version of AirPort Utility?  If it's on your Mac... and you don't know what version you have...

    Open AirPort Utility

    Click the AirPort Utility menu in the upper left corner of the screen

    Click on about AirPort Utility

    Report on the version number you see here

    You have an iPhone or a handy iPad that could be used to implement the 4th Gen airport if the problems continue with the help of your Mac?

  • With the help of iPhone 6 s. try to copy the text message with a tap double and get a bubble with icons. How can I copy the message to paste in another?

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    maryml wrote:

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    Press and hold on the text and wait for the copy/more pop up.

  • With the help of Club running on the Nike watch +.

    Hello

    This is something I have tried to work for a while and have not yet been able to find an answer. At the moment I use Nike + management club on my iPhone to follow the tracks that I find that gps is better than just using the application of the workout on my watch. However, something that really bothers me is that I start the race on my phone, but I can't then view my stats while running without having to press on and tap the watch and wait for the application to load, very irritating to race. I want to be able to lift my wrist and live stats are there to watch me, not listening and not get my phone out of my pocket. Surely this is something that can make the original watch?

    As a separate issue with the new app, Nike +, it does not recognize the songs I downloaded on my phone of Apple music in my playlists, then I have to play the separatelay of music through the application of music as opposed to go with Nike +? The ides on how to fix or is this a known problem with the latest Nike + app?

    Hello

    You may find it useful to consult the support resources of Nike and/or contact Nike for assistance with the help of their application:

    More information:

    https://iTunes.Apple.com/us/app/Nike+-run-Club/id387771637?Mt=8

  • With the help of old gear series noon on El Capitan

    I have a Vox Tonelab SE effects audio Board (around 2004), there the old serial midi on the back ports. I hung with the help of a USB MIDI interface cable. While the USB Midi interface to the show in Audio / Midi set upward and also in the profile system for USB port it does not detect the Vox Tonelab so no communication lunch.

    There is a POWERPC application called ToneLabSE SoundEditor which I downloaded and installed in the hope he would install a driver but I guess that this obviously doesn't work on INTEL in any case. Using Wine I can run the PC version, but still no communication via midi.

    Someone at - it ideas, would like to get this Panel communicating effects via MIDI.

    Thank you

    Solved! Using the WINE app I've run the version of the PC of ToneLab SE editor application. So pretty unintuitively by changing the serial midi to USB, SERIAL interface cables that went to the and out on the Tonelab SE. Now of the Se ToneLab editor I can write banks of programs to hardware Tonelab, but unable to empty the banks since the material Tonelab to software. My main desire was to use Expression pedals on the Tonelab as Midi Ableton controllers and some of the switches to the control of the Looper stomp. Now I can do it all. Hooray!

  • With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    Opening was a pro the Pro amateur-oriented or serious app, usually shooting Raw, probably on a digital SLR.

    If that's you then pictures will miss a lot for you.

    If this isn't the case, then opening was probably overkill for your needs.

    If you like the pictures then this is the way to go.

  • Thunderbird will only connect if stop then reopened. (With the help of Mac 10.9.4)

    With the help of Mac 10.9.4
    If I open Thunderbird, I can connect to my e-mail address and download the messages. If I select "Get Mail" once again, Thunderbird crashes and fails to connect to my emails. If I then close Thunderbird and re-open it, I'm able to immediately connect to my mail.

    It seems to have sorted itself after a few days. (Fingers crossed). Until today it worked properly. Will keep an eye on things for the next week and the report does so again.

  • Install OSX 10.11.4 I do cleaning but R command will not work. With the help of USB keyboard so not wifi issues to to worry. Help?

    Install OSX 10.11.4 I do cleaning but R command will not work. With the help of USB keyboard so not wifi issues to to worry. Help?

    Would you like to share why you must do a clean install?

    You can try the recovery of the internet (which will work if your older model has been updated to enable of): hold command + Option + R until you see a progress bar (take a while). It will connect you to the Apple servers. When you see the utility window, choose disk utility to erase your disk and when you're done, choose to reinstall OS X.

    Computers that can be upgraded to use OS X Internet Recovery - Apple Support

    PS: Correction: I think not yours can be updated; in this case, you will need the original installation disks to wipe the drive and reinstall.

  • ow change titles & dates of lots of pictures (like in iPhoto?) With the help of Mac 'Pages' on, 2008 aluminium MacBook running OSX El Capitan 10.11.4

    How to change titles & dates of lots of pictures (like in iPhoto?) With the help of Mac 'Pages' on, 2008 aluminium MacBook running OSX El Capitan 10.11.4

    With the help of Mac 'Pages '.

    A typing mistake?

    If it is and you mean Photos Date of Mac are modified by selecting the photos using the Image menu == > adjust the time and date of order and changes made to the metadata such as keywords, location, etc. are made by selecting the photos and find the info and registering metadata in the Info window

    These are detailed in the help topics of pictures - a good place to look for help on the Photos

    View and add information about the photos

    You can view and add information about your photos. For example, you can see the date and time a photo was taken, the information about the camera that took the photo and badges that indicate the status of the photo. You can assign titles and captions to photos, add or change the location of the photos and change the date and time for them information. You can select multiple photos in an instant and add or change information about them all at once.

    Open pictures for me

    View and add information about the photos

    To view or change information for the photos, you select one or more photos, and then open the information window.

    • Open the Info window: Double-click a photo to view it, and then click the Info button in the toolbar or press on command I.
    • Add or change information: Change the following.
      • Title: Enter a name in the title field.
      • Description: In the Description field, type a caption.
      • Favorite: Click the Favorites button to mark the photo as a favorite. Click the button again to deselect.
      • Keywords: Enter the keywords in the keywords field. When you type, Photos suggest keywords that you have used before. Press enter when you have finished a keyword. To remove a keyword, select it and press DELETE.
      • Faces: Click on and type a name to identify a face. Click on several times, and then drag the identifier of the face different faces to identify many faces in a photo.
      • Location: Enter a location in the location field. When you type, Photos suggest places you can choose. To change a location, you can search a different location or change the location by dragging a PIN on the map. To remove location information, delete it or choose Image > location, then choose Remove location or back to the original location. You cannot assign a location if your computer is not connected to the Internet.

    Show titles, other metadata and badges

    Change the date and time of photo

    You can change the date and time associated with a picture. You can do this if you are traveling to a location in another time zone, and your camera affect your dates photos and periods that are correct for your House, but not the place you visited.

    1. Select the photos you want to edit.
    2. Choose Image > adjust Date and time.
    3. Enter the date and time you want in the modified field.
    4. Click a time zone on the map, if necessary.
    5. Click on adjust.

Maybe you are looking for

  • M300 XP Installation

    Hello I chose to install XP from scratch rather than using the restore CD. The reason is that I need temporarily a dual boot PC. Unfortunately, I was not able to find a driver for USB2 ports and Device Manager is showing a "(USB) Universal Serial Bus

  • I lost my favorites, the module and the other boxes of firefox

    for some reason any where my character is the I lost all the boxes that were beyond little House that takes back you to your home page.So I have no way to enter my tools, bookmarks, modules, copy, paste, etc.I am a money server and am not tottaly in

  • reliability of cult of mac?

    I wonder if someone can tell me if the "cult of mac" is a reliable place to download older Apple software from? Specifically, iWork? I just moved to a "new to me" 2012 my 2006 dying iMac iMac. Running the Mavericks because El Capitan will not support

  • My vi crushes always on the same file

    Hello My vi filled a table inside a loop, and when it ends then it must save table to a file of lvm. My problem is that it always crash on the same file instead of increment of its name as confirured in the Main.vi "registration". simplified "Rempli_

  • Difficulty of IE9

    IE9 will not activate some links, some, it will be?