VME control using Lab Windows and VME-MXI-2

Help! I need to do the following from Lab Windows CVI:
1) set the VME control signals SYSRESET and ACFAIL to both logic 1 and 0.
2) read/write memory addresses from the VME memory map.
I've not used VME before, and these don't look like trivial tasks. The VME rack is fitted with a VME-MXI-2 card and the PC is fitted with a PCI-MXI-2 card. If anyone has had experience of this before and pointers would be very useful. (I can't find much on the NI web site)
Thanks Alan

Alan,
As for reading and writing memory addresses from the VME memory map, you could use functions such as viIn8, viIn16, viIn32, viOut8, viOut16, or viOut32 in the NI-VISA API. You can find the NI-VISA Funtion help at "Start >> Programs >> National Instruments >> NI-VISA >> NI-VISA Help" for Windows. Alternativelly, the NI-VISA Programmers Reference Manual is available for download from ni.com.
What exactly is your application that uses ACFAIL? ACFAIL is typically pretty unrealiable, and is a difficult signal to catch (especially over a bus extension like MXI-2). Basically, ACFAIL is asserted right before a total failure/shutdown of the chassis, so you have a very short window of time to detect the signal before it disappears.
Regards,
Greg Caesar
App
lications Engineer
National Instruments

Similar Messages

  • How can i use both Windows and Mac os at the same time on my iMac

    How can i use both Windows and Mac os at the same time on my iMac

    You can use Parallels desktop or VM Fusion to run both operating systems at the same time. Both programs work well, but I personally perfer VM Fusion.

  • In options, the selection for "use my windows and tabs from yesterday" is Dimmed I want to know why?

    I cannot set , in options, use my window and tabs from yesterday, because it is dimmed! I haven't been able to find why it would be dimmed.
    I keep 5 tabs open all the time & it is becoming a pain to have to reset them all from bookmarks every time firefox is closed & reopened. just because I cannot set it to do that in options, because the selection is dimmed in options

    Because you probably are using private navigation, go to Tool >>Privacy >>in the option Firefox will: change to Remember History, now you can change that option "When Firefox Start" to "Show my windows and tabs from last time"
    *[https://support.mozilla.org/en-US/kb/startup-home-page-download-settings Startup Page]

  • Portable Hard drive formating for use with windows and mac operating system

    Just bought a verbatim sure fire 500g 800 firewire portable hard drive for my new macbook pro. I have not did bootcamp yet because I am deciding on wether to use Vista or the new windows 7 that will be coming out soon. The drive is already formated HFS+, how do I format the drive so I can write both windows and mac files to it. Help!!!

    how do I format the drive so I can write both windows and mac files to it.
    Either format it to MS-DOS from the DIsk Utility, or install a tool such as MacDrive into Windows and keep the drive in its current format, or install the NTFS-3G driver into Mac OS X and format the drive to NTFS in Windows.
    (45687)

  • External Hard Drive to be used with windows and Mac

    I shall paint the picture;
    I have a very nice mobile hard drive on it's way to me, and I shall be upgrading to leopard at some point soon after receiving it, my MBP has a 120gb internal HDD and the external on it's way is 160gb .
    I will be using it as a time machine HD , but will also be using it to transfer from my mac to college/university PCs.
    So, do any of ya'l out there know a good way of going about it? My thoughts are along the lines of creating a separate windows/mac partition because Time Machine I assume uses HFS+ and as far as I am aware, windows is unable to use this.
    I am not 100% sure on this so any help or corrections or indeed alternate solutions are welcome.
    Only requirements are that it's with my MBP and G-Tech G-Drive mini only, no extra bits and bobs.
    Thank you in advance

    A 160 GB drive may be a bit small to use to back up a 120GB drive with TimeMachine... and have a separate partition to use for Windows files. While your MacBook Pro's 120GB drive may not be close to full yet... it will likely continue to grow in time. TimeMachine keeps multiple copies of files that you change allowing you to go "back in time" to various points. It will use as much space as is available on the drive. You may want to keep a larger external desktop drive for your TimeMachine backup... or dedicate your entire 160GB to it.

  • How to format external drive for use against windows and mac

    Hi.
    Please bear with me, a possible MAC newbie here
    I'm about to buy the 13" Mac Book Pro (after ditching the Lenovo X301 because of a super slow processor, slow FSB, slow intel graphics).
    But I have a couple of questions before I buy this Mac Book Pro.
    NOTE:
    My main OS (stationary pc) is Windows, and will probably be so for a long time.
    But I need a lightweight laptop while on the run, and could not actually find any other one than the Mac Book Pro that met my requirements.
    I'm using Adobe Lightroom for indexing and managing images on my windows stationary computer and will also use Lightroom on my Mac Book Pro.
    I'm to use an external HDD for this purpose and will need to be able to both write and read to/from that HDD from both MAC and Windows.
    Export lightroom library to External HDD from Windows (thumbnails + keywords).
    Import new images and edit keywords etc from mac book pro in lightroom.
    Import changes into my windows library version after been edited from library in mac book pro.
    What options do I have when it comes to formatting that HDD?
    What will the PROS and CONS be for the different options?
    Note (I'm not to switch to Aperture (my main computer is still Windows))
    Regards

    Hi.. and thanks for that answer... another related here:
    I'm to buy this external drive:
    http://www.lacie.com/no/products/product.htm?pid=11038
    This page:
    http://pc.wikia.com/wiki/FAT32
    tells me that windows XP will only format FAT32 to max 32GB,
    will my upcoming MAC book PRO be able to format that whole disk using FAT32?
    Or do I have to use something else to format it with?
    Regards

  • Where is CS5 preference to use new window and not tabs?

    Hi,
    I prefer a new window rather than lose screen space to tabs.
    Is there a preference somewhere to open new document in new window and not as a tab?
    Thanks,
    Garrett

    You can use the "Float in window" command (available in Window | Arrange menu) - but this will work once you have created a new doc.

  • Can i use both windows and OS X in the same hardisk

    I want to install windows 7 ultimate(64 bit) on imac but if i install it can i use both OS X and windows in the same hardisk or do i have to plug in an external hardisk and can i still use OS X or only apple??

    Welcome to Apple Support Communities
    Of course. You can install Windows and OS X in the same hard drive, because that's the purpose of Boot Camp.
    I see you are using OS X Mavericks, so you can install Windows 7 or 8 in Boot Camp > http://support.apple.com/kb/HT5634?viewlocale=en_US Then, follow these steps to install Windows > http://manuals.info.apple.com/MANUALS/1000/MA1636/en_US/boot_camp_install-setup_ 10.8.pdf
    After installing Windows, your Mac will start up in Windows by default. In order to choose in which operating system you want to start up, just hold the Option (Alt) key while your computer is starting up.
    If you do not want to do heavy tasks in Windows, another option you should consider is to install Windows in a virtual machine with the use of an app like VMware Fusion, VirtualBox or Parallels. This way is more secure and there's no risk to harm your Mac.

  • Search help in table control using attributes window in layout

    Hi.
    I am trying to use search help for my table control fields. the table control basically displays product details.
    I have a name field, description field and price field. I have named my field to match the the structure of my search help (stProducts-name, stProducts-description and stProducts-price respectfully). then for each i entered shProducts (my search help) in the search help field.
    However, upon running the program, in the name, description and price field, by clicking f4 the name of the product is displayed in the field irrespective to which column I am selecting. Also the values in the other fields are not affected.
    Any help would be appreciated
    Thank you

    Hi Charla,
    <li> Here is a sample program how to update other fields when you select f4 help for one field.
    <li> Need to apply in module pool program..
    REPORT zvenkat_f4_for_parameters MESSAGE-ID zmsg .
    TYPES:
       BEGIN OF t_t001w,
         werks       TYPE t001w-werks,
         name1       TYPE t001w-name1,
       END OF t_t001w,
       t_return_tab  TYPE ddshretval.
    DATA:w_t001w      TYPE t_t001w,
         w_return_tab TYPE t_return_tab.
    DATA:i_t001w      TYPE STANDARD TABLE OF t_t001w,
         i_return_tab TYPE STANDARD TABLE OF t_return_tab.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS :p_werks TYPE t001w-werks,
                p_name1 TYPE t001w-name1.
    SELECTION-SCREEN END OF BLOCK b1.
    " AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks.
      PERFORM f4_help_for_palant.
    *&      Form  f4_help_for_palant
    FORM f4_help_for_palant.
      DATA:
          w_dynpfields TYPE dynpread,
          i_dynpfields LIKE STANDARD TABLE OF dynpread.
      IF i_t001w[] IS INITIAL.
        SELECT werks name1
        FROM t001w
        INTO TABLE i_t001w.
      ENDIF.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'WERKS'
          dynpprog    = sy-repid
          dynpnr      = sy-dynnr
          dynprofield = 'P_WERKS'
          value_org   = 'S'
        TABLES
          value_tab   = i_t001w
          return_tab  = i_return_tab.
      READ TABLE i_return_tab INTO w_return_tab INDEX 1.
      p_werks = w_return_tab-fieldval.
      READ TABLE i_t001w INTO w_t001w WITH KEY werks = p_werks.
      IF sy-subrc = 0.
        w_dynpfields-fieldname    = 'P_NAME1'.
        w_dynpfields-fieldvalue   = w_t001w-name1.
        APPEND w_dynpfields TO i_dynpfields.
        CLEAR w_dynpfields.
        CALL FUNCTION 'DYNP_VALUES_UPDATE'
          EXPORTING
            dyname     = sy-repid
            dynumb     = sy-dynnr
          TABLES
            dynpfields = i_dynpfields.
      ENDIF.
    ENDFORM.                    " f4_help_for_palant
    Thanks
    Venkat.O

  • I use v20.0.2, and restart using same windows and tabs is NOT working. I have deleted profile and restarted, etc., but nothing seems to work. What now?

    Not sure what else that I can provide here. This particular software function does not seem to work.

    In case you are using "Clear history when Firefox closes":
    *do not clear Browsing History
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox profile folder.
    *Help > Troubleshooting Information > Profile Directory: Show Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created
    If you use cleanup software like CCleaner then check the settings for the Firefox application.

  • Servo motor control using CRIO+FPGA and 9477 digital out module

    Hello experts,
    I have a futaba BLS551 brushless motor digital servo (3 wires-+,-, signal). i also have a CRIO+real-time+fpga and 9477 digital out module. how can i generate servo signals using this module
    please help...
    Thanks,

    freemason,
    In order to control your servo motor with the FPGA and or DIO module you will have to write drivers to control your motor and drive.  While this is possible is an extremely complicated and time consuming process.  I would highly recommend you consider using the NI 9514 with soft motion as it will provide full servo functionality and is relatively easy to use.
    Regards,
    Sam K
    Applications Engineer
    National Instruments

  • Using both Windows and Mac laptop

    After I sign up the Creative Cloud membership, can I use the system from my windows laptop and mac laptop?  As sometimes I work on windows laptop and sometimes I work on mac laptop.

    Hi Ned, thanks for the information.
    What is I have my windows laptop replace in 1 month, can I use it on the new windows laptop?  I just need to uninstall on my old windows laptop and reinstall on my new windows laptop?

  • I use multiple window, and now I cannot see them on the bottom

    the bottom of the screen used to display the windows I had open, now it appears to be a progress bar. I want this reversed!
    == today

    If you have a Mac with iPhoto, plug the iPhone in and open iPhoto. Choose to import the photos. Once they have been imported, there should be an option to "Remove Imported Photos from Device". Choose this.

  • RS 485 port test using Lab Windows

    Hi,
    I am testing an RS 485 device. I wanna send ascii format commands from my computer to the device. I know there is a sample project called serial.prj but that is for rs232 apps. Is there a sample project like this that is compatible with rs485? Can I use this sample to communicate with my rs485 device?

    For the most part, RS-232 and RS-485 devices use the same UART-based communication protocol (start, data, parity, stop, repeat). So the only thing you need to do to communicate with your RS485 device is install a RS485 COM port (RS485 is electrically different from RS232) or use an adapter to go from RS232 to RS485, and look up your devices communication settings (e.g. 115200,8,N,1).

  • DC motor control using NI 9401 and DC motor driver

     i am using cRIO 9073 ,NI 9401,DC motor and motor Driver, I have attached my VI , i am acquiring  two signals which i represented with  1 and 2 in my attached block and caluclating their amplitudes and comparing them individually with a set threshold.
    1)when signal 1 condition is true DI0 and DI1 should be true and false respectively so that motor rotates clockwise if the condition is false no movement that is DIo and DI1 should be 0 and 0
    2)coming to signal  2 when its condition is true DI0 and DI1 should be false and true so that motor rotates anticlock wise direction if the condition is false
    no motor movement i.e DI0 and DI1 should be 0 and 0
     Plese give me some  solution i made two case structures for the two different signals but my motor is rotating only in one direction and it is just vibrating.
    Solved!
    Go to Solution.
    Attachments:
    case structure.JPG ‏43 KB
    case structure.JPG ‏43 KB

    sir its working now
    Regarding oscilation 
    i am acquiring two signals at a rate of 1800 samples per second i.e signal 1 and signal 2, i am caluclating RMS for both the signals for every  1800 sample length ,when  signal 1 RMS value is greater than threshold it should give 1 and 0 for DI0 and DI1 same thing for signal 2 but  0 and 1 for DI0 and DI1.both cases true not possible as i mentioned earlier.
    the problem is  if RMS is constant and satisfies the condition the motor rotates perfectly without disturbance but  my RMS value keeps changing as i am acquiring the signal continuously and the signal also has a no constant amplitude  . that time my motor just rotates with disturbance.
    (how can i terminate the single case execution which you have mentioned earlier) 
    Attachments:
    code.JPG ‏71 KB

Maybe you are looking for