PXI-6255 Channel Configuration

The documentation for the PXI-6255 is  VERY unclear (to me) on configuration.  I found the attached sample VI and modified it to test my new card.  The VI runs to make the relay connections (without the ~), but when I add the "~" to disconect, the attached error results.  The error refers to "channels" and I can find NO documentation on how to set up "channels" for this card.  The documentation seems to freely switch syntac between channels and com1 for example?  What am I missing.
Attachments:
Switch Connect-Mult Channel working.vi ‏26 KB
PXI-2566 error.jpg ‏19 KB

Hi Alyeska,
When you say that you modified the example so as to test your new card, I am unclear as to what you are trying to do. What functionality do you want to test? The example that you attached configures the device, makes all the connections on the scan list, waits for those connections to settle, and then disconnects all the connections listed on the scan list returning to the original position, and waits for that to settle.
Now to address your confusion about “channels” and “com”s. Your PXI-2566 switch module is “Single Pull Double Throw (SPDT).” This can be seen in the attached image from the excellent NI-SWITCH Help that installs on your computer with the drivers. While most switch modules have a large number of input channels that can be connected one at a time to one outgoing common or “com” pin, your module has 16 common outputs, each of which has only two inputs. The two input channels are labeled “NC” for normally closed (connected) and “NO” for normally open.
The cause of your error message could be two things. The message states that it does not understand the “~” symbol, since it looks for a channel name (for example: ch0 or com0 or nc0) following the specified device. In order to disconnect, the “~” has to come before the device name, so your scan list would look like “~/RelayDevice/no0->com0.”
However, even when the “~” is in the correct location, you still may have difficulties. This is because DAQmx’s Scan mode is by default “Break Before Make” which means that the hardware will break one connection before making another. The only time the “~” disconnect needs to be used is when “No Action” mode is engaged and connections are not broken unless explicitly told to do so. This example program first connects the channels on the scan list, so when it begins to run through the list and sees the “~” it will throw an error. If you look at the block diagram, the disconnect function follows the connect, so every connection that was made on the scan list is then disconnected for you and the relays will return to their default NC position.
I am unsure of how you want to test your new card, but there are a number of great example programs included in LabVIEW with the switch driver. These can be found by navigating to the Help Menu>> Find Examples>> expanding the Hardware Input and Output folder>>expanding the Modular Instruments folder>> and then looking in the NI-SWITCH file. When you click on an example VI, a brief description will appear in the Information box to the right of the Example Finder. You might want to look at Controlling an Individual Relay.vi, Making Connections on a Switch.vi, and Software Scanning.vi. The other examples are for using switch modules with Digital Multimeters and Thermocouples.
Also, when you find some documentation unclear, I find the NI-SWITCH Help to be very useful. It can be found by going Start>> Programs>> National Instruments>> NI-SWITCH>> Documentation>> NI Switches Help. Here you can see the pinouts for your specific device and find explanations of syntax, scanning, and triggering.
I hope this explanation helps, Mallori M.
Message Edited by mallorim on 01-16-2008 07:28 PM
Mallori M
National Instruments
Global Customer Education Program Mananger
Calculate the time you will save with NI Training
Attachments:
single pull double throw.PNG ‏4 KB

