Virtual Channel in PCI 6527

I am using 6527 DIO Card in my application. I would like to use virtual channels in my applicaiton. Can I create a virtual channel for a digital input/output line of a port seperately. It means that can i create 8 virtual channels on a port?
Please give me the suggesstions.

Yes, you can create a virtual channel for each line separately. There are also examples online and that ship with LabVIEW for writing and reading to the 6527 board. Good luck with your application.

Similar Messages

  • Do I really need to create virtual channels in data neighborhood in order to access my pci 6034E?

    Hello all,
    This may sound a little weird, but I would like to know how to configure my 6034E without having to create virtual channels in data neighborhood. Reason being, the data is often lost when users update or search for new instruments in Measurement and Automation.
    I have tried using the AI CONFIG.VI, which gives me all the attributes I need...set channel name, device name, device channel, input mode, sensor/actuator type ect..  When I connect the AI READ.VI the value read back is incorrect. Matter of fact as an exapmle, the power supply could be off and I still read 10 Volts. But when I have created a virtual channel in data neighborhood, the data read back is correct.
    Is there another way to read back data but not have a virtual channel in the data neighborhood?
    Thanking you in advance,
    Demo

    Duplicate post

  • Troubles with virtual channels

    I programm my applications on an PC without any NI-Hardware. My problem ist, that I need virtual channels from the Measurement&Automation-Explorer.
    My first attempt was, to configure some channels without settings for hardware. Normally when I use an DAQ-Constant in my application, I could select the configured channels. In this case I couldn´t.
    My second attempt was, to use two PCI-DIO96 cards. I configured also some channels, but I get the same result. I couldn´t select the configured channels in LabView(6.1)
    Did I need the complete extern hardware, or is there another reason for my problem?
    Best regards
    Robert

    Robert;
    Virtual Channels only make sense when used in conjunction with a DAQ device. If you don't have a DAQ device, Labview won't recognize that Virtual Channel as a valid one.
    Regarding the PCI-DIO96 boards, make sure you installed those properly, before creating the Virtual Channels for it. If they are not installed, you will fall into the same issue as if you don't have a DAQ device on the machine.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • Writing in sensor calibration data to my virtual channels in MAX using Labview.

    System consists of a few pxi6713 cards, a 6527 digital input card and some scxi cards (1520, 1104c, 1125).
    Every 3months or so we run a calibration on the testing stand which uses these cards, and the sensor ranges and physical ranges listed in MAX has to be manually entered each time.
    I am looking for a way to do this automatically.  This may be a problem, but we are using NI-DAQ legacy (perhaps if absolutely necessary we could goto daqmx).
    I have figured out howto read virtual channel information from max correctly, but I have no understanding of trying to write calibration information to the virtual channels.
    Any help is greatly appreciated!
    Thank you!
    jacob

    Hi mak90,
    There are no ways to change the sensor range and physical ranges
    programmatically in Traditional DAQ. Under DAQmx, you have Scaling VIs,
    Calibration VIs, Task VIs that allow you to change various settings in
    MAX programmatically.
    Please let us know if you have any further questions.
    Best regards,
    Nathan Yang
    Applications Engineer
    National Instruments

  • Resistor choose in PCI-6527 card

    I think I need more help for PCI-6527 card.
    Problem 1: In PCI-6527 user manual,page 3-11, last paragraph about the source current. The instrument require digital I/O card can source current 7mA (better10mA) on each pin for activating switch. The switch is TTL(0-1V/3.5-5V)(Which is all information the instrument provided). If I choose the resistor 5K which is recommended in the manual, the source current will be very small(0.3mA) and can not achieved the current for activating switch(10mA). Is my understanding correct or not? If not, how should I choose right resistor value for my current application?
    Problem 2 : for current application, I can use the 5V source board since total current on all channels below 1A. Also I can use gro
    und line of board to connect to DIG- pin for reference line.Is it right?
    Problem 3: Three pins of instrument cable(25 pin sub-D cable) are required to connect to ground line, could I connect these three pins directly to ground line on board or I have to use additional ground lines.
    Thanks
    zhou

    Zhou,
    Answer 1: The formulas for choosing your resistor are there in page 3-11 and 3-12. Your instrument switch is going to be connected to VOUT (DIG+ and DIG-), you have to check your instrument to see if it requires only the 10 mA current for activating or if it requires 5V or if it requires both. In case it requires only 10mA if you perform the formula V=RI, you are going to find that you need a total resistance of 500 ohms, your board already has a 35ohm resistance so you need to connect a 465 ohm resistance in serial but not as RL, in that case RL is just jumper wire (0 ohm) your 465 resistance is in serial connection with the 35R and all of them make VOUT. Just take a note that your switch may be acting as a relay and it may have a coil on it which adds mo
    re resistance, so measure the resistance also of your switch and the sum of 35R + your switch coil resistance + your configurable resistance = 500 ohms, this is in case you need 5V and 10mA in the input of your switch. Check this out because switches may need only to be applied a certain current or a certain voltage but not usually both.
    Answer 2: If you are using the 5V source of the board for DIG+ you have to use the ground reference of the board also for DIG-... if you are using an external 5V source, then you need DIG- to connect to the external ground.
    Answer 3: We don't know what are this three pins for. Your switch must have a + and - inputs, in which you directly connect DIG+ and DIG-, are these GND pins this - inputs ?... if so then yes. If not, then you should what are this GND pins for in your instrument, if they have other functionality most probably you don't have to connect to the board ground, because you are not getting any source from the board, you are only act
    ivating the switches, but I cannot guarantee this because I don't know your instrument.
    Hope this is helpful for you Zhou, good luck!...
    Nestor Sanchez
    Applications Engineer
    National Instruments
    Nestor
    National Instruments

  • How can I creat virtual channel and traditional devices while my card installed,I can not do?

    I installed PCI-6220 card,and I also installed DAQmx and Traditional DAQ in my computer,
    but I cannot creat virtual channel at the last step(attachment:TDAQ6220.jpg).
    Maybe this is the reason I didn't creat traditional NI-DAQ Device,but I can not creat it.
    (see attachment: DAQ Device.jpg,there is no PCI-6220 on list).
    What's wrong?What shall I do?
    Junwei You

    Hello Rainer,
    You can see this attachment(6024E.jpg),the 6024E card appears on Traditional NI-DAQ Devices,
    but I don't know how can it be created(I don't creat it,we buy the whole system together with the machine).
    I tried create a new traditional Device(I want to confirm 6024E), but still I can not see any NI-DAQ device in traditional NI-DAQ device
    lists. See the 'Create New....' interface.How can do it?
    Thanks!
    Attachments:
    6024E.JPG ‏128 KB

  • Error 10403 in Virtual channel Test Panel, but test pannel for device works fine

    I am using a simple 10x probe attatched to the NI5112 PCI card. When the device is tested under the devices and interfaces part of MAX, I get the scope input, when I test the virtual channel for the scope, i get error 10403. How can i resolve this?

    The reason you get that error is that virtual channels are not supported with our high-speed digitizers. Only devices that can be programmed directly with NI-DAQ support virual channels. The legal way to address a high-speed digitizer is by using DAQ::N, where N is the device number in MAX.

  • 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

  • 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

  • Does NI DAQmx driver support PCI 6527 Card

    In my application i am using PCI 6527 Isolated DIO Card. In the examples from LabVIEW 7.0, i refered the following VIs
    1. Write Dig Chan.vi
    2. Write Dig Port.vi
    using DAQ 7 Driver.
    There it gives a list of devices that can run these examples. The list does not contains PCI 6527.
    Can I use DAQmx Example VIs with PCI 6527 Card?
    Please suggest me what driver to use with 6527 Card (Traditional DAQ or DAQmx).

    Hello partners,
    I'm using NI DAQmx 9.7 in a machine hosting a Windows 7, but always when I tried to run the application I got this error.:
    CAN'T LOCATE THE DRIVER ERROR 10240
    Does you have any idea why could I'm facing this problem ? Previously I was using the original driver NI DAQ 7.4.4 (Legacy) in a machine hosting a Windows XP.
    Other point perhaps here isn't the best place to start this new post, but I couldn't find how to post a new topic on the site.. My apologies, i'm waiting for any solution or advice
    Best Regards
    Josias Junior

  • 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

  • Errors in Creating Virtual Channel

    I am creating a IVI switch driver. The driver passes the IVI Specific Driver Suite 2.2 and IVI Switch SFP testing. When I try to create the virtual channel the device is found (created IVI Logical Name and other fileds) but the channels displayed are empty on the Channels/Exclusion tab. What calls are made when creating the virtual channel? I want to create a CVI or TestStand program to simulate the sequence that Switch Executive performs.
    When validating a configuration, are all possible channels used in SetPath loop? As an example, if three channels are defined (Front, rear, & base) but only the front->base, rear->base, base->front and base->rear are valid configurations. Will the vaildate try a front->rear configuration? Will a disconnect call be placed in between each SetPath call?
    Thanks.
    Randy

    Randy,
    Although you cannot step through the NISE engine, you can step through your driver's code and debug its behavior. If you have problems with importing IVI virtual name into switch executive virtual device, then what you need to do is select nimax.exe as the process to debug and run it with the debug version of your driver. If you were using CVI, you can set the external process under Run>>Select External Process. If you're using MSVC, you can choose "open project" and browse to nimax.exe and then add symbols for your driver DLL in the project settings.
    The entry points to monitor (for your particular problem) are the ones that deal with getting the number of channels and getting individual channel names and their attributes. Make sure that your driver returns the correct number of channels and that it also returns all these channel names correctly. If you see no error in switch executive (I.e. it just says OK after you import your ivi logical name), then my guess is that your driver returns 0 for the number of channels.
    Please be aware that switch executive exercises much more than any of the IVI clients you mentioned. Yet it does not go "through the back door" for anything, it (obviously) uses public entry points in the driver to perform what it needs to do.
    So, you can start by setting up debug project in your favourite environment, and check the behavior of the following functions in your driver:
    getting the IVISWTCH_ATTR_CHANNEL_COUNT attribute
    IviSwtch_GetChannelName (with your prefix, of course)
    and see if those work. My guess is that something is not working correctly between these two functions.
    Let me know
    -Serge
    Srdan Zirojevic

  • How can I get properties of global virtual channels using DAQmx?

    I'm using DAQmx with VB6. In my app, I would like to be able to present the user with a list of available predefined channels to select from. I can use DAQmxGetSysGlobalChans to get a list of the channels, but I need a way to sort out which of these channels are defined as inputs, and which are outputs. It would also be nice to be able to query other properties of the virtual channel (for example, the device and physical channel being used). These all seem very simple things, but I haven't found anything like this in the documentation so far.
    Thanks.

    Try using  DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data)DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data).  This will return one of the following types:
    DAQmx_Val_AI
    10100
    Analog input channel.
    DAQmx_Val_AO
    10102
    Analog output channel.
    DAQmx_Val_DI
    10151
    Digital input channel.
    DAQmx_Val_DO
    10153
    Digital output channel.
    DAQmx_Val_CI
    10131
    Counter input channel.
    DAQmx_Val_CO
    10132
    Counter output channel.
    Let me know if this works. 
    Regards,
    L. Allen

  • 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

Maybe you are looking for

  • Tbale Data Not picked from Child Table while configuring Database Adapter

    Hi, we are experiencing problem while picking multiple records from child table while polling from the database. details are, lets say we have one Parent table "Student (Id ,College) and one Child Table (Id,Book,Author) Id is Primary key in Student T

  • Search Query Web Part thumbnail image link broken

    Hello, I have 4 farms spread across the world and I want to pull news from Farm 1 (headquarters) into farm 2, 3, and 4. In SharePoint 2007 I did this with content deployment by pushing only the news site out to the other 3 farms.  However, from readi

  • Use Correspondence Management to manage interactive statement content

    hi, it is possible to use CMSA to manage interactive statement content? in particular, the change of content related to promotions or other marketing content. This is very important for companies that offer monthly promotions and other users easily a

  • Plugin hangs when prompting for network password

    Hi all, Here is a summary of what happens : The plugin hangs after displaying the dialog box for the username / password for the firewall connection. No exception is shown. The applet is signed. This occurs with Plugin 131 and 1.4 Code sample here :

  • How long takes to change the broken iphone?

    My lock button has broken. Do someone know how long, or is it immediately, to change for a new one? (it's still on the guarantee)