Labview is no longer recognizing my physical channels. Corrupt subvi?

For some reason, whether the subvi has become corrupted or who knows, my mx create channel VI is no longer recognizing my physical channels. When I run the vi I get a -200099 error which says there may be no physical channel specified. I have the channels set up correctly in mx and they Vi ran fine previously, but now all the sudden..nothing. If I use the Daq assistant I can get the readings I want, which is strange. Anyone had something like this happen?
Tim

Hello Tim,
I'm not sure what is causing your physical channel to no longer be recognized by that DAQmx VI but there are several things we can try to figure out what is going on and possibly resolve the issue.
1) Have you tried using the "DAQmx Create Virtual Channel.vi" in a different program to see if it can properly recognize the physical channel? The DAQ assistant uses this DAQmx VI in its underlying code so I don't suspect that the DAQmx VI itself has become corrupt.
2) Right-click on the DAQ assistant and select "Convert to task name constant". Close the DAQ assistant wizard (you can make any changes in the wizard that you would like) and you should have a task name constant on your block diagram. Right-click on the task name constant and select "Generate Code >> Configuration". This will create a subVI that shows how the DAQ assitant created the virtual channel for the task. Compare your code the configuration code generated from the task name constant and see if there are any differences.
3) If you do think it is a corrupt subVI, reinstalling the DAQ driver support for LabVIEW should overwrite the subVI with a new copy from the installer.
Hopefully we can narrow down what is causing the problem!
Take care,
E.Lee
Eric
DE For Life!

