Q: Why do "virtual channels" mysteriously disappear?

I am a newbie to Labview 6i and have been encountering a recurring problem.
I have been using the sample VI "Getting Started Analog Input.VI" as a
sample to practice basic techniques by making incremental changes and
observing the results. The first subVI in this block diagram is AI Config.VI
which requires an input "I/O" which tells it which channel to use.
Supposedly, I can simply enter a list such as 0,1,2,3 etc and have this
interpreted as aich0, aich1... of the specified device, but the only way I
have found to get the program to work is to create a "virtual channel" in
Measurement And Automation Explorer. If I do this, I can get then choose the
virtual channel and VI will run.
The problem that I cannot figure
out is that every now and then, all the
virtual channel information is deleted and must be recreated. I can't see
what it is I am doing that causes this to happen, maybe I'm clicking when I
should double click or something, but it sure is frustrating. I was just
running it a minute ago and they were there at the beginning of the session
and at some point just disappeared without ever acutally running a VI.
Any ideas would be greatly appreciated.
Jon Juhlin
[email protected]

Jon;
If you right click at the channel control and select the option named "allow undefined names", you will be able to type in the channel number as well as select the virtual channel.
Hope this helps.
To avoid the virtual channel to be deleted you can choose the option to save the configuration file in MAX. That will save all your channels to one file and everytime you open MAX, or try to access the virtual channels in Labview, the ones you created will be there.
Hope this helps.
Filipe

