Can i programmatically insert scxi modules?

can i programmatically insert scxi modules? because i often need to change my SCXI module,i want to insert scxi module in my program.now when i change the module,i must delete the old one and insert new.i want bypass the ni max and do this in my program.is it possible?

Jitao,
You did not mention which development environment you are using, so I will tell you which VI to use in LabVIEW and which NI-DAQ function to call. In LabVIEW, you will want to use Set SCXI Information.vi. This VI is located in Functions >> Data Acquisition >> Calibration and Configuration. If you are using NI-DAQ function calls, you will want to use SCXI_Set_Config().
Good luck with your application.
Spencer S.

Similar Messages

  • Programmatically checking SCXI module type (ID) using NI-DAQmx

    HI,
    Using DAQmx (or MAX),  Within LabVIEW I need to know programmatically
    which (SCXI) tmodule type is connected to a given chassis’s slot, i.e. if there's a module connected to slot 1, if it's a SCXI-1102 or a SCXI-1104 module.
     With NI-DAQ traditional I have been using the
    function SCXI_ModuleID_Read, which is exported by nidaq32.dll. Is there any
    similar functionalit but without NI-DAQ traditional drivers?
    Thank you!
    best regards,
     -- roberto j.

    OK,
    I made a provisory (?) solution to programmatically check whether a SCXI
    chassis's power is turned on or not, using DAQmx. The attached subvi also retrieves the
    module name/type. This subvi is based on:
    http://zone.ni.com/devzone/cda/epd/p/id/3161
    Attached are (made with LabVIEW 7.1):
    test_SCXI_power.vi (the subvi itself)
    test_power.vi (an example of how to call test_SCXI_power.vi).
    I used an error handler as an example of how to handle a power off event.
    Any suggestion, feel free to reply.
    Regards,
    -- roberto Janny.
    Attachments:
    test_SCXI_power.vi ‏82 KB
    test_power.vi ‏24 KB

  • How can I access SCXI module serial numbers programmat​ically?

    Hardware traceability is a necessity in my industry, so I need to be able to track the SCXI modules used in a test by stamping the serial numbers on the data files. I am able to do this for the DAQ devices, but I cannot find a way to do this for the SCXI modules. I am using LabWindows/CVI with NI-DAQ 7.0 traditional.

    You cannot "access it" at all using a serial number.
    Please explain what you are attempting.

  • How can I read channels from different SCXI modules simultaneu​sly?

    Hello.
    I have a system that consists in:
    - Three E-series DAQ boards (PCI-6034, PCI-6052 & PCI-MIO-16E)
    - One SCXI chassis (SCXI 1001)
    - 4 SCXI modules for voltage measurement connected to PCI MIO 16E
    - One SCXI module for strain gauges connected to PCI 6034
    - One SCXI module for accelerometers connected to PCI 6052
    I have to develop a software application that reads all the channels at the same time or at least in the same program cycle. I have tried to create only one DAQmx task containing all the channels, although they belong to different DAQ boards (and SCXI modules, of course), but it seems to be impossible to use channels from different devices in the same task.
    So I have created three different DAQmx tasks, one for each device and its channels. I have used one "DAQmx Start Task" VI for each task at the beggining of the loop in order to use them independently, reading their channels inside the loop in every program cycle.
    When I have run the program I have get the following error:
    "ERROR -200619 ocurred at DAQmx Start Task.vi
    Chassis cannot be used for more than one scanning operation at the same time.
    Do only one scanning operation or combine multiple scanning operations into a single operation."
    What is the problem? How can I combine these multiple scanning operations? What can I do to read all channels at the same time?
    Thanks.

    Hello pablomendana,
    it's ok that you got an error when trying to use more than one device on the same task. According to the setup you have, I agree that 3 tasks should be put in place.
    The key question I have is... Have you configured manually at MAX the SG and accel. modules to be in Parallel mode?
    I would not expect the error you get if they are in parallel mode (in which you could even read directly from the DAQ board, using DAQ device channels instead of SCXI channels).
    Unfortunately, I haven't been able to setup a system similar to yours, but I would like to know more details on what you've tried so far.
    Also, I recommend you that if still need help on setting up the system, use NI's SSP program to get support from your local NI Application Engineering organization, as this will be faster than the forum.
    Regards,
    Jorge M.

  • I use LabWindows/CVI and SCXI modules, how can i check the polarity of a capacitor during an ICT?

    I am a newbie using CVi Lab Windows and SCXI modules, how can i perform ICTs to check the proper polarity of a capacitor?

    Hello,
    That's a big question for a single sentence. Could you give some more details about the hardware you have, and the measurements you want to take?
    By the way, when you say ICT, do you mean In-Circuit Test or something else?
    Thanks,
    John N
    Applications Engineer
    National Instruments

  • Get JBO-27023 exception when programmatically inserting in view object

    I am using Jdev 11 R2 (11.1.2.3.0) JSF2 & Facelet
    In some use case I require to read information from some external source (a web service in this case)
    and Programmatically insert into Oracle DB
    I use below code to get view object from application module
    //from ADFUtils
         public static ApplicationModule getApplicationModuleForDataControl(String name) {
    return (ApplicationModule)JSFUtils.resolveExpression("#{data." + name + ".dataProvider}");
         public static ViewObject getViewObject(String appModCtrlNam, String viewObjCtrlNam) {
    ApplicationModule am = getApplicationModuleForDataControl(appModCtrlNam);
    return am.findViewObject(viewObjCtrlNam);
         ViewObjectImpl testVW =
    (ViewObjectImpl)ADFUtils.getViewObject("AppModuleDataControl", "View1");
    Row testRow = testVW.createRow();
         testRow.setAttribute("property1",value1);
         testRow.setAttribute("property2",value1);
         testRow.setAttribute("property3",value1);
         testRow.setAttribute("property4",value1);
         testVW.insertRow(testRow);
         and finally commit bounded task flow
         TaskFlowUtils taskFlowUtils = new TaskFlowUtils();
    taskFlowUtils.commitTaskFlow();
         public void commitTaskFlow() {
    getDataControlFrame().commit();
    public DataControlFrame getDataControlFrame() {
    BindingContext bindingContext = oracle.adf.controller.binding.BindingUtils.getBindingContext();
    String dataControlFrameName = bindingContext.getCurrentDataControlFrame();
    DataControlFrame dataControlFrame = bindingContext.findDataControlFrame(dataControlFrameName);
    return dataControlFrame;
         There are some inner objects so I need to repeat this logic for some other view objects (don't put it here to make post shorter)
         Every thing is OK but when number of record I read from that external source increased I will receive
         JBO-27023: Failed to validate all rows in a transaction.
         And system can not commit transaction
         What I mean about the increase in number of records is totaly 50 records not 10000 records
         I mean if I run my method with 3-5 records it is working fine , if I run it with 50 records I will receive JBO-27023
         I am using a method in application module to get sequence from DB and transaction in bounded task flow defined as "Always Begin New Transaction"
         Any idea where is wrong or what is work around?
         Thanks
         Mohsen

    Hi Frank
    I saw that blog from Jobinesh as he mentioned
    public String someAction() {
    BindingContainer bindings = getBindings();
    OperationBinding ob = bindings.getOperationBinding("doSomething");
    Object result = ob.execute();
    if (!ob.getErrors().isEmpty()) {
    return "error";
    return "success";
    But in my use case I need to insert into view objects programmatically not executing a method in app module
    What is they best way of doing this?Should I put this inserts as method in app module?
    and where I can find new version of ADFUtils?
    Appreciate your comments
    Regards
    Mohsen

  • Is there a single SCXI module suitable for mixed sensor inputs?

    I'm am attempting to put together an SCXI system to acquire signals from a number of different sensor types. I have a large number of thermocouples for which I have decided to use the SCXI-1102 modules. I also have a single pressure transducer (spec unknown so I'll assume strain gauge type), a single accelerometer (again, spec unknown) and possibly some straight forward voltages (count and spec unknown so assume -10V to +10V max range).
    Is there a single SCXI module through which I can acquire the pressure transducer, accelerometer and voltage signals? Or maybe just use 2 modules instead of 3 if I have a SCXI-1530 for my accelerometer and a different module for the voltages and pressure transducer? I was looking at the SCXI-1121 which sounds promising for the voltages and pressure but then was unsure as to which terminal block to use to allow the combination of signals (I could possibly live with a -5V to +5V range if necessary).
    (Extra info: I am using TC-2095 blocks with my SCXI-1102 modules so can't really use spare inputs on those for voltage inputs).
    Thanks for any help.
    CAS
    Solved!
    Go to Solution.

    Dear Cas,
    Thanks for your enquiry. You have obviously done a great deal of research into this matter already. I am afraid that it is unlikely that you will be able to use a single SCXI module to carry out all the functions you have listed. As accelerometers require such specialised conditioning, it will require a dedicated module - as you already mentioned, something like the 1530 (4 channel accelerometer input module) would be ideal.
    However, you have a number of different options for the pressure, voltage and temperature measurements.
    For example, you could purchase a 1520 mudule for your pressure measurements, and then use a general purpose 1102B for the voltage and temperature (you would require the 1303 isothermal terminal block to condition the thermocouple readings... and bypass the CJC technology for the voltage readings).
    Or, perhaps you could use the 1102 thermocouple module for your temperature readings, and then use a 1102B to take the voltage and pressure readings. Obviously this would involve making your own bridge configuration for the pressure sensor, but that should be fairly easy.
    Before you make any final decisions, I would recommend that you call your local branch of NI and speak with a sales representative. Perhaps, a member of the field sales staff could actually come to see you to discuss the matter face to face.
    lastly, it sounds like you have a relatively high channel count for some of your readings, which is why you have decided to use the SCXI platform. I was just wondering if you had considered compact DAQ (cDAQ), which combines DAQ hardware with signal conditioning. Higher spec, ease of use, lower channel count. Swings and roundabouts I guess.
    I hope this has been of some use to you.
    Best wishes,
    Rich R
    Applications Engineer
    National Instruments UK & Ireland

  • Can I use two SCXI-1600 in a SCXI-1100?

    Hi,
    I want to insert two SCXI-1600 in one SCXI-1100. But the two SCXI-1600 don't work at the same time. Can the system work properly?
    Hitech
    Gaotd

    Hello gaotd,
    No, you can not have two SCXI-1600s in the same chassis. Why would you want to do this?
    -Alan A.

  • I can't import PKCS#11 module

    I can't import PKCS#11 module dnieopensc-pkcs11.so. OS:Mavericks, Adobe Acrobat XI trial, and it works ok with other programs like firefox.

    > Should work on the Mac too
    I can't get it to work. I don't see anything that indicates that the Keychain is supported. I know the smart card is setup in the keychain, as I can use Safari to authenticate to a web page that requires it. But when I try to add a signature to a PDF, I get the dialog box asking to add a Digital ID. One of the options is to search for newly inserted hardware tokens. The smart card is in the reader, but I just get an error message that it couldn't find any digital IDs. As noted in my original post, I can't get Apple's PKCS#11 module to load on Reader 8.
    While having it work on the Mac would be nice, we need Linux support too.

  • Scxi 1126 frequency measurement along with other scxi modules

    I want to measure frequency signal using sxci 1126. I have gone through the example code for sxci 1126. I am using NI-DAQ and Labview 7.1.
    The example code is applicable when am acquiring only from 1126. I have to acquire data also from 1102 102B along with 1126.
    In the example code along with AI config.vi and Ai Start.vi there are two additional vi's like AI paramete.vi and AI Trigger config.vi I understand that they are used for reading from 1126. My worry is how this is going to affect my acquisition from other scxi modules as all the modules are in multiplexed mode.

    Hi Bipin,
    Looking at your code, I see that you are still using Traditional DAQ. Since you have LV 7.1, you can take advantage of the new features of DAQmx.
    With DAQmx, you can create a virtual task that includes all of the different types of measurements you want to make. Once you set up the task in MAX, you can place it on the block diagram and automatically generate the code necessary to execute this.
    To do this, open up the Measurement and Automation Exlporer (MAX). Select "Data Neighborhood" from the tree on the left. Then click the button labeled "Create New." Create a DAQmx Virtual Channel. Follow the series of menus to set up your first type of acquisition (1126 frequency measurement). When you are
    done creating the task, you can add the second type of measurement to that same task. In the task config page, you will see a white box with the name of the channel you just created in it. Above the name you will see an "Add" button. Click on this button and follow the menus to set up your second measurement (1102 module).
    Once they are set up, save the task and open LabVIEW. Place the DAQmx Task Name constant on your block diagram found in All Functions >> Data Acquisition >> DAQmx... the task name constant is a purple colored box. Clicking on the box once its on the block diagram will expand a menu that will let you choose your task. Once selected, right click on the task name and choose Generate Code >> Example. This will automatically generate the code necessary to run the tasks. Simply hit the run button and enjoy!
    Thanks,
    Sal

  • Duty cycle on SCXI Modules

    Hi All!
    I was wondering if anyone could tell me if there is an SCXI Module available that allows me to adjust multiple duty cycles. I need to control the duty cycles of multiple signals simulataneously and was hoping to find a module to do this with. It should be a module that fits to an SCXI housing because this is the system that I am currently using for the measurements. A single module containing multiple counters and counter outputs would be ideal.
    I am sure I am not the first to need something like this, so could someone please help me out and tell me how I can solve this?
    Thanks to everyone for the help!
    Regards
    Charel Marais

    Hi Wolfgang,
    Yes I was thinking of PWM for the duty cycle control. I have done this before using counters on the NI cards, but as you mentioned it is only possible to control 2 signals. I now need to do at least four, possibly more. The system I am using now is a 6036 PCMCIA card as acquisition connected to an SCXI 1000 with an 1102, 1126, 1163R and 1124. I have considered using another DAQ card to provide more counters, but this is a very untidy solution when you have two PCMCIA DAQ cards in one notebook each with a cable going into it. The connectors push very hard against eachother and in long term use, this will destroy the connectors on the cables, the cards and the notebook.
    I gather that there is no SCXI module available that provides counters as a normal "slide-in" module (like an 1102 for instance)...? Is there then some other effective way to connect two PCMCIA cards to one notebook?
    Thanks for the advice on the counter cards.
    Regards
    Charel

  • CJC for Multiple SCXI Modules

    I am setting up an SCXI signal conditioning system to measure 20 thermocouples using three 1320's and three 1120's in one SCXI-1000.  When using MAX (setup as one task), I have a couple of questions:
    1.  Is there any special or unique ways I have to setup MAX because I have multiple modules or does setting the "CJC Source" to "Built In" work correctly?
    2.  Which CJC of the three 1320's does max use for each channel?
    3.  What should the 1320 jumper be set to (MTEMP or DTEMP)?  Assume I am in multiplex mode.
    Thank you in advanced for your support.
    Dan Young

    Hi Youngds01:
    I would like to point you to this KB How Can I Address and Use Cold Junction Compensation (CJC) with SCXI Modules?
    1.       Is there any special or unique ways I have to setup MAX because I have multiple modules or does setting the "CJC Source" to "Built In" work correctly?
    There is no correct way of setting up the CJC source it will depend on what you want to accomplish. You can use multiplex mode or direct mode by changing the jumpers (MTEMP or DTEMP), let’s say you will like to read the room temperature with scxi-1320 #1 you will set this for DTEMP and use SCxMody/_cjTemp to address the channel.
    2.       Which CJC of the three 1320's does max use for each channel?
    It will use all each CJC for each SCXI-1320, so for example every time there is a measurement in SCXI-1320 #1 and SCXI-1320 #2 it will read the CJC of the 1320 #1 and then the 1320 #2.
    3.       What should the 1320 jumper be set to (MTEMP or DTEMP)?  Assume I am in multiplex mode.
    You will set it up depending on what you would like to do. I will suggest setting the jumper to “mtemp” and if you will like to read that value from the CJC of one of the modules just use SCxMody/_cjTemp as the address where x = chassis and y = module. 
    I hope it helps
    Jaime Hoffiz
    National Instruments
    Product Expert
    Digital Multimeters and LCR Meters

  • How to detect as to which slot the SCXI module is present

    i want to detect to which slot the scxi module is connected . I have used get scxi info vi , but the
    disadvantage is that it does not give the exact slot position the module is present . Please let me know any vi which does this function
    Suresh Thangappan

    Hello Suresh,
    Thank you for contacting National Instruments.
    If you have LabVIEW 7.0 or higher, you can use the DAQmx Device Property Node with our NI-DAQmx driver. I have attached an example VI to demonstrate just how easy this can be accomplished.
    Regards,
    Bill B
    Applications Engineer
    National Instruments
    Attachments:
    Acq_Thermocouple_Sample.vi ‏54 KB
    DAQ_Device_Property_Node.JPG ‏77 KB

  • Can we call a function module in ADHOC query

    Hi
    Can we call a function module in ADHOC query if yes how.
    Also we ned to know how to call a function module in SAP query.
    An early responce is appreciated.
    Thanks and best regards
    Rajeev

    Okay as far as I understand your aim is:
    To fill a field in the output list with a value that is based on the current line information and calculated by a function module
    So go to SQ02 and create an additional field in the InfoSet.
    You can refer in the coding to the technical names you can see in the left tree window like P0000-PERNR.
    More information is avaiable in the Help part look for additional field in SQ02.
    Regards,
    Michael

  • Not existing can not be inserted

    Dear Experts,
    I am getting an error message if I am trying to change Purchase Requisition.
    There are additional inserted item in the new  tbale 'LT_BAPI_NEW'.
    In the table  'LT_BAPI_OLD' are only two items. What is wrong there ?
    I have thought with this FM it is really possible to change a PReq.
    What can I do in this case ?
    The item 00030 is not existing can not be inserted.
    CALL FUNCTION 'BAPI_REQUISITION_CHANGE'
          DESTINATION av_rfc_dest
          EXPORTING
            NUMBER                           = '1000115373'
          TABLES
            REQUISITION_ITEMS_OLD   = LT_BAPI_OLD
            REQUISITION_ITEMS_NEW = LT_BAPI_NEW
            RETURN                             = LT_BAPIRETURN
          EXCEPTIONS
            OTHERS                = 1.
    Friendly Regards
    ertas

    Hi,
    Refer to this link..[Help me about BAPI_REQUISITION_CHANGE!!!|Help me about BAPI_REQUISITION_CHANGE!!!]

Maybe you are looking for