Physical channel

hello,
i have a labview 7 and both IN-daq mx & traditional IN-daq. I take a vi from one of my friends. He wrote down the program 4 years ago and my labview can still open it. But in his program, the physical chanels are named as 0,1,2,..(like in attachment named "b") But in my lab we have sc-2345 so i have SCC1Mod2/aio,ai1 &scc1mod1/ai0,ai1.( total 4 channels)
my question is , how can i apply data using the same program? how can i convert his physical channell types (0,1,2..) into mine?
if we can do that, how can we connect it to the aiconfig.vi . I think the wire types does not match
thank you so much
batur
Attachments:
b.vi ‏25 KB

If you have configured everything correctly in Measurment and Automation Explorer you should be able to right click and create constant on the AI Config. This will then give you an array of I/O constants which you will be able to select the configured information form MAX for each channel. Hope this helps.
BJD1613
Lead Test Tools Development Engineer
Philips Respironics
Certified LV Architect / Instructor

Similar Messages

  • 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.

  • 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

  • Save physical channel information in a configuration file and reuse it in another VI

    Dear all,
    I would like to do a pair of VIs. The first VI configures all psychical channels and store the task information (or physical channel name information) in a file and the second VIs can access this file and use the saved information.
    Can anybody show me a good example of this type of application? I've prepare a simple code, but it does not work now. I am not sure if I am using the right functions.
    Attachments:
    Configuration.vi ‏18 KB

    You can use Measurement I/O>>NI-DAQmx>>Advanced>>DAQmx Utilities>>DAQmx Flatten Channel String, and DAQmx Unflatten Channel String.

  • How to get intimation about DAQmx Physical Channel invalid value encounter

    Can anybody tell me that if a DAQmx Control gets value from a configuration file( .ini file ) and the value is invalid (does not exist in the available physical channels list) than how I can be programatically intimated. I couldn't find any property node of DAQmx Physical channel Control which tells about that the current value feeded to the control is invalid.

    Thanks Alan, I have got a better soloution from you in another thread launched by me with title "How to get "Browse list of any DAQmx control in array form". In which u suggested of using DAQmx 8.0, which I have downloaded and used the property node DAQmx-Device>>DO.Lines to get an array of all Physical channels(DO category) of all devices. The value taken from that configuration file is searched in Physical channels array and if no match found than the value is invalid.

  • 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.

  • Filter the pull down menu of physical channels control

    Hello all,
    I need help, I'm desperate!
    I'm trying to create a software recording data from an accelerometer by using a NI USB-9234 device. So in order to do that, I linked a physical channels control to DAQmx create channel. The thing is, I want to display in the pull down menu, only the physical channels attached to the NI device specified above. And besides, I'd like this to be done automaticaly, meaning that no matter what is the name of the device (dev1, dev2, dev3...), the pull down menu will display the four physical channels attached to the specified device.
    Am I clear ?
    I know that by right-clicking on the physical channels control, I can filter it but I can't manage to figure it out how to filter by specifiying a device. Maybe by using property nodes...I don't know.
    If somebody has a solution, that would be much appreciated.
    Thanks a lot

    You can configure IO Name Filtering by choosing the following option in the context menu:
    But you cannot select a certain device type there, but only certain device names (which is a huge difference).
    So the easiest way to accomplish your task is to define a name for your USB-9234 (like MyDevice) and then limit the selection to "MyDevice".
    You have to make sure, that each PC using the application as aware of "MyDevice". This setting is done in MAX (Measurement and Automation Explorer) and can be distributed with your application using the Application Builder (or manual export/import within MAX).
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • 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

  • Duplicate physical channel with virtual channel

    I accidently created more than global virtual channel with one physical channel, for example:
    physical channel  global virtual channel
    a0                       vtc00
    a0                       vtc01
    a0                       vtc02
    My questions are:
    1-How do I change the virtual channel as the following:
    physical channel  global virtual channel
    a0                       vtc00
    a1                       vtc01
    a2                       vtc02
    2-How do I re-name/delete the global virtual channel, when it's not in the task?
    Thanks you for your time, Dylan
    Solved!
    Go to Solution.

    Thanks you Carisa for fast response, but that not the right answer I am looking for. 
    May be I did not make myself clear.  I attached two screenshots for example: On one screenshot, you will see bri00, bri01, bri02, bri03, bri04, bri05, bri06, bri07, bri08, bri50 on the virtual channel tab, however you won't see them display under NI-DAQmx Global Virtual Channel (second screenshot).  On the second screenshot, you only see bri00, bri01, bri02, bri03, bri04, the rest of bris do not display on here like they display on the virtual channel tab. 
    Now I can't create the new global virtual channel under NI-DAQmx Global Virtual Channel with the name bri05, bri06, bri07, bri08, because I will get the conflict name error pop up on the screen.  How can I delete those bris in the virtual channel tab? 
    Thanks again for your time, Dylan
    Attachments:
    virtual-1.png ‏45 KB
    virtual-2.png ‏226 KB

  • Mapping of line/port (Physical Channel constant) to pfi (Terminal Constant)

    Hello all,
    I am using "Dev1/port0/line4" (Physical channel constant) of my PXI-6602 as a digital input.
    Additionally I have set up a counter on that board. I need to arm this counter after the occurrence of an edge on
    "Dev1/port0/line4". But the property node only accepts "Dev1/PFIx" (Terminal Constants) as inputs.
    I try to avoid defining two constants within my program that practically map to the same physical pin.
    What is the best way of converting a "Physical channel" name to a "Terminal Name" ?
    Grüße
    Phili

    Having faced the same problem, I think I can say why there is no mapping.
    Channels are for data aquistion, so actually a DAC, ADC, DO-Driver ...
    Terminals are used for timing (trigger) and internally routed. So a diffrent concept, and a diffrent circuit.
    Actually the same goes if you use analog triggering, you will have a different ADC (I found out because I got only 10-bit on a 18-bit M Series Device).
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • 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

Maybe you are looking for

  • Return all the column values using the F4IF_INT_TABLE_VALUE_REQUEST

    Hi, How to return all the column values using the F4IF_INT_TABLE_VALUE_REQUEST? For example : if the row has 3 columns then after selecting the particular row, the RETURN_TAB internal table should contain all the three column values. Regards, Raghu

  • How can I open a back up from an ipod touch 4g from my Mac

    Well the problem is that my ipod touch 4g stop working and fix it was $440 dolars so I didn't pay it, all my information was lost (what worries me more are the photos from the camera roll). And I need to know if and how can I open a back up of an ipo

  • Sorting albums in folders

    With iPhoto 11 I use to create folder in the source left panel Album and that I drag the event into the folder. Right clicking on the folder name I can sort the folders, but the events inside the folders aren't sorted. Right click the event name into

  • Logic of Recon account

    Hi All, The question has been creeping into my mind since very long and today i wana seek forum suggestion on it. What is the logic that Recon accounts cant be directly posted too. Removing post automatic doesnt  work for them. Please share ideas and

  • Help: Oracle lite 10.3.0.1.0 and symbian 9 s60

    Greetings, I installed the oracle litle server, I have a client installed windows 32, and synchronizes works, the problem is when I want to install a client for symbian, first how to enable the client for Oracle Lite Symbian OS v7 and OS v7/UIQ2.1 in