DAQmx and SCXI-1160 with 'DAQmx switch Open Relays.vi '.

Hello

I use DAQmx to pass the baton on a map of SPDT 16 SCXI-1160. When I run the 'DAQmx switch Open Relays.vi' with the entry "ch0/SC1Mod1 / ' I think the relay normally open position 'NO '. But this is not the case, the relay is in the position of the NC. Here are the steps I do a simple VI.

1. define the topology of the 'SC1Mod1' to '16/1160-inverter.

2. call the 'DAQmx switch Open Relays.vi' with the string "/ SC1Mod1/ch0.

3. then I take a physical measurement, with a multimeter on the SCXI-1324 terminal block and the relay is in position "NC".

4. If I run the "DAQmx get relay switch Position" he's back "Open"!

Is this the good behavior, and if so can someone explain the logic behind it.

Thanks in advance,

Michel

Hey Michael,

Sorry, I didn't know that you were actually able to control the relay and you receive just the reverse logic. To answer your question, on the SCXI-1160 module, there are three connections for each channel: COM, NO pine and pine of NC code. Reset, COM is connected to the spindle of the NC. When you issue a command to OPEN channel 0, COM will stay connected to the NC pin, even if the software indicates now that the PIN is open. When you issue a command NARROW-gauge 0, COM will be now connected to pin number and not on the spindle of the NC.

A better way to think of it, is to focus only on the relationship between COM and no. pine. When you send a BLANKET order, this connection between COM and no. will be open. When you send a CLOSE command, the connection between COM and no. will be closed. Consult this manual for a visualization of how this switch is set up: http://www.ni.com/pdf/manuals/320513b.pdf. Refer to page 2-9 and 2-14 of this manual for pinout.

-Nathan H

Tags: NI Hardware