Similar Messages

  • Anyone know why the Grid View mysteriously disappeared?

    It's not working while in Library Module and when I want to look at file on my camera.
    I haven't upgraded and still on Light Room 3.
    Any insight is appreciated.
    Cheers
    Bill

    Tell us what you do see when you want to be in Grid mode ... or better yet give us screen capture(s). Also please tell us your operating system.

  • Why do we get so many vi's when using "DAQmx Create Virtual Channel.vi​"?

    Hi there,
    Could anyone explain me why we get hundreds of sub-vi's when I use the
    vi "DAQmx Create Virtual Channel"? This can easily be seen by exploring
    the hierarchy of Labview examples such as "Acq&Graph Voltage - Ext
    Clk.vi"???
    This multitude of vi's considerably slows down my computer, especially at loading. Is there any way to get rid off that???
    Thanks in advance for you help!
    Jonas

    Hi,
    the easier you have to program, more subVI´s needed for your kind of application. Because the VI´s from DAQmx are polymorph, so many SubVI´s are included in the VI´s. In traditional DAQ you have several palettes for each kind of measuement method. Analog In, Analog Out, Digital, Counter, ...! In DAQmx you have one VI and that can all.
    But, the performance of you application at runtime is not affected. Of course it takes some time to load, but just at development environment not as an application.
    Figure 3. Polymorphic VIs simplify the NI-DAQmx API.
    Link to Document:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/EE​47B125BB9E053686256FBC0014C384
    Hope this helps.
    Alex
    NI Switzerland

  • Why does labview forget the connections to the virtual channels in MAX?

    I create a bunch of virtual channels in MAX - some with double assignment to a single AI port.
    Context - a digital output controls a MUX to switch the inputs into the AI ports of my USB-6361(BNC) DAQmx; thereby allowing me to double up on the number of AI ports I can access (switching every 5ms).
    I can run the code without any troubles. I have now completed my hardware set up and and am now testing the integration with the code. This is where things become a little unstuck.
    Problem: some ports, over time, start displaying erroneous data that is not correct. It is not until I delete the virtual channel and re-create it in MAX, does everything settle and work. This 'bad' data is seen in the MAX test panels tab and virtual channels tab.
    What is going on - should I bite the bullet and program all port assignments (channels) within my code?
    Am i mistakenly killing a link between MAX and the DAQmx?

    natashw already told you that it's expected behaviour when you leave the analog input open. There are two aspects to this:
    1) The analog input amplifier is a high impedance operation amplifier. It's minimal stray capacitance is high enough that it gets charged through very small leakage currents in the amplifier input stage, but the high input impedance doesn't allow those capacitance to discharge quick enough to stay at a defined voltage. So your input is usually very slowly floating to one of the power supply rails depending what transistor side has a slightly higher leakage.
    2) You only have one analog to digital converter. To get multiple channels there is a multiplexer than connects the different input channels to this single ADC. When the multiplexer switches between from a connected signal to an unconnected signal those stray capacitance at the ADC amplifier input has been charged to a certain voltage from the connected channel. With only the internal impedance of the amplifier to discharge this capacitance after the multiplexer switched to an unconnected input, the ADC will simply see the voltage that the stray capacitance has been charged to.
    Having a low impedance amplifier input would solve that problem but create many more problems that would affect the measurement accuracy significantly.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Why is the input mode greyed out when I try to create a virtual channel for my 1102?

    I have set up a virtual channel for my SCXI-1102, and the input mode is greyed out with it set to "differential". I have already skimmed this forum for answers, and I have checked to verify that the mode slot under the AI tab for my MIO-E series card is set to nonreferenced single-ended mode. I then created a virtual channel with the device slot under the hardware column set to Dev1_SC1_MD1CXI-1102. At this point, as already stated, the input mode goes grey while set to differential. What's going on?

    Hello,
    All outputs from the SCXI module are measured in differential mode. You can still mix differential and single ended measurements (if you use the remaining channels of your daq board).
    The easiest way to mix modes is with virtual channels. All SCXI analog input channels will be differential, while you can make other virtual channels differential or single ended. If you don't want to use virtual channels, you can use AI Hardware Config in LabVIEW to change the mode.
    Hope this helps. Regards,
    John N
    Applications Engineer
    National Instruments

  • Drive Redirection virtual channel hangs when copying a file from server to client over RDP 8.1

    Problem Summary:
    A UTF-8 without BOM Web RoE XML file output from a line of business application will not drag and drop copy nor copy/paste from a Server 2012 R2 RD Session Host running RD Gateway to a Windows 7 Remote Desktop client over an RDP 8.1 connection and the Drive
    Redirection virtual channel hangs.  The same issue affects a test client/server with only Remote Desktop enabled on the server.
    Other files copy with no issue.  See below for more info.
    Environment:
    Server 2012 R2 Standard v6.3.9600 Build 9600
    the production server runs RDS Session Host and RD Gateway roles (on the same server).  BUT,
    the issue can be reproduced on a test machine running this OS with simply Remote Desktop enabled for Remote Administration
    Windows 7 Pro w SP1v6.1.7601 SP1 Build 7601 running updates to support RDP 8.1
    More Information:
    -the file is a UTF-8 w/o BOM (Byte Order Marker) file containing XML data and has a .BLK extension.  It is a Web Record of Employment (RoE) data file exported from the Maestro accounting application.
    -the XML file that does not copy does successfully validate against CRA's validation XML Schema for Web RoE files
    -Video redirection is NOT AFFECTED and continues to work
    -the Drive Redirection virtual channel can be re-established by disconnecting/reconnecting
    -when the copy fails, a file is created on the client and is a similar size to the original.  However, the contents are incomplete.  The file appears blank but CTRL-A shows whitespace
    -we can copy the contents into a file created with Notepad and then that file, which used to copy, will then NOT copy
    -the issue affects another Server 2012 R2 test installation, not just the production server
    -it also affects other client Win7 Pro systems against affected server
    -the issue is uni-directional i.e. copy fails server to client but succeeds client to server
    -I don't notice any event log entries at the time I attempt to copy the file.
    What DOES WORK
    -downgrading to RDP 7.1 on the client WORKS
    -modifying the file > 2 characters -- either changing existing characters or adding characters (CRLFs) WORKS
    -compressing the file WORKS e.g. to a ZIP file
    -copying OTHER files of smaller, same, and larger sizes WORKS
    What DOES NOT WORK?
    -changing the name and/or extension does not work
    -copying and pasting affected content into a text file that used to have different content and did copy before, then does not work
    -Disabling SMB3 and SMB2 does not work
    -modifying TCP auto-tuning does not work
    -disabling WinFW on both client and server does not work
    As noted above, if I modify the affected file to sanitize it's contents, it will work, so it's not much help.  I'm going to try to get a sample file exported that I can upload since I can't give you the original.
    Your help is greatly appreciated!
    Thanks.
    Kevin

    Hi Dharmesh,
    Thanks for your reply!
    The issue does seem to affect multiple users.  I'm not fully clear on whether it's multiple users and the same employee's file, but I suspect so.
    The issue happens with a specific XML file and I've since determined that it seems to affect the exported RoE XML file for one employee (record?) in the software.  Other employees appear to work.
    The biggest issue is that there's limited support from the vendor in this scenario.  Their app is supported on 2012 R2 RDS.
    What I can't quite wrap my head around are
    why does it work in RDP 7.1 but not 8.1?  What differences between the two for drive redirection would have it work in 7.1 and not 8.1?
    when I examine the affected file, it really doesn't appear any different than one that works.  I used Notepad++ and it shows the encoding as the same and there doesn't appear to be any invalid characters in the affected file.  I wondered
    if there was some string of characters that was being misinterpreted by RDP or some other operation and blocked somehow but besides having disabled AV and firewall software on both ends, I'm not sure what else I could change to test that further
    Since it seems to affect only the one employee's XML file AND since modifying that file to change details in order to post it online would then make that file able to be copied, it seems I won't be able to post a sample.  Too bad.
    Kevin

  • Virtual Channel Table (Logic Channel Number) in DCM9900

    Hello everybody,
    I would like to configure the DCM9900 (v. 10.0.02) in order to arrange the position where every channel will be tuned in our STB customers. I've read the manual and it seems that VCT (or LCN in some networks / literature) is not compatible under the DVB standard.
    Is there any way to configure VCT / LCN in DCM9900? Why is it compatible/configurable under ATSC and not in DVB networks?
    (Cable)VCT is very useful for TV network operators as we can configure the position of every TV channel tuned in the customer Set Top Box.
    Could someone gime me some help ? Maybe it's necessary to have ROSA system installed to configure DCM (don't have it).
    Best regards,
    Inaki
    Virtual Channel Table (VCT)
    The CVCT (Cable VCT) and TVCT (Terrestrial VCT) provide information for all virtual channels in a transport stream like: major and minor channel numbers, short channel name, and information for navigation and tuning.

    You don't need to call this function, but your specific driver does. That function is a utility function provided by the IVI engine that allows the specific driver to register all of it's channels with the engine. The engine can then use this information to track per-channel attributes, etc. All of this should happen behind the scenes. You only need to be concerned with it unless you are actually developing a specific driver yourself.
    This is different from the virtual channel name mapping in MAX. That mapping allows you to create aliased names for pre-existing channels. In your case, the IVI engine doesn't think that you have any channels (because apparently none were registered).
    You might try using a different specific driver temporarily just to ma
    ke sure that everything else is working as you'd expect.

  • Daqmx Create Virtual channel timeout

    Why almost a minute and a half to get an error message from daqMX Create Virtual channel VI.
    I need to find a way to have my executable bleep immediately if the underlying drivers are not installed.
    For example, I have LV at home and supposedly have the drivers installed too but no hardware connected.
    Sometimes I run a that uses daq, however when it encounter Creat Virtual Channel VI it appears to hang for a minute and a half before finally giving an error.
    Anyone else been there, done that?
    Thanks

    Thanks for replying D-cubed.
    Actually Im calling create virtual channel in a state machine to set up the data acquisition.
    When using on a machine that has a daq device installed its a piece of cake.  no sweat.
    However, when I am at home I have LabVIEW but possibly either no daq drivers or no daq hardware.
    I believe it may be the second case since I can place a task on the BD so, I will assume the drivers are installed correctly.
    There is just no daq hardware in the system.
    WHen the create virtual channels Vi is called the PC appear to hang because that VI is executing internally (looking for a device I presume).
    The timeout takes 1.5 mins and if not for me waiting the PC would appear to be hung up.
    Finally some 'Mig error' message appear contact Ni about and so on.
    WHat I am trying to do is have my program error out immediately instead of 1.5 mins later that there is no Daq device in the system.
    Thanks again

  • Airport icon mysteriously disappeared?

    About a day or two ago, my airport icon that's always in my taskbar has mysteriously disappeared?! I need help. How on earth do I get it back. And for that matter, how did this happen in the first place?

    The response above tells you how to get it back, but you also wanted to know WHY it went away, didn't you?
    If you hold the command key (formerly known as the Apple key) down while dragging the icons in the menu bar, you can rearrange them. This is a feature of OS X. If you hold the command key and drag the item off of the menu bar... POOF! It disappears.
    My guess is that you were mousing around and selected the Airport menu while inadvertently holding the command key. The dragging action normally used to pull down the menu removed the icon from the menu bar.
    Hopefully your entire question is answered now.

  • Is it possible to display in a front panel indicator the units name (for instance, N "Newtons" or ºC) from a virtual channel that you previously defined using MAX?

    If possible, how can I do it?
    Thanks in advance With LabVIEW 6 it is clear that we can display the DAQ channel name of previously defined virtual channels, so it seems to be possible that we would be able to access to other information defined in MAX as channel units name...
    Thanks

    Yes it is possible.
    Locate the LLB:
    LV folder\vi.lib\daq\dqchnutl.llb
    There you find useful vis to handle virtual channel.
    The Get DAQ ChannelNames.vi return also the channel units

  • How do I save the virtual channel list of a task to a tab-delimi​ted text file

    I have created my data acquisition application which will save the analog inputs of the channels into columns of a text file.  Now I would like to save the names of the virtual channels in the header of the file so that couple months down the road I will have no problem of knowing which column is which.  How do I do it?
    The way I set my application up is that the task is set up in the Measurement and Automation Explorer.  In the LabVIEW program, there is an control I can pick the task I want to use, and the rest of the program will pull the necessary information based on the task chosen.
    Thanks in advance.

    Hi
    You can use a Task node located in Measurement I/O -> NiDAQmx -> Task config-->> Task node to get the devive name of the virtual channel. You can a for loop to get each individual device name and build the array of device name and analog input into one array and then write this to a text file.
    Regards,
    Nitin

  • How do I get "Now Playing" Cover Artwork to show in bottom/left of screen.  This has mysteriously disappeared.  Thank you!

    How do I get "Now Playing" Cover Artwork to show in bottom/left of screen?
    This has mysteriously disappeared.  Thank you!

    Click on the box symbol with an arrowhead at the bottom left of the iTunes window (it's the fourth symbol from the left) to show or hide the artwork window.  Click on the title bar of the artwork window to toggle between "Now playing" and "Selected item".

  • How to make a virtual channel in MAX using DAQmx ?

    I want to measure the CJC temperature on the TBX 1328 ( attached to SCXI 1121). I want to create a virtual channel in MAX using DAQmx. I have right clicked on DAQmx but there is no option for virtual channel. Ther is the option of 'Traditional virtual channel' which i dont want.
    I used the VI to make the virtual channel but i want to knowhow to doit inMAX.
    thanks

    Here are 2 ways that you can create a DAQmx channel that appears in MAX.
    1) In MAX, right click on "Data Neighborhood" and select "Create New...". Then click "NI-DAQmx Global Channel" (or "NI-DAQmx Task" -- a task contains the channel(s) and triggering/timing information) and click "Next". This launches the DAQ Assistant that will guide you in creating the channel or task.
    2) In LV, place a NI-DAQmx Global Channel control on your panel or constant on your diagram. Right click on the control/constant and select "New Channel(DAQ Assistant)..." (Note: You can do the same from the NI-DAQmx Task control/constant to create a NI-DAQmx Task.)
    Deborah

  • External hard drive mysteriously disappeared.

    My external hard drive (Firewire) mysteriously disappeared. I can get it to pop up in Disk Utility, but I can't get it to show on the desktop. I've tried it on a few Mac computers. Do you have any idea what happened?

    That's very strange. I don't think I've heard of DU exhibiting that behavior before.
    I presume the reason you don't want to erase the drive is that there is un-backed-up data on it, and that if you could recover that data you could either reformat (erase) or dispose of the drive.
    You may want to try downloading and using the free demo version of one or more of these data recovery utilities:
    Data Rescue II
    FileSalvage
    VirtualLab
    In each case, the demo will show you what files the full version would be able to recover from the drive. You can then decide whether the files you could recover are valuable enough to justify buying the full version of the utility.

  • I back up my iphone's icalendar to my MacBook. Why have some previous events disappeared in the phone but I can see them on the backup? How do I retrieve?

    I back up my iphone's icalendar to my MacBook. Why have some previous events disappeared in the phone but I can see them on the backup? How do I retrieve?

    Did you back it up to the cloud?