Similar Messages

  • PCI 6281 board does not show up in Labview as having available physical channels

    Hi, I have recently changed computers from a Windows XP machine to a Windows 7 machine.  I am running Labview 8.6 (I realize LabView is not officially supported for Windows 7, but most features seem to work fine).  I also have a PCI - 6281 M series DAQ board.  Although the drivers seem to have installed properly for this card, Labview does not see any available physical channels.  The board shows up in MAX under the PXI heading, and seems to have no conflicts with VISA addressing.  I am not sure if the board should be there, as is there no PXI bus in this setup.  I can't see the physical channels with any NI software including DAQ assistant in the main program, or Signals Express.  Any advice would be appreciated.

    DAQmx is version 8.7.2.  Also, I installed the card prior to the drivers, I will try removing the card and replacing it.  I seem to have isolated the problem - my old computer had the card showing up under the heading NI-DAQmx devices, where on the new computer it shows up under in the PXI heading in the measurement and automation explorer.  I'm still not sure how to fix it though. 

  • Physical channel delete from labview

    Hi ,,,i have one doubt,,consider i have Two  Daqmx Channel Selection list controller for only one daq in Frontpanel,suppose i select AI0 for one measurement from one controller .then how to remove the AI1 in the Second Daqmx selection list controller in the fronpanel by using programaticcaly..
    is anybody tell help to me

    Hi
    I have not had such a requirement before, as I had mostly used combo boxes, tables or trees for channel configuration settings.
    In your case, I can suggest something as in the attached image.
    Hope it meets your requirement. I would like to know if there is any other simpler or better method to achieve this.
    Attachments:
    Physical Channel.JPG ‏116 KB

  • MAX: how to create a Calculated Channel based on two physical channels?

    Good morning,
    I need to configure some tasks in MAX with Virtual Channels that are calculations based on physical channels. I saw this article : http://digital.ni.com/public.nsf/allkb/1BFCE6FAD5B3944986256D67006DF7EC but cannot see the equivalent in the newest versions of MAX (V5.1).
    As an example I am already acquiring the physical channels Ch1 and Ch2 and I want to build a virtual channel Ch3=E+(A.Ch1+B)/(C.Ch2+D). A,B,C,D,E are constant values. I would then like to integrate Ch3 in a task together with other physical channels that I am acquiring.
    Could you direct me to this function?
    Thanks for your answer.
    Christophe

    Hello Christophe,
    With the newer versions of NI DAQmx and NI MAX there was a choice made to go from the relatively limited VI Logger options to a more extensive form of configurable applications.
    For this purpose (and others) NI Signal Express was created, which allows you to configure applications with a limited amount of programming.
    To do similar (and more things) then you were used to do with VI Logger you can use NI SignalExpress
    http://www.ni.com/white-paper/5825/en/
    http://www.ni.com/white-paper/5827/en/
    This specific VI logger functionality for the creation of ""virtual channels" (step 5 to 10) through VI Logger Tasks (directly from inside NI MAX) however does no longer exist.
    This also more clearly seperates your Configuration Tools (like NI MAX) from your actual applications made with LabVIEW or SignalExpress.
    Would using NI SignalExpress be an option for you?
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Deploying VIs to the RT causes the value in the Physical Channels of one of the VIs to change to an incorrect value. Why?

    Hi all.  I've been registered to the forum for a couple of years, but this my first post.  I'll try to give as much info as I can.
    NIPXIe-1082 chassis
    slot 1: PXIe-8133 Embedded Controller
    slot 2-3: PXIe-6363 X-Series Multifunction DAQ
    slot 4: TB-4353 32-Ch. Thermocouple
    slot 5: PXI-4496 Analog Inputs 16-ch
    (The second 6363 in slot 3 is a recent addition causing the others to move to higher slot numbers.)
    Windows 7
    LabVIEW 2011
    This code is still being developed to run a test stand, but its based on code from a previous test stand that is being modified for the new one.  There are three VIs that are opened and then deployed to the RT.  On the Front Panel of one of the VIs is a DAQmx Physical Channel control.  The control points to slot 5, but when I deploy the VIs, the control changes to point to slot 3.  None of the three VIs have been run yet.  I can manually "Reinitialize to Default Value" to get the control to point to slot 5 again, but I shouldn't have to.
    I realize that there is a lot I still don't know about NI hardware and LabVIEW.  This just seems like it should be a really simple solution and I'll probably have one of those DUH moments when I get told the answer.  I'll try to answer whatever questions for more information that I can.  Thanks in advance.
    -Psiber_Space

    Yes, it is defaulted to slot 5.  After it changes I can Reinitialize to Default to bring it back.
    Two things that I've tried during the week.  I've deleted the Physical Channel and then recreated it, but it continued to change upon deployment.  Then I simply disconnected the Physical Channel, moved it to an out-of-the-way location on the Block Diagram and then created a new Physical Channel.  The old Physical Channel is still changing upon deployment, but the new one stays intact.  It seems that as long as the old one isn't deleted, this workaround should work.  Except that the problem now seems to be spreading to the other controls on the same VI.
    Just today I upgraded from 2011 to 2011 SP1, but the problem is still there.  After the upgrade, I tried recreating the LabVIEW project from scratch, but that didn't seem to work either.
    I'm going to try contacting NI directly, but if anyone else has any ideas, feel free to continue posting.

  • USB devices all of a sudden no longer recognized in windows 7

    Hi,
    I am using a HP Pavilion Simline s5550nl edition with windows 7 home premium (64-bit) since 1.5 years. Never had any problems until 3 days ago. Since 3 days suddenly some new devices, already plugged-in devices and previously used devices are no longer recognized (USB-device not recognized-error after plug-in).
    I used an USB-mouse, USB-keyboard, Smartcard-reader, Sony Story 1.5TB External HDD, USB WebCam. They al worked fine.
    3 Days ago I bought a WD Elements 2 TB External HDD. After plugging in, it was not recognized at first. Replugging it in it was recognized, but trying to open the drive in Explorer, it gave a not-formatted-error (while the disk should have been pre-formatted for Windows 7). However, i tried to format the disk, but it could not reach it any more. After rebooting the system the WD elements HDD gave the USB-device-not-recognized-error, using all other USB-ports didn't change that. In fact my Sony External HDD was no longer reachable either. Unplugging and replugging it in gave the same USB-device-not-recognized-error. Trying previously flawless working USB-devices all gave the same USB-device-not-recognized-errors (USB-flash disk 4GB, External HDD 2.5inch 160GB, USB-/card reader HUB, iPhone).
    I then tried to connect my Sony and WD external HDD on my other computer with windows XP SP3. They were recognized within seconds and working fine (also the WD elements External HDD indeed turned out to be pre-formatted).
    Strangely enough my USB-mouse, USB-keyboard and smartcard-reader kept being recognized at plug-in. Furthermore, my printers (connected over LAN) and NAS (connected over LAN) were usable without any problem. I did not encounter any other problems in functionality of windows. I then thought it might be a corrupted general USB-driver for mass-storage or something, so I started to google this problem. Things I have done so far (before each step I unplugged all USB-devices, rebooted and reconnected the devices):
    - Turning computer off, unplug power-cable for 2 minutes, reboot.
    - Updating BIOS to version 6.04 (was running version 6.02).
    - Uninstalling all USB-devices/mainhubs etc in devicemanagement, automatic reinstallation at restart.
    - Try installing newer USB-drivers for mainhubs, messages the installed drivers are already the latest.
    - Uninstalling all 'hidden' USB-devices.
    - Trying to go back to configuration of 1 day ago (maximum i could go back), resulted in an error that  the file might be corrupted.
    - Turning computer off, unplug power-cable overnight, reboot.
    - Running HP-systemdiagnostics: all passed.
    - Running Norman anti-virus scan (latest update): no infection.
    - Again uninstalling all USB-devices/mainhubs etc, automatic reinstallation at restart.
    I also noticed that during the night before this malfunction appeared (so actually several hours), on january 20th, an automated microsoft critical update was installed (some anti-spyware definition update). I am now thinking it might still be a driver-problem of some sort of general USB-mass storage driver or due to this microsoft update or maybe some clever virus.
    I no ordered a Recovery disk (never had to use one, so did not jet own one), to recover windows and if that doesn't help reinstall it. However I hope that anyone can bring up a solution that I am overlooking?
    D. Berks

    OK, meanwhile I found that only uninstalling the USB2-driver enables the USB-ports again. Uninstalling it makes al devices recognizable, whil reintsalling it immediately makes all USB-devices unrecognizable.
    I tried updating the driver to the latest version, deleting it (after reboot an automated reinstall is triggered), but nothing helps. As if soething that stays in the system makes USB2 to corrupt USB-channeling or something.
    I strongly believe that it has something to do with the windows-update, but I can nowhere as a question about it to microsoft (will cost 70 euro's!).
    Does anybody knows what this could be? Or better: knows of a solution?
    Tanks,
    D. Berks

  • Why can't I get a Physical Channel to show up?

    I have a USB-6008 and LabVIEW 7.0. When I try and use the provided examples I can't seem to change the Physical Channel. When I click on the drop down menu I get the Browse... option. Then when I click on Browse... I get a blank window. It looks like there should be some sort of a menu but there isn't.

    Check out this KB.
    -Alan A.

  • Problem with DAQmx Physical Channel control

    Dear LabVIEW community!
    I have installed LabVIEW, v13.0f02, 32-bit on my PC. The problem, which I face, is that DAQmx Physical Channel controls, which are used in VIs inside the LV projects, sometimes don't show me the list of DAQ devices - I can't expand the list at all. I push the button to expand the list, but nothing helps.
    But when I create VIs outside the project, and put there DAQmx Physical Channel control - everything works well.
    Note: devices are simulated via MAX.
    Is it some kind of bug in 2013 vesrion of LabVIEW? Because while using LV 2012 I didn't have such headache.
    The only thing that helps now - is to restart PC (laptop) several times; b/c restart of LV doesn't help.
    Can anyone suggest, what it can be, and how to fix this problem?
    Thank you very much in advance!

    Thank you for your answer!
    The point is, that this bug is independent from the code. DAQmx Physical Channel controls don't work even when I'm trying to use NI examples - for instance, Strain - Continuous Input.vi; Voltage - Continuous Input.vi, etc.
    I have such simulated via MAX devices: NI USB-9213, NI USB-9201, NI cDAQ-9172 with NI 9217, and 4 NI PXIe-4331 modules.
    Also, what I have noticed - front panel doesn't visualized fully (I send you the screenshot). When I'm moving mouse pointer over it, those part, which were under the mouse pointer, became clearly seen. And when I minimize, and then restor FP, it becomes fully clear visible.
    And also, this story happens when LV project is open. If I close opened projects, and open only single VIs, everything works smooth.
    Thank you very much, I hope, that this information will be useful to solve this problem.
    Attachments:
    Screen 1.PNG ‏87 KB
    Screen 2.PNG ‏107 KB
    Screen 3.PNG ‏129 KB

  • How to get available physical channels by DAQmx in VIs?

    I can get available DAQ devices by calling DAQmx System property. What should I do if I want to get all available physical channels in my VI?
    My NI DAQ version is 7.3, and my LabVIEW version is LabVIEW Professional 7.1.
    Thanks!

    There really isn't a great way to do this. I've attached a zip file with a couple of VIs that might give you a an idea or two about how you might want to go about it. Hope one of these helps!
    -Alan A.
    Attachments:
    Chanel Info.zip ‏23 KB

  • How to configure physical channel using DAQmx block(remote PXI6733)

    I am trying to run the example in labview that use DAQmx. But I find I can't find the physical channel by browser or using DAQ assisstant. It reports "No supported device found". My PXI6733 is on a controller and communicate with host computer by TCP/IP. Could I use DAQmx in such environment? What I should do to find the physical channel?

    Braver,
    The NI 6733 is not yet support by NI-DAQmx. Thus, you will need to use Traditional NI-DAQ to program this device until this support is added. I would suggest that you examine the following Traditional NI-DAQ examples:
    Examples >> Hardware Input and Output >> Traditional DAQ >> Analog Output
    Good luck with your application.
    Spencer S.

  • DAQmx physical channel constant error

    Hi all,
    I am trying to get the labview 10.0 working in opensuse 11.4. I installed the components and all of them seem to be working fine.
    The PCI card is also detected by labview. When I tpe lsdaq on the command line. I get the following output
    Detecting National Instruments DAQ Devices
    Found the following DAQ Devices:
    NI 6025E:    "Dev1"    (PXI8::15::INSTR)
    But when entering "Dev1/ai1" or "Dev1/ai0:3" in the DAQmx physical channel constant I get an error saying invalid channel name. How do I get rid of this error?
    Chiran
    Solved!
    Go to Solution.

    Hey Justin,
    Thanks for your reply.
    I am working with labview 10.0.
    I installed DAQmx 8.0.2 but it did not help. DAQmx is not ideally meant for labview 10.0  and probably that is the reason why it does not work.
    The installation also does not seem to go smoothly since it looks for support files from labview 8.6 and previous version which do not exist. I have attached the messages after installation of DAQmx.
    Let me know if you find some way out.
    Thanks,
    Chiran
    Attachments:
    DAQ_inst.txt ‏5 KB

  • Extract device from physical channel

    As always I want to do something absolutely trivial and am running into all sorts of issues
    I define (through a control) a physical channel that I want to take data on. I want to be able to programmatically reset the device the channel is on. i.e. i don't want someone to have to open up the code and change the device on the reset vi if necessary. Even if there is only one device physically connected, you can’t guarantee the device will be Dev1, because Labview keeps a history of devices that have been plugged in. The obvious solution – extract the device name from the physical channel control which contains the channel(s) you have selcted. Can I find a trivial way to do it, NO!  There is a property node called device but it does not (despite its name) return the device you have selected along with the physical channel.  There are convoluted ways of doing this, but i'm hoping there is some easy way. Suggestions
    Solved!
    Go to Solution.

    I think this might be the "trivial" way you're looking for: some string pattern matching and a simple
    regular expression to extract the device name prefix from a physical channel name.
    -Kevin P

  • Testing without physical channel

    Hi,
    I am developing a Labview VI to control a DC motor.
    I am using DAQmx and I will use the timing block and the create channel one.
    I would like to know if I could test the VI without having the physical channel like with a pulse generator (square waveform).
    Thank you very much,
    Alexander

    An encoder will generate voltage pulses and is linked to the acquisition card.
    I am developing the program but I don't have the encoder with me.
    If I link the square waveform to the "Create channel" block from DAQmx, it won't link.
    It will link if I wire the physical channel, witch is not with me.
    Thank you,
    Alexander 

  • DAQmx physical channel error message

    Hi,
    I am new to Labview but I managed to create a new analogue voltage input task in Measurement and Automation Explorer. I am using DAQmx create virtual channel VI but  I am getting an error message saying that "required input physical channel is not wired". Any idea why I am getting this error message. Also what is the difference between using DAQmx Assistant and using VI's like DAQmx create virtual channel, DAQmx timing etc.Any help is appreciated.
    Thanks
    Duran
    Attachments:
    error2.JPG ‏171 KB

    The first VI 'Create Virtual Cannel' has an input called physical channel. This needs an input. Right click on the terminal and select Create>Constant. Then you can select the channel (something like Dev1/ai0).
    To your 2nd Q: The assistant is a fast way to configure your measurement. You can later also convert it to the VIs you use now. Using the VIs gives you full programmatically control of the task. (The meaningful phrases are 'configure' and 'full programmatically').
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Physical channel constant and indexing

    Hi people,
    I need to associate an input channel to a certain output channel. Of course, that led me to the idea of a hash table and as Labview doesn;t have such a structure defined, I thought of using a case structure.
    Now a bit of discussion about the Physical Channel constant- I am to add some of them there from which DAQ reads their values. You know the sintax ev1/ai0, Dev1/ai1...
    Labview seems to index them according to the order they are introduced in the Physical channel, so one can manipulate them by extracting from the complex signal the array indexed 0, indexed 1, ...respectively.
    My purpose in the end , though, is to associate Dev1/ai0, Dev1/ai1(and not the channel's index)...  with some certain numbers into a somewhat hastable.
    So the question is whether I can extract the string or symbol information of individual Dev1/ai0, Dev1/ai1,... out of their associated index or from somewhere else...
    Can one of you envisage some solution?
    Thanks a lot,
    Dana

    Hi Mike,
    Thank you very much for the solution. Yes, this is the right way.
    I'd come up with another complication.
    What if the name of the channel is not available-can I first extract it from the index of the individual signal that I extracted from the complex one?
    I made some comments in the picture , it's part of my actual application. Could I have your opinion on that? I placed an icon if the DAQmx channel propery - is this an answer to the question I posed? I cannot link some things in my reasoning, maybe you can help.
    Kind regards,
    Dana
    Attachments:
    channel name.JPG ‏153 KB

Maybe you are looking for

  • Photo import not working

    In iPhoto attaching a camera to my Mac by USB started up the program with a window opening to select photos to import.  Everything worked smoothly. Now the new Photo appears not to work importing photos.  My Mac sees the camera's SD card and shows it

  • Shortcut for selecting multiple files within folders

    I'm archiving a load of work on to CD and deleting the files off of my server but keeping the folders on there for reference. Currently, I am having to SHIFT + click / COMMAND + click &drag to select these files and it is taking me forever. Is there

  • Cannot install CS4. GETTING SICK OF THIS!!

    Everytime I attempt to run the CS4 Installer, I get the following message. "Cannot install CS4 components." Adobe Drive CS4 x64 Error: Error 1603. Error 1402.Could not open key: UNKNOWN\Components\11FF4F95178A94E459DEFF6F264BBB17\4984543AA44108D46B50

  • Jax-rpc WebServices

    I've built a test webservices with NetBeans 5.0 on Sun AS8.2, and the ws works fine from Java clients and Windows client (developed in Delphi). When I register the WebServices WSDL in APEX the wizard works and the registration procedure go to end wit

  • Stopping a program

    I want to use a stop button to end a loop, and preferably have it sitting dormant, until switched... Is there anyway that I can do this, so that as soon as it is pressed, it will be recognized and exit the loop? Alternatively, how do I make it the la