Similar Questions

  • SCXI-1160 with 'DAQmx switches Open Relays.vi' list of syntax of relay.

    Hello

    I re - write a request for a RT PXI controller that handles of many SCXI-1160 relay cards. We want to abandon traditional DAQ to DAQmx. I don't have the controller with me and I would like to know the syntax to use in the list of relays for the 'DAQmx switches Open Relays.vi". I want to use this VI as a command "several relays. I did a lot of research without success.

    I need the syntax that take into account several chassis, several cards, relay and individual relay range.

    Any help?

    Thanks in advance.

    Michel

    Hello Michel,

    Sorry for this confusion.

    You can find some general examples for switches of programming under help > find examples in LabVIEW.  I would go to the output material & > DAQmx > switches and check out some examples below to see if any programs already exist for your goals.

    As for your specific question, at the beginning of each program, you must DAQmx switch topology Set and Reset.  This allows the users to define the topology of the switch for each individual switch card in a chassis.  A good community it shows a simple, you will find a complete example of using these two screws, we discussed here.

    Finally, the SCXI-1160 is an electromechanical lock change, so in the case of a power outtage, the switch will retain its State.  However, switching on, all default relay to their States normally connected.

    Thank you!

    Lisa

  • HP Pavilion 17-e186nr: SSD HARD drive and optical drive with HDD switch

    I have a
    HP Pavilion 17-computer e186nr laptop running Windows 8.1
    Product model: http://support.hp.com/nz-en/product/HP-Pavilion-17-e100-Notebook-PC-series/5401229/model/6617177/pro...

    Processor: AMD A10 - 5750 M APU with graphics Radeon (TM) HD

    CD-ROM: hp DVD a Beltway. DU8A5SH SATA CdRom

    I have 2 questions about my laptop which I couldn't find answers to on the HP product model page or the Device Manager in Windows

    1 > I know it's still backward compatible for best performance on my SSD, I want to know if my laptop supports SATA III - 600 GB/s of speed?

    2 > I buy a caddy optical Bay for my current 2.5 "SATA HDD, what is the size of the optical drive on my laptop (12.3 or 9.5) mm?

    @Neoplasm

    Hello

    To answer our questions:

    (1) the laptop must support SATA III 6 Gb/s transfer rate.

    (2) it is not made on the replacement of the optical drive with a HARD drive dad. Where this caddy is available from?

  • On Mac Book Pro, how can I select and delete spam with it opening?

    On Mac Book Pro, how can I select and delete spam with on their opening?

    Go to the junk mail folder in the Mail sidebar. Place the cursor in the message window and press command + A to select all of the messages in the window. Click on the trash in the toolbar or CTRL - RIGHT click and select the Recycle Bin on the shortcut menu.

  • How to synchronize the start of IT and relaxation the Scan list (DAQmx Switch)

    Hello

    I want to measure samples of N to the AI0 of Council NI PXI 4461. The measurement starts on a rising edge of a digital triggering provided to the PFI0 of the same Board. The measure is configured with samples of N/2 pretrigged. So far, everything is under control...

    Using an NI PXI 2567 Board, the signal applied at the entrance the 4461 (AI0) switches between a V2 and V1 signal. I would like to synchronize the switch between the two signals with the trigger signal applied to the input of the PFI0 Governing Council 4461. In order to obtain samples of N/2 of V1 and V2 samples N/2. Synchronization of 1 to 5 ms would suffice!

    My question is how to synchronize the start of acquisition of AI pretrigged of 4461 with the switch control given by the Council of 2567?

    Thank you in advance for your help...

    PS: the configuration of the system is:

    -LabView 8.5

    -Chassis PXI-1044

    PXI-4461 on slot 2

    Module 4-slot PXI-2567

    Hi Frederic,.

    I came back to this recently and used the following examples to run the desired synchronization.

    PXI-4461: Acq & graph tension-Int Clk - dig Start & Ref .vi

    Samples per channel = 1000

    Rate (Hz) = 10000.00

    Start the trigger Source = / [name of the instrument DAQmx] / PXI_Trig0

    Onboard start = fall

    Reference Source Trigger = DAQmx Device Name] / PXI_Trig0

    Reference edge = fall

    Trigger samples = Variable (100, 500, 900)

    PXI-2567: Switch Scaning-SW Trigger.vi

    Advance the output terminal full = / [name of the instrument DAQmx] / PXI_Trig0

    Scan list = / [name of the instrument DAQmx] / ch0-> com0.

    Scan list = / [name of the instrument DAQmx] / ch1-> com1;

    Hardware configuration:

    The PXI-2567 module controls an external relay that switches between the voltage of 5 V on ch0 and ch1 0 V.

    The PXI-4461 connects to the COM of the external relay and therefore reads 5V when ch0 is connected; 0 v when ch1 is connected.

    Procedure: The above examples are used in the following procedure.

    1. run the PXI-4461 VI.  A start trigger (falling edge) is necessary to start collecting samples before firing.

    2. launch the module, PXI - 2567 VI.  When ch0 is initially (and immediately) on com0, a trigger is sent to PXI_Trig0.  The PXI-4461 will begin to acquire samples before firing.

    3. - click on the "Connect to the next" button on the front of the PXI - 2567 VI module.  This sends a trigger to entry software for the PXI-2567 module and the transitions of the scan for ch1-> com1 list.  Once the PXI-2567 module remains (debounced), advanced complete relaxation is sent on PXI_Trig0 for the PXI-4461.  The PXI-4461 will begin to acquire samples after outbreak.

    Note: Instead of the trigger of the software entry, an external input trigger can be used (e.g. PXI_Trig1).

    Results:

    > Before instant release of samples = 100

    Delay is caused by the time of actuation of external relay.

    > Before instant release of samples = 500

    Delay is caused by the time of actuation of external relay.

    > Before instant release of samples = 900

    Delay is caused by the time of actuation of external relay.

    I hope that the attached screws and the explanation above helps you and/or other customers who have this problem.

    Best regards

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • Handshaking DMM with multiple switching devices - DAQmx error

    Hello.
    I am trying to create a loop of the handshake with DMM (PXI-4071), SWITCH (PXI-2569) and MUX (PXI-2575). The three instruments are in segment 2 chassis PXI-1045 (locations, 8, 9 and 10) and I use the ways of PXI trigger in the triggers of the route.
    I followed the article NOR 'Multimodule Scanning with National Instruments switches' - I modified the example NI SWITCH "niSwitchDMMSwitchHandshaking" to set up another SWITCH, but when I tried to run the example, I got an error:

    0xbffa6b9a - no lines recorded could be found between the device in the road.
    (screenshot pop up is in the attachment). It is the function of niSwitch_InitiateScan to the second switch that returned an error.

    PIX trigger change has no effect.
    I tried the CVI and LabVIEW examples with the same result.
    I even tried to use two 2575 MUXes - same result.

    Can someone tell me what I am doing wrong?

    Hi Pavel,

    I checked that the component that controls the routing of the TTL for the PXI is included in NOR-DMM 3.0.2 (latest version as of 06/14/2010).  NOR-DMM 3.0.1 contains an older version of the TTL routing code and will therefore place several comprehensive lines scanning advanced on the same trigger.

    Unfortunately, the component which controls TTL routing is one of the constituent elements of the software installed OR lower, and thus we do not expose it to the user.  For that to work, we would need to uninstall almost all the software components of NOR, which is a major undertaking.  Here's what I recommend instead:

    For now, we will Garland triggers one switch to another.  This will allow us to start development in OR-Switch; as soon as OR distributes a program, you simply change the triggers as they all point to the same TTL line.  This will allow switches to operate in parallel rather than in series, and the passage of the switch of your project can run faster.

    If we have to absolutely exploit the switches at the same time, I would recommend either uninstall all software of OR or get a machine with a fresh install of XP and then install not newer than 8.9.5, OR DMM 3.0.1 DAQmx software and NI - Switch3.8.

    As I mentioned earlier, NEITHER is aware of breaking backward compatibility and we are committed to reintroduce the old features in a future release of the pilot.

    Keep this thread bookmark and post back in a month or two and I'll let you know if we have any updates.

    Have a great day!

  • I just switched to a Nikon D80 with a Nikon D90 and I use Photoshop 4 and bridge. I can't open the NEF (raw) images off bridge. How can I get the camera raw dialog screen which came to my D-80?

    I just switched to a Nikon D80 with a Nikon D90 and I use Photoshop 4 and bridge. I can't open the NEF (raw) images off bridge. How can I get the camera raw dialog screen which came to my D-80?

    Devices supported by Adobe Camera Raw

    First of all, the D90 was supported in Camera Raw 5.1.

    Open Photoshop and click on Photoshop (Mac) or help (Win) > Plug-ins > Camera Raw to see what version you use.

    Photoshop CS4 comes with Camera Raw 5.0.

    Try to update Camera Raw in Photoshop to 5.7 via help > updates.

    If this does not work, try to manually edit Camera Raw

    Adobe - Photoshop: for Windows: Camera Raw 5.7 update

    Adobe - Photoshop: for Macintosh: Camera Raw 5.7 update

  • I use the option on the Web page to open something and end up with empty new tab.

    I'm on a web page and there is an option to open or scan another page available. I press the button or the highlighted option. It shows me so it transfers data and transferred me to a new tab, but when he made the new page has nothing about it. There is no option pop up allowing me to activate the scripts so that I find myself with nothing. An example is on orange.fr. He asks if I want to see my Bill (Bill) I press on (see my Bill) it seems to load a new page and the transfer of information but the new page opens and it is empty. There is no option to allow scripts.

    What is a PDF (Adobe Reader) or a normal web page?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • How is it that a computer which works very well with a direct Ethernet connection won't work with a switch, however any other computer using the same port, cable, ect, and so on, can?

    Switch issues. Help, please.

    How is it that a computer which works very well with a direct Ethernet connection won't work with a switch, however any other computer using the same port, cable, ect, and so on, can? We already checked the firewall as a question, that it was not, and now, we are puzzled.

    Well, I know that the issue is long-term... believe me, it's a long, but as they say, the devil is in the details. Anywho, the question is, my grandfather has a HP laptop, which for two years has been able to run through a Linksys switch to his router and connect its printers to his laptop. About two months ago it suddenly doesn't work like that. Now, it works fine if it plugs directly into the router/Ethernet. My uncle suggested that the switch was bad, but after testing the same port, cable and all, the switch worked well for him. ' GRAMPS really needs this answered, but someone else, it is called can not understand and now I, in turn, ask you all for what you can offer. Here are the ideas that we have already discredited.

    -Switch bad: as above, is that this particular laptop, even under identical conditions, the works of my uncle very well.
    -Bad NIC: debunked through the fact we connected to the computer directly to the router and it worked fine.
    -Bad configuration of the firewall: we have disabled the firewall (please do not notice, he wasn't the smartest idea, we already know) and even if she recorded the switch exists, the internet is always triggered when you are connected with the switch.

    Thanks in advance for any assistance that you can provide and Merry Christmas to you all.

    It would be useful to consult the results of the ipconfig/all command both when it is connected to the switch and when it is connected directly to the router.  In addition, what is the model of the switch?

    To save the manual copy and the new hits of the ipconfig/all command output-

    First connect through switch.
    Open a command prompt window (start > run > cmd > OK)
    Type the following lines in the black command prompt window and press ENTER after each line

    echo "Connected via the button" > "% UserProfile%\Desktop\ipinfo.txt".
    ipconfig/all > "% UserProfile%\Desktop\ipinfo.txt".

    Now connect directly to the router, type the following lines in the command prompt window and press ENTER after each line

    echo "Connected to the router" > "% UserProfile%\Desktop\ipinfo.txt".
    ipconfig/all > "% UserProfile%\Desktop\ipinfo.txt".
    Notepad '% UserProfile%\Desktop\ipinfo.txt '.
    output

    Copy the contents of the Notepad window in your response (if you use the laptop when it is connected directly to the router) or close the Notepad window, and then copy ipinfo.txt of the laptop to the Gramps in a USB FlashDrive you can connect to any computer allows you to answer.

    You can delete ipinfo.txt on the desktop when you are finished.

  • Get the message "This Mac cannot connect to iCloud due to a problem with my Id, open Preferences to solve iCloud iCloud" after entering my password which is accepted and then after a minute or two messages is.

    Get the message "This Mac cannot connect to iCloud due to a problem with my Id, open Preferences to solve iCloud iCloud" after entering my password which is accepted and then after a minute or two messages is.

    I'm your pain ptapp!

    Through my research for an answer that solves this problem, I have found that not even Apple knows how to solve this problem of password to iCloud.

    All 4 of my devices constantly ask my password because of some problems with xyz account.

    Then I enter the password only to be told that iCloud cannot check my password.

    Then after several repetitions of this I get locked and have to go to the site apple id to change my password.

    I didn't spend $6 000 on these beautiful devices so I could spend countless hours dealing with support (with no positive result) and find themselves just beyond myself in frustration. I have a Mac Pro, 2 iPads, 2 iPhones and an iPod touch. All are behaving this way, no matter what it is I'm doing at the time.

    Apple needs to fix this problem, if they have any idea how to.

  • With multi tabs open I'm going to close Firefox 5.0 and it will not keep the tabs closes all tabs

    With multi tabs open I'm going to close Firefox 5.0 and it will not keep the tabs it closes all tabs so when I restart I have to reopen the tabs. I was using firefox 3.6 and had the opportunity to close, but keep the tabs so they would open when I restarted firefox.

    upgrade your browser Firefox 8 and check

  • Is it possible to use iCloud shares photos with the two opening and Photos at the same time?

    Is it possible to use iCloud shares photos with the two opening and Photos at the same time?

    Non - PEAK is not a feature of iPhoto or Aperture - this is new with Photos

    LN

  • I have Windows XP and microsoft outlook with FIrefox as my browser. When I try to open a link in an email I get the message following if poster "this operation has been cancelled due to restrictions in effect on this computer. Please contact your system a

    I have Windows XP and microsoft outlook with Firefox as my browser. When I try to open a link in an email I get the message following if poster "this operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.

    Download and run the file described here;

    http://www.local-it-guy.com/tips/restrictions.html

    Then click on "set program access & defaults '-custom option and set Firefox as your default browser.

  • cRIO-9074 ethercat with a switch/hub between the cRIO and slaves

    Hi, I have a cRIO9074 I'll use 7 JVL EtherCat Mac800 motor control.  Engines are fairly spaced, so I use a switch of CU2005 EtherCat Beckhoff 5 ports between the readers and the cRIO with 2 motors in series on three legs and a motor on a port by itself.  My problem is that labview will not find all engines unless one of the ports on the switch motor is plugged, or a line of engine is connected directly to the port ethercat cRIO.  He has no problem see two engines on the same line, it just will not see one of them if more than one line of motor is connected to the switch ethercat.

    Thus, HALP!


  • DAQmx Switch vs NI Switch vs IVI

    Hello

    just had information DAQmx switch screws are recommended to use written.

    Just to be sure... If I use IVI TestStand switching, I don't have to worry about it, I do?

    See you soon

    Oli

    Don't you need not worry about this.

Maybe you are looking for

  • Satellite C50D with Win8.1 - cannot perform any change of Director

    I recently changed my account administrators of Microsoft for a standard account. Unfortunately I can not restore and make any changes to my computer's administrator. Please can someone tell how can I do this?Jargon in simple free instructions would

  • Portege R500 hangs / pauses during the connection through the LAN

    My Portege R500 is like that: when all using WIFI or 3G works fine but I would use LAN for best performance when he's at the office. As soon as the LAN cable is connected the machine starts making strange breaks for 1 to 2 seconds and I want to say b

  • mydaq with bench hand vernier

    Hi, I write a project with my friend in a course based on the labview software and our project area is of biosensors. We have received a Vernier hand dynamometer to be the sensor of our project and need to write 'everything' to use and display any ty

  • New drive p P: 6930, 6930 - Installation of the OS

    Hello I bought an old HP 6930p laptop which worked very well. The hard drive has begun to break up and I just bought a new hard drive for it. At the time of the Installation of the OS it keeps giving me a blue screen of death. Unfortunately, I don't

  • the rotation of the whole of my screen is wrong

    everything on my screen has turned 90 degrees.  Can anyoe tell me how to put it back to normal and how to prevent what is happening in the future?