Maybe you are looking for

  • Core Duo + Kensington PilotMouse Bluetooth weirdness

    I just moved up from my old 800mHz iMac to a Core Duo mini last week. I wanted a multi-button bluetooth mouse, so I have the Apple bluetooth keyboard, and the Kensington PilotMouse Bluetooth. The combination work fine together. Tracking is usually sm

  • It works perfectly fine in all wifi networks except for one

    Hi everybody! I have a black macbook from 2007. It works perfectly fine in all wifi networks except for one. It´s a new network, a much faster one they say, that has been installed where I work. It works perfectly fine in my home wifi network and in

  • QueryTasks( ),  NoSuchMethodError

    Hi everyone, I tried to get the assigned tasks for user "oc4jadmin" via remote client (because BPEL Process Manager is running on another machine). BPEL is in my case a developer installation V 10.1.3.1.0 (no complete soa suite installed). The queryT

  • Can you migrate just one file(iPhoto) to a MacBook Pro?

    How do you migrate from a MacAir to. New 13 in MacBook Pro the iPhoto file, everything else came thru Icloud

  • How Credit Card Authorization/Settlement in SAP is handled?

    Hi, Does SAP ECC has any in build credit card authorization mechanism or we have to use third party tool like payment metric's (payment card interface) application for credit card authorization and settlement? From what I read on internet and this fo