Jump to content

Runjhun

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by Runjhun

  1. Hi,

     

    I want to use NI-9227 on NI-cDAQ 9188 chassis for current measurement.

     

    When the load is engaged an instantaneous current of 25 Amps for microseconds is observed using Oscilloscope.

     

    The specifications of this card says,

    Input Impedance = 12mOhms (across the channels Ai+ and Ai-)

    and Instantaneous Measuring Range is 14 Amps.

     

    My concern is whether this card will still support this in-rush current or the channel will go bad or the card will not work ?

     

    Any suggestion is welcomed.

     

    Regards,

    Runjhun.

     

     

  2. I found the solution to my problem. I had to write a .net application that was triggering an event whenever bytes were received on a socket.

    And as LogMan specified earlier, I used Regiter for .net Event node and passed the socket reference to it.

    With that whatever events were related to that class, they were populating in that list. So, I created a Callback VI, that would generate a Value Signaling event to an inetger array that would give me the bytes read from the socket.

     

    Appreciate everyone for their suggestions.

     

    Regards,

    Runjhun.

  3. Hi,I am using a .net DLL in LabVIEW, that generates some events. I am registering for those events at the start of the application and then waiting for those events in the Event Structure.All this is done in a re-entrant VI and I am using 'Start Asynchronous Call' node to launch the VIs dynamically.Everything is working fine. But when I run the VIs for long, the memory is continuously piling up. I am not sure it is happening because of LabVIEW or .net DLL.Does anyone has any idea about this ? Any help would be greatly appreciated.

  4. ned, can you please elaborate on this. May be with an example.

    I understand Asynchronous calls are difficult implementation in .net as well as LabVIEW but in my project I am not seeing any way out here for that.

    I have to implement few methods as asynchronous only.

     

    Can you please help here ?

     

    Runjhun :)

  5. Hi,

     

    I have gone through the basic working of Event Callbacks but I have found examples that are related to UI events.

    In my case, I am reading some data from TCP socket and I want to generate event from that using the callback, so that it becomes an Asynchronous operation.

     

    The code that I am trying to convert to LabVIEW is the SSL Stream Begin Read method.

    "http://msdn.microsoft.com/en-us/library/system.net.security.sslstream.beginread(v=vs.100).aspx"

     

    I have posted my VI as well but as of now its broken because there's nothing wired to the callback function.

    Async Read.vi

  6. Hi, I want to implement the SSL Begin Read method in LabVIEW with the System DLL using the .net construtor nodes.I am successful in doing so for the synchronous Read method. But when I am trying to modify my code with the Asynchronous methods, it asks me to wire reference for a Asynchronous Callback node. I haven't worked with Event Callbacks in .net before , so I dont have much clue about the dataflow and other things.Can anyone please help me regarding creating callbacks in this particular case.Regards,Runjhun.

  7. I have used that but its not giving me the required output. If I convert it in this way then its giving me the time elapsed since 1.1.1904 till today. I dnt want this value to be seen as a plot to my graph. Without the change in the values the timestamp should be converted to double.Becoz i am feeding this input to the Excel Plot Graph function which accepts X-axis and Y-axis values in a Double 2-d array.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.