USB-6525 NiDaqmx how to detect where the device interrupts the communication

This could be considered a more generic question for NiDaqmx, but I write a custom control for internal use with the USB-6525 and possibly other devices of i/o using c#.  I use DigitalChangeDetectionEvent to warn me when an entry has changed and everything seems to work very well.  In an effort to be complete, I decided to unplug the USB cable and see the result and found that no error has been detected until I tried a writing output.  This is not acceptable because under normal conditions abstraction entry begins a process that will change output - given that admission never happens, the system is basically hung.

I tried many things and have spent more time on what I want to admit so I would like to hear suggestions on how to address this problem.  Here are my attempts that I am not satisfied:

(1) periodically switch (pulse) output that allows to detect the problem, but I may not be an available exit, so this isn't a good situation.

(2) periodically trying to read the input byte with the same entry workflow, this does not work because I believe that the other player is still active with the DigitalChangeDetectionEvent.

(3) attempted to take the message of Windows to change hardware, but seems too complex.

(4) I read on the guard dog, but not sure that it is available on the box USB-6525.  So before I start with this I'd hear rather suggestions of others with more experience.

Any suggestions please?

THX, Ed

Hi IntegroEd,

Those are all very innovative way to potentially address the problem, and I'm sorry you haven't seen success with them.  Fortunately, the typical way to capture a break between a device of data acquisition and monitoring system is indeed a timer, and the 6525 has the innate ability to use the feature, as seen on page 5 of the user manual.  I suggest you go that route, if another user does not post a peripheral solution specific to your case.  This is a documentation on the implementation of the monitoring-

http://www.NI.com/product-documentation/14616/en/

Tags: NI Hardware

