Bug in LV6 AI sample channel, sample channels?

Hi,
I have some problems using the DAQ functions AI sample channel / sample
channels. I can't define the channels I want to scan. If I use the
channel numbers, for example 0:4, the right channes are read in, but the
defined scaling does not work. If I use the channel names, I can only
define one channel. There's no array acceptet to define more than one
channel.
Any ideas?
Regards
Martin
[See first answer for additional information]

Martin,
I run into this all the time when teaching the LabVIEW courses.
Although you can select the channel names you have created from the drop down menu, it only allows you to select one. What you need to do is manually type in the additional names (with a comma separating each name). In order to do this, make sure you have right mouse clicked on the control and Allow Multiple Names is checked.
Hope this helps.
--Eldon
PS. You have probably noticed, but you can't combine the names and the numbers, i.e. 0,1,temp,3 will give you an error.

Similar Messages

  • Issue (aka bug):  File compatibility and alpha channels

    When I enable file compatibility mode on photoshop (so that previews and thumbnails show up), the thumbnail and preview will be wrong when there's an alpha channel in the channel palette. Specifically, the thumbnail will be masked by the top-most alpha channel in the channel palette. Consequently, there is sort of a work-around--if you create a plain white alpha channel and make sure it's the top-most alpha channel in the palette, then the preview and thumbnail come out fine. Luckily, this requires negligible extra memory.
    If there's no alpha channel or I don't save alpha channels, the preview/thumbnail looks fine.
    In spite of the work-around, a fix would be nice. It'd also be nice if there was a way to have a preview/thumbnails in Finder without the large memory penalty of compatibility mode.
    Bart

    Yes, everything in Bridge works great. However, the search function in Bridge is SLOW and a bit flaky (same problem on the Windows side as well) so I like to use spotlight instead for searching. Additionally, I like to use iPhoto to create collections of images that will contain photoshop files as well as others.
    For now, it is workable for me to just use compatibility mode in photoshop and make sure all images with alpha channels have an all-white alpha channel at the top of the stack. The file size penalty is tolerable for now. If Apple ever fixes things on their end, then it's a simple script to convert my psd files back again.
    Bart

  • Bug in Sun code sample... throwing an exception from a static variable decl

    I got this line from a Sun tutorial (on logging):
    private static FileHandler fh = new FileHandler("mylog.txt");
    Declared in a class as a variable. The compiler (1.4) warns that an IOException must be thrown or caught, and refuses to compile this line. I thought I could program Java (been at it for 4 years) until now, and I realize that I don't know what to do. How do you catch an exception thrown outside of a method? Is this really such a hard case, or am I stupidly missing something obvious?
    Everlasting gratitude to the kind person who can solve my quandry.
    (Code sample taken from http://java.sun.com/j2se/1.4.1/docs/guide/util/logging/overview.html#2.3)

    You can do this:
    private static FileHandler fh;
    static
       try
          fh = new FileHandler("mylog.txt");
       } catch (IOException e)
          //Handle the exception
    }I don't think there's anyway of handling exceptions outside the scope of a function.
    Regards,
    Nille

  • Bug Appeal: LV6 activeX with Excel; Error -2147319784

    At Thu, 16 Nov 2000 14:55:00
    "Dominic Lavoie" wrote:
    <-2147319784 Old format or invalid type library.
    Dominic and others
    This is an old bug in LabVIEW that I have been fighting
    with for several years. The problem (as I have seen it) is that
    LabVIEW for some reason on some PC's suddenly becomes unable to read
    from the (NT-) registry that Excel is installed as an
    available ActiveX component on the machine. In my case the
    Excel8.olb file.
    Under earlier verion of LabVIEW no error messages
    was generated, but you could see the problem when entering
    the list over ActiveX classes, Type library. Suddenly the Excel
    would be gone from this list, and it will not come back no matter
    how you try to install, reinstall or reconfigure the Excel (or Office)
    system. (And the Regsvr32 program does not handle OLB files.)
    The only way I have heard to fix it, is to reformat the
    harddisk and install the OS and everything fresh. But you might
    see the problem coming back again.
    There might be a possibility that this bug is not NI's, but one
    in the OS. When I use other programs to View/Edit the registry,
    these programs have no problems of detecting the Excel library.
    So I believe it is a LabVIEW bug !
    When working with Excel and ActiveX with this problem
    meant that you had to manually browse to the OLB file each time you
    would want to work with it, or you would sometimes get messed up
    the wires and VI's working against the Excel library.
    Now, under LabVIEW 6i, this situation creates the error message
    -2147319784, and the problem suddenly seems much bigger.
    I have reported this bug two month ago to NI, together with some
    other people that has seen the same problem. So far NI has not
    been able to locate the problem in detail or done anything with it,
    as far as I have been informed.
    This has been a very frustrating experience for me, because there are
    many other features under 6i that I would like to use right away.
    But since I am working a lot with Excel as a data format from LabVIEW,
    I cannot proceed with 6i before they have broken this bug.
    So now I would like the LabVIEW community to help me push NI
    a little in their effort to debug this one.
    All questions of course assuming that you have installed Excel
    on your PC.
    Could as many as possible out there check out if,
    when testing the ActiveX/Excel examples;
    A) under 6i; do you get the Error -2147319784 ? (YES or NO)
    B) under 5.1.1 or earlier; can you run the example Write Table to XL.vi ?
    (YES or NO)
    C) if B=NO, can you locate the Excel library in the ActiveX class list ?
    (YES or NO)
    D) Where in the world are you located (country) ?
    (Some has speculated that this bug might be connected to a problem
    with different OS versions in different parts of the world.)
    E) What version of Excel are you using ?
    F) What OS are you running ?
    If you can't do both A and B/C, send me the one you can.
    Please report your results directly to me.
    DO NOT REPLY TO THIS LIST. I will send a
    summary after a couple of weeks, to let you know
    the results. And also if NI seems to make any progress here.
    best regards
    Martin Plassen

    "[email protected]" wrote in message
    news:[email protected]...
    > Martin, I'm not sure how to reply directly to you. (I can't find your
    > email address or anything.) I may be experiencing a very similar
    > problem. I am trying to generate Excel reports using LabVIEW 6.0
    > under a Windows 2000 OS. Under Win95 in LabVIEW 4 I had no problem
    > but I recently updated. Now I can't even open Excel using the NI
    > distributed LabVIEW 6i Excel toolkits from ni.com. When I execute the
    > Open Excel vi I get a Windows error message, "Labview.exe has
    > generated errors and will be closed by windows. An error log is being
    > created." Could this be the same problem dominic was having under WIN
    > NT?
    dmbillings
    It seems NI has been so kind as to remove the fix on this problem
    from their Knowledgebase. Well, I dug up some old e-mails on the subject,
    and here's one you should look through. According to NI this problem
    should have been fixed under LV 6, so I really hope this is not what you are
    facing...
    Martin
    Good news for all of you,
    we have a bug-fix that seems to do the trick.
    Here's the recipe , with my words:
    Do You have the bug ?
    You can confirm that the bug is there, by opening a new file in LabVIEW,
    in the diagram, insert an Automation Open.VI, right-click on it,
    Select ActiveX class, Browse, and check the Type Library list.
    You should not see the Microsoft Excel5 and 8 library in the list,
    if the bug is there.
    As I have suspected for a long time, the whole bug was related to
    how LabVIEW read the registry at startup to locate all ActiveX
    components on the machine.
    Here's the fix to try out;
    1. Open the RegEdit program
    2. Under HKEY_CLASSES_ROOT locate the TypeLib
    3. Locate the Excel-key
    On my machine this is {00020813-0000-0000-C000-000000000046}
    (You will find it on top part, I think, not necessary to browse long
    down.)
    4. There are two base keys there, named "1.0" and "1.2".
    Under the "1.0"-key, right-click and create new key, name it "0"
    (zero).
    5. Under the new "0"-key, create a new key kalled "win32".
    6. Under the "1.0"-"9"-"win32" key you will find the link to the
    Excel5-library on the machine, copy this link into the key you created
    under pt 5.)
    On my machine this is "C:\Program Files\Microsoft
    Office\Office\XL5EN32.OLB".
    That's all. Exit RegEdit.
    Afterwards, check again that the Microsoft Excel5 and 8 libraries
    is on the LabVIEW list mentioned above. After restarting LabVIEW of
    course. It is not necessary to restart the PC.
    Attached you wil find two gifs showing how this should look
    in RegEdit before and after the described operation.
    Good luck
    PS: hacking around is the registry are do be done with
    caution. The wrong actions here could have large consequences.
    The two attached pictures should help you out,
    but if you feel uncomfortable by working with the registry,
    try to hook on to some hacker around that has been there before.
    As I understand it, this is the reason that NI asked me also not to
    give this info directly to the List-server. So please don't do it
    you either. I plan to put the word out about the fix, not with these
    details, but with a reference to the NI Knowledgebase that soon will
    have this info.
    You are welcome to send me a conformation that you see the
    fix is working, or worst case, not.
    Martin

  • DAQmx Create Virtual Channel AI Temp TC Deg F Bug

    Found a bug in DAQmx Create Virtual Channel AI Temp TC Deg F when using a cDaq-9174 with a NI 9213 Analog Inpout module.  When I change from Deg C to Deg F I do not get the correct temperature.  In Deg C I read ambient temp of 21.84 Deg C Vs. when I select Deg F I read 18.33 Deg F.   When I use the DaqMX Assistant the asssitant returns the correct values.  Is this a know bug on the 9213 driver?  What is the fix?
    Solved!
    Go to Solution.
    Attachments:
    Read one AI Temp Channel in C or F.vi ‏13 KB

    Thank You - Found it here too

  • Spot Channels in CS6 wont import into Indesign and Incompatable with CS5

    File imports into Indesign but without spot channels.
    File will not open in Photoshop CS5
    By changing the spot color to Pantone Solid and resaving, I was able to open in Photoshop CS5, however the channel still did not import into Indesign CS5.
    I resaved the file from CS5 and the file imported correctly into Indesign.
    Windows 7 Home Premium 32
    AMD Phenom 9850 Quad-Core 2.5GHz
    4Gb RAM

    You didn't use Pantone Solid, you most likely used Pantone+ Solid (which is a new book).
    If you want to open that in Photoshop CS5, you'll need to copy the new book to CS5.
    InDesign - they had several bugs relating to spot color channels, which they should be fixing.
    But they too may need the new color book data.

  • How to get rid of prompts in Sample Editor ?

    Hi everybody !
    Question : Is it possible to edit in sample editor without prompts ? I just want to delete, delete, delete...
    God bless this forum.

    Thank U, Phillip !
    The problem is that it just doesn't do anything in my
    case...
    A BUG ? I reinstalled Logic, and had no success.
    Did anybody encounter same bug ?
    This is not a bug. In the Sample editor,
    if you just hit the delete key, you will always
    get a dialog box. BUT if you use the
    key command
    "control>delete",
    "no dialog box"!
    a definite time saver. There are so many key
    commands that it can be a little overwhelming.
    Just check them out sometime. You might
    find something you would use alot.

  • Import Photoshop Spot channels as Overprint

    Hi,
    I've had a few issues with this recently, which has led me here... When you have a Photoshop file with a Spot channel, it works in Photoshop as expected...
    The spot channel Overprints the rest of the image (well, the CMYK remains unchanged). This is accross the whole image, Solid areas and transparent areas.
    But when it's imported into ID it knocks out all the areas which have transparency.
    Could it remain Overprint by default, and it be up to me to mask the knock outs within Photoshop?
    OR have a similar option to Object Layer Options which allows control over Photoshops Spot channels?
    Asking for a bit much there?!
    Cheers
    Tom

    You didn't use Pantone Solid, you most likely used Pantone+ Solid (which is a new book).
    If you want to open that in Photoshop CS5, you'll need to copy the new book to CS5.
    InDesign - they had several bugs relating to spot color channels, which they should be fixing.
    But they too may need the new color book data.

  • Why the ScrollDemo sample can not be debugged in Eclipse?

    Hi, All,
    I am an newer of the Swing/JFC. When I debugged the ScrollDemo in Eclipse 3.0.2, it always reported an exception at setRowHeaderView(...). But it could run perfectly. So I am confused. Who can tell me whether it is a bug of Eclipse or a bug of the ScrollDemo sample?
    Thanks,
    Terry Nee

    The debug window displays:
    Thread [DestroyJavaVM] (Running)
    Thread [AWT-Shutdown] (Running)
    Thread [AWT-Windows] (Running)
    Thread [AWT-EventQueue-0] (Suspended (exception ArrayIndexOutOfBoundsException))
         JViewport(Container).getComponent(int) line: not available
         JViewport.getView() line: not available [local variables unavailable]
         JViewport.getViewPosition() line: not available [local variables unavailable]
         MetalScrollPaneUI(BasicScrollPaneUI).updateColumnHeader(PropertyChangeEvent) line: not available
         BasicScrollPaneUI$Handler.scrollPanePropertyChange(PropertyChangeEvent) line: not available
         BasicScrollPaneUI$Handler.propertyChange(PropertyChangeEvent) line: not available
         PropertyChangeSupport.firePropertyChange(PropertyChangeEvent) line: not available
         PropertyChangeSupport.firePropertyChange(String, Object, Object) line: not available
         JScrollPane(Component).firePropertyChange(String, Object, Object) line: not available
         JScrollPane.setColumnHeader(JViewport) line: not available
         JScrollPane.setColumnHeaderView(Component) line: not available
         ScrollDemo.<init>() line: 55
         ScrollDemo.createAndShowGUI() line: 114
         ScrollDemo.access$0() line: 105
         ScrollDemo$1.run() line: 128
         InvocationEvent.dispatch() line: not available [local variables unavailable]
         EventQueue.dispatchEvent(AWTEvent) line: not available
         EventDispatchThread.pumpOneEventForHierarchy(int, Component) line: not available
         EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
         EventDispatchThread.pumpEvents(int, Conditional) line: not available
         EventDispatchThread.pumpEvents(Conditional) line: not available
         EventDispatchThread.run() line: not available [local variables unavailable]
    Thread [Java2D Disposer] (Running)

  • FPGA Sampling probe display error

    In LabView 2014F1, I discovered a very disturbing bug.  Take a sampling probe window I've been working with in order to ferret out issues with an FPGA sub-vi:
    Scrolling left and right using the mouse results in changes to signal alignment! Which one is correct?  It's difficult to know...
    Re-running the simulation (DEN based using a CSV file as a vector input) without touching the probe window results in a identically aligned signal set to the original window (But signals still shift vertically which is highly irritating)
    This should be considered a critical bug given that the behavior is unpredictable and results in incorrect signal display. The probe window is critical to debugging FPGA code in LV2014 and if it can’t be trusted to display actual data relationships, it is entirely useless. It should never have made it into the production release of LabView FPGA in this condition.

    xl600
    I understand your frustration, in order to be able to report this bug, we need to be able to reproduce the error. I have tried zomming in and out and moving the scroll in the Sampling Probe Watch Window in my computer (2014 FPGA Module), but the lines do not lose alignment.
    I was wondering if you could post a zip file with a simplified version of your code, that behaves as you describe, and the steps you follow to reproduce the issue in that code, so we can see the same behavior in our side?
    WenR

  • DAQmx channel browsing problem in exe

    Hi guys, 
    I created a project and added "Cont Acq&Graph Voltage-To File(Binary).vi" example in Labview 8.6. Then I tried to build an exe file using the default options. This is the result as you can see from the screenshot. I've tried this with several examples, result is always the same. If I run the source code,everything works fine. The problem is with .exe only.
    Can anyone please tell me how to solve this problem? Is it another bug or I am too sleepy?I need to use this "DAQmx Create Virtual Channel" vi in my application. Any help is appreciated. 
    Thanks in advance.
    ilter
    Attachments:
    error.jpg ‏57 KB

    Dear Jeff,
    I've read your reply and checked the block diagram again after having a long sleep. :-) As you said, the channels I create are deployed when I build the exe. But this is not what I need. I need the "browse dialog" to appear when I click the "browse...".
    As I mentioned before, when I run the .vi file, it works fine, but it doesn't when I run the .exe file,instead it shows that error message as you can see from the previous attachment. I am attaching block diagram of NI's example for your reference. I think there is nothing wrong with the example. It is either some settings I am missing, or another bug as seen with CFP channel.
    Thank you for your reply.
    ilter
    Attachments:
    block_diagram.jpg ‏113 KB
    error.jpg ‏57 KB

  • Bugs in Apple iBooks 5.0.1: PDF support & remaining pages

    Bugs in Apple iBooks 5.0.1:
    1) Adobe Acrobat PDF file format support:
    With iOS 5.0.1 I am still faced with severe Acrobat PDF file format incompatibility problems with the Apple iBooks app.
    Pictures in PDF documents partially disappear, characters are unreadable, smeared. This makes iBook unusable, as long as Apple does not fully support the Adobe PDF file format specification!
    When do we get this update from Apple?
    2) Remaining pages in chapter calculation:
    Apple iBooks does not correctly calculate the amount of remaining pages in the book chapter, in the footer area of iBooks. Just check it with recent S.Jobs book.
    This needs to be fixed in iBooks as well.

    Just other users are reading here, to report bugs best use the feedback channels:
    http://www.apple.com/feedback/

  • Is this a bug? Time Pitch Machine Changes Gain Levels

    Logic Pro 9.1.4, macpro dual quad 2.93mhz, osx 10.6.8
    i'm altering the 'speed' of some of my 88.2khz aif files by a very small amount using Time and Pitch Machine, in Classic and Free modes ( -1.3% / -22cents apprx)
    but to my surprise i noticed that the levels of the file dramatically drops after a process.
    i expected some minr changes as its altering the length very slightly - but in the process i'm losing a great deal of level.
    eg: one original file that as un-normalised has a gain of 56.41% ( - 4.94dBu aprx), has dropped after the pitch change to 27.66% (-11.16dB) !
    thats a major loss of levels, and looks to be half of the original.
    can somebody explain if this is a fault?

    Well, the 44.1 test is just a test, you don't have to destructively convert your 88.2 files, just use 44.1 converted copies. I do agree that the drop in gain seems too much. It could well be that it is a bug related to the sample rate, so that's why I proposed the test. As for fidelity, you really do not loose much (if at all, audibly) when going from 88.2 to 44.1. Going from 24 bits to 16 bits at 88.2 will have a much greater (negative) impact then going from 88.2 to 44.1 at 24 bits.
    24/44.1 is much better than 16/88.2.
    Simple rule: if you can't hear the difference (test it blind! using ABXer http://emptymusic.com/software/ABXer.html
    (not sure if it is SnowLeopard compatible though... my Intel Mac is unavailable right now, typing from my old PPS G4 on Leopard)
    And, if you simply leave your original 88.2 files intact (use copies), you can experiment and listen without discarding your original highest resolution recordings.

  • Bug when installing WindowsUpdate KB2962123

    After installing Windows Update KB2962123 on a Windows 8.1 x64 machine, is not possible anymore to install or update any AIR application. It seems to affect all AIR versions above 3.7.

    Could you please open a new bug report on this over at https://bugbase.adobe.com?  When adding the bug, please include some sample code or a sample application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others effected can add their comments and votes. I'll also follow up internally.

  • Event.DEACTIVATE + IE7 scrollbar bug?

    clicking IE7's scrollbar seems to call anything in Flash
    that's listening for Event.DEACTIVATE.
    Or is that what the DEACTIVATE event is for?

    I'm not seeing anything jump out at me.  What version of Android are you using?  Is there anything special/different about the links?  I'd go ahead and open a new bug report on this over at bugbase.adobe.com.  When adding the bug, please include some sample code or an application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others affected can add their comments and votes.

Maybe you are looking for

  • Help! Question about Java Server Pages

    Hi everybody! I'm new to Java, and I wonder if anybody could help me with this: I need to know the "extension" of this file (I don't physically have the file, I have only its contents!): </GX> <GX ID=Beetle> <BR> Thank you for choosing <GX TYPE=cell

  • Organizing some photos for use on iPad

    I have thousands of pictures in iPhoto. I have an iPad that I would like to display 200 - 300 of my favorite photos on. How can I select these photos for syncing in iTunes without moving the photos from their current event? I started to create an eve

  • Upgrade from 4.6c to ECC 5.0

    Hi Guys, Are there any issues from upgradation of 4.6c to ECC 5.0, In areas of SD,SM,VC... Please let me know if there are any changes in table structures or you have come across any, there are a lot of customised transactions involved in this upgrad

  • Bridge CC is changing color photos to B&W automaticly.

    For some reason Bridge has started changing my color raw images to B&W as soon as i view them in Bridge. I haven't changed any settings it just started on its own the other night.

  • Occasionaly my FCP does not save on exit, is it just me?

    On some occasions varies, fcp does not save on exit, it just goes. Other times its polite and says , wanna save ya changes mate? Yes there has been changes made cos on re open the stuff I done has gone! I do try and save manually as often as I can le