Similar Messages

  • PXI 6255 shows -6.28 volt at all channels

    Dear Sir,
    I have a PXI 6255 modules. The module shows constant -6.28 volt at all channels for any analog input.What is the reason for it? Please reply as soon as possible.
    Thanks.

    Nothing connected? BIAS ! 
    Read the documentation about voltage measurement and bias currents
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Counter value jumps on occasion (PXI 6255)

    I am using a PXI 8108 controller (Windows) with a PXI 6255 AI card. A pulse generator (1 KHz) is incrementing the hardware counter of that AI card in order to have an external reference clock, i. e. having a timestamp for each AI sample value.
    I am reading 1000 AI values from several channels  (together with 1000 counter values) via DAQmx blocks with a higher frequency than the external clock's 1 KHz (e.g. AI Rate 5 KHz-> reading every counter value approx. 5 times). Every now an then I am losing counter values, e. g. counter value 6789 is followed by 6823.
    Shouldn't be the PXI card's counter buffer independant of Window's CPU load? Getting 1000 values from the card buffer, the jumps are even located in the middle of the 1000 values. Maybe there's a problem with atomicity while reading from the buffer, so that I get 500 values from the buffer, (pause), and 500 more values from a later point in time. Is this possible?
    I am sure, I can not blame the digital pulse generator (from Hameg Instruments) for dropping pulses.
    Attachments:
    counter-daq.png ‏20 KB

    Hello,
    If the first scan only places 4 samples in the AI FIFO (2 less than the number of channels requested), then I would expect this loop to run forever in aiex1.cpp (I added some debugging prints to make it easier to see the channels that should be getting returned).
           while ( m < numberOfChannels )
            if(!board->AI_Status_1.readAI_FIFO_Empty_St())
                value = board->AI_FIFO_Data.readRegister ();
                aiPolynomialScaler (&value, &scaled, &scale);
                printf ("Channel %d: %e,\n", m, scaled);
                m++;
        printf("\tEnd of Sample %d\n", n);
    How is the example able to proceed past this loop?
    I have checked the code for FIFO flushes and resets between aiStartOnDemand (board); and when the FIFO gets read.  I have also run the example with 6 channels, this time on Windows.
    To proceed we would need these items:
    1) We would need the exact output (with my added debug prints).
    2) A complete dump of all registers accessed during the example.
    Steven T.

  • B2B outbound Channel Configuration - EMail - Attachment Name and Extension

    Hello,
    I have configured an outbound channel to send the payload (xml) as an attachment. When I leave the "Subject" field in the Channel configuration blank, the attachment file name looks like this,"HostPartnerName_TradingPartnerName_DocumentType" without the file extension. If I supply the "Subject" field with the value, the file name gets replaced with the subject and the file extension still is missing.
    I would like to receive a file name in a format like "batch_b2b.messageId.xml". The property b2b.messageId gets the value from the Mediator. The composite that passes the information like the b2b properties has been made generic to handle different Trading Partners, so for a channel that uses SFTP, I have used the Filename format and supplied the value as "batch_%MSG_ID%.xml". Is there a way I can do the same for Email channel?
    Thanks,
    Venkatesh

    Hi Venkatesh,
    Attachment name can be set from the middleware using below header (as per the mode of integration used) -
    1. For AQ mode of integration, use actionName -
    actionName=ATTACHMENT_NAME:test.txt
    2. For JMS mode of integration use custom JMS header - jca.jms.JMSProperty.ATTACHMENT_NAME to populate the name.
    3. For fabric (default) mode of integration, use b2b.attachmentName header
    Regards,
    Anuj

  • WAAS Port Channel Configuration

    In the recent weeks we got some reports that CIFS writing performance to NETAPP OnTap 7.3 filer was degraded for WAAS accelerated connections.  NETAPP OnTAP 7.2  and native Microsoft filers were running fine. In our Testlab we could correlate this issue with the port channel setup on  our WAAS devices. With round robin (standard setting) the CIFS writing perforamce was poor. By switching  the port channel loadbalancing to src-dst-ip-port the performance was excellent.
    Is there any known best practices recommendation for port channel configuration on WAAS  devices?
    Many thanks in advance, Peter.

    The best practice depends on your network. Most deployments are fine with the default round robin configuration for port channel on the WAE. But I have encountered some installations where the configuration had to be changed in order to avoid out of order packets causing slow performance (like, if there is a firewall between the WAE and the server).
    Sent from Cisco Technical Support iPhone App

  • PXI-6255 voltage limit

    Hello,
    I need your help for a signal acquisition : 12 inputs in 0-16V.
    But the voltage limit for the most of the PXI cards is [-10V;10V]
    I know that some cards like PXIe-4300 can measure more than 16V, but they less cost-effective.
    Can make a differential mesure on a PXI-6255 to measure 0-16V ?
    Thanks for your answer

    The short answer is no.  The reason is that each input, even in differential mode, can only handle a range of -10V to +10V relative to ground.
    What I have done in these situations is use a voltage divider (2 resistors that will divide down the voltage) and then apply a scale in DAQmx to make the scale back to what you expect.  Since you are dealing with a range of 0 to 16V, I would just use 2 100kOhm resistors to divide the voltage in 2.  This would give an input range of 0 to 8V.  Then setup a scale in DAQmx to multiply the read voltage by 2.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • SATA/IDE channel configuration issues

    Ok here's the setup:
    First SATA Channel: Seagate 7200RPM 80GB HDD
    Primary IDE Channel: LG 52x CD-ROM Drive
    Secondary IDE Channel: Western Digital 7200RPM 160GB HDD
    OS: Windows XP SP1
    Mobo: MSI 865PE Neo2-P MS-6728 Version 2
    The bios can detect all drives.
    If I use the recommended On-chip IDE Configuration mode as mentioned on page 3-23 in the manual, Windows XP loads and then goes through the process of detecting the Primary and Secondary IDE channel.
    After detecting it reports that Windows reports that the "Driver is not intended for this platform".
    If you look under Administrative Tools in Control Panel is refuses to detect the PATA drive as well.
    I tried swapping the PATA and the CD drives around but the above applied.
    If I try the following drive configuration and set the bios ATA Configuration to PATA & SATA then all drives are detected in Windows:
    First SATA Channel: Seagate 7200RPM 80GB HDD
    Primary IDE Channel Master: LG 52x CD-ROM Drive
    Primary IDE Channel Slave: Western Digital 7200RPM 160GB HDD
    So what's up? I've tried tinkering around with Legacy/Native, PATA/SATA Only etc and I've run out of ideas.

    I got similiar problem as b52 when I plugin an old P-ATA deathstar drive as master on first primary IDE and a LITE-ON dvd-rom as master on secondary. When I enter Windows the hardware auto wiz starts working and after a little while reports that two devices of type "IDE channel" have "Driver is not intended for this platform". I currently use the settings Danny recommends above. Weird thing is both the deathstar and the LITE-ON drive seem to work great. Of course I want to get rid of the exclamation marks in my device manager though. I read elsewhere drive emulation software could be a culprit, and renaming/deleting atapi.sys could be a problem solver - but not for me it turned out. Anyone got other methods to try out?
    Elsewhere:
    http://www.hardforum.com/showthread.php?s=545275f1f62ce2dd760878210076e500&t=860407

  • Verification of recvr file channel  configuration without sending a message

    Hi,
    We need to test the configuration((such as directory, filename etc.,) of a receiver file channel. As we all know, in the case of sender channel, since it will keep polling the directory configured, if there is any incorrect directory, it will be indicated in the run time work bench, EVEN IF THE MESSAGE HAS NOt GONE THROUGH THE SENDER FILE CHANNEL. However in the case of receiver file channels, UNLESS THE MESSAGE GOES THROUGH THE RECEIVER FILE CHANNEL, we won't be able to identify the incorrect directory configuration.
    Thus, please let me know as to how to identify the incorrect directory configuration in the case of RECEIVER FILE CHANNELS, without sending any message through the same.
    I appreciate your early response.
    Regards
    Venkat

    Hi,
    AFAIK you can check whether the channel is Started/ Stopped (in RWB), check whether correct parameters are filled in the CC (by visual inspection)....but unless and until you test the scenario you may not know whether the CC is properly working or not....somethimes there is a case that you are asked to pay for each and every message that is sent using XI...is this your case?....if not then you can go ahead and test it end-to-end as Dharamveer said.....
    If you get the solution (as you need) then dont forget to share with us
    Regards,
    Abhishek.

  • Receiver mail channel - Configuration of  email id's

    Hi,
    I am using mail package in receiver mail channel. Is there anyway that we can configure the 'To' email id's in the integration directory with mail package being used (either by adding some entries in the  module/identifiers tabs etc., ?
    I don't want to have the email id's to be taken either through mapping or property file etc.,
    I appreciate your reply.
    Regards
    Gopal

    Hi RGopal,
    If the payload is in mail package format, the header information is used for the e-mail. For that make the entries for mail attributes (From, To, Subject).
    Specifications for mail attributes:
    1.On the Parameters tab page of the communication channel you have created newly or the existing one ; select the adapter type Mail.
    2.Then select the Receiver radio button to define the adapter as a receiver adapter.
    &#9675;       Under From, specify the e-mail address from which the message is sent.
    &#9675;       Under To, specify the e-mail address that will receive the message. If you enter more than one address, you must separate them with a semicolon.
                     If you have specified an IMAP server under URL, the message is saved in the specified folder but is not sent to the receiver specified under To.
    &#9675;       Under Cc, specify the other e-mail addresses to which the e-mail is to be sent.
    These addresses are visible to the receiver.
    &#9675;       Under Bcc, specify the other e-mail addresses to which the e-mail is to be sent.
    These addresses are not visible to the receiver.
    &#9675;       Enter the Subject of the e-mail message.
    &#9675;       Specify whether you want to encode the content of the e-mail message. You have the following options:
    &#9632;       None
    &#9632;       Base64 (default value)
    &#9632;       quoted-printable
    &#9675;       If you have selected XIPAYLOAD as the message protocol and you want to forward XI attachments in the e-mail attachments, select Keep Attachments.
    You use the PayloadSwapBean module to swap the application payload with one of the attachments.
    See: PayloadSwapBean
    *Pls: Reward points if helpful*
    Regards,
    Jyoti
    Edited by: Jyoti Acharya on Dec 27, 2007 1:23 PM

  • EDI X12 File Channel Configuration

    Hello B2B Gurus,
    I am trying to configure the following scenario on a single host to simulate trading partner communication using EDI X12 4010 850/810 over File Channels:
    Inbound - 850 PO From RemoteTradingPartner to HostTradingPartner
    I have configured a file delivery channel on the partner configuration screen under the "channels" tab. The channel is named: "RTP_File_Receive_Channel".
    The channel has the following values set:
    Polling Interval: 5
    Folder Name: /home/oracle/b2b/remote/b2b_receive
    Filename Format: %FROM_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%*.dat
    Directory Name Format:
    Minimum Age:
    Archival Directory: /home/oracle/b2b/remote/archived_b2b_receive
    I am dropping a file named RemoteTradingPartner_X12_4010_850.dat into the /home/oracle/b2b/remote/b2b_receive folder but for whatever reason, it is not picking it up and sending it to my SOA composite.
    Should I be configuring a listening channel in the Administration tab instead of a delivery channel on the trading partner agreement? The naming convention and direction of channels is a topic that confuses me no matter how many times I go through this.

    Hello Johnny,
    When Oracle B2B receives a transaction either from internal application (outbound) or from a trading partner (inbound), it first identifies the trading partner and then the transaction set. This combination is then used to identify the agreement.
    What segment/element values within the .dat payload are introspected to lookup the appropriate trading partner agreement? If I specify those values in the filename format, does it override what is inside of the payload? In general, how do filename format, directory name format, and payload contents work together to resolve to the correct TP Agreement? What is the order of precedence when these values are specified in all three locations.The method for identifying the trading partner and transaction varies among transport, exchange and document protocols. If file name format is specified in the channel then Directory name format is ignored. If file name format/directory name format does not give info about transaction set (doc type and doc type revision) then payload is used to identify the document and it's version. It depends upon the type of document standard used that which selection criteria should be used. Generally for xml payloads x-path is used to identify a document and for non-xml payloads either start and end position are evaluated or the position of a particular element/string.
    In short if you give all info for identifying an agreement (From tp, Doc type, doc type revision) in file name format/directory name format, then payload will not be checked for identifying any of these.
    Regards,
    Anuj

  • Regarding SMS Channel Configuration

    Hi All,
             I need to configure SMS Channel in my SAP EP Portal.How do i go about it?.Which SMS Server i need to prefer?.Does SAP Provides any SMS Server?.Plz help me out regarding this,will reward with the Points.
    Thanks and Regards
    Santosh Saraf

    SAP is not providing SMS server as far as I know, but provides infrastructure for such servers (there are many of such servers in commercial world). If you are looking for cheep (free implementation of this infrastructure please consider my and few other people involved into this open source project -- http://comsuite.sourceforge.net
    Kind regards,
      Marcin Zduniak / http://zduniak.com

  • Sender File Communication Channel Configuration

    Hi guys,
    We are trying to develop a file-to-Idoc scenario and we are facing some problems in the configuration of the sender file communication channel as far as the file format is concerned. The file, which is a material master file has the following structure:
    00.00 FileHeader
    30.00 Material n° 1
    30.01 Material n° 1
    30.00 Material n° 2
    30.01 Material n° 2
    30.00 Material n° n
    30.01 Material n° n
    99.00 FileFooter
    Initially, I developed 4 datatypes, FileHeader, Record1, Record2 and FileFooter, and 1 datatype to incorporate all of these, but I faced trouble in 'Recordset Structure' attribute in communication channel, where "FileHeader,1,Record1,,Record2,,FileFooter,1" did not work.
    After that I thought of creating one more datatype, called Record, with 0..* cardinality, that incorporates Record1 and Record2 with 1 cardinality.
    Although I have declared them correctly as "FileHeader,1,Record,*,FileFooter,1" in 'Recordset Structure', I face trouble in the table with the attributes. What shall I use: I have Record1.fieldNames and Record2.fieldNames and fieldFixedLengths, but XI requires Record...
    What you suggest?
    Evaggelos

    Hi,
    I understand your problem....
    I actually didn't look at the key fields...properly..
    You have said that when you had tried taking Record1 and Record2 in your structure you had problems...
    I  think the second way which you are trying would not work..!
    Can you try this..I am not sure if it will work..
    Have your structure as
    MT
    +Record
    ++Header
    ++Record1
    ++Record2
    ++Trailer
    So your Recordset name would be :Record
    RecordsetStructure would be Header,1,Record1,,Record2,,Trailer,1
    and then all the other parameters like fieldNames,fixedFieldLength,keyFieldValue...for Header,Record1,Record2,Trailer
    U might just try out with this
    Regards,
    Manjusha.

  • Receiver HTTP channel configuration

    Experts
    I am doing Proxy to HTTP scenario.
    My receiver had given the HTTP URL whcih looks this : http://10.1XX.X.XXX:6666/IntegrationServices/Test
    In my receiver HTTP communcation channel , Its asking for the following
    Target Host
    Service
    Path Prefix
    Can I fill in target host as : 10.1XX.X.XXX
    service number : 6666
    path prefix as : IntegrationServices/Test
    Can anyone please tell me how to fill the  CC parameters.
    I had referred lot of threads and blogs
    Thanks
    Faheem

    Hi Patrick
    I had checked the blog as per suraj recommendations. It doesn't help.
    Is there any pre settings has to be done for HTTP receiver configuration like defining RFC or any entries in ICM server
    Please throw some light on this. still i am getting the same error.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP client code 400 reason ICM_HTTP_CONNECTION_FAILED</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Thanks
    Faheem

  • PXI-6255 not identified in MAX as DAQmx

    We recently purchased a PXI-8108 controller for use as a spare and I'm having difficulty getting it to play well with our existing hardware and software. The controller we have been using is an older PXI-8106.
    The new controller has Windows 7 where the old had XP, so I had to use more recent versions of PXI Platform Services and MAX, as well as DAQmx. The versions I've installed are: PXI Platform Services 3.0.4, MAX 5.3.1, DAQmx 9.2.2. I can't use more recent version of DAQmx because our we are using LabVIEW 8.5.1 and anything more recent doesn't support that.
    The 6255 is showing up in the device manager under Windows, and the properties show that it is using the same hardware driver (nixsrkw.sys, rev. 1.13.0f4) as we use on the old controller. The 6255 also shows up in MAX, with a device identifier of PXI13::15:INSTR, but not listed as a DAQmx device. So, when I import the MAX settings file, the defined tasks won't run.
    I haven't found any postings in the forum that quite match this scenario. Anyone have any ideas?
    Thanks,
    Mike

    Mike,
    Firstly, I want to let you know that you will have problems using LabVIEW 8.5 with Windows 7.  The oldest version of LabVIEW supported in Win 7 is LabVIEW 2009 SP1:
    http://digital.ni.com/public.nsf/allkb/B972242574D4BB99862575A7007520CB
    About seeing your device in MAX, can you post a screenshot of what it looks like?
    Jon F.
    Applications Engineer
    National Instruments

  • Oracle 11g b2b server JMS Internal Delivery Channel Configuration

    Hi,
    I am using Oracle 11g b2b server configured with ebMS protocol. I have created a JMS internal delivery channel at host trading partner. Now the Inbound message (message from remote trading partner) will be delivered to back-end application through the jms internal delivery channel. Now I wanted to send this message to the another weblogic server domain which is hosted on another box. So where do I give the other weblogic domain details such that the message will be delivered from the host trading partner's b2b server to remote weblogic domain queue?
    Regards,
    Baskaran

    Hi Baskaran,
    As already mentioned by Nitesh, You can Create a Internal JMS Delivery channel and configure the same in your agreement to route the messages to the remote weblogic(domain) JMS queue.
    Remote weblogic domain's ip address and port details can be configured as part of JMS Internal Delivery channel, "Destination Provider" like below,
    eg.
    java.naming.provider.url=t3://<host>:<port>;java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.security.principal=<username>;java.naming.security.credentials=<password>
    In this case the messages directly delivery to the remote JMS queue.
    Regards
    Nandagopal

Maybe you are looking for

  • File Service to IDOC Scenario

    HI , I am trying file service to IDOC scenario and iam getting following error "Unable to convert sender service FilesService_FILE2IDOC to an ALE logical system". Here file has to be read and IDOC has to be posted in SAP system. Sender is not an SAP

  • Driver

    Problem installing on new computer with windows 7 have adobe photoshop elements 4.0 and a dell xps 850--need updated driver

  • How to send a String to a Servlet using a HTTP POST

    Well, I have designed a servlet that receives a HTTP POST, I was testing it using an HTML form to send (using POST) information, now, I have coded a Java App to send it a string, I don't know how to make the servlet recognize that info so it can make

  • Multiple values replacement path

    Hi All, I Have given multiple single values  for business area in selection screen, can i replace wich are enter in selection screen, i created text with replacement path variable on business area but it replacing only one value Any one please sugges

  • Planned activity & actual acitivity

    We are developing a Z-report.could you please help me on how to retrieve the information pertaining to planned activity type like machine hrs . We are able to retrieve the information of actual machine hours. What i understand is that planned machine