Similar Questions

  • USB 6525 6501 digital for output to the step motor

    Hello

    I try to use USB 6501 or USB-6525 out of step motor signals which command the stepper motor. My questions are

    (1) do I 6525 USB, I'm not sure the function of it (perhaps as a relay).

    (2) now I connected input 5V for USB-6501 "+ 5V" pin and GND to pin "GND". On the other side (output side), I connected ' enable '(from motor drive) to P0.0. 'direction' to P0.1 and GND to GND.  Can I use the express signal to test, the error says "lack of entry."

    (3) I guess the next step is programming labview. Does anyone know of similar examples?

    Any help would be appreciated!

    Melody,

    If the engine must input external logic level I advise to use the USB-6501, which is just a digital I/o card. The USB-6525 housing does not have the digital outputs to control your motor drive. If I understand correctly you just try to turn the motor on and off with a digital signal. It seems that you also provide your drive motor + 5 v and GND. The USB-6501 has channels for + 5V and GND. I've attached an example of navigation that controls the outputs digital using DAQmx and LabVIEW. This specific programme allows to control 8 digital output lines, but it looks like you don't have one. If the engine waiting for you just a strong to put logic in operation and a logic low to shut down this program example will be able to turn on or turn off your engine. Just connect one of the USB-6501 digital output lines and then use the program to this line of control.

    I don't really know any reason, you need to use the USB-6525 it seems to me that the USB-6501 run action you need. I hope this helps.

  • How to detect if the page is a reload or not?

    I have a form in the cfm page if the user submits the form, I don't want to go to another page. I want to reload the page and I'll capture all values and send the data in this way. However, I need to hide the form once the user submits the form. So, how I detect if the page is a reload (after is submitted) or it's the first time it is been charged?

    You can manage only two ways.  One, add a hidden field to the form that passes a value, then check if the value exists in the URL/FORM variables (if it exists, the page is reloaded by sending the form - if it does exist, it's the first load of the page).

    Perhaps a better approach would be to manage the form via an AJAX request is sent, and then hide the form if the AJAX request is successful.  This all is possible using JavaScript.  The advantage is that the user leaves the page never actually or it recharges.

  • If I were a bank how do I join the community to pay apple?

    If I were a bank how do I join the community to pay apple?

    Hello

    As a first step, it may be best to contact the merchant support Apple pay and explain the nature of your request:

    https://www.Apple.com/support/Apple-pay/feedback/

  • How to locate where the shared Variables are used in the project.

    I'm looking everywhere where a shared Variable is used in my project. Right-clicking does not provide a find. The display hierarchy does not help. In the Project Explorer, the appellants find displays only the names of the screw called, not the many places where the call is made.

    Does anyone know how to find the location where a shared Variable is used?

    Edit-> find and replace. For "Select object" click and access features-> Structures-> shared Variable.

  • How to detect if the cursor is no longer within the input text area

    Hello.

    My question today is:

    How to detect (in AS3) if the cursor is no longer within the input text area?

    I tried to mouse events, events, events in text but without success.

    Any ideas?

    Concerning

    If you have a textfield of entry with the instance name it '...

    it.addEventListener (FocusEvent.FOCUS_OUT, focusOutHandler);

    function focusOutHandler(evt:FocusEvent):void {}
    trace (evt. Target.Name);
    }

  • How to change where the Airport Extreme think that there is

    I moved house about 6 weeks ago, but whenever I am connected to my current-model Airport Extreme wifi, my devices think they are still at the old House.  How can I make the AE update when it is actually located?

    There is no change, you can do it... He will be eventually updated on apple servers... but it can be slow.

  • How to detect if the Android app is the reconditioned Blackberry version?

    My application can be easily repackaged for blackberry devices using its web portal.

    http://developer.BlackBerry.com/Android/documentation/using_the_bb_packager_1873331_11.html

    So, I can turn my .apk file in a .bar file that users can install on their devices BB10.

    My concern now would be to slightly change the user interface or disable certain features (invoicing app, Google Maps, some intentions) about the operating system.

    I should like, for example, to display a button of the card on legit Android devices and remove this button on the port of Blackberry. I also have some preferences related to the widget that have no reason to appear on a device BB10

    You know an ideal way to detect if the app is the one refurbished or the original apk?

    My guess would be to use the Build information, but I'm pretty sure that there is a better way to do this.

    Try:

        public static boolean isBlackBerry() {
            return java.lang.System.getProperty("os.name").equals("qnx");
        }
    
  • How extracted records where the "COUNT (Col1) > 1.

    Hi guys

    I have this table

    TAB1

    ACC_ID NUM_TRANS

    ----------           ----------

    55892569 0

    55892569 1

    55892569 1

    44420080 1

    168865070 0

    168865070 1

    168865070 1

    I need to get all the account_id with a count (num_trans) > 1

    When I write

    Select acc_id, count (num_trans)

    of TAB1

    ACC_ID group

    But how to get only the ACC_ID who have a COUNT (NUM_TRANS) > 1

    without creating a temporary Table?

    This should be the result

    ACC_ID NUM_TRANS

    ----------           ----------

    55892569 2

    168865070 2

    SELECT acc_id, COUNT (num_trans)

    OF tab1

    GROUP BY acc_id

    After HAVING COUNT (num_trans) > 1;

  • Where the community for ios?

    Maybe I'm blind, but I'm looking through the communities for the IOS community and don't see one.  I see Community IOS Apps, but where the hell is the community to ask questions about IOS itself?

    It is not a global forum of iOS. If necessary, use Using iPad, Using iPhoneor iPod touch .

    TT2

  • How to detect when the user clicked 2 video clips?

    Hello:

    I would like to know how can I detect when 2 video clips were clicked (order irregardles).

    What I have is this:

    In my main script, I have 2 independent clips (mc_him and mc_her) each in its own layer which, when clicked, playing an internal animation without moving my head of main reading anywhere. What I do is, once both a click (like I said, it doesen't matter in what order), a button that sends me into another section of my film should appear. He really doesen't matter if the button activated with alpha or sending me to a specific framework where all my button. What I detect is two clicks for the button.

    How can I achieve this?

    Thank you very much.

    {btn1.onRelease = Function ()}

    No matter what

    This.Clicked = true;

    checkBothClickedF();

    }

    {btn2.onRelease = Function ()}

    No matter what

    This.Clicked = true;

    checkBothClickedF();

    }

    function checkBothClickedF (): Void {}

    {if (btn1. Clicked & btn2. Clicked)}

    do something. the two clicked

    reset the two clicked on properties?

    }

    }

  • How to detect if the NI GPIB drivers are not loaded

    Hello

    I use VS2008 c# to control an instrument based GPIB, using .NET

    The software should also work on a PC that does not have the GPIB drivers loaded in spectator mode.

    So, how can I detect this.

    I have NationalInstruments.NI4882 specified as a reference and I distribute this dll with my package.

    The software works fine on a PC that uses drivers loaded, but hangs on a PC without the NI GPIB software installed.

    Specification of a problem with NationalInstruments.common. I tried that copy on a target computer, but is always a mistake.

    All I have to do is detect if it is not there and then run in spectator mode.

    David

    Hi David,

    You should look for the existence of HKEY_LOCAL_MACHINE > SOFTWARE > National Instruments > NOR-488, 2.   If it is, this means that the drivers must be installed.

    Kind regards

    Thomas Clark

  • How to detect if the message sent or received

    Hello

    I need to detect if an e-mail message is sent. I tried folder listener do and tried messagefolder.getFolderType () is Folder.SENT, but it does not work as I am unable to find.

    How to get it?

    Concerning

    Good point.  I should have told check the status.  Just to explain, here is an example of method that should delete when the message is transmitted.

    public void changed (MessageEvent e) {}

    try {}
    Message m = e.getMessage ();
    If (m.getStatus () == Message.Status.TX_SENT) {}
    Delete this...
    File f = m.getFolder ();
    f.deleteMessage (m);
    MessageToDelete.deleteMessageToDeleteForMessage (m);
    }
    } catch (Exception ex) {}
    Depending on your application

    }
    }

  • How to find where the catalog is stored

    How can I find out where I store the catalog files to make sure that I backed them up.

    Thank you.

    It is in the catalog settings that are accessible from the system menu.

  • How to detect if the application is uninstalled!

    Hi guys!

    I develop applications for BlackBerry devices, and I wonder if it is possible to detect the moment when the application is uninstalled from the user.

    I appreciate your help.

    greetings.

    Take a look at CodeModuleListener and related classes.

    Good luck!

Maybe you are looking for

  • Function through Express Port Replictor II keys

    Hello Someone at - he found a way to activate the function keys work on an external keyboard connected via the Port Express Replictor II? It would be very useful to be able to use, for example, F8 to turn on or off the wireless LAN, the laptop is doc

  • return to 10.11

    How do I return to 10.11?

  • ThinkPad 240 x - battery reads well - don't get Charge not

    Hi all I have a ThinkPad 240 x (20AM001TAR) than is11 months and my battery won't charge at all after a long hibernation period (1 month) when it has discharged completely. I tried all the solutions, I could find on the Internet, but nothing works. P

  • Problem with NOR-DAQmx Base on Scientific Linux 3.4

    Hello everyone. I'm trying to install the driver OR-DAQmx Base 3.4 on Scientific Linux 6.0, but I got these errors: On this text said that Scientific Linux 5.4 and 5.5 is supported. Can anyone help me or 6.0 is not supported?

  • Mystery T400s W7 RC x 32 devices

    Clean install. Can not find the drivers for "Base system device" and "PCI controller of Communications Simple." Any thoughts on what they are? Thank you.