Problem sending trigger software through backplane PXI (chassis SMU-1082, SMU-6363 DAQ, SMU-6544-HS-DIO)

Dear community,

I am trying to implement a background basket (software) PXI trigger on a chassis NI SMU-1082 with LabView 2015 (32-bit) running on an SMU-8135:

HS-DIO (SMU-6544) in slot 2,

-Acquisition of data (SMU-6363) into the Groove 4,

-Flex RIO (SMU-7962R + OR-6583) in the Groove 3.

The trigger schema is explained in the attached file ' LV-PXItrig-HSDIO-DAQ - overview.jpg ".

Scenario 1: written DAQ analog signal and sends signals trigger HS-DIO (software) through bottom of basket, after East of waveform of the complete signals to DAQ for acquisition.

Scenario 2: logical impulse on an external port HS-DIO triggers signals HS-DIO, after HS-DIO waveform is complete DAQ triggered for the acquisition of the ADC by the backplane.

In principle this breaks down to send a trigger of module A to B by PXI backplane. The SMU-1082 chassis has a bus trip with 8 lines (PXI_trigX, X = 0,..., 7) more a trigger in Star controlled the slot 2.

I've linked to implement a software trigger, but I can't access the refreshing resource and execution, see the attachment. Other ways of implementation including the DAQmx Terminal / routine disconnect Terminal have not worked for me either. I am aware about the connection of trigger using the node property VISA but I can't make a trigger.

Tips, comments or solutions are appreciated. Thank you!

For scenario 1, you want to trigger the HSDIO acquisition to begin as soon as the analog output DAQ starts?  You can use DAQmx Export Signal to send the trigger for the start of one of the lines from the Trig PXI backplane. Then, you need to configure your HSDIO acquisition to use a trigger digital beginning on the same line of trigger. Take a look at the example of the "Dynamic hardware generation start trigger" in the Finder of the example (help > find examples)

For scenario 2, looks like you do a dynamic unit HSDIO generation when a digital trigger arrives on one of the PFI lines. Once the build is complete, you want to send a trigger for the DAQ hardware to begin sampling. If this is the case, you again use a trigger to start material in your task of NOR-HSDIO, as you did for scenario 1, but use external trig line as the source, rather than the bottom of basket. There is no case of material when the build is finished, but you can use a marker in script mode event instead. The example of the Generation with dynamic event marker' in the example Finder gives a good starting point for this type of operation. You'll want to set the output terminal for the event to be a line of backplane trig, and then tap the DAQmx to start on the same line trig trigger.

Tags: NI Hardware

Similar Questions

  • Problem pre-trigger advice of mutiple PXI-6143


    See here.

    Best regards

  • Can I export software intalled on via MAX PXI chassis list

    I am trying to export the list of softwared installed on PXI chassis for archiving purposes via MAX. This way when I need to reinstall the software on chassis I know exactly that the drivers have been used before.

    Hello drakkar.

    You can create a report NI Max.  To do this, please go to file > create a report.  Here you can select which system you want to create the report and the type of it.

    Kind regards

    Daniel M.

    Engineering applications

    National Instruments

  • CNVString - send strings of a PXI chassis by ethernet to an application of labWindows on another computer

    I have a PXI chassis with a PXI-8101 controller. It is equipped with a system of operating in real time. I connect to it on a PC with a Windows operating system. I am trying to send my PXI system variable length string messages to my PC.

    On the PC, I have a LabWindows application that allows you to send and receive data with the PXI system. I'm trying to send the PXI system error messages to the PC on ethernet. I am able to send digital data between them, but not the string messages. The PXI software meets the CNVCreateArrayDataValue() function call and not to her, but never returns. There only have this problem when the CNVDataType parameter is CNVString; When I change the CNVDataType to CNVBool it doesn't have this problem. I'm new on this time real PXI so would appreciate the help. Here is the code on my PXI system that sends these text messages.

    At the beginning of the RTMain, I create the writer

    CNVCreateBufferedWriter ("\\\localhost\\system\\" REG_CAL_ERROR_STRING, 0, 0, 0, 64, 5000, 0, & gErrorPublisher);

    Then I call a function with a string in the list of parameters:

    void SendRT_ErrorMessage (char * message)

    {

    Data CNVData = 0;

    int error;

    error_str char [256];

    int i;

    char out_str [ERROR_STRN_SIZE * 4];

    strcpy (out_str, message);

    size_t arrayDims = ERROR_STRN_SIZE;

    arrayDims = strlen (message) + 1;

    error = CNVCreateArrayDataValue (& data, CNVString, out_str, 1, & arrayDims);

    If (error<>

    {

    strncpy (error_str, CNVGetErrorDescription (error), 256);

    }

    CNVPutDataInBuffer (gErrorPublisher, data, 1000);

    CNVSetArrayDataValue (data, CNVString, out_str, 1, & arrayDims);

    CNVPutDataInBuffer (gErrorPublisher, data, 1000);

    CNVDisposeData (data);

    }

    Change this:

    public static void CVICALLBACK ErrorMessageCallback(void * handle, CNVData data, void * callbackData)
    {
    char message [ERROR_STRN_SIZE];

    CNVGetScalarDataValue (data, CNVString, & message);
    (void) SetCtrlVal (panelHandle, PANEL_TEXTBOX_DEBUG_MSG, "got something\n");
    (void) SetCtrlVal (panelHandle, PANEL_TEXTBOX_DEBUG_MSG, message);
    (void) SetCtrlVal (panelHandle, PANEL_TEXTBOX_DEBUG_MSG, "\n");

    CNVDisposeData (data);

    }

    To do this:

    public static void CVICALLBACK ErrorMessageCallback(void * handle, CNVData data, void * callbackData)
    {
    char * message;

    CNVGetScalarDataValue (data, CNVString, & message);
    (void) SetCtrlVal (panelHandle, PANEL_TEXTBOX_DEBUG_MSG, "got something\n");
    (void) SetCtrlVal (panelHandle, PANEL_TEXTBOX_DEBUG_MSG, message);
    (void) SetCtrlVal (panelHandle, PANEL_TEXTBOX_DEBUG_MSG, "\n");

    CNVDisposeData (data);

    }

    You also need to add CNVFreeMemory to free the memory allocated for the string.

  • Problem sending pictures through texting when the WIFI

    I recently move carrier to Cricket wiresless (Yes uses AT & T network) of the Sprint. Since I made the change, I had problems sending pictures through texting when the WIFI. I contacted the Cricket Wireless support and they had me reset the APN settings, he has to work because I also disabled WIFI at the time. Since then, I realized that I don't have the problem, when I cut the WIFI.

    Someone at - it similar problems?

    I found the resolution on Adroid Central:

    Wow! Presented this to the customer service email of Cricket and they responded in 12 minutes confirming:
    Billy M. (Cricket Wireless)
    16 Dec 08:46

    Hi Evan,

    Please contact the Support of Cricket. I'm sorry to hear about the problems you are having with your MMS then on the WiFi. Our team of network has been aware of this problem and is currently working on a resolution. In the meantime, you can use one of the IP addresses below in your MMS proxy under the APN settings that should solve the problem.

    192.168.196.78
    192.168.196.79
    192.168.196.117
    192.168.196.118

    Thank you
    Billy
    Looks like the guys from reddit were correct and the IP addresses are legitimate.

  • Trying to send a software trigger to 5114

    Greetings to all my friends on the set of the digitizer,

    I try to send a software trigger to my digitizer 5114 in c# .NET.  There is no cable attached to the Commission, there is no signal going.  It works very well with the trigger set to "immediate".  However, I would like to make a trigger of software I test things.  It does not work - when I told FetchByte it crashes with a timeout.

    Here's the basic gist of what I have in my code:

    PrecisionTimeSpan triggerHoldoff = PrecisionTimeSpan.Zero;

    PrecisionTimeSpan triggerDelay = PrecisionTimeSpan.Zero;

    scopeSession.Trigger.ConfigureTriggerSoftware (triggerHoldoff, triggerDelay);

    scopeSession.Measurement.Initiate ();

    scopeSession.Trigger.AdvanceTrigger.SendSoftwareEdgeTrigger ();       Is this good?

    waveformByte = scopeSession.Channels [ChannelName]. Measurement.FetchByte (timeout, 1, waveformByte, out waveformInfo);  This request times out.

    This looks good, or is there another way to set up a trigger of generic software, and then send it to the 5114?  Thanks for any thoughts.

    Kind regards

    Penny

    Penny,

    Thank you for using the API OR-SCOPE of .NET 2.0 so soon after the release!

    In order to respond to your question as to why worked scopeSession.Trigger.ReferenceTrigger.SendSoftwareEdgeTrigger () and scopeSession.Trigger.AdvanceTrigger.SendSoftwareEdgeTrigger ();  not be found in the help topics include file:

    http://zone.NI.com/reference/en-XX/help/370592V-01/digitizers/5122_state_model/

    Your code has expired because he was in a State of pre of sampling, waiting for the trigger for reference.  Once the acquisition is completed, i.e. when (in yellow), he will wait for the trigger of the advance.  The advance trigger is used for multiple acquisitions records and allows you to wait between records.

    This table is also useful because it shows all events that can be exported and triggers that can be imported to your scanner. (and when these triggers can be used).

    I hope that helps!

    -Nathan

  • two drivers of PXI chassis with Configuration problem

    Hello

    I have two PXI chassis. One is PXI 1033 and works perfectly with the NI PXI-5404, 5105, 6509, 1409, installed 8336. The other is 1036 PXI with the PXI-5404 NI, 8366 installed. When I was trying wreath connect, as master 1033, 1036 as slave, I found several problems.

    1. in the Measurement & Automation Explorer, does not have my good guys in 1033. Instead, there is a sign of the Red Cross in bottom right with 6509, 5105, 5404.

    2. I can't find an another 5404 of the 1036. In fact, I can't find 1036 in MAX.

    Update BIOS. My PXI system is already identified under the name 'NOR PXI - 1033 Embedded MXI Express' and Chassis1 is identified as 'NOR PXI 1033'.

    So I made several tests as below:

    1. unscrew the 5404 1036 slave. MAX can configure 2 1036 chassis. Ok. But when I reconnect 5404 in 1036, same result happened as stated above.

    2 uninstall the driver of 5404, so the 5404 in 1033 does not either now. And then reboot again, same result happens again. Cannot detect the 1033 chassis. Other vouchers in 1036 don't work either.

    Please, any suggestion is highly appreciated.

    Sincerely,

    Bin

    Hi Ben,

    This happens sometimes with MXI-Express:

    Error code 12 with MXI-Express

    http://forums.NI.com/T5/PXI/two-PXI-chassis-connection-with-configuration-problem/m-p/1475876#M9033

    In general, you can read this error 12 means on Device Manager:

    Explanation of error codes generated by Device Manager in Windows XP Professional

    http://support.Microsoft.com/kb/310123

    If it was a problem of bandwidth, PCI or PXI side, you could pull a few cards to see if that alleviates the problem, or that the link from Microsoft over the States, you can disable the driver for other cards.

  • Photosmart 7520 fax problems, how to send multiple pages through this fax printer all in one

    New to wireless, fax, copier, scanner 7520 printer.  3310 previously.  No problem sending faxes with this one.  Have problems with the shipment of several pages on the 7520.  Can someone give me a step by step process.  Suspect I need to use the Document bin vs sdanner screen, but do not know how to proceed and unlike 3310 no guide printed to show how to do this.  Help!  Please, I beg you!

    Hello

    Indeed, you sjould use the ADF to send multiple pages, you can follow the send a fax from the ADF below:

    http://support.HP.com/us-en/document/c03415549

    In addition, you will find the user guide in the following link:

    http://h10032.www1.HP.com/CTG/manual/c03456524.PDF

    Shlomi

  • How can I send a trig to my PXI system

    I have a 4072 Flexdmm and PXI-2532 switch box and 2640 terminal block. The switch is configured as a 4 * 128 matrix and is connected to an external pacemaker current. The pacemaker requires an input trigger and synchronize precisely the system that I would use a generated trigger the NI PXI system and carefully insert it in the Stimulator. How can I do this?

    I tried to use the IO to THE but I can't seem to get no pulse the trigger output.

    Hello Sam,.

    Regarding working with triggers with a multimeter and a switch, two of these modules use triggers to perform handshaking scan-basically using triggers to synchronize the connecting channels 2532 in the commune for DMM measurement. The procedure is the following:

    1. the switch establishes a new connection: ch 1 to COM.

    2. the switch installs and sends a trigger "Advanced switch" to a TTL line on fht PXI backplane: PXI_Trig0

    3. the DMM watches this TTL and when he sees the trigger, he knows that the connection of the switch is good and he can now take a specified action.

    4. the DMM is the action and sends a trigger to "Measure" at the bottom of basket: PXI_Trig1

    5. the switch looked at this second line and uses the MC trigger to move to the next item in the scan list.

    Some things to note: Switch Executive is not able to scan using triggers.

    In addition, these places of relaxation (PXI_Trig0 and PXI_Trig1 in the above example) is configured by the user. Take a look at the example program niSwitch DMM switch Handshaking to see how triggers OR DMM and OR-Switch are configured.  It is possible to exit the trigger DMM full measure to the socket at the front of the DMM. The connector to THE is intended to be used when a DMM is to control a switch in a chassis SCXI, as on the SCXI-1130. The SCXI-1357 module can be used with and without cable to THE leave the DMM, control the SCXI chassis, and send the trigger to the SCXI.

    I guess the question for you is this trigger exactly do you want to export to your Simulator? I told you earlier about triggers using DMM and switch. However, if you want to use some kind of initial startup trigger to synchronize things, you might be out of luck.  The DMM and the switch have no way to generate such a release, and even if they did, does not have one of these to access the trigonometric lines of PXI chassis. You would need another module in the chassis that you could take advantage of, for example a PXI-6651 allowing access to the trigonometric lines, if you use the advanced trigger or a switch card DAQ with a counter to generate a pulse that you can use as a trigger.

    Kind regards

    Frederic M.

  • Problems with the software of fax on 1536dnf

    Hi, I just got a 1536dnf all-in-one, and I have a problem with the software sending faxes. I can fax machine directly, but when I try to send a fax from my computer, I can't even get into the software. I get an "internal error" that there is no device detected. I installed it on my network, so about four different computers can access. I'm running Windows XP SP3 and any other function works fine (I can print to the printer from each computer, send and receive faxes from the printer itself, etc.).  Any ideas why this happens? I found zero documentation or help on this and any help would be appreciated.

    Thank you.   I was using FAX4Word plugin for Word.  It allows to easily print/fusion of fax machines.

    I answered my own question, but others may be interested in:

    I was buy HP printers since the time that first, they came out with the LASERJet House, I waited in line to get one at the then price of $700 or more.  I bought a HP product on average every 3 years after that.   All HP products were excellent quality and easy to use.

    Once I looked at the question of the use of the 1536dnf as a modem, I found that I was MUCH better off just buying a modem from "Zoom" $ 50 for my database driven fax needs rather than trying to send it through the HP.  If it is possible to use the 1536dnf as an intuitely MODEM, it is a solution too complex to simply get a modem to 'Zoom in' $50, which leaves my 1536dnf available for other tasks.

  • How to install the version of nor-Sync 3.1 in the remote system (processor integrated PXI chassis) to recognize the PXI-6682 device to work with labview RT?

    How to install the version of nor-Sync 3.1 in the remote system (processor integrated PXI chassis) to recognize the PXI-6682 device to work with labview RT?

    Hung Nguyen

    Hung Nguyen,

    The installation of drivers for all targets in real-time remotely is more or less the same. First install the driver (in your case the NO-Sync) on your PC, then install it on your system remotely through MAX. For step-by-step instructions, see install the software on your NI CompactRIO controller.

    See you soon,.

  • PXI chassis not found after reboot host

    I use a chassis SMU-1073, Win7 and Labview 12.0f3 on the host. After a restart of the host, MAX is unable to find the frame and I need to reboot the host. Rebooting usually works, but often it is necessary to power down of the PXI chassis too. It is very tedious and time-consuming. There must be a way to simply restart the driver (single) and set things right after a restart of the host. Thanks for your help!

    Hi bjuberchaub,

    Let's see what crossrulz has to say about the race condition, but the situation you have described above does not sound like a driver problem.

    Regarding "if I cycle power on the chassis and try to reconnect", we recommend strongly cyclical food your chassis when your computer is turned on.  It is the equivalent to remove a PCI (e) card on a desktop while it is running. It can cause permanent damage to your system.

    The reboot sequence appropriate must be:

    1. Turn off the power to the host
    2. Disable the chassis
    3. Turn on chassis
    4. Turn on the host

    Never do anything with your chassis power when your computer is turned on.

    Given that:

    1. I'd be interested to see what looks like your Windows Device Manager when the steps above are followed.  Do you see unknown devices?
    2. The LINK is clear on the chassis power?  Is what color?
    3. This configuration never before without this behavior?

    If I misunderstood your comment about cyclical diet and you just follow the steps I have outlined above, I would be interested in getting answers to questions 1 and 2 when your system is in a State of non-working (e.g. restart you computer without rebooting the chassis).

    Kind regards

  • Connection USB CAN use a map to a PXI chassis

    I have an SMU-1078 chassis with an SMU-8115 Pharlap controller running.  The chassis contains two maps XNET for CAN communication. All the slots in the chassis are full so I can't add another card XNET. Instead, I tried to connect a USB-8473 CAN map to a USB port on the front of the chassis on the assumption that I could program my LabVIEW project. This seems not to be possible, and I asked my support of local technical who do not feel that it is possible.

    I have to say that MAX can see the card (seen in RAW format), and I can bring a VISA reference for her in LabVIEW. However, I can't tak on the device using the API CAN frame. I also connected a USB-6008 card to the chassis and the same applies, you see, but can't talk about it.

    I understand that the 6008 use DAQmx and it's a Windows driver but everyone was able to snag a USB card on the front of a PXI chassis and talk him to LabVIEW?

    Thank you

    Malcolm

    Sam_Sharp wrote:

    I highly doubt that it will be possible if you use LabVIEW RT on the chassis. Should NEITHER create Pharlap drivers for the card CAN

    Yes it would, and I believe that NI CAN 2.7.3 has support for Pharlap.

    http://www.NI.com/download/NI-can-2.7.5/4143/en/

    There maybe other versions.  Basically, you need to install on your host machine, then use MAX to send the program and drivers to the PXI chassis, so you can write LabVIEW code for RT target that uses these drivers.

  • System Monitor OR. PXI chassis Info? Where?

    I'm trying to update my system for LV 14 12.  However, I used the monitor system OR read the different temperatures and my PXI chassis components.  It seems that the installer for system monitor OR only works through LV 12?  Is there a replacement?  This useful tool only fell?  NOR had just forgotten to update for 2 years?

    http://www.NI.com/download/NI-system-monitor-1.2.0/3550/en/

    Have you tried to use the system configuration?

    http://www.NI.com/download/NI-system-configuration-14.0/4723/en/

    Check out the examples of LabVIEW for advice.

  • Analysis of resources of RIO PXI chassis

    Hello

    I am trying to find a way to analyze all the resources of RIO in a PXI chassis programmatically.

    In my chassis PXI-1085, there FlexRIOs (7975R), but also the VSTs (5644R and 5646R).

    Using communication NI-VISA, I was able to communicate with all these modules, but only if an Alias is defined in NOR-MAX.

    I have'nt bee able to get RIO associated modules found resource name using 'VISA find resource' VI.

    Also, I have 2 questions:

    -Is it possible to communicate with my modules without defining an Alias in NOR-MAX?

    -How can I get the name of RIO resource programmatically?

    (I could put as an alias of VISA in NOR-MAX the same name as the resource name of RIO but it is very restrictive, the deployment of the application to other configurations)

    Thank you

    I'm guessing a bit here - but is it possible with the System Configuration screws? It's the library/tool box that allows you to get various information about a system (for example cRIOs - installed software) - there is a 'material to find' VI-I suppose you can point to your PXI and it will give you some information?

Maybe you are looking for

  • The PDF documents and word began appears correctly in the browser. How can I fix it?

    Until a week or so, when I opened a pdf or word document in Firefox, it would open in a new window and I could see no download. Now, when I open a pdf file, it shows a few lines, but no text. I can only view the document, if I download the document,

  • 2012 iMac

    a 2012 possible end update iMac go 16 GB of memory?

  • SIM

    Hello I have elitepad 900 which is a great device and it contains a SIM slot, which made it more but I have a question if I put a SIM card in there and surf the internet why can't call and send massages that he; is there a program or something to the

  • Programmatically create an appointment: missing variable in the container of result

    Hello world For my purpose of tests, I need to programmatically create a sequence. In this sequence, I need to insert steps from Rendezvous. Everything works very well when they are created, but when I run the sequence / stages created this error alw

  • 110-210 4c1508139t serial: recovery my windows 8.1

    110-210 product name Serial number (deleted content) ABA f3d15aa product number I try to recovery my windows 8.1 is posible I have not liked this windows 10 no funtion Internet Explorer flash drive and cong61ateun page I need my windows